description for access request (frontend) (#834)

This commit is contained in:
Michael Quigley
2025-02-04 17:07:28 -05:00
parent a0383b4d3a
commit c9c60b4dd1
13 changed files with 111 additions and 4 deletions

View File

@ -5,6 +5,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**env_zid** | **str** | | [optional]
**share_token** | **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,7 @@ Name | Type | Description | Notes
**id** | **int** | | [optional]
**fe_token** | **str** | | [optional]
**share_token** | **str** | | [optional]
**description** | **str** | | [optional]
**z_id** | **str** | | [optional]
**created_at** | **int** | | [optional]
**updated_at** | **int** | | [optional]

View File

@ -29,23 +29,28 @@ class AccessBody(object):
"""
swagger_types = {
'env_zid': 'str',
'share_token': 'str'
'share_token': 'str',
'description': 'str'
}
attribute_map = {
'env_zid': 'envZId',
'share_token': 'shareToken'
'share_token': 'shareToken',
'description': 'description'
}
def __init__(self, env_zid=None, share_token=None): # noqa: E501
def __init__(self, env_zid=None, share_token=None, description=None): # noqa: E501
"""AccessBody - a model defined in Swagger""" # noqa: E501
self._env_zid = None
self._share_token = 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 description is not None:
self.description = description
@property
def env_zid(self):
@ -89,6 +94,27 @@ class AccessBody(object):
self._share_token = share_token
@property
def description(self):
"""Gets the description of this AccessBody. # noqa: E501
:return: The description of this AccessBody. # noqa: E501
:rtype: str
"""
return self._description
@description.setter
def description(self, description):
"""Sets the description of this AccessBody.
:param description: The description of this AccessBody. # noqa: E501
:type: str
"""
self._description = description
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}

View File

@ -31,6 +31,7 @@ class Frontend(object):
'id': 'int',
'fe_token': 'str',
'share_token': 'str',
'description': 'str',
'z_id': 'str',
'created_at': 'int',
'updated_at': 'int'
@ -40,16 +41,18 @@ class Frontend(object):
'id': 'id',
'fe_token': 'feToken',
'share_token': 'shareToken',
'description': 'description',
'z_id': 'zId',
'created_at': 'createdAt',
'updated_at': 'updatedAt'
}
def __init__(self, id=None, fe_token=None, share_token=None, z_id=None, created_at=None, updated_at=None): # noqa: E501
def __init__(self, id=None, fe_token=None, share_token=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._fe_token = None
self._share_token = None
self._description = None
self._z_id = None
self._created_at = None
self._updated_at = None
@ -60,6 +63,8 @@ class Frontend(object):
self.fe_token = fe_token
if share_token is not None:
self.share_token = share_token
if description is not None:
self.description = description
if z_id is not None:
self.z_id = z_id
if created_at is not None:
@ -130,6 +135,27 @@ class Frontend(object):
self._share_token = share_token
@property
def description(self):
"""Gets the description of this Frontend. # noqa: E501
:return: The description of this Frontend. # noqa: E501
:rtype: str
"""
return self._description
@description.setter
def description(self, description):
"""Sets the description of this Frontend.
:param description: The description of this Frontend. # noqa: E501
:type: str
"""
self._description = description
@property
def z_id(self):
"""Gets the z_id of this Frontend. # noqa: E501