frontend bind address data wiring (#834)

This commit is contained in:
Michael Quigley
2025-02-05 11:14:00 -05:00
parent e95e5c3fe8
commit e7f126bd45
22 changed files with 228 additions and 7 deletions

View File

@ -5,6 +5,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**env_zid** | **str** | | [optional]
**share_token** | **str** | | [optional]
**bind_address** | **str** | | [optional]
**description** | **str** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**frontend_token** | **str** | | [optional]
**bind_address** | **str** | | [optional]
**description** | **str** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -6,6 +6,8 @@ Name | Type | Description | Notes
**id** | **int** | | [optional]
**frontend_token** | **str** | | [optional]
**share_token** | **str** | | [optional]
**backend_mode** | **str** | | [optional]
**bind_address** | **str** | | [optional]
**description** | **str** | | [optional]
**z_id** | **str** | | [optional]
**created_at** | **int** | | [optional]

View File

@ -30,25 +30,30 @@ class AccessBody(object):
swagger_types = {
'env_zid': 'str',
'share_token': 'str',
'bind_address': 'str',
'description': 'str'
}
attribute_map = {
'env_zid': 'envZId',
'share_token': 'shareToken',
'bind_address': 'bindAddress',
'description': 'description'
}
def __init__(self, env_zid=None, share_token=None, description=None): # noqa: E501
def __init__(self, env_zid=None, share_token=None, bind_address=None, description=None): # noqa: E501
"""AccessBody - a model defined in Swagger""" # noqa: E501
self._env_zid = None
self._share_token = None
self._bind_address = None
self._description = None
self.discriminator = None
if env_zid is not None:
self.env_zid = env_zid
if share_token is not None:
self.share_token = share_token
if bind_address is not None:
self.bind_address = bind_address
if description is not None:
self.description = description
@ -94,6 +99,27 @@ class AccessBody(object):
self._share_token = share_token
@property
def bind_address(self):
"""Gets the bind_address of this AccessBody. # noqa: E501
:return: The bind_address of this AccessBody. # noqa: E501
:rtype: str
"""
return self._bind_address
@bind_address.setter
def bind_address(self, bind_address):
"""Sets the bind_address of this AccessBody.
:param bind_address: The bind_address of this AccessBody. # noqa: E501
:type: str
"""
self._bind_address = bind_address
@property
def description(self):
"""Gets the description of this AccessBody. # noqa: E501

View File

@ -29,21 +29,26 @@ class AccessBody1(object):
"""
swagger_types = {
'frontend_token': 'str',
'bind_address': 'str',
'description': 'str'
}
attribute_map = {
'frontend_token': 'frontendToken',
'bind_address': 'bindAddress',
'description': 'description'
}
def __init__(self, frontend_token=None, description=None): # noqa: E501
def __init__(self, frontend_token=None, bind_address=None, description=None): # noqa: E501
"""AccessBody1 - a model defined in Swagger""" # noqa: E501
self._frontend_token = None
self._bind_address = None
self._description = None
self.discriminator = None
if frontend_token is not None:
self.frontend_token = frontend_token
if bind_address is not None:
self.bind_address = bind_address
if description is not None:
self.description = description
@ -68,6 +73,27 @@ class AccessBody1(object):
self._frontend_token = frontend_token
@property
def bind_address(self):
"""Gets the bind_address of this AccessBody1. # noqa: E501
:return: The bind_address of this AccessBody1. # noqa: E501
:rtype: str
"""
return self._bind_address
@bind_address.setter
def bind_address(self, bind_address):
"""Sets the bind_address of this AccessBody1.
:param bind_address: The bind_address of this AccessBody1. # noqa: E501
:type: str
"""
self._bind_address = bind_address
@property
def description(self):
"""Gets the description of this AccessBody1. # noqa: E501

View File

@ -31,6 +31,8 @@ class Frontend(object):
'id': 'int',
'frontend_token': 'str',
'share_token': 'str',
'backend_mode': 'str',
'bind_address': 'str',
'description': 'str',
'z_id': 'str',
'created_at': 'int',
@ -41,17 +43,21 @@ class Frontend(object):
'id': 'id',
'frontend_token': 'frontendToken',
'share_token': 'shareToken',
'backend_mode': 'backendMode',
'bind_address': 'bindAddress',
'description': 'description',
'z_id': 'zId',
'created_at': 'createdAt',
'updated_at': 'updatedAt'
}
def __init__(self, id=None, frontend_token=None, share_token=None, description=None, z_id=None, created_at=None, updated_at=None): # noqa: E501
def __init__(self, id=None, frontend_token=None, share_token=None, backend_mode=None, bind_address=None, description=None, z_id=None, created_at=None, updated_at=None): # noqa: E501
"""Frontend - a model defined in Swagger""" # noqa: E501
self._id = None
self._frontend_token = None
self._share_token = None
self._backend_mode = None
self._bind_address = None
self._description = None
self._z_id = None
self._created_at = None
@ -63,6 +69,10 @@ class Frontend(object):
self.frontend_token = frontend_token
if share_token is not None:
self.share_token = share_token
if backend_mode is not None:
self.backend_mode = backend_mode
if bind_address is not None:
self.bind_address = bind_address
if description is not None:
self.description = description
if z_id is not None:
@ -135,6 +145,48 @@ class Frontend(object):
self._share_token = share_token
@property
def backend_mode(self):
"""Gets the backend_mode of this Frontend. # noqa: E501
:return: The backend_mode of this Frontend. # noqa: E501
:rtype: str
"""
return self._backend_mode
@backend_mode.setter
def backend_mode(self, backend_mode):
"""Sets the backend_mode of this Frontend.
:param backend_mode: The backend_mode of this Frontend. # noqa: E501
:type: str
"""
self._backend_mode = backend_mode
@property
def bind_address(self):
"""Gets the bind_address of this Frontend. # noqa: E501
:return: The bind_address of this Frontend. # noqa: E501
:rtype: str
"""
return self._bind_address
@bind_address.setter
def bind_address(self, bind_address):
"""Sets the bind_address of this Frontend.
:param bind_address: The bind_address of this Frontend. # noqa: E501
:type: str
"""
self._bind_address = bind_address
@property
def description(self):
"""Gets the description of this Frontend. # noqa: E501