regToken, accountToken (#820, #834)

This commit is contained in:
Michael Quigley
2025-02-04 11:52:46 -05:00
parent 7685c06e45
commit 47421e65bd
42 changed files with 482 additions and 407 deletions

View File

@ -214,13 +214,12 @@ Class | Method | HTTP request | Description
- [InlineResponse2001](docs/InlineResponse2001.md)
- [InlineResponse2002](docs/InlineResponse2002.md)
- [InlineResponse2003](docs/InlineResponse2003.md)
- [InlineResponse2003Members](docs/InlineResponse2003Members.md)
- [InlineResponse2004](docs/InlineResponse2004.md)
- [InlineResponse2004Members](docs/InlineResponse2004Members.md)
- [InlineResponse2004Organizations](docs/InlineResponse2004Organizations.md)
- [InlineResponse2005](docs/InlineResponse2005.md)
- [InlineResponse2005Organizations](docs/InlineResponse2005Organizations.md)
- [InlineResponse2005Memberships](docs/InlineResponse2005Memberships.md)
- [InlineResponse2006](docs/InlineResponse2006.md)
- [InlineResponse2006Memberships](docs/InlineResponse2006Memberships.md)
- [InlineResponse2007](docs/InlineResponse2007.md)
- [InlineResponse201](docs/InlineResponse201.md)
- [InlineResponse2011](docs/InlineResponse2011.md)
- [InviteBody](docs/InviteBody.md)

View File

@ -204,7 +204,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **register**
> InlineResponse2001 register(body=body)
> InlineResponse200 register(body=body)
@ -235,7 +235,7 @@ Name | Type | Description | Notes
### Return type
[**InlineResponse2001**](InlineResponse2001.md)
[**InlineResponse200**](InlineResponse200.md)
### Authorization
@ -337,7 +337,7 @@ No authorization required
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **verify**
> InlineResponse2002 verify(body=body)
> InlineResponse2001 verify(body=body)
@ -368,7 +368,7 @@ Name | Type | Description | Notes
### Return type
[**InlineResponse2002**](InlineResponse2002.md)
[**InlineResponse2001**](InlineResponse2001.md)
### Authorization

View File

@ -474,7 +474,7 @@ void (empty response body)
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **list_frontends**
> list[InlineResponse2003] list_frontends()
> list[InlineResponse2002] list_frontends()
@ -507,7 +507,7 @@ This endpoint does not need any parameter.
### Return type
[**list[InlineResponse2003]**](InlineResponse2003.md)
[**list[InlineResponse2002]**](InlineResponse2002.md)
### Authorization
@ -521,7 +521,7 @@ This endpoint does not need any parameter.
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **list_organization_members**
> InlineResponse2004 list_organization_members(body=body)
> InlineResponse2003 list_organization_members(body=body)
@ -558,7 +558,7 @@ Name | Type | Description | Notes
### Return type
[**InlineResponse2004**](InlineResponse2004.md)
[**InlineResponse2003**](InlineResponse2003.md)
### Authorization
@ -572,7 +572,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **list_organizations**
> InlineResponse2005 list_organizations()
> InlineResponse2004 list_organizations()
@ -605,7 +605,7 @@ This endpoint does not need any parameter.
### Return type
[**InlineResponse2005**](InlineResponse2005.md)
[**InlineResponse2004**](InlineResponse2004.md)
### Authorization

View File

@ -3,7 +3,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**token** | **str** | | [optional]
**email** | **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

@ -3,7 +3,12 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**email** | **str** | | [optional]
**token** | **str** | | [optional]
**z_id** | **str** | | [optional]
**url_template** | **str** | | [optional]
**public_name** | **str** | | [optional]
**created_at** | **int** | | [optional]
**updated_at** | **int** | | [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

@ -3,12 +3,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**token** | **str** | | [optional]
**z_id** | **str** | | [optional]
**url_template** | **str** | | [optional]
**public_name** | **str** | | [optional]
**created_at** | **int** | | [optional]
**updated_at** | **int** | | [optional]
**members** | [**list[InlineResponse2003Members]**](InlineResponse2003Members.md) | | [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

@ -3,7 +3,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**members** | [**list[InlineResponse2004Members]**](InlineResponse2004Members.md) | | [optional]
**organizations** | [**list[InlineResponse2004Organizations]**](InlineResponse2004Organizations.md) | | [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

@ -3,7 +3,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**organizations** | [**list[InlineResponse2005Organizations]**](InlineResponse2005Organizations.md) | | [optional]
**memberships** | [**list[InlineResponse2005Memberships]**](InlineResponse2005Memberships.md) | | [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

@ -3,7 +3,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**memberships** | [**list[InlineResponse2006Memberships]**](InlineResponse2006Memberships.md) | | [optional]
**sparklines** | [**list[Metrics]**](Metrics.md) | | [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

@ -418,7 +418,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_sparklines**
> InlineResponse2007 get_sparklines(body=body)
> InlineResponse2006 get_sparklines(body=body)
@ -455,7 +455,7 @@ Name | Type | Description | Notes
### Return type
[**InlineResponse2007**](InlineResponse2007.md)
[**InlineResponse2006**](InlineResponse2006.md)
### Authorization
@ -469,7 +469,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **list_memberships**
> InlineResponse2006 list_memberships()
> InlineResponse2005 list_memberships()
@ -502,7 +502,7 @@ This endpoint does not need any parameter.
### Return type
[**InlineResponse2006**](InlineResponse2006.md)
[**InlineResponse2005**](InlineResponse2005.md)
### Authorization
@ -516,7 +516,7 @@ This endpoint does not need any parameter.
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **list_org_members**
> InlineResponse2004 list_org_members(organization_token)
> InlineResponse2003 list_org_members(organization_token)
@ -553,7 +553,7 @@ Name | Type | Description | Notes
### Return type
[**InlineResponse2004**](InlineResponse2004.md)
[**InlineResponse2003**](InlineResponse2003.md)
### Authorization

View File

@ -3,7 +3,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**token** | **str** | | [optional]
**reg_token** | **str** | | [optional]
**password** | **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

@ -46,13 +46,12 @@ from zrok_api.models.inline_response200 import InlineResponse200
from zrok_api.models.inline_response2001 import InlineResponse2001
from zrok_api.models.inline_response2002 import InlineResponse2002
from zrok_api.models.inline_response2003 import InlineResponse2003
from zrok_api.models.inline_response2003_members import InlineResponse2003Members
from zrok_api.models.inline_response2004 import InlineResponse2004
from zrok_api.models.inline_response2004_members import InlineResponse2004Members
from zrok_api.models.inline_response2004_organizations import InlineResponse2004Organizations
from zrok_api.models.inline_response2005 import InlineResponse2005
from zrok_api.models.inline_response2005_organizations import InlineResponse2005Organizations
from zrok_api.models.inline_response2005_memberships import InlineResponse2005Memberships
from zrok_api.models.inline_response2006 import InlineResponse2006
from zrok_api.models.inline_response2006_memberships import InlineResponse2006Memberships
from zrok_api.models.inline_response2007 import InlineResponse2007
from zrok_api.models.inline_response201 import InlineResponse201
from zrok_api.models.inline_response2011 import InlineResponse2011
from zrok_api.models.invite_body import InviteBody

View File

@ -414,7 +414,7 @@ class AccountApi(object):
:param async_req bool
:param RegisterBody body:
:return: InlineResponse2001
:return: InlineResponse200
If the method is called asynchronously,
returns the request thread.
"""
@ -435,7 +435,7 @@ class AccountApi(object):
:param async_req bool
:param RegisterBody body:
:return: InlineResponse2001
:return: InlineResponse200
If the method is called asynchronously,
returns the request thread.
"""
@ -489,7 +489,7 @@ class AccountApi(object):
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='InlineResponse2001', # noqa: E501
response_type='InlineResponse200', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
@ -689,7 +689,7 @@ class AccountApi(object):
:param async_req bool
:param VerifyBody body:
:return: InlineResponse2002
:return: InlineResponse2001
If the method is called asynchronously,
returns the request thread.
"""
@ -710,7 +710,7 @@ class AccountApi(object):
:param async_req bool
:param VerifyBody body:
:return: InlineResponse2002
:return: InlineResponse2001
If the method is called asynchronously,
returns the request thread.
"""
@ -764,7 +764,7 @@ class AccountApi(object):
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='InlineResponse2002', # noqa: E501
response_type='InlineResponse2001', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),

View File

@ -858,7 +858,7 @@ class AdminApi(object):
>>> result = thread.get()
:param async_req bool
:return: list[InlineResponse2003]
:return: list[InlineResponse2002]
If the method is called asynchronously,
returns the request thread.
"""
@ -878,7 +878,7 @@ class AdminApi(object):
>>> result = thread.get()
:param async_req bool
:return: list[InlineResponse2003]
:return: list[InlineResponse2002]
If the method is called asynchronously,
returns the request thread.
"""
@ -926,7 +926,7 @@ class AdminApi(object):
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='list[InlineResponse2003]', # noqa: E501
response_type='list[InlineResponse2002]', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
@ -944,7 +944,7 @@ class AdminApi(object):
:param async_req bool
:param OrganizationListBody body:
:return: InlineResponse2004
:return: InlineResponse2003
If the method is called asynchronously,
returns the request thread.
"""
@ -965,7 +965,7 @@ class AdminApi(object):
:param async_req bool
:param OrganizationListBody body:
:return: InlineResponse2004
:return: InlineResponse2003
If the method is called asynchronously,
returns the request thread.
"""
@ -1019,7 +1019,7 @@ class AdminApi(object):
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='InlineResponse2004', # noqa: E501
response_type='InlineResponse2003', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
@ -1036,7 +1036,7 @@ class AdminApi(object):
>>> result = thread.get()
:param async_req bool
:return: InlineResponse2005
:return: InlineResponse2004
If the method is called asynchronously,
returns the request thread.
"""
@ -1056,7 +1056,7 @@ class AdminApi(object):
>>> result = thread.get()
:param async_req bool
:return: InlineResponse2005
:return: InlineResponse2004
If the method is called asynchronously,
returns the request thread.
"""
@ -1104,7 +1104,7 @@ class AdminApi(object):
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='InlineResponse2005', # noqa: E501
response_type='InlineResponse2004', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),

View File

@ -774,7 +774,7 @@ class MetadataApi(object):
:param async_req bool
:param SparklinesBody body:
:return: InlineResponse2007
:return: InlineResponse2006
If the method is called asynchronously,
returns the request thread.
"""
@ -795,7 +795,7 @@ class MetadataApi(object):
:param async_req bool
:param SparklinesBody body:
:return: InlineResponse2007
:return: InlineResponse2006
If the method is called asynchronously,
returns the request thread.
"""
@ -849,7 +849,7 @@ class MetadataApi(object):
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='InlineResponse2007', # noqa: E501
response_type='InlineResponse2006', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
@ -866,7 +866,7 @@ class MetadataApi(object):
>>> result = thread.get()
:param async_req bool
:return: InlineResponse2006
:return: InlineResponse2005
If the method is called asynchronously,
returns the request thread.
"""
@ -886,7 +886,7 @@ class MetadataApi(object):
>>> result = thread.get()
:param async_req bool
:return: InlineResponse2006
:return: InlineResponse2005
If the method is called asynchronously,
returns the request thread.
"""
@ -934,7 +934,7 @@ class MetadataApi(object):
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='InlineResponse2006', # noqa: E501
response_type='InlineResponse2005', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
@ -952,7 +952,7 @@ class MetadataApi(object):
:param async_req bool
:param str organization_token: (required)
:return: InlineResponse2004
:return: InlineResponse2003
If the method is called asynchronously,
returns the request thread.
"""
@ -973,7 +973,7 @@ class MetadataApi(object):
:param async_req bool
:param str organization_token: (required)
:return: InlineResponse2004
:return: InlineResponse2003
If the method is called asynchronously,
returns the request thread.
"""
@ -1027,7 +1027,7 @@ class MetadataApi(object):
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='InlineResponse2004', # noqa: E501
response_type='InlineResponse2003', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),

View File

@ -36,13 +36,12 @@ from zrok_api.models.inline_response200 import InlineResponse200
from zrok_api.models.inline_response2001 import InlineResponse2001
from zrok_api.models.inline_response2002 import InlineResponse2002
from zrok_api.models.inline_response2003 import InlineResponse2003
from zrok_api.models.inline_response2003_members import InlineResponse2003Members
from zrok_api.models.inline_response2004 import InlineResponse2004
from zrok_api.models.inline_response2004_members import InlineResponse2004Members
from zrok_api.models.inline_response2004_organizations import InlineResponse2004Organizations
from zrok_api.models.inline_response2005 import InlineResponse2005
from zrok_api.models.inline_response2005_organizations import InlineResponse2005Organizations
from zrok_api.models.inline_response2005_memberships import InlineResponse2005Memberships
from zrok_api.models.inline_response2006 import InlineResponse2006
from zrok_api.models.inline_response2006_memberships import InlineResponse2006Memberships
from zrok_api.models.inline_response2007 import InlineResponse2007
from zrok_api.models.inline_response201 import InlineResponse201
from zrok_api.models.inline_response2011 import InlineResponse2011
from zrok_api.models.invite_body import InviteBody

View File

@ -28,40 +28,40 @@ class InlineResponse2001(object):
and the value is json key in definition.
"""
swagger_types = {
'token': 'str'
'email': 'str'
}
attribute_map = {
'token': 'token'
'email': 'email'
}
def __init__(self, token=None): # noqa: E501
def __init__(self, email=None): # noqa: E501
"""InlineResponse2001 - a model defined in Swagger""" # noqa: E501
self._token = None
self._email = None
self.discriminator = None
if token is not None:
self.token = token
if email is not None:
self.email = email
@property
def token(self):
"""Gets the token of this InlineResponse2001. # noqa: E501
def email(self):
"""Gets the email of this InlineResponse2001. # noqa: E501
:return: The token of this InlineResponse2001. # noqa: E501
:return: The email of this InlineResponse2001. # noqa: E501
:rtype: str
"""
return self._token
return self._email
@token.setter
def token(self, token):
"""Sets the token of this InlineResponse2001.
@email.setter
def email(self, email):
"""Sets the email of this InlineResponse2001.
:param token: The token of this InlineResponse2001. # noqa: E501
:param email: The email of this InlineResponse2001. # noqa: E501
:type: str
"""
self._token = token
self._email = email
def to_dict(self):
"""Returns the model properties as a dict"""

View File

@ -28,40 +28,170 @@ class InlineResponse2002(object):
and the value is json key in definition.
"""
swagger_types = {
'email': 'str'
'token': 'str',
'z_id': 'str',
'url_template': 'str',
'public_name': 'str',
'created_at': 'int',
'updated_at': 'int'
}
attribute_map = {
'email': 'email'
'token': 'token',
'z_id': 'zId',
'url_template': 'urlTemplate',
'public_name': 'publicName',
'created_at': 'createdAt',
'updated_at': 'updatedAt'
}
def __init__(self, email=None): # noqa: E501
def __init__(self, token=None, z_id=None, url_template=None, public_name=None, created_at=None, updated_at=None): # noqa: E501
"""InlineResponse2002 - a model defined in Swagger""" # noqa: E501
self._email = None
self._token = None
self._z_id = None
self._url_template = None
self._public_name = None
self._created_at = None
self._updated_at = None
self.discriminator = None
if email is not None:
self.email = email
if token is not None:
self.token = token
if z_id is not None:
self.z_id = z_id
if url_template is not None:
self.url_template = url_template
if public_name is not None:
self.public_name = public_name
if created_at is not None:
self.created_at = created_at
if updated_at is not None:
self.updated_at = updated_at
@property
def email(self):
"""Gets the email of this InlineResponse2002. # noqa: E501
def token(self):
"""Gets the token of this InlineResponse2002. # noqa: E501
:return: The email of this InlineResponse2002. # noqa: E501
:return: The token of this InlineResponse2002. # noqa: E501
:rtype: str
"""
return self._email
return self._token
@email.setter
def email(self, email):
"""Sets the email of this InlineResponse2002.
@token.setter
def token(self, token):
"""Sets the token of this InlineResponse2002.
:param email: The email of this InlineResponse2002. # noqa: E501
:param token: The token of this InlineResponse2002. # noqa: E501
:type: str
"""
self._email = email
self._token = token
@property
def z_id(self):
"""Gets the z_id of this InlineResponse2002. # noqa: E501
:return: The z_id of this InlineResponse2002. # noqa: E501
:rtype: str
"""
return self._z_id
@z_id.setter
def z_id(self, z_id):
"""Sets the z_id of this InlineResponse2002.
:param z_id: The z_id of this InlineResponse2002. # noqa: E501
:type: str
"""
self._z_id = z_id
@property
def url_template(self):
"""Gets the url_template of this InlineResponse2002. # noqa: E501
:return: The url_template of this InlineResponse2002. # noqa: E501
:rtype: str
"""
return self._url_template
@url_template.setter
def url_template(self, url_template):
"""Sets the url_template of this InlineResponse2002.
:param url_template: The url_template of this InlineResponse2002. # noqa: E501
:type: str
"""
self._url_template = url_template
@property
def public_name(self):
"""Gets the public_name of this InlineResponse2002. # noqa: E501
:return: The public_name of this InlineResponse2002. # noqa: E501
:rtype: str
"""
return self._public_name
@public_name.setter
def public_name(self, public_name):
"""Sets the public_name of this InlineResponse2002.
:param public_name: The public_name of this InlineResponse2002. # noqa: E501
:type: str
"""
self._public_name = public_name
@property
def created_at(self):
"""Gets the created_at of this InlineResponse2002. # noqa: E501
:return: The created_at of this InlineResponse2002. # noqa: E501
:rtype: int
"""
return self._created_at
@created_at.setter
def created_at(self, created_at):
"""Sets the created_at of this InlineResponse2002.
:param created_at: The created_at of this InlineResponse2002. # noqa: E501
:type: int
"""
self._created_at = created_at
@property
def updated_at(self):
"""Gets the updated_at of this InlineResponse2002. # noqa: E501
:return: The updated_at of this InlineResponse2002. # noqa: E501
:rtype: int
"""
return self._updated_at
@updated_at.setter
def updated_at(self, updated_at):
"""Sets the updated_at of this InlineResponse2002.
:param updated_at: The updated_at of this InlineResponse2002. # noqa: E501
:type: int
"""
self._updated_at = updated_at
def to_dict(self):
"""Returns the model properties as a dict"""

View File

@ -28,170 +28,40 @@ class InlineResponse2003(object):
and the value is json key in definition.
"""
swagger_types = {
'token': 'str',
'z_id': 'str',
'url_template': 'str',
'public_name': 'str',
'created_at': 'int',
'updated_at': 'int'
'members': 'list[InlineResponse2003Members]'
}
attribute_map = {
'token': 'token',
'z_id': 'zId',
'url_template': 'urlTemplate',
'public_name': 'publicName',
'created_at': 'createdAt',
'updated_at': 'updatedAt'
'members': 'members'
}
def __init__(self, token=None, z_id=None, url_template=None, public_name=None, created_at=None, updated_at=None): # noqa: E501
def __init__(self, members=None): # noqa: E501
"""InlineResponse2003 - a model defined in Swagger""" # noqa: E501
self._token = None
self._z_id = None
self._url_template = None
self._public_name = None
self._created_at = None
self._updated_at = None
self._members = None
self.discriminator = None
if token is not None:
self.token = token
if z_id is not None:
self.z_id = z_id
if url_template is not None:
self.url_template = url_template
if public_name is not None:
self.public_name = public_name
if created_at is not None:
self.created_at = created_at
if updated_at is not None:
self.updated_at = updated_at
if members is not None:
self.members = members
@property
def token(self):
"""Gets the token of this InlineResponse2003. # noqa: E501
def members(self):
"""Gets the members of this InlineResponse2003. # noqa: E501
:return: The token of this InlineResponse2003. # noqa: E501
:rtype: str
:return: The members of this InlineResponse2003. # noqa: E501
:rtype: list[InlineResponse2003Members]
"""
return self._token
return self._members
@token.setter
def token(self, token):
"""Sets the token of this InlineResponse2003.
@members.setter
def members(self, members):
"""Sets the members of this InlineResponse2003.
:param token: The token of this InlineResponse2003. # noqa: E501
:type: str
:param members: The members of this InlineResponse2003. # noqa: E501
:type: list[InlineResponse2003Members]
"""
self._token = token
@property
def z_id(self):
"""Gets the z_id of this InlineResponse2003. # noqa: E501
:return: The z_id of this InlineResponse2003. # noqa: E501
:rtype: str
"""
return self._z_id
@z_id.setter
def z_id(self, z_id):
"""Sets the z_id of this InlineResponse2003.
:param z_id: The z_id of this InlineResponse2003. # noqa: E501
:type: str
"""
self._z_id = z_id
@property
def url_template(self):
"""Gets the url_template of this InlineResponse2003. # noqa: E501
:return: The url_template of this InlineResponse2003. # noqa: E501
:rtype: str
"""
return self._url_template
@url_template.setter
def url_template(self, url_template):
"""Sets the url_template of this InlineResponse2003.
:param url_template: The url_template of this InlineResponse2003. # noqa: E501
:type: str
"""
self._url_template = url_template
@property
def public_name(self):
"""Gets the public_name of this InlineResponse2003. # noqa: E501
:return: The public_name of this InlineResponse2003. # noqa: E501
:rtype: str
"""
return self._public_name
@public_name.setter
def public_name(self, public_name):
"""Sets the public_name of this InlineResponse2003.
:param public_name: The public_name of this InlineResponse2003. # noqa: E501
:type: str
"""
self._public_name = public_name
@property
def created_at(self):
"""Gets the created_at of this InlineResponse2003. # noqa: E501
:return: The created_at of this InlineResponse2003. # noqa: E501
:rtype: int
"""
return self._created_at
@created_at.setter
def created_at(self, created_at):
"""Sets the created_at of this InlineResponse2003.
:param created_at: The created_at of this InlineResponse2003. # noqa: E501
:type: int
"""
self._created_at = created_at
@property
def updated_at(self):
"""Gets the updated_at of this InlineResponse2003. # noqa: E501
:return: The updated_at of this InlineResponse2003. # noqa: E501
:rtype: int
"""
return self._updated_at
@updated_at.setter
def updated_at(self, updated_at):
"""Sets the updated_at of this InlineResponse2003.
:param updated_at: The updated_at of this InlineResponse2003. # noqa: E501
:type: int
"""
self._updated_at = updated_at
self._members = members
def to_dict(self):
"""Returns the model properties as a dict"""

View File

@ -28,40 +28,40 @@ class InlineResponse2004(object):
and the value is json key in definition.
"""
swagger_types = {
'members': 'list[InlineResponse2004Members]'
'organizations': 'list[InlineResponse2004Organizations]'
}
attribute_map = {
'members': 'members'
'organizations': 'organizations'
}
def __init__(self, members=None): # noqa: E501
def __init__(self, organizations=None): # noqa: E501
"""InlineResponse2004 - a model defined in Swagger""" # noqa: E501
self._members = None
self._organizations = None
self.discriminator = None
if members is not None:
self.members = members
if organizations is not None:
self.organizations = organizations
@property
def members(self):
"""Gets the members of this InlineResponse2004. # noqa: E501
def organizations(self):
"""Gets the organizations of this InlineResponse2004. # noqa: E501
:return: The members of this InlineResponse2004. # noqa: E501
:rtype: list[InlineResponse2004Members]
:return: The organizations of this InlineResponse2004. # noqa: E501
:rtype: list[InlineResponse2004Organizations]
"""
return self._members
return self._organizations
@members.setter
def members(self, members):
"""Sets the members of this InlineResponse2004.
@organizations.setter
def organizations(self, organizations):
"""Sets the organizations of this InlineResponse2004.
:param members: The members of this InlineResponse2004. # noqa: E501
:type: list[InlineResponse2004Members]
:param organizations: The organizations of this InlineResponse2004. # noqa: E501
:type: list[InlineResponse2004Organizations]
"""
self._members = members
self._organizations = organizations
def to_dict(self):
"""Returns the model properties as a dict"""

View File

@ -28,40 +28,40 @@ class InlineResponse2005(object):
and the value is json key in definition.
"""
swagger_types = {
'organizations': 'list[InlineResponse2005Organizations]'
'memberships': 'list[InlineResponse2005Memberships]'
}
attribute_map = {
'organizations': 'organizations'
'memberships': 'memberships'
}
def __init__(self, organizations=None): # noqa: E501
def __init__(self, memberships=None): # noqa: E501
"""InlineResponse2005 - a model defined in Swagger""" # noqa: E501
self._organizations = None
self._memberships = None
self.discriminator = None
if organizations is not None:
self.organizations = organizations
if memberships is not None:
self.memberships = memberships
@property
def organizations(self):
"""Gets the organizations of this InlineResponse2005. # noqa: E501
def memberships(self):
"""Gets the memberships of this InlineResponse2005. # noqa: E501
:return: The organizations of this InlineResponse2005. # noqa: E501
:rtype: list[InlineResponse2005Organizations]
:return: The memberships of this InlineResponse2005. # noqa: E501
:rtype: list[InlineResponse2005Memberships]
"""
return self._organizations
return self._memberships
@organizations.setter
def organizations(self, organizations):
"""Sets the organizations of this InlineResponse2005.
@memberships.setter
def memberships(self, memberships):
"""Sets the memberships of this InlineResponse2005.
:param organizations: The organizations of this InlineResponse2005. # noqa: E501
:type: list[InlineResponse2005Organizations]
:param memberships: The memberships of this InlineResponse2005. # noqa: E501
:type: list[InlineResponse2005Memberships]
"""
self._organizations = organizations
self._memberships = memberships
def to_dict(self):
"""Returns the model properties as a dict"""

View File

@ -28,40 +28,40 @@ class InlineResponse2006(object):
and the value is json key in definition.
"""
swagger_types = {
'memberships': 'list[InlineResponse2006Memberships]'
'sparklines': 'list[Metrics]'
}
attribute_map = {
'memberships': 'memberships'
'sparklines': 'sparklines'
}
def __init__(self, memberships=None): # noqa: E501
def __init__(self, sparklines=None): # noqa: E501
"""InlineResponse2006 - a model defined in Swagger""" # noqa: E501
self._memberships = None
self._sparklines = None
self.discriminator = None
if memberships is not None:
self.memberships = memberships
if sparklines is not None:
self.sparklines = sparklines
@property
def memberships(self):
"""Gets the memberships of this InlineResponse2006. # noqa: E501
def sparklines(self):
"""Gets the sparklines of this InlineResponse2006. # noqa: E501
:return: The memberships of this InlineResponse2006. # noqa: E501
:rtype: list[InlineResponse2006Memberships]
:return: The sparklines of this InlineResponse2006. # noqa: E501
:rtype: list[Metrics]
"""
return self._memberships
return self._sparklines
@memberships.setter
def memberships(self, memberships):
"""Sets the memberships of this InlineResponse2006.
@sparklines.setter
def sparklines(self, sparklines):
"""Sets the sparklines of this InlineResponse2006.
:param memberships: The memberships of this InlineResponse2006. # noqa: E501
:type: list[InlineResponse2006Memberships]
:param sparklines: The sparklines of this InlineResponse2006. # noqa: E501
:type: list[Metrics]
"""
self._memberships = memberships
self._sparklines = sparklines
def to_dict(self):
"""Returns the model properties as a dict"""

View File

@ -28,45 +28,45 @@ class RegisterBody(object):
and the value is json key in definition.
"""
swagger_types = {
'token': 'str',
'reg_token': 'str',
'password': 'str'
}
attribute_map = {
'token': 'token',
'reg_token': 'regToken',
'password': 'password'
}
def __init__(self, token=None, password=None): # noqa: E501
def __init__(self, reg_token=None, password=None): # noqa: E501
"""RegisterBody - a model defined in Swagger""" # noqa: E501
self._token = None
self._reg_token = None
self._password = None
self.discriminator = None
if token is not None:
self.token = token
if reg_token is not None:
self.reg_token = reg_token
if password is not None:
self.password = password
@property
def token(self):
"""Gets the token of this RegisterBody. # noqa: E501
def reg_token(self):
"""Gets the reg_token of this RegisterBody. # noqa: E501
:return: The token of this RegisterBody. # noqa: E501
:return: The reg_token of this RegisterBody. # noqa: E501
:rtype: str
"""
return self._token
return self._reg_token
@token.setter
def token(self, token):
"""Sets the token of this RegisterBody.
@reg_token.setter
def reg_token(self, reg_token):
"""Sets the reg_token of this RegisterBody.
:param token: The token of this RegisterBody. # noqa: E501
:param reg_token: The reg_token of this RegisterBody. # noqa: E501
:type: str
"""
self._token = token
self._reg_token = reg_token
@property
def password(self):