diff --git a/bin/generate_rest.sh b/bin/generate_rest.sh index f7881a7d..16718bbd 100755 --- a/bin/generate_rest.sh +++ b/bin/generate_rest.sh @@ -56,5 +56,12 @@ echo "...generating python sdk client" swagger-codegen generate -i specs/zrok.yml -o sdk/python/sdk/zrok -c $pythonConfig -l python git checkout rest_server_zrok/configure_zrok.go -rm sdk/nodejs/sdk/src/zrok/api/git_push.sh -rm sdk/python/sdk/zrok/git_push.sh + +for OLD in sdk/python/sdk/zrok/git_push.sh sdk/nodejs/sdk/src/zrok/api/git_push.sh +do + if [ -e "$OLD" ] + then + rm "$OLD" + fi +done + diff --git a/sdk/python/sdk/zrok/zrok_api/api_client.py b/sdk/python/sdk/zrok/zrok_api/api_client.py index e42ff0d2..f917a79b 100644 --- a/sdk/python/sdk/zrok/zrok_api/api_client.py +++ b/sdk/python/sdk/zrok/zrok_api/api_client.py @@ -8,7 +8,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git """ - from __future__ import absolute_import import datetime diff --git a/sdk/python/sdk/zrok/zrok_api/models/access_request.py b/sdk/python/sdk/zrok/zrok_api/models/access_request.py deleted file mode 100644 index efb5bfc9..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/access_request.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class AccessRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'env_zid': 'str', - 'shr_token': 'str' - } - - attribute_map = { - 'env_zid': 'envZId', - 'shr_token': 'shareToken' - } - - def __init__(self, env_zid=None, shr_token=None): # noqa: E501 - """AccessRequest - a model defined in Swagger""" # noqa: E501 - self._env_zid = None - self._shr_token = None - self.discriminator = None - if env_zid is not None: - self.env_zid = env_zid - if shr_token is not None: - self.shr_token = shr_token - - @property - def env_zid(self): - """Gets the env_zid of this AccessRequest. # noqa: E501 - - - :return: The env_zid of this AccessRequest. # noqa: E501 - :rtype: str - """ - return self._env_zid - - @env_zid.setter - def env_zid(self, env_zid): - """Sets the env_zid of this AccessRequest. - - - :param env_zid: The env_zid of this AccessRequest. # noqa: E501 - :type: str - """ - - self._env_zid = env_zid - - @property - def shr_token(self): - """Gets the shr_token of this AccessRequest. # noqa: E501 - - - :return: The shr_token of this AccessRequest. # noqa: E501 - :rtype: str - """ - return self._shr_token - - @shr_token.setter - def shr_token(self, shr_token): - """Sets the shr_token of this AccessRequest. - - - :param shr_token: The shr_token of this AccessRequest. # noqa: E501 - :type: str - """ - - self._shr_token = shr_token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AccessRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AccessRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/python/sdk/zrok/zrok_api/models/access_response.py b/sdk/python/sdk/zrok/zrok_api/models/access_response.py deleted file mode 100644 index ba02584f..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/access_response.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class AccessResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'frontend_token': 'str', - 'backend_mode': 'str' - } - - attribute_map = { - 'frontend_token': 'frontendToken', - 'backend_mode': 'backendMode' - } - - def __init__(self, frontend_token=None, backend_mode=None): # noqa: E501 - """AccessResponse - a model defined in Swagger""" # noqa: E501 - self._frontend_token = None - self._backend_mode = None - self.discriminator = None - if frontend_token is not None: - self.frontend_token = frontend_token - if backend_mode is not None: - self.backend_mode = backend_mode - - @property - def frontend_token(self): - """Gets the frontend_token of this AccessResponse. # noqa: E501 - - - :return: The frontend_token of this AccessResponse. # noqa: E501 - :rtype: str - """ - return self._frontend_token - - @frontend_token.setter - def frontend_token(self, frontend_token): - """Sets the frontend_token of this AccessResponse. - - - :param frontend_token: The frontend_token of this AccessResponse. # noqa: E501 - :type: str - """ - - self._frontend_token = frontend_token - - @property - def backend_mode(self): - """Gets the backend_mode of this AccessResponse. # noqa: E501 - - - :return: The backend_mode of this AccessResponse. # noqa: E501 - :rtype: str - """ - return self._backend_mode - - @backend_mode.setter - def backend_mode(self, backend_mode): - """Sets the backend_mode of this AccessResponse. - - - :param backend_mode: The backend_mode of this AccessResponse. # noqa: E501 - :type: str - """ - - self._backend_mode = backend_mode - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(AccessResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AccessResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/python/sdk/zrok/zrok_api/models/body.py b/sdk/python/sdk/zrok/zrok_api/models/body.py deleted file mode 100644 index 50910f74..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/body.py +++ /dev/null @@ -1,175 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from zrok_api.configuration import Configuration - - -class Body(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'email': 'str', - 'old_password': 'str', - 'new_password': 'str' - } - - attribute_map = { - 'email': 'email', - 'old_password': 'oldPassword', - 'new_password': 'newPassword' - } - - def __init__(self, email=None, old_password=None, new_password=None, _configuration=None): # noqa: E501 - """Body - a model defined in Swagger""" # noqa: E501 - if _configuration is None: - _configuration = Configuration() - self._configuration = _configuration - - self._email = None - self._old_password = None - self._new_password = None - self.discriminator = None - - if email is not None: - self.email = email - if old_password is not None: - self.old_password = old_password - if new_password is not None: - self.new_password = new_password - - @property - def email(self): - """Gets the email of this Body. # noqa: E501 - - - :return: The email of this Body. # noqa: E501 - :rtype: str - """ - return self._email - - @email.setter - def email(self, email): - """Sets the email of this Body. - - - :param email: The email of this Body. # noqa: E501 - :type: str - """ - - self._email = email - - @property - def old_password(self): - """Gets the old_password of this Body. # noqa: E501 - - - :return: The old_password of this Body. # noqa: E501 - :rtype: str - """ - return self._old_password - - @old_password.setter - def old_password(self, old_password): - """Sets the old_password of this Body. - - - :param old_password: The old_password of this Body. # noqa: E501 - :type: str - """ - - self._old_password = old_password - - @property - def new_password(self): - """Gets the new_password of this Body. # noqa: E501 - - - :return: The new_password of this Body. # noqa: E501 - :rtype: str - """ - return self._new_password - - @new_password.setter - def new_password(self, new_password): - """Sets the new_password of this Body. - - - :param new_password: The new_password of this Body. # noqa: E501 - :type: str - """ - - self._new_password = new_password - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Body, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Body): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, Body): - return True - - return self.to_dict() != other.to_dict() diff --git a/sdk/python/sdk/zrok/zrok_api/models/body1.py b/sdk/python/sdk/zrok/zrok_api/models/body1.py deleted file mode 100644 index 42f6e3de..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/body1.py +++ /dev/null @@ -1,149 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from zrok_api.configuration import Configuration - - -class Body1(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'email': 'str', - 'invite_token': 'str' - } - - attribute_map = { - 'email': 'email', - 'invite_token': 'inviteToken' - } - - def __init__(self, email=None, invite_token=None, _configuration=None): # noqa: E501 - """Body1 - a model defined in Swagger""" # noqa: E501 - if _configuration is None: - _configuration = Configuration() - self._configuration = _configuration - - self._email = None - self._invite_token = None - self.discriminator = None - - if email is not None: - self.email = email - if invite_token is not None: - self.invite_token = invite_token - - @property - def email(self): - """Gets the email of this Body1. # noqa: E501 - - - :return: The email of this Body1. # noqa: E501 - :rtype: str - """ - return self._email - - @email.setter - def email(self, email): - """Sets the email of this Body1. - - - :param email: The email of this Body1. # noqa: E501 - :type: str - """ - - self._email = email - - @property - def invite_token(self): - """Gets the invite_token of this Body1. # noqa: E501 - - - :return: The invite_token of this Body1. # noqa: E501 - :rtype: str - """ - return self._invite_token - - @invite_token.setter - def invite_token(self, invite_token): - """Sets the invite_token of this Body1. - - - :param invite_token: The invite_token of this Body1. # noqa: E501 - :type: str - """ - - self._invite_token = invite_token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Body1, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Body1): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, Body1): - return True - - return self.to_dict() != other.to_dict() diff --git a/sdk/python/sdk/zrok/zrok_api/models/body10.py b/sdk/python/sdk/zrok/zrok_api/models/body10.py deleted file mode 100644 index 4c2c524b..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/body10.py +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from zrok_api.configuration import Configuration - - -class Body10(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'frontend_token': 'str' - } - - attribute_map = { - 'frontend_token': 'frontendToken' - } - - def __init__(self, frontend_token=None, _configuration=None): # noqa: E501 - """Body10 - a model defined in Swagger""" # noqa: E501 - if _configuration is None: - _configuration = Configuration() - self._configuration = _configuration - - self._frontend_token = None - self.discriminator = None - - if frontend_token is not None: - self.frontend_token = frontend_token - - @property - def frontend_token(self): - """Gets the frontend_token of this Body10. # noqa: E501 - - - :return: The frontend_token of this Body10. # noqa: E501 - :rtype: str - """ - return self._frontend_token - - @frontend_token.setter - def frontend_token(self, frontend_token): - """Sets the frontend_token of this Body10. - - - :param frontend_token: The frontend_token of this Body10. # noqa: E501 - :type: str - """ - - self._frontend_token = frontend_token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Body10, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Body10): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, Body10): - return True - - return self.to_dict() != other.to_dict() diff --git a/sdk/python/sdk/zrok/zrok_api/models/body11.py b/sdk/python/sdk/zrok/zrok_api/models/body11.py deleted file mode 100644 index 7002c803..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/body11.py +++ /dev/null @@ -1,175 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from zrok_api.configuration import Configuration - - -class Body11(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'frontend_token': 'str', - 'public_name': 'str', - 'url_template': 'str' - } - - attribute_map = { - 'frontend_token': 'frontendToken', - 'public_name': 'publicName', - 'url_template': 'urlTemplate' - } - - def __init__(self, frontend_token=None, public_name=None, url_template=None, _configuration=None): # noqa: E501 - """Body11 - a model defined in Swagger""" # noqa: E501 - if _configuration is None: - _configuration = Configuration() - self._configuration = _configuration - - self._frontend_token = None - self._public_name = None - self._url_template = None - self.discriminator = None - - if frontend_token is not None: - self.frontend_token = frontend_token - if public_name is not None: - self.public_name = public_name - if url_template is not None: - self.url_template = url_template - - @property - def frontend_token(self): - """Gets the frontend_token of this Body11. # noqa: E501 - - - :return: The frontend_token of this Body11. # noqa: E501 - :rtype: str - """ - return self._frontend_token - - @frontend_token.setter - def frontend_token(self, frontend_token): - """Sets the frontend_token of this Body11. - - - :param frontend_token: The frontend_token of this Body11. # noqa: E501 - :type: str - """ - - self._frontend_token = frontend_token - - @property - def public_name(self): - """Gets the public_name of this Body11. # noqa: E501 - - - :return: The public_name of this Body11. # noqa: E501 - :rtype: str - """ - return self._public_name - - @public_name.setter - def public_name(self, public_name): - """Sets the public_name of this Body11. - - - :param public_name: The public_name of this Body11. # noqa: E501 - :type: str - """ - - self._public_name = public_name - - @property - def url_template(self): - """Gets the url_template of this Body11. # noqa: E501 - - - :return: The url_template of this Body11. # noqa: E501 - :rtype: str - """ - return self._url_template - - @url_template.setter - def url_template(self, url_template): - """Sets the url_template of this Body11. - - - :param url_template: The url_template of this Body11. # noqa: E501 - :type: str - """ - - self._url_template = url_template - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Body11, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Body11): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, Body11): - return True - - return self.to_dict() != other.to_dict() diff --git a/sdk/python/sdk/zrok/zrok_api/models/body12.py b/sdk/python/sdk/zrok/zrok_api/models/body12.py deleted file mode 100644 index 8740741c..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/body12.py +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from zrok_api.configuration import Configuration - - -class Body12(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'email': 'str' - } - - attribute_map = { - 'email': 'email' - } - - def __init__(self, email=None, _configuration=None): # noqa: E501 - """Body12 - a model defined in Swagger""" # noqa: E501 - if _configuration is None: - _configuration = Configuration() - self._configuration = _configuration - - self._email = None - self.discriminator = None - - if email is not None: - self.email = email - - @property - def email(self): - """Gets the email of this Body12. # noqa: E501 - - - :return: The email of this Body12. # noqa: E501 - :rtype: str - """ - return self._email - - @email.setter - def email(self, email): - """Sets the email of this Body12. - - - :param email: The email of this Body12. # noqa: E501 - :type: str - """ - - self._email = email - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Body12, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Body12): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, Body12): - return True - - return self.to_dict() != other.to_dict() diff --git a/sdk/python/sdk/zrok/zrok_api/models/body13.py b/sdk/python/sdk/zrok/zrok_api/models/body13.py deleted file mode 100644 index 0607b626..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/body13.py +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from zrok_api.configuration import Configuration - - -class Body13(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'name': 'str' - } - - attribute_map = { - 'name': 'name' - } - - def __init__(self, name=None, _configuration=None): # noqa: E501 - """Body13 - a model defined in Swagger""" # noqa: E501 - if _configuration is None: - _configuration = Configuration() - self._configuration = _configuration - - self._name = None - self.discriminator = None - - if name is not None: - self.name = name - - @property - def name(self): - """Gets the name of this Body13. # noqa: E501 - - - :return: The name of this Body13. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this Body13. - - - :param name: The name of this Body13. # noqa: E501 - :type: str - """ - - self._name = name - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Body13, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Body13): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, Body13): - return True - - return self.to_dict() != other.to_dict() diff --git a/sdk/python/sdk/zrok/zrok_api/models/body14.py b/sdk/python/sdk/zrok/zrok_api/models/body14.py deleted file mode 100644 index 36b8a41e..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/body14.py +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from zrok_api.configuration import Configuration - - -class Body14(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'invite_tokens': 'list[str]' - } - - attribute_map = { - 'invite_tokens': 'inviteTokens' - } - - def __init__(self, invite_tokens=None, _configuration=None): # noqa: E501 - """Body14 - a model defined in Swagger""" # noqa: E501 - if _configuration is None: - _configuration = Configuration() - self._configuration = _configuration - - self._invite_tokens = None - self.discriminator = None - - if invite_tokens is not None: - self.invite_tokens = invite_tokens - - @property - def invite_tokens(self): - """Gets the invite_tokens of this Body14. # noqa: E501 - - - :return: The invite_tokens of this Body14. # noqa: E501 - :rtype: list[str] - """ - return self._invite_tokens - - @invite_tokens.setter - def invite_tokens(self, invite_tokens): - """Sets the invite_tokens of this Body14. - - - :param invite_tokens: The invite_tokens of this Body14. # noqa: E501 - :type: list[str] - """ - - self._invite_tokens = invite_tokens - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Body14, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Body14): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, Body14): - return True - - return self.to_dict() != other.to_dict() diff --git a/sdk/python/sdk/zrok/zrok_api/models/body15.py b/sdk/python/sdk/zrok/zrok_api/models/body15.py deleted file mode 100644 index 665896c3..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/body15.py +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from zrok_api.configuration import Configuration - - -class Body15(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'description': 'str' - } - - attribute_map = { - 'description': 'description' - } - - def __init__(self, description=None, _configuration=None): # noqa: E501 - """Body15 - a model defined in Swagger""" # noqa: E501 - if _configuration is None: - _configuration = Configuration() - self._configuration = _configuration - - self._description = None - self.discriminator = None - - if description is not None: - self.description = description - - @property - def description(self): - """Gets the description of this Body15. # noqa: E501 - - - :return: The description of this Body15. # noqa: E501 - :rtype: str - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this Body15. - - - :param description: The description of this Body15. # noqa: E501 - :type: str - """ - - self._description = description - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Body15, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Body15): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, Body15): - return True - - return self.to_dict() != other.to_dict() diff --git a/sdk/python/sdk/zrok/zrok_api/models/body16.py b/sdk/python/sdk/zrok/zrok_api/models/body16.py deleted file mode 100644 index bddb54cf..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/body16.py +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from zrok_api.configuration import Configuration - - -class Body16(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'organization_token': 'str' - } - - attribute_map = { - 'organization_token': 'organizationToken' - } - - def __init__(self, organization_token=None, _configuration=None): # noqa: E501 - """Body16 - a model defined in Swagger""" # noqa: E501 - if _configuration is None: - _configuration = Configuration() - self._configuration = _configuration - - self._organization_token = None - self.discriminator = None - - if organization_token is not None: - self.organization_token = organization_token - - @property - def organization_token(self): - """Gets the organization_token of this Body16. # noqa: E501 - - - :return: The organization_token of this Body16. # noqa: E501 - :rtype: str - """ - return self._organization_token - - @organization_token.setter - def organization_token(self, organization_token): - """Sets the organization_token of this Body16. - - - :param organization_token: The organization_token of this Body16. # noqa: E501 - :type: str - """ - - self._organization_token = organization_token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Body16, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Body16): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, Body16): - return True - - return self.to_dict() != other.to_dict() diff --git a/sdk/python/sdk/zrok/zrok_api/models/body17.py b/sdk/python/sdk/zrok/zrok_api/models/body17.py deleted file mode 100644 index c3f6a8c8..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/body17.py +++ /dev/null @@ -1,175 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from zrok_api.configuration import Configuration - - -class Body17(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'organization_token': 'str', - 'email': 'str', - 'admin': 'bool' - } - - attribute_map = { - 'organization_token': 'organizationToken', - 'email': 'email', - 'admin': 'admin' - } - - def __init__(self, organization_token=None, email=None, admin=None, _configuration=None): # noqa: E501 - """Body17 - a model defined in Swagger""" # noqa: E501 - if _configuration is None: - _configuration = Configuration() - self._configuration = _configuration - - self._organization_token = None - self._email = None - self._admin = None - self.discriminator = None - - if organization_token is not None: - self.organization_token = organization_token - if email is not None: - self.email = email - if admin is not None: - self.admin = admin - - @property - def organization_token(self): - """Gets the organization_token of this Body17. # noqa: E501 - - - :return: The organization_token of this Body17. # noqa: E501 - :rtype: str - """ - return self._organization_token - - @organization_token.setter - def organization_token(self, organization_token): - """Sets the organization_token of this Body17. - - - :param organization_token: The organization_token of this Body17. # noqa: E501 - :type: str - """ - - self._organization_token = organization_token - - @property - def email(self): - """Gets the email of this Body17. # noqa: E501 - - - :return: The email of this Body17. # noqa: E501 - :rtype: str - """ - return self._email - - @email.setter - def email(self, email): - """Sets the email of this Body17. - - - :param email: The email of this Body17. # noqa: E501 - :type: str - """ - - self._email = email - - @property - def admin(self): - """Gets the admin of this Body17. # noqa: E501 - - - :return: The admin of this Body17. # noqa: E501 - :rtype: bool - """ - return self._admin - - @admin.setter - def admin(self, admin): - """Sets the admin of this Body17. - - - :param admin: The admin of this Body17. # noqa: E501 - :type: bool - """ - - self._admin = admin - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Body17, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Body17): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, Body17): - return True - - return self.to_dict() != other.to_dict() diff --git a/sdk/python/sdk/zrok/zrok_api/models/body18.py b/sdk/python/sdk/zrok/zrok_api/models/body18.py deleted file mode 100644 index 24264efd..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/body18.py +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from zrok_api.configuration import Configuration - - -class Body18(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'organization_token': 'str' - } - - attribute_map = { - 'organization_token': 'organizationToken' - } - - def __init__(self, organization_token=None, _configuration=None): # noqa: E501 - """Body18 - a model defined in Swagger""" # noqa: E501 - if _configuration is None: - _configuration = Configuration() - self._configuration = _configuration - - self._organization_token = None - self.discriminator = None - - if organization_token is not None: - self.organization_token = organization_token - - @property - def organization_token(self): - """Gets the organization_token of this Body18. # noqa: E501 - - - :return: The organization_token of this Body18. # noqa: E501 - :rtype: str - """ - return self._organization_token - - @organization_token.setter - def organization_token(self, organization_token): - """Sets the organization_token of this Body18. - - - :param organization_token: The organization_token of this Body18. # noqa: E501 - :type: str - """ - - self._organization_token = organization_token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Body18, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Body18): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, Body18): - return True - - return self.to_dict() != other.to_dict() diff --git a/sdk/python/sdk/zrok/zrok_api/models/body19.py b/sdk/python/sdk/zrok/zrok_api/models/body19.py deleted file mode 100644 index 1ca823ed..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/body19.py +++ /dev/null @@ -1,149 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from zrok_api.configuration import Configuration - - -class Body19(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'organization_token': 'str', - 'email': 'str' - } - - attribute_map = { - 'organization_token': 'organizationToken', - 'email': 'email' - } - - def __init__(self, organization_token=None, email=None, _configuration=None): # noqa: E501 - """Body19 - a model defined in Swagger""" # noqa: E501 - if _configuration is None: - _configuration = Configuration() - self._configuration = _configuration - - self._organization_token = None - self._email = None - self.discriminator = None - - if organization_token is not None: - self.organization_token = organization_token - if email is not None: - self.email = email - - @property - def organization_token(self): - """Gets the organization_token of this Body19. # noqa: E501 - - - :return: The organization_token of this Body19. # noqa: E501 - :rtype: str - """ - return self._organization_token - - @organization_token.setter - def organization_token(self, organization_token): - """Sets the organization_token of this Body19. - - - :param organization_token: The organization_token of this Body19. # noqa: E501 - :type: str - """ - - self._organization_token = organization_token - - @property - def email(self): - """Gets the email of this Body19. # noqa: E501 - - - :return: The email of this Body19. # noqa: E501 - :rtype: str - """ - return self._email - - @email.setter - def email(self, email): - """Sets the email of this Body19. - - - :param email: The email of this Body19. # noqa: E501 - :type: str - """ - - self._email = email - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Body19, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Body19): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, Body19): - return True - - return self.to_dict() != other.to_dict() diff --git a/sdk/python/sdk/zrok/zrok_api/models/body2.py b/sdk/python/sdk/zrok/zrok_api/models/body2.py deleted file mode 100644 index 65befe3f..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/body2.py +++ /dev/null @@ -1,149 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from zrok_api.configuration import Configuration - - -class Body2(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'email': 'str', - 'password': 'str' - } - - attribute_map = { - 'email': 'email', - 'password': 'password' - } - - def __init__(self, email=None, password=None, _configuration=None): # noqa: E501 - """Body2 - a model defined in Swagger""" # noqa: E501 - if _configuration is None: - _configuration = Configuration() - self._configuration = _configuration - - self._email = None - self._password = None - self.discriminator = None - - if email is not None: - self.email = email - if password is not None: - self.password = password - - @property - def email(self): - """Gets the email of this Body2. # noqa: E501 - - - :return: The email of this Body2. # noqa: E501 - :rtype: str - """ - return self._email - - @email.setter - def email(self, email): - """Sets the email of this Body2. - - - :param email: The email of this Body2. # noqa: E501 - :type: str - """ - - self._email = email - - @property - def password(self): - """Gets the password of this Body2. # noqa: E501 - - - :return: The password of this Body2. # noqa: E501 - :rtype: str - """ - return self._password - - @password.setter - def password(self, password): - """Sets the password of this Body2. - - - :param password: The password of this Body2. # noqa: E501 - :type: str - """ - - self._password = password - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Body2, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Body2): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, Body2): - return True - - return self.to_dict() != other.to_dict() diff --git a/sdk/python/sdk/zrok/zrok_api/models/body20.py b/sdk/python/sdk/zrok/zrok_api/models/body20.py deleted file mode 100644 index af02cdc4..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/body20.py +++ /dev/null @@ -1,149 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from zrok_api.configuration import Configuration - - -class Body20(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'description': 'str', - 'host': 'str' - } - - attribute_map = { - 'description': 'description', - 'host': 'host' - } - - def __init__(self, description=None, host=None, _configuration=None): # noqa: E501 - """Body20 - a model defined in Swagger""" # noqa: E501 - if _configuration is None: - _configuration = Configuration() - self._configuration = _configuration - - self._description = None - self._host = None - self.discriminator = None - - if description is not None: - self.description = description - if host is not None: - self.host = host - - @property - def description(self): - """Gets the description of this Body20. # noqa: E501 - - - :return: The description of this Body20. # noqa: E501 - :rtype: str - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this Body20. - - - :param description: The description of this Body20. # noqa: E501 - :type: str - """ - - self._description = description - - @property - def host(self): - """Gets the host of this Body20. # noqa: E501 - - - :return: The host of this Body20. # noqa: E501 - :rtype: str - """ - return self._host - - @host.setter - def host(self, host): - """Sets the host of this Body20. - - - :param host: The host of this Body20. # noqa: E501 - :type: str - """ - - self._host = host - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Body20, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Body20): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, Body20): - return True - - return self.to_dict() != other.to_dict() diff --git a/sdk/python/sdk/zrok/zrok_api/models/body21.py b/sdk/python/sdk/zrok/zrok_api/models/body21.py deleted file mode 100644 index 4096aa16..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/body21.py +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from zrok_api.configuration import Configuration - - -class Body21(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'identity': 'str' - } - - attribute_map = { - 'identity': 'identity' - } - - def __init__(self, identity=None, _configuration=None): # noqa: E501 - """Body21 - a model defined in Swagger""" # noqa: E501 - if _configuration is None: - _configuration = Configuration() - self._configuration = _configuration - - self._identity = None - self.discriminator = None - - if identity is not None: - self.identity = identity - - @property - def identity(self): - """Gets the identity of this Body21. # noqa: E501 - - - :return: The identity of this Body21. # noqa: E501 - :rtype: str - """ - return self._identity - - @identity.setter - def identity(self, identity): - """Sets the identity of this Body21. - - - :param identity: The identity of this Body21. # noqa: E501 - :type: str - """ - - self._identity = identity - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Body21, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Body21): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, Body21): - return True - - return self.to_dict() != other.to_dict() diff --git a/sdk/python/sdk/zrok/zrok_api/models/body22.py b/sdk/python/sdk/zrok/zrok_api/models/body22.py deleted file mode 100644 index f4b1e9b4..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/body22.py +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from zrok_api.configuration import Configuration - - -class Body22(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'client_version': 'str' - } - - attribute_map = { - 'client_version': 'clientVersion' - } - - def __init__(self, client_version=None, _configuration=None): # noqa: E501 - """Body22 - a model defined in Swagger""" # noqa: E501 - if _configuration is None: - _configuration = Configuration() - self._configuration = _configuration - - self._client_version = None - self.discriminator = None - - if client_version is not None: - self.client_version = client_version - - @property - def client_version(self): - """Gets the client_version of this Body22. # noqa: E501 - - - :return: The client_version of this Body22. # noqa: E501 - :rtype: str - """ - return self._client_version - - @client_version.setter - def client_version(self, client_version): - """Sets the client_version of this Body22. - - - :param client_version: The client_version of this Body22. # noqa: E501 - :type: str - """ - - self._client_version = client_version - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Body22, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Body22): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, Body22): - return True - - return self.to_dict() != other.to_dict() diff --git a/sdk/python/sdk/zrok/zrok_api/models/body23.py b/sdk/python/sdk/zrok/zrok_api/models/body23.py deleted file mode 100644 index 03a151cf..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/body23.py +++ /dev/null @@ -1,175 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from zrok_api.configuration import Configuration - - -class Body23(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'account': 'bool', - 'environments': 'list[str]', - 'shares': 'list[str]' - } - - attribute_map = { - 'account': 'account', - 'environments': 'environments', - 'shares': 'shares' - } - - def __init__(self, account=None, environments=None, shares=None, _configuration=None): # noqa: E501 - """Body23 - a model defined in Swagger""" # noqa: E501 - if _configuration is None: - _configuration = Configuration() - self._configuration = _configuration - - self._account = None - self._environments = None - self._shares = None - self.discriminator = None - - if account is not None: - self.account = account - if environments is not None: - self.environments = environments - if shares is not None: - self.shares = shares - - @property - def account(self): - """Gets the account of this Body23. # noqa: E501 - - - :return: The account of this Body23. # noqa: E501 - :rtype: bool - """ - return self._account - - @account.setter - def account(self, account): - """Sets the account of this Body23. - - - :param account: The account of this Body23. # noqa: E501 - :type: bool - """ - - self._account = account - - @property - def environments(self): - """Gets the environments of this Body23. # noqa: E501 - - - :return: The environments of this Body23. # noqa: E501 - :rtype: list[str] - """ - return self._environments - - @environments.setter - def environments(self, environments): - """Sets the environments of this Body23. - - - :param environments: The environments of this Body23. # noqa: E501 - :type: list[str] - """ - - self._environments = environments - - @property - def shares(self): - """Gets the shares of this Body23. # noqa: E501 - - - :return: The shares of this Body23. # noqa: E501 - :rtype: list[str] - """ - return self._shares - - @shares.setter - def shares(self, shares): - """Sets the shares of this Body23. - - - :param shares: The shares of this Body23. # noqa: E501 - :type: list[str] - """ - - self._shares = shares - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Body23, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Body23): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, Body23): - return True - - return self.to_dict() != other.to_dict() diff --git a/sdk/python/sdk/zrok/zrok_api/models/body24.py b/sdk/python/sdk/zrok/zrok_api/models/body24.py deleted file mode 100644 index fdbb8713..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/body24.py +++ /dev/null @@ -1,201 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from zrok_api.configuration import Configuration - - -class Body24(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - 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, bind_address=None, description=None, _configuration=None): # noqa: E501 - """Body24 - a model defined in Swagger""" # noqa: E501 - if _configuration is None: - _configuration = Configuration() - self._configuration = _configuration - - 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 - - @property - def env_zid(self): - """Gets the env_zid of this Body24. # noqa: E501 - - - :return: The env_zid of this Body24. # noqa: E501 - :rtype: str - """ - return self._env_zid - - @env_zid.setter - def env_zid(self, env_zid): - """Sets the env_zid of this Body24. - - - :param env_zid: The env_zid of this Body24. # noqa: E501 - :type: str - """ - - self._env_zid = env_zid - - @property - def share_token(self): - """Gets the share_token of this Body24. # noqa: E501 - - - :return: The share_token of this Body24. # noqa: E501 - :rtype: str - """ - return self._share_token - - @share_token.setter - def share_token(self, share_token): - """Sets the share_token of this Body24. - - - :param share_token: The share_token of this Body24. # noqa: E501 - :type: str - """ - - self._share_token = share_token - - @property - def bind_address(self): - """Gets the bind_address of this Body24. # noqa: E501 - - - :return: The bind_address of this Body24. # noqa: E501 - :rtype: str - """ - return self._bind_address - - @bind_address.setter - def bind_address(self, bind_address): - """Sets the bind_address of this Body24. - - - :param bind_address: The bind_address of this Body24. # noqa: E501 - :type: str - """ - - self._bind_address = bind_address - - @property - def description(self): - """Gets the description of this Body24. # noqa: E501 - - - :return: The description of this Body24. # noqa: E501 - :rtype: str - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this Body24. - - - :param description: The description of this Body24. # noqa: E501 - :type: str - """ - - self._description = description - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Body24, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Body24): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, Body24): - return True - - return self.to_dict() != other.to_dict() diff --git a/sdk/python/sdk/zrok/zrok_api/models/body25.py b/sdk/python/sdk/zrok/zrok_api/models/body25.py deleted file mode 100644 index c325ac35..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/body25.py +++ /dev/null @@ -1,175 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from zrok_api.configuration import Configuration - - -class Body25(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - 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, bind_address=None, description=None, _configuration=None): # noqa: E501 - """Body25 - a model defined in Swagger""" # noqa: E501 - if _configuration is None: - _configuration = Configuration() - self._configuration = _configuration - - 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 - - @property - def frontend_token(self): - """Gets the frontend_token of this Body25. # noqa: E501 - - - :return: The frontend_token of this Body25. # noqa: E501 - :rtype: str - """ - return self._frontend_token - - @frontend_token.setter - def frontend_token(self, frontend_token): - """Sets the frontend_token of this Body25. - - - :param frontend_token: The frontend_token of this Body25. # noqa: E501 - :type: str - """ - - self._frontend_token = frontend_token - - @property - def bind_address(self): - """Gets the bind_address of this Body25. # noqa: E501 - - - :return: The bind_address of this Body25. # noqa: E501 - :rtype: str - """ - return self._bind_address - - @bind_address.setter - def bind_address(self, bind_address): - """Sets the bind_address of this Body25. - - - :param bind_address: The bind_address of this Body25. # noqa: E501 - :type: str - """ - - self._bind_address = bind_address - - @property - def description(self): - """Gets the description of this Body25. # noqa: E501 - - - :return: The description of this Body25. # noqa: E501 - :rtype: str - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this Body25. - - - :param description: The description of this Body25. # noqa: E501 - :type: str - """ - - self._description = description - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Body25, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Body25): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, Body25): - return True - - return self.to_dict() != other.to_dict() diff --git a/sdk/python/sdk/zrok/zrok_api/models/body26.py b/sdk/python/sdk/zrok/zrok_api/models/body26.py deleted file mode 100644 index 05eb4fa1..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/body26.py +++ /dev/null @@ -1,201 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from zrok_api.configuration import Configuration - - -class Body26(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'share_token': 'str', - 'backend_proxy_endpoint': 'str', - 'add_access_grants': 'list[str]', - 'remove_access_grants': 'list[str]' - } - - attribute_map = { - 'share_token': 'shareToken', - 'backend_proxy_endpoint': 'backendProxyEndpoint', - 'add_access_grants': 'addAccessGrants', - 'remove_access_grants': 'removeAccessGrants' - } - - def __init__(self, share_token=None, backend_proxy_endpoint=None, add_access_grants=None, remove_access_grants=None, _configuration=None): # noqa: E501 - """Body26 - a model defined in Swagger""" # noqa: E501 - if _configuration is None: - _configuration = Configuration() - self._configuration = _configuration - - self._share_token = None - self._backend_proxy_endpoint = None - self._add_access_grants = None - self._remove_access_grants = None - self.discriminator = None - - if share_token is not None: - self.share_token = share_token - if backend_proxy_endpoint is not None: - self.backend_proxy_endpoint = backend_proxy_endpoint - if add_access_grants is not None: - self.add_access_grants = add_access_grants - if remove_access_grants is not None: - self.remove_access_grants = remove_access_grants - - @property - def share_token(self): - """Gets the share_token of this Body26. # noqa: E501 - - - :return: The share_token of this Body26. # noqa: E501 - :rtype: str - """ - return self._share_token - - @share_token.setter - def share_token(self, share_token): - """Sets the share_token of this Body26. - - - :param share_token: The share_token of this Body26. # noqa: E501 - :type: str - """ - - self._share_token = share_token - - @property - def backend_proxy_endpoint(self): - """Gets the backend_proxy_endpoint of this Body26. # noqa: E501 - - - :return: The backend_proxy_endpoint of this Body26. # noqa: E501 - :rtype: str - """ - return self._backend_proxy_endpoint - - @backend_proxy_endpoint.setter - def backend_proxy_endpoint(self, backend_proxy_endpoint): - """Sets the backend_proxy_endpoint of this Body26. - - - :param backend_proxy_endpoint: The backend_proxy_endpoint of this Body26. # noqa: E501 - :type: str - """ - - self._backend_proxy_endpoint = backend_proxy_endpoint - - @property - def add_access_grants(self): - """Gets the add_access_grants of this Body26. # noqa: E501 - - - :return: The add_access_grants of this Body26. # noqa: E501 - :rtype: list[str] - """ - return self._add_access_grants - - @add_access_grants.setter - def add_access_grants(self, add_access_grants): - """Sets the add_access_grants of this Body26. - - - :param add_access_grants: The add_access_grants of this Body26. # noqa: E501 - :type: list[str] - """ - - self._add_access_grants = add_access_grants - - @property - def remove_access_grants(self): - """Gets the remove_access_grants of this Body26. # noqa: E501 - - - :return: The remove_access_grants of this Body26. # noqa: E501 - :rtype: list[str] - """ - return self._remove_access_grants - - @remove_access_grants.setter - def remove_access_grants(self, remove_access_grants): - """Sets the remove_access_grants of this Body26. - - - :param remove_access_grants: The remove_access_grants of this Body26. # noqa: E501 - :type: list[str] - """ - - self._remove_access_grants = remove_access_grants - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Body26, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Body26): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, Body26): - return True - - return self.to_dict() != other.to_dict() diff --git a/sdk/python/sdk/zrok/zrok_api/models/body27.py b/sdk/python/sdk/zrok/zrok_api/models/body27.py deleted file mode 100644 index 4c0ea84f..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/body27.py +++ /dev/null @@ -1,175 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from zrok_api.configuration import Configuration - - -class Body27(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'frontend_token': 'str', - 'env_zid': 'str', - 'share_token': 'str' - } - - attribute_map = { - 'frontend_token': 'frontendToken', - 'env_zid': 'envZId', - 'share_token': 'shareToken' - } - - def __init__(self, frontend_token=None, env_zid=None, share_token=None, _configuration=None): # noqa: E501 - """Body27 - a model defined in Swagger""" # noqa: E501 - if _configuration is None: - _configuration = Configuration() - self._configuration = _configuration - - self._frontend_token = None - self._env_zid = None - self._share_token = None - self.discriminator = None - - if frontend_token is not None: - self.frontend_token = frontend_token - if env_zid is not None: - self.env_zid = env_zid - if share_token is not None: - self.share_token = share_token - - @property - def frontend_token(self): - """Gets the frontend_token of this Body27. # noqa: E501 - - - :return: The frontend_token of this Body27. # noqa: E501 - :rtype: str - """ - return self._frontend_token - - @frontend_token.setter - def frontend_token(self, frontend_token): - """Sets the frontend_token of this Body27. - - - :param frontend_token: The frontend_token of this Body27. # noqa: E501 - :type: str - """ - - self._frontend_token = frontend_token - - @property - def env_zid(self): - """Gets the env_zid of this Body27. # noqa: E501 - - - :return: The env_zid of this Body27. # noqa: E501 - :rtype: str - """ - return self._env_zid - - @env_zid.setter - def env_zid(self, env_zid): - """Sets the env_zid of this Body27. - - - :param env_zid: The env_zid of this Body27. # noqa: E501 - :type: str - """ - - self._env_zid = env_zid - - @property - def share_token(self): - """Gets the share_token of this Body27. # noqa: E501 - - - :return: The share_token of this Body27. # noqa: E501 - :rtype: str - """ - return self._share_token - - @share_token.setter - def share_token(self, share_token): - """Sets the share_token of this Body27. - - - :param share_token: The share_token of this Body27. # noqa: E501 - :type: str - """ - - self._share_token = share_token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Body27, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Body27): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, Body27): - return True - - return self.to_dict() != other.to_dict() diff --git a/sdk/python/sdk/zrok/zrok_api/models/body28.py b/sdk/python/sdk/zrok/zrok_api/models/body28.py deleted file mode 100644 index 567c40f0..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/body28.py +++ /dev/null @@ -1,175 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from zrok_api.configuration import Configuration - - -class Body28(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'env_zid': 'str', - 'share_token': 'str', - 'reserved': 'bool' - } - - attribute_map = { - 'env_zid': 'envZId', - 'share_token': 'shareToken', - 'reserved': 'reserved' - } - - def __init__(self, env_zid=None, share_token=None, reserved=None, _configuration=None): # noqa: E501 - """Body28 - a model defined in Swagger""" # noqa: E501 - if _configuration is None: - _configuration = Configuration() - self._configuration = _configuration - - self._env_zid = None - self._share_token = None - self._reserved = 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 reserved is not None: - self.reserved = reserved - - @property - def env_zid(self): - """Gets the env_zid of this Body28. # noqa: E501 - - - :return: The env_zid of this Body28. # noqa: E501 - :rtype: str - """ - return self._env_zid - - @env_zid.setter - def env_zid(self, env_zid): - """Sets the env_zid of this Body28. - - - :param env_zid: The env_zid of this Body28. # noqa: E501 - :type: str - """ - - self._env_zid = env_zid - - @property - def share_token(self): - """Gets the share_token of this Body28. # noqa: E501 - - - :return: The share_token of this Body28. # noqa: E501 - :rtype: str - """ - return self._share_token - - @share_token.setter - def share_token(self, share_token): - """Sets the share_token of this Body28. - - - :param share_token: The share_token of this Body28. # noqa: E501 - :type: str - """ - - self._share_token = share_token - - @property - def reserved(self): - """Gets the reserved of this Body28. # noqa: E501 - - - :return: The reserved of this Body28. # noqa: E501 - :rtype: bool - """ - return self._reserved - - @reserved.setter - def reserved(self, reserved): - """Sets the reserved of this Body28. - - - :param reserved: The reserved of this Body28. # noqa: E501 - :type: bool - """ - - self._reserved = reserved - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Body28, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Body28): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, Body28): - return True - - return self.to_dict() != other.to_dict() diff --git a/sdk/python/sdk/zrok/zrok_api/models/body3.py b/sdk/python/sdk/zrok/zrok_api/models/body3.py deleted file mode 100644 index f878a09a..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/body3.py +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from zrok_api.configuration import Configuration - - -class Body3(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'email_address': 'str' - } - - attribute_map = { - 'email_address': 'emailAddress' - } - - def __init__(self, email_address=None, _configuration=None): # noqa: E501 - """Body3 - a model defined in Swagger""" # noqa: E501 - if _configuration is None: - _configuration = Configuration() - self._configuration = _configuration - - self._email_address = None - self.discriminator = None - - if email_address is not None: - self.email_address = email_address - - @property - def email_address(self): - """Gets the email_address of this Body3. # noqa: E501 - - - :return: The email_address of this Body3. # noqa: E501 - :rtype: str - """ - return self._email_address - - @email_address.setter - def email_address(self, email_address): - """Sets the email_address of this Body3. - - - :param email_address: The email_address of this Body3. # noqa: E501 - :type: str - """ - - self._email_address = email_address - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Body3, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Body3): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, Body3): - return True - - return self.to_dict() != other.to_dict() diff --git a/sdk/python/sdk/zrok/zrok_api/models/body4.py b/sdk/python/sdk/zrok/zrok_api/models/body4.py deleted file mode 100644 index 3e9edac8..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/body4.py +++ /dev/null @@ -1,149 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from zrok_api.configuration import Configuration - - -class Body4(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'register_token': 'str', - 'password': 'str' - } - - attribute_map = { - 'register_token': 'registerToken', - 'password': 'password' - } - - def __init__(self, register_token=None, password=None, _configuration=None): # noqa: E501 - """Body4 - a model defined in Swagger""" # noqa: E501 - if _configuration is None: - _configuration = Configuration() - self._configuration = _configuration - - self._register_token = None - self._password = None - self.discriminator = None - - if register_token is not None: - self.register_token = register_token - if password is not None: - self.password = password - - @property - def register_token(self): - """Gets the register_token of this Body4. # noqa: E501 - - - :return: The register_token of this Body4. # noqa: E501 - :rtype: str - """ - return self._register_token - - @register_token.setter - def register_token(self, register_token): - """Sets the register_token of this Body4. - - - :param register_token: The register_token of this Body4. # noqa: E501 - :type: str - """ - - self._register_token = register_token - - @property - def password(self): - """Gets the password of this Body4. # noqa: E501 - - - :return: The password of this Body4. # noqa: E501 - :rtype: str - """ - return self._password - - @password.setter - def password(self, password): - """Sets the password of this Body4. - - - :param password: The password of this Body4. # noqa: E501 - :type: str - """ - - self._password = password - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Body4, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Body4): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, Body4): - return True - - return self.to_dict() != other.to_dict() diff --git a/sdk/python/sdk/zrok/zrok_api/models/body5.py b/sdk/python/sdk/zrok/zrok_api/models/body5.py deleted file mode 100644 index 49b80ca3..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/body5.py +++ /dev/null @@ -1,149 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from zrok_api.configuration import Configuration - - -class Body5(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'reset_token': 'str', - 'password': 'str' - } - - attribute_map = { - 'reset_token': 'resetToken', - 'password': 'password' - } - - def __init__(self, reset_token=None, password=None, _configuration=None): # noqa: E501 - """Body5 - a model defined in Swagger""" # noqa: E501 - if _configuration is None: - _configuration = Configuration() - self._configuration = _configuration - - self._reset_token = None - self._password = None - self.discriminator = None - - if reset_token is not None: - self.reset_token = reset_token - if password is not None: - self.password = password - - @property - def reset_token(self): - """Gets the reset_token of this Body5. # noqa: E501 - - - :return: The reset_token of this Body5. # noqa: E501 - :rtype: str - """ - return self._reset_token - - @reset_token.setter - def reset_token(self, reset_token): - """Sets the reset_token of this Body5. - - - :param reset_token: The reset_token of this Body5. # noqa: E501 - :type: str - """ - - self._reset_token = reset_token - - @property - def password(self): - """Gets the password of this Body5. # noqa: E501 - - - :return: The password of this Body5. # noqa: E501 - :rtype: str - """ - return self._password - - @password.setter - def password(self, password): - """Sets the password of this Body5. - - - :param password: The password of this Body5. # noqa: E501 - :type: str - """ - - self._password = password - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Body5, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Body5): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, Body5): - return True - - return self.to_dict() != other.to_dict() diff --git a/sdk/python/sdk/zrok/zrok_api/models/body6.py b/sdk/python/sdk/zrok/zrok_api/models/body6.py deleted file mode 100644 index bfbfe86a..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/body6.py +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from zrok_api.configuration import Configuration - - -class Body6(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'email_address': 'str' - } - - attribute_map = { - 'email_address': 'emailAddress' - } - - def __init__(self, email_address=None, _configuration=None): # noqa: E501 - """Body6 - a model defined in Swagger""" # noqa: E501 - if _configuration is None: - _configuration = Configuration() - self._configuration = _configuration - - self._email_address = None - self.discriminator = None - - if email_address is not None: - self.email_address = email_address - - @property - def email_address(self): - """Gets the email_address of this Body6. # noqa: E501 - - - :return: The email_address of this Body6. # noqa: E501 - :rtype: str - """ - return self._email_address - - @email_address.setter - def email_address(self, email_address): - """Sets the email_address of this Body6. - - - :param email_address: The email_address of this Body6. # noqa: E501 - :type: str - """ - - self._email_address = email_address - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Body6, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Body6): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, Body6): - return True - - return self.to_dict() != other.to_dict() diff --git a/sdk/python/sdk/zrok/zrok_api/models/body7.py b/sdk/python/sdk/zrok/zrok_api/models/body7.py deleted file mode 100644 index 27643139..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/body7.py +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from zrok_api.configuration import Configuration - - -class Body7(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'register_token': 'str' - } - - attribute_map = { - 'register_token': 'registerToken' - } - - def __init__(self, register_token=None, _configuration=None): # noqa: E501 - """Body7 - a model defined in Swagger""" # noqa: E501 - if _configuration is None: - _configuration = Configuration() - self._configuration = _configuration - - self._register_token = None - self.discriminator = None - - if register_token is not None: - self.register_token = register_token - - @property - def register_token(self): - """Gets the register_token of this Body7. # noqa: E501 - - - :return: The register_token of this Body7. # noqa: E501 - :rtype: str - """ - return self._register_token - - @register_token.setter - def register_token(self, register_token): - """Sets the register_token of this Body7. - - - :param register_token: The register_token of this Body7. # noqa: E501 - :type: str - """ - - self._register_token = register_token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Body7, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Body7): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, Body7): - return True - - return self.to_dict() != other.to_dict() diff --git a/sdk/python/sdk/zrok/zrok_api/models/body8.py b/sdk/python/sdk/zrok/zrok_api/models/body8.py deleted file mode 100644 index e107a0d9..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/body8.py +++ /dev/null @@ -1,149 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from zrok_api.configuration import Configuration - - -class Body8(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'email': 'str', - 'password': 'str' - } - - attribute_map = { - 'email': 'email', - 'password': 'password' - } - - def __init__(self, email=None, password=None, _configuration=None): # noqa: E501 - """Body8 - a model defined in Swagger""" # noqa: E501 - if _configuration is None: - _configuration = Configuration() - self._configuration = _configuration - - self._email = None - self._password = None - self.discriminator = None - - if email is not None: - self.email = email - if password is not None: - self.password = password - - @property - def email(self): - """Gets the email of this Body8. # noqa: E501 - - - :return: The email of this Body8. # noqa: E501 - :rtype: str - """ - return self._email - - @email.setter - def email(self, email): - """Sets the email of this Body8. - - - :param email: The email of this Body8. # noqa: E501 - :type: str - """ - - self._email = email - - @property - def password(self): - """Gets the password of this Body8. # noqa: E501 - - - :return: The password of this Body8. # noqa: E501 - :rtype: str - """ - return self._password - - @password.setter - def password(self, password): - """Sets the password of this Body8. - - - :param password: The password of this Body8. # noqa: E501 - :type: str - """ - - self._password = password - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Body8, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Body8): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, Body8): - return True - - return self.to_dict() != other.to_dict() diff --git a/sdk/python/sdk/zrok/zrok_api/models/body9.py b/sdk/python/sdk/zrok/zrok_api/models/body9.py deleted file mode 100644 index 9da87bc7..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/body9.py +++ /dev/null @@ -1,208 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 1.0.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - - -import pprint -import re # noqa: F401 - -import six - -from zrok_api.configuration import Configuration - - -class Body9(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'z_id': 'str', - 'url_template': 'str', - 'public_name': 'str', - 'permission_mode': 'str' - } - - attribute_map = { - 'z_id': 'zId', - 'url_template': 'url_template', - 'public_name': 'public_name', - 'permission_mode': 'permissionMode' - } - - def __init__(self, z_id=None, url_template=None, public_name=None, permission_mode=None, _configuration=None): # noqa: E501 - """Body9 - a model defined in Swagger""" # noqa: E501 - if _configuration is None: - _configuration = Configuration() - self._configuration = _configuration - - self._z_id = None - self._url_template = None - self._public_name = None - self._permission_mode = None - self.discriminator = None - - 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 permission_mode is not None: - self.permission_mode = permission_mode - - @property - def z_id(self): - """Gets the z_id of this Body9. # noqa: E501 - - - :return: The z_id of this Body9. # noqa: E501 - :rtype: str - """ - return self._z_id - - @z_id.setter - def z_id(self, z_id): - """Sets the z_id of this Body9. - - - :param z_id: The z_id of this Body9. # noqa: E501 - :type: str - """ - - self._z_id = z_id - - @property - def url_template(self): - """Gets the url_template of this Body9. # noqa: E501 - - - :return: The url_template of this Body9. # noqa: E501 - :rtype: str - """ - return self._url_template - - @url_template.setter - def url_template(self, url_template): - """Sets the url_template of this Body9. - - - :param url_template: The url_template of this Body9. # noqa: E501 - :type: str - """ - - self._url_template = url_template - - @property - def public_name(self): - """Gets the public_name of this Body9. # noqa: E501 - - - :return: The public_name of this Body9. # noqa: E501 - :rtype: str - """ - return self._public_name - - @public_name.setter - def public_name(self, public_name): - """Sets the public_name of this Body9. - - - :param public_name: The public_name of this Body9. # noqa: E501 - :type: str - """ - - self._public_name = public_name - - @property - def permission_mode(self): - """Gets the permission_mode of this Body9. # noqa: E501 - - - :return: The permission_mode of this Body9. # noqa: E501 - :rtype: str - """ - return self._permission_mode - - @permission_mode.setter - def permission_mode(self, permission_mode): - """Sets the permission_mode of this Body9. - - - :param permission_mode: The permission_mode of this Body9. # noqa: E501 - :type: str - """ - allowed_values = ["open", "closed"] # noqa: E501 - if (self._configuration.client_side_validation and - permission_mode not in allowed_values): - raise ValueError( - "Invalid value for `permission_mode` ({0}), must be one of {1}" # noqa: E501 - .format(permission_mode, allowed_values) - ) - - self._permission_mode = permission_mode - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Body9, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Body9): - return False - - return self.to_dict() == other.to_dict() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - if not isinstance(other, Body9): - return True - - return self.to_dict() != other.to_dict() diff --git a/sdk/python/sdk/zrok/zrok_api/models/change_password_request.py b/sdk/python/sdk/zrok/zrok_api/models/change_password_request.py deleted file mode 100644 index fe3f4862..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/change_password_request.py +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ChangePasswordRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'email': 'str', - 'old_password': 'str', - 'new_password': 'str' - } - - attribute_map = { - 'email': 'email', - 'old_password': 'oldPassword', - 'new_password': 'newPassword' - } - - def __init__(self, email=None, old_password=None, new_password=None): # noqa: E501 - """ChangePasswordRequest - a model defined in Swagger""" # noqa: E501 - self._email = None - self._old_password = None - self._new_password = None - self.discriminator = None - if email is not None: - self.email = email - if old_password is not None: - self.old_password = old_password - if new_password is not None: - self.new_password = new_password - - @property - def email(self): - """Gets the email of this ChangePasswordRequest. # noqa: E501 - - - :return: The email of this ChangePasswordRequest. # noqa: E501 - :rtype: str - """ - return self._email - - @email.setter - def email(self, email): - """Sets the email of this ChangePasswordRequest. - - - :param email: The email of this ChangePasswordRequest. # noqa: E501 - :type: str - """ - - self._email = email - - @property - def old_password(self): - """Gets the old_password of this ChangePasswordRequest. # noqa: E501 - - - :return: The old_password of this ChangePasswordRequest. # noqa: E501 - :rtype: str - """ - return self._old_password - - @old_password.setter - def old_password(self, old_password): - """Sets the old_password of this ChangePasswordRequest. - - - :param old_password: The old_password of this ChangePasswordRequest. # noqa: E501 - :type: str - """ - - self._old_password = old_password - - @property - def new_password(self): - """Gets the new_password of this ChangePasswordRequest. # noqa: E501 - - - :return: The new_password of this ChangePasswordRequest. # noqa: E501 - :rtype: str - """ - return self._new_password - - @new_password.setter - def new_password(self, new_password): - """Sets the new_password of this ChangePasswordRequest. - - - :param new_password: The new_password of this ChangePasswordRequest. # noqa: E501 - :type: str - """ - - self._new_password = new_password - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(ChangePasswordRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ChangePasswordRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/python/sdk/zrok/zrok_api/models/create_frontend_request.py b/sdk/python/sdk/zrok/zrok_api/models/create_frontend_request.py deleted file mode 100644 index f6a0cf01..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/create_frontend_request.py +++ /dev/null @@ -1,194 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class CreateFrontendRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'z_id': 'str', - 'url_template': 'str', - 'public_name': 'str', - 'permission_mode': 'str' - } - - attribute_map = { - 'z_id': 'zId', - 'url_template': 'url_template', - 'public_name': 'public_name', - 'permission_mode': 'permissionMode' - } - - def __init__(self, z_id=None, url_template=None, public_name=None, permission_mode=None): # noqa: E501 - """CreateFrontendRequest - a model defined in Swagger""" # noqa: E501 - self._z_id = None - self._url_template = None - self._public_name = None - self._permission_mode = None - self.discriminator = None - 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 permission_mode is not None: - self.permission_mode = permission_mode - - @property - def z_id(self): - """Gets the z_id of this CreateFrontendRequest. # noqa: E501 - - - :return: The z_id of this CreateFrontendRequest. # noqa: E501 - :rtype: str - """ - return self._z_id - - @z_id.setter - def z_id(self, z_id): - """Sets the z_id of this CreateFrontendRequest. - - - :param z_id: The z_id of this CreateFrontendRequest. # noqa: E501 - :type: str - """ - - self._z_id = z_id - - @property - def url_template(self): - """Gets the url_template of this CreateFrontendRequest. # noqa: E501 - - - :return: The url_template of this CreateFrontendRequest. # noqa: E501 - :rtype: str - """ - return self._url_template - - @url_template.setter - def url_template(self, url_template): - """Sets the url_template of this CreateFrontendRequest. - - - :param url_template: The url_template of this CreateFrontendRequest. # noqa: E501 - :type: str - """ - - self._url_template = url_template - - @property - def public_name(self): - """Gets the public_name of this CreateFrontendRequest. # noqa: E501 - - - :return: The public_name of this CreateFrontendRequest. # noqa: E501 - :rtype: str - """ - return self._public_name - - @public_name.setter - def public_name(self, public_name): - """Sets the public_name of this CreateFrontendRequest. - - - :param public_name: The public_name of this CreateFrontendRequest. # noqa: E501 - :type: str - """ - - self._public_name = public_name - - @property - def permission_mode(self): - """Gets the permission_mode of this CreateFrontendRequest. # noqa: E501 - - - :return: The permission_mode of this CreateFrontendRequest. # noqa: E501 - :rtype: str - """ - return self._permission_mode - - @permission_mode.setter - def permission_mode(self, permission_mode): - """Sets the permission_mode of this CreateFrontendRequest. - - - :param permission_mode: The permission_mode of this CreateFrontendRequest. # noqa: E501 - :type: str - """ - allowed_values = ["open", "closed"] # noqa: E501 - if permission_mode not in allowed_values: - raise ValueError( - "Invalid value for `permission_mode` ({0}), must be one of {1}" # noqa: E501 - .format(permission_mode, allowed_values) - ) - - self._permission_mode = permission_mode - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CreateFrontendRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CreateFrontendRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/python/sdk/zrok/zrok_api/models/create_frontend_response.py b/sdk/python/sdk/zrok/zrok_api/models/create_frontend_response.py deleted file mode 100644 index d93e99ed..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/create_frontend_response.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class CreateFrontendResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'token': 'str' - } - - attribute_map = { - 'token': 'token' - } - - def __init__(self, token=None): # noqa: E501 - """CreateFrontendResponse - a model defined in Swagger""" # noqa: E501 - self._token = None - self.discriminator = None - if token is not None: - self.token = token - - @property - def token(self): - """Gets the token of this CreateFrontendResponse. # noqa: E501 - - - :return: The token of this CreateFrontendResponse. # noqa: E501 - :rtype: str - """ - return self._token - - @token.setter - def token(self, token): - """Sets the token of this CreateFrontendResponse. - - - :param token: The token of this CreateFrontendResponse. # noqa: E501 - :type: str - """ - - self._token = token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(CreateFrontendResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CreateFrontendResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/python/sdk/zrok/zrok_api/models/delete_frontend_request.py b/sdk/python/sdk/zrok/zrok_api/models/delete_frontend_request.py deleted file mode 100644 index c9b92bad..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/delete_frontend_request.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class DeleteFrontendRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'frontend_token': 'str' - } - - attribute_map = { - 'frontend_token': 'frontendToken' - } - - def __init__(self, frontend_token=None): # noqa: E501 - """DeleteFrontendRequest - a model defined in Swagger""" # noqa: E501 - self._frontend_token = None - self.discriminator = None - if frontend_token is not None: - self.frontend_token = frontend_token - - @property - def frontend_token(self): - """Gets the frontend_token of this DeleteFrontendRequest. # noqa: E501 - - - :return: The frontend_token of this DeleteFrontendRequest. # noqa: E501 - :rtype: str - """ - return self._frontend_token - - @frontend_token.setter - def frontend_token(self, frontend_token): - """Sets the frontend_token of this DeleteFrontendRequest. - - - :param frontend_token: The frontend_token of this DeleteFrontendRequest. # noqa: E501 - :type: str - """ - - self._frontend_token = frontend_token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(DeleteFrontendRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, DeleteFrontendRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/python/sdk/zrok/zrok_api/models/disable_request.py b/sdk/python/sdk/zrok/zrok_api/models/disable_request.py deleted file mode 100644 index c0450256..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/disable_request.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class DisableRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'identity': 'str' - } - - attribute_map = { - 'identity': 'identity' - } - - def __init__(self, identity=None): # noqa: E501 - """DisableRequest - a model defined in Swagger""" # noqa: E501 - self._identity = None - self.discriminator = None - if identity is not None: - self.identity = identity - - @property - def identity(self): - """Gets the identity of this DisableRequest. # noqa: E501 - - - :return: The identity of this DisableRequest. # noqa: E501 - :rtype: str - """ - return self._identity - - @identity.setter - def identity(self, identity): - """Sets the identity of this DisableRequest. - - - :param identity: The identity of this DisableRequest. # noqa: E501 - :type: str - """ - - self._identity = identity - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(DisableRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, DisableRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/python/sdk/zrok/zrok_api/models/enable_request.py b/sdk/python/sdk/zrok/zrok_api/models/enable_request.py deleted file mode 100644 index 6d35968f..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/enable_request.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class EnableRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'description': 'str', - 'host': 'str' - } - - attribute_map = { - 'description': 'description', - 'host': 'host' - } - - def __init__(self, description=None, host=None): # noqa: E501 - """EnableRequest - a model defined in Swagger""" # noqa: E501 - self._description = None - self._host = None - self.discriminator = None - if description is not None: - self.description = description - if host is not None: - self.host = host - - @property - def description(self): - """Gets the description of this EnableRequest. # noqa: E501 - - - :return: The description of this EnableRequest. # noqa: E501 - :rtype: str - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this EnableRequest. - - - :param description: The description of this EnableRequest. # noqa: E501 - :type: str - """ - - self._description = description - - @property - def host(self): - """Gets the host of this EnableRequest. # noqa: E501 - - - :return: The host of this EnableRequest. # noqa: E501 - :rtype: str - """ - return self._host - - @host.setter - def host(self, host): - """Sets the host of this EnableRequest. - - - :param host: The host of this EnableRequest. # noqa: E501 - :type: str - """ - - self._host = host - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(EnableRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, EnableRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/python/sdk/zrok/zrok_api/models/enable_response.py b/sdk/python/sdk/zrok/zrok_api/models/enable_response.py deleted file mode 100644 index 66c8af2f..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/enable_response.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class EnableResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'identity': 'str', - 'cfg': 'str' - } - - attribute_map = { - 'identity': 'identity', - 'cfg': 'cfg' - } - - def __init__(self, identity=None, cfg=None): # noqa: E501 - """EnableResponse - a model defined in Swagger""" # noqa: E501 - self._identity = None - self._cfg = None - self.discriminator = None - if identity is not None: - self.identity = identity - if cfg is not None: - self.cfg = cfg - - @property - def identity(self): - """Gets the identity of this EnableResponse. # noqa: E501 - - - :return: The identity of this EnableResponse. # noqa: E501 - :rtype: str - """ - return self._identity - - @identity.setter - def identity(self, identity): - """Sets the identity of this EnableResponse. - - - :param identity: The identity of this EnableResponse. # noqa: E501 - :type: str - """ - - self._identity = identity - - @property - def cfg(self): - """Gets the cfg of this EnableResponse. # noqa: E501 - - - :return: The cfg of this EnableResponse. # noqa: E501 - :rtype: str - """ - return self._cfg - - @cfg.setter - def cfg(self, cfg): - """Sets the cfg of this EnableResponse. - - - :param cfg: The cfg of this EnableResponse. # noqa: E501 - :type: str - """ - - self._cfg = cfg - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(EnableResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, EnableResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/python/sdk/zrok/zrok_api/models/inline_response2001_members.py b/sdk/python/sdk/zrok/zrok_api/models/inline_response2001_members.py deleted file mode 100644 index a5fbc3e6..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/inline_response2001_members.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2001Members(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'email': 'str', - 'admin': 'bool' - } - - attribute_map = { - 'email': 'email', - 'admin': 'admin' - } - - def __init__(self, email=None, admin=None): # noqa: E501 - """InlineResponse2001Members - a model defined in Swagger""" # noqa: E501 - self._email = None - self._admin = None - self.discriminator = None - if email is not None: - self.email = email - if admin is not None: - self.admin = admin - - @property - def email(self): - """Gets the email of this InlineResponse2001Members. # noqa: E501 - - - :return: The email of this InlineResponse2001Members. # noqa: E501 - :rtype: str - """ - return self._email - - @email.setter - def email(self, email): - """Sets the email of this InlineResponse2001Members. - - - :param email: The email of this InlineResponse2001Members. # noqa: E501 - :type: str - """ - - self._email = email - - @property - def admin(self): - """Gets the admin of this InlineResponse2001Members. # noqa: E501 - - - :return: The admin of this InlineResponse2001Members. # noqa: E501 - :rtype: bool - """ - return self._admin - - @admin.setter - def admin(self, admin): - """Sets the admin of this InlineResponse2001Members. - - - :param admin: The admin of this InlineResponse2001Members. # noqa: E501 - :type: bool - """ - - self._admin = admin - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2001Members, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2001Members): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/python/sdk/zrok/zrok_api/models/inline_response2002_organizations.py b/sdk/python/sdk/zrok/zrok_api/models/inline_response2002_organizations.py deleted file mode 100644 index b80da9bb..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/inline_response2002_organizations.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2002Organizations(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'token': 'str', - 'description': 'str' - } - - attribute_map = { - 'token': 'token', - 'description': 'description' - } - - def __init__(self, token=None, description=None): # noqa: E501 - """InlineResponse2002Organizations - a model defined in Swagger""" # noqa: E501 - self._token = None - self._description = None - self.discriminator = None - if token is not None: - self.token = token - if description is not None: - self.description = description - - @property - def token(self): - """Gets the token of this InlineResponse2002Organizations. # noqa: E501 - - - :return: The token of this InlineResponse2002Organizations. # noqa: E501 - :rtype: str - """ - return self._token - - @token.setter - def token(self, token): - """Sets the token of this InlineResponse2002Organizations. - - - :param token: The token of this InlineResponse2002Organizations. # noqa: E501 - :type: str - """ - - self._token = token - - @property - def description(self): - """Gets the description of this InlineResponse2002Organizations. # noqa: E501 - - - :return: The description of this InlineResponse2002Organizations. # noqa: E501 - :rtype: str - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this InlineResponse2002Organizations. - - - :param description: The description of this InlineResponse2002Organizations. # noqa: E501 - :type: str - """ - - self._description = description - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2002Organizations, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2002Organizations): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/python/sdk/zrok/zrok_api/models/inline_response2003_memberships.py b/sdk/python/sdk/zrok/zrok_api/models/inline_response2003_memberships.py deleted file mode 100644 index e7d293af..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/inline_response2003_memberships.py +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2003Memberships(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'token': 'str', - 'description': 'str', - 'admin': 'bool' - } - - attribute_map = { - 'token': 'token', - 'description': 'description', - 'admin': 'admin' - } - - def __init__(self, token=None, description=None, admin=None): # noqa: E501 - """InlineResponse2003Memberships - a model defined in Swagger""" # noqa: E501 - self._token = None - self._description = None - self._admin = None - self.discriminator = None - if token is not None: - self.token = token - if description is not None: - self.description = description - if admin is not None: - self.admin = admin - - @property - def token(self): - """Gets the token of this InlineResponse2003Memberships. # noqa: E501 - - - :return: The token of this InlineResponse2003Memberships. # noqa: E501 - :rtype: str - """ - return self._token - - @token.setter - def token(self, token): - """Sets the token of this InlineResponse2003Memberships. - - - :param token: The token of this InlineResponse2003Memberships. # noqa: E501 - :type: str - """ - - self._token = token - - @property - def description(self): - """Gets the description of this InlineResponse2003Memberships. # noqa: E501 - - - :return: The description of this InlineResponse2003Memberships. # noqa: E501 - :rtype: str - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this InlineResponse2003Memberships. - - - :param description: The description of this InlineResponse2003Memberships. # noqa: E501 - :type: str - """ - - self._description = description - - @property - def admin(self): - """Gets the admin of this InlineResponse2003Memberships. # noqa: E501 - - - :return: The admin of this InlineResponse2003Memberships. # noqa: E501 - :rtype: bool - """ - return self._admin - - @admin.setter - def admin(self, admin): - """Sets the admin of this InlineResponse2003Memberships. - - - :param admin: The admin of this InlineResponse2003Memberships. # noqa: E501 - :type: bool - """ - - self._admin = admin - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2003Memberships, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2003Memberships): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/python/sdk/zrok/zrok_api/models/invite_request.py b/sdk/python/sdk/zrok/zrok_api/models/invite_request.py deleted file mode 100644 index cd4a2d92..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/invite_request.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InviteRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'email': 'str', - 'token': 'str' - } - - attribute_map = { - 'email': 'email', - 'token': 'token' - } - - def __init__(self, email=None, token=None): # noqa: E501 - """InviteRequest - a model defined in Swagger""" # noqa: E501 - self._email = None - self._token = None - self.discriminator = None - if email is not None: - self.email = email - if token is not None: - self.token = token - - @property - def email(self): - """Gets the email of this InviteRequest. # noqa: E501 - - - :return: The email of this InviteRequest. # noqa: E501 - :rtype: str - """ - return self._email - - @email.setter - def email(self, email): - """Sets the email of this InviteRequest. - - - :param email: The email of this InviteRequest. # noqa: E501 - :type: str - """ - - self._email = email - - @property - def token(self): - """Gets the token of this InviteRequest. # noqa: E501 - - - :return: The token of this InviteRequest. # noqa: E501 - :rtype: str - """ - return self._token - - @token.setter - def token(self, token): - """Sets the token of this InviteRequest. - - - :param token: The token of this InviteRequest. # noqa: E501 - :type: str - """ - - self._token = token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InviteRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InviteRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/python/sdk/zrok/zrok_api/models/invite_token_generate_request.py b/sdk/python/sdk/zrok/zrok_api/models/invite_token_generate_request.py deleted file mode 100644 index 6cc198d9..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/invite_token_generate_request.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InviteTokenGenerateRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'tokens': 'list[str]' - } - - attribute_map = { - 'tokens': 'tokens' - } - - def __init__(self, tokens=None): # noqa: E501 - """InviteTokenGenerateRequest - a model defined in Swagger""" # noqa: E501 - self._tokens = None - self.discriminator = None - if tokens is not None: - self.tokens = tokens - - @property - def tokens(self): - """Gets the tokens of this InviteTokenGenerateRequest. # noqa: E501 - - - :return: The tokens of this InviteTokenGenerateRequest. # noqa: E501 - :rtype: list[str] - """ - return self._tokens - - @tokens.setter - def tokens(self, tokens): - """Sets the tokens of this InviteTokenGenerateRequest. - - - :param tokens: The tokens of this InviteTokenGenerateRequest. # noqa: E501 - :type: list[str] - """ - - self._tokens = tokens - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InviteTokenGenerateRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InviteTokenGenerateRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/python/sdk/zrok/zrok_api/models/login_request.py b/sdk/python/sdk/zrok/zrok_api/models/login_request.py deleted file mode 100644 index c91bcc2b..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/login_request.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class LoginRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'email': 'str', - 'password': 'str' - } - - attribute_map = { - 'email': 'email', - 'password': 'password' - } - - def __init__(self, email=None, password=None): # noqa: E501 - """LoginRequest - a model defined in Swagger""" # noqa: E501 - self._email = None - self._password = None - self.discriminator = None - if email is not None: - self.email = email - if password is not None: - self.password = password - - @property - def email(self): - """Gets the email of this LoginRequest. # noqa: E501 - - - :return: The email of this LoginRequest. # noqa: E501 - :rtype: str - """ - return self._email - - @email.setter - def email(self, email): - """Sets the email of this LoginRequest. - - - :param email: The email of this LoginRequest. # noqa: E501 - :type: str - """ - - self._email = email - - @property - def password(self): - """Gets the password of this LoginRequest. # noqa: E501 - - - :return: The password of this LoginRequest. # noqa: E501 - :rtype: str - """ - return self._password - - @password.setter - def password(self, password): - """Sets the password of this LoginRequest. - - - :param password: The password of this LoginRequest. # noqa: E501 - :type: str - """ - - self._password = password - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(LoginRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, LoginRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/python/sdk/zrok/zrok_api/models/login_response.py b/sdk/python/sdk/zrok/zrok_api/models/login_response.py deleted file mode 100644 index 65178a79..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/login_response.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class LoginResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """LoginResponse - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(LoginResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, LoginResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/python/sdk/zrok/zrok_api/models/organization_members_body.py b/sdk/python/sdk/zrok/zrok_api/models/organization_members_body.py deleted file mode 100644 index 354d3f46..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/organization_members_body.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class OrganizationMembersBody(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'token': 'str' - } - - attribute_map = { - 'token': 'token' - } - - def __init__(self, token=None): # noqa: E501 - """OrganizationMembersBody - a model defined in Swagger""" # noqa: E501 - self._token = None - self.discriminator = None - if token is not None: - self.token = token - - @property - def token(self): - """Gets the token of this OrganizationMembersBody. # noqa: E501 - - - :return: The token of this OrganizationMembersBody. # noqa: E501 - :rtype: str - """ - return self._token - - @token.setter - def token(self, token): - """Sets the token of this OrganizationMembersBody. - - - :param token: The token of this OrganizationMembersBody. # noqa: E501 - :type: str - """ - - self._token = token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(OrganizationMembersBody, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, OrganizationMembersBody): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/python/sdk/zrok/zrok_api/models/organizationremove_organizations.py b/sdk/python/sdk/zrok/zrok_api/models/organizationremove_organizations.py deleted file mode 100644 index 017ed6bb..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/organizationremove_organizations.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class OrganizationremoveOrganizations(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - 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, email=None): # noqa: E501 - """OrganizationremoveOrganizations - 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 OrganizationremoveOrganizations. # noqa: E501 - - - :return: The token of this OrganizationremoveOrganizations. # noqa: E501 - :rtype: str - """ - return self._token - - @token.setter - def token(self, token): - """Sets the token of this OrganizationremoveOrganizations. - - - :param token: The token of this OrganizationremoveOrganizations. # noqa: E501 - :type: str - """ - - self._token = token - - @property - def email(self): - """Gets the email of this OrganizationremoveOrganizations. # noqa: E501 - - - :return: The email of this OrganizationremoveOrganizations. # noqa: E501 - :rtype: str - """ - return self._email - - @email.setter - def email(self, email): - """Sets the email of this OrganizationremoveOrganizations. - - - :param email: The email of this OrganizationremoveOrganizations. # noqa: E501 - :type: str - """ - - self._email = email - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(OrganizationremoveOrganizations, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, OrganizationremoveOrganizations): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/python/sdk/zrok/zrok_api/models/password_requirements.py b/sdk/python/sdk/zrok/zrok_api/models/password_requirements.py deleted file mode 100644 index 8589a8b8..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/password_requirements.py +++ /dev/null @@ -1,214 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PasswordRequirements(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'length': 'int', - 'require_capital': 'bool', - 'require_numeric': 'bool', - 'require_special': 'bool', - 'valid_special_characters': 'str' - } - - attribute_map = { - 'length': 'length', - 'require_capital': 'requireCapital', - 'require_numeric': 'requireNumeric', - 'require_special': 'requireSpecial', - 'valid_special_characters': 'validSpecialCharacters' - } - - def __init__(self, length=None, require_capital=None, require_numeric=None, require_special=None, valid_special_characters=None): # noqa: E501 - """PasswordRequirements - a model defined in Swagger""" # noqa: E501 - self._length = None - self._require_capital = None - self._require_numeric = None - self._require_special = None - self._valid_special_characters = None - self.discriminator = None - if length is not None: - self.length = length - if require_capital is not None: - self.require_capital = require_capital - if require_numeric is not None: - self.require_numeric = require_numeric - if require_special is not None: - self.require_special = require_special - if valid_special_characters is not None: - self.valid_special_characters = valid_special_characters - - @property - def length(self): - """Gets the length of this PasswordRequirements. # noqa: E501 - - - :return: The length of this PasswordRequirements. # noqa: E501 - :rtype: int - """ - return self._length - - @length.setter - def length(self, length): - """Sets the length of this PasswordRequirements. - - - :param length: The length of this PasswordRequirements. # noqa: E501 - :type: int - """ - - self._length = length - - @property - def require_capital(self): - """Gets the require_capital of this PasswordRequirements. # noqa: E501 - - - :return: The require_capital of this PasswordRequirements. # noqa: E501 - :rtype: bool - """ - return self._require_capital - - @require_capital.setter - def require_capital(self, require_capital): - """Sets the require_capital of this PasswordRequirements. - - - :param require_capital: The require_capital of this PasswordRequirements. # noqa: E501 - :type: bool - """ - - self._require_capital = require_capital - - @property - def require_numeric(self): - """Gets the require_numeric of this PasswordRequirements. # noqa: E501 - - - :return: The require_numeric of this PasswordRequirements. # noqa: E501 - :rtype: bool - """ - return self._require_numeric - - @require_numeric.setter - def require_numeric(self, require_numeric): - """Sets the require_numeric of this PasswordRequirements. - - - :param require_numeric: The require_numeric of this PasswordRequirements. # noqa: E501 - :type: bool - """ - - self._require_numeric = require_numeric - - @property - def require_special(self): - """Gets the require_special of this PasswordRequirements. # noqa: E501 - - - :return: The require_special of this PasswordRequirements. # noqa: E501 - :rtype: bool - """ - return self._require_special - - @require_special.setter - def require_special(self, require_special): - """Sets the require_special of this PasswordRequirements. - - - :param require_special: The require_special of this PasswordRequirements. # noqa: E501 - :type: bool - """ - - self._require_special = require_special - - @property - def valid_special_characters(self): - """Gets the valid_special_characters of this PasswordRequirements. # noqa: E501 - - - :return: The valid_special_characters of this PasswordRequirements. # noqa: E501 - :rtype: str - """ - return self._valid_special_characters - - @valid_special_characters.setter - def valid_special_characters(self, valid_special_characters): - """Sets the valid_special_characters of this PasswordRequirements. - - - :param valid_special_characters: The valid_special_characters of this PasswordRequirements. # noqa: E501 - :type: str - """ - - self._valid_special_characters = valid_special_characters - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(PasswordRequirements, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, PasswordRequirements): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/python/sdk/zrok/zrok_api/models/public_frontend.py b/sdk/python/sdk/zrok/zrok_api/models/public_frontend.py deleted file mode 100644 index d2873403..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/public_frontend.py +++ /dev/null @@ -1,240 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PublicFrontend(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - 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' - } - - attribute_map = { - 'token': 'token', - 'z_id': 'zId', - 'url_template': 'urlTemplate', - 'public_name': 'publicName', - 'created_at': 'createdAt', - 'updated_at': 'updatedAt' - } - - def __init__(self, token=None, z_id=None, url_template=None, public_name=None, created_at=None, updated_at=None): # noqa: E501 - """PublicFrontend - 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.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 - - @property - def token(self): - """Gets the token of this PublicFrontend. # noqa: E501 - - - :return: The token of this PublicFrontend. # noqa: E501 - :rtype: str - """ - return self._token - - @token.setter - def token(self, token): - """Sets the token of this PublicFrontend. - - - :param token: The token of this PublicFrontend. # noqa: E501 - :type: str - """ - - self._token = token - - @property - def z_id(self): - """Gets the z_id of this PublicFrontend. # noqa: E501 - - - :return: The z_id of this PublicFrontend. # noqa: E501 - :rtype: str - """ - return self._z_id - - @z_id.setter - def z_id(self, z_id): - """Sets the z_id of this PublicFrontend. - - - :param z_id: The z_id of this PublicFrontend. # noqa: E501 - :type: str - """ - - self._z_id = z_id - - @property - def url_template(self): - """Gets the url_template of this PublicFrontend. # noqa: E501 - - - :return: The url_template of this PublicFrontend. # noqa: E501 - :rtype: str - """ - return self._url_template - - @url_template.setter - def url_template(self, url_template): - """Sets the url_template of this PublicFrontend. - - - :param url_template: The url_template of this PublicFrontend. # noqa: E501 - :type: str - """ - - self._url_template = url_template - - @property - def public_name(self): - """Gets the public_name of this PublicFrontend. # noqa: E501 - - - :return: The public_name of this PublicFrontend. # noqa: E501 - :rtype: str - """ - return self._public_name - - @public_name.setter - def public_name(self, public_name): - """Sets the public_name of this PublicFrontend. - - - :param public_name: The public_name of this PublicFrontend. # noqa: E501 - :type: str - """ - - self._public_name = public_name - - @property - def created_at(self): - """Gets the created_at of this PublicFrontend. # noqa: E501 - - - :return: The created_at of this PublicFrontend. # noqa: E501 - :rtype: int - """ - return self._created_at - - @created_at.setter - def created_at(self, created_at): - """Sets the created_at of this PublicFrontend. - - - :param created_at: The created_at of this PublicFrontend. # noqa: E501 - :type: int - """ - - self._created_at = created_at - - @property - def updated_at(self): - """Gets the updated_at of this PublicFrontend. # noqa: E501 - - - :return: The updated_at of this PublicFrontend. # noqa: E501 - :rtype: int - """ - return self._updated_at - - @updated_at.setter - def updated_at(self, updated_at): - """Sets the updated_at of this PublicFrontend. - - - :param updated_at: The updated_at of this PublicFrontend. # noqa: E501 - :type: int - """ - - self._updated_at = updated_at - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(PublicFrontend, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, PublicFrontend): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/python/sdk/zrok/zrok_api/models/public_frontend_list.py b/sdk/python/sdk/zrok/zrok_api/models/public_frontend_list.py deleted file mode 100644 index abbe9bd3..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/public_frontend_list.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class PublicFrontendList(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """PublicFrontendList - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(PublicFrontendList, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, PublicFrontendList): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/python/sdk/zrok/zrok_api/models/regenerate_token_body.py b/sdk/python/sdk/zrok/zrok_api/models/regenerate_token_body.py deleted file mode 100644 index 0b1e532c..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/regenerate_token_body.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RegenerateTokenBody(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'email_address': 'str' - } - - attribute_map = { - 'email_address': 'emailAddress' - } - - def __init__(self, email_address=None): # noqa: E501 - """RegenerateTokenBody - a model defined in Swagger""" # noqa: E501 - self._email_address = None - self.discriminator = None - if email_address is not None: - self.email_address = email_address - - @property - def email_address(self): - """Gets the email_address of this RegenerateTokenBody. # noqa: E501 - - - :return: The email_address of this RegenerateTokenBody. # noqa: E501 - :rtype: str - """ - return self._email_address - - @email_address.setter - def email_address(self, email_address): - """Sets the email_address of this RegenerateTokenBody. - - - :param email_address: The email_address of this RegenerateTokenBody. # noqa: E501 - :type: str - """ - - self._email_address = email_address - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(RegenerateTokenBody, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, RegenerateTokenBody): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/python/sdk/zrok/zrok_api/models/register_request.py b/sdk/python/sdk/zrok/zrok_api/models/register_request.py deleted file mode 100644 index cfb274a8..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/register_request.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RegisterRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'token': 'str', - 'password': 'str' - } - - attribute_map = { - 'token': 'token', - 'password': 'password' - } - - def __init__(self, token=None, password=None): # noqa: E501 - """RegisterRequest - a model defined in Swagger""" # noqa: E501 - self._token = None - self._password = None - self.discriminator = None - if token is not None: - self.token = token - if password is not None: - self.password = password - - @property - def token(self): - """Gets the token of this RegisterRequest. # noqa: E501 - - - :return: The token of this RegisterRequest. # noqa: E501 - :rtype: str - """ - return self._token - - @token.setter - def token(self, token): - """Sets the token of this RegisterRequest. - - - :param token: The token of this RegisterRequest. # noqa: E501 - :type: str - """ - - self._token = token - - @property - def password(self): - """Gets the password of this RegisterRequest. # noqa: E501 - - - :return: The password of this RegisterRequest. # noqa: E501 - :rtype: str - """ - return self._password - - @password.setter - def password(self, password): - """Sets the password of this RegisterRequest. - - - :param password: The password of this RegisterRequest. # noqa: E501 - :type: str - """ - - self._password = password - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(RegisterRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, RegisterRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/python/sdk/zrok/zrok_api/models/register_response.py b/sdk/python/sdk/zrok/zrok_api/models/register_response.py deleted file mode 100644 index a0b7ac03..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/register_response.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RegisterResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'token': 'str' - } - - attribute_map = { - 'token': 'token' - } - - def __init__(self, token=None): # noqa: E501 - """RegisterResponse - a model defined in Swagger""" # noqa: E501 - self._token = None - self.discriminator = None - if token is not None: - self.token = token - - @property - def token(self): - """Gets the token of this RegisterResponse. # noqa: E501 - - - :return: The token of this RegisterResponse. # noqa: E501 - :rtype: str - """ - return self._token - - @token.setter - def token(self, token): - """Sets the token of this RegisterResponse. - - - :param token: The token of this RegisterResponse. # noqa: E501 - :type: str - """ - - self._token = token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(RegisterResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, RegisterResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/python/sdk/zrok/zrok_api/models/reset_password_request.py b/sdk/python/sdk/zrok/zrok_api/models/reset_password_request.py deleted file mode 100644 index cf52cc88..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/reset_password_request.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class ResetPasswordRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'token': 'str', - 'password': 'str' - } - - attribute_map = { - 'token': 'token', - 'password': 'password' - } - - def __init__(self, token=None, password=None): # noqa: E501 - """ResetPasswordRequest - a model defined in Swagger""" # noqa: E501 - self._token = None - self._password = None - self.discriminator = None - if token is not None: - self.token = token - if password is not None: - self.password = password - - @property - def token(self): - """Gets the token of this ResetPasswordRequest. # noqa: E501 - - - :return: The token of this ResetPasswordRequest. # noqa: E501 - :rtype: str - """ - return self._token - - @token.setter - def token(self, token): - """Sets the token of this ResetPasswordRequest. - - - :param token: The token of this ResetPasswordRequest. # noqa: E501 - :type: str - """ - - self._token = token - - @property - def password(self): - """Gets the password of this ResetPasswordRequest. # noqa: E501 - - - :return: The password of this ResetPasswordRequest. # noqa: E501 - :rtype: str - """ - return self._password - - @password.setter - def password(self, password): - """Sets the password of this ResetPasswordRequest. - - - :param password: The password of this ResetPasswordRequest. # noqa: E501 - :type: str - """ - - self._password = password - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(ResetPasswordRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ResetPasswordRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/python/sdk/zrok/zrok_api/models/unaccess_request.py b/sdk/python/sdk/zrok/zrok_api/models/unaccess_request.py deleted file mode 100644 index 4d67f81e..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/unaccess_request.py +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class UnaccessRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'frontend_token': 'str', - 'env_zid': 'str', - 'shr_token': 'str' - } - - attribute_map = { - 'frontend_token': 'frontendToken', - 'env_zid': 'envZId', - 'shr_token': 'shareToken' - } - - def __init__(self, frontend_token=None, env_zid=None, shr_token=None): # noqa: E501 - """UnaccessRequest - a model defined in Swagger""" # noqa: E501 - self._frontend_token = None - self._env_zid = None - self._shr_token = None - self.discriminator = None - if frontend_token is not None: - self.frontend_token = frontend_token - if env_zid is not None: - self.env_zid = env_zid - if shr_token is not None: - self.shr_token = shr_token - - @property - def frontend_token(self): - """Gets the frontend_token of this UnaccessRequest. # noqa: E501 - - - :return: The frontend_token of this UnaccessRequest. # noqa: E501 - :rtype: str - """ - return self._frontend_token - - @frontend_token.setter - def frontend_token(self, frontend_token): - """Sets the frontend_token of this UnaccessRequest. - - - :param frontend_token: The frontend_token of this UnaccessRequest. # noqa: E501 - :type: str - """ - - self._frontend_token = frontend_token - - @property - def env_zid(self): - """Gets the env_zid of this UnaccessRequest. # noqa: E501 - - - :return: The env_zid of this UnaccessRequest. # noqa: E501 - :rtype: str - """ - return self._env_zid - - @env_zid.setter - def env_zid(self, env_zid): - """Sets the env_zid of this UnaccessRequest. - - - :param env_zid: The env_zid of this UnaccessRequest. # noqa: E501 - :type: str - """ - - self._env_zid = env_zid - - @property - def shr_token(self): - """Gets the shr_token of this UnaccessRequest. # noqa: E501 - - - :return: The shr_token of this UnaccessRequest. # noqa: E501 - :rtype: str - """ - return self._shr_token - - @shr_token.setter - def shr_token(self, shr_token): - """Sets the shr_token of this UnaccessRequest. - - - :param shr_token: The shr_token of this UnaccessRequest. # noqa: E501 - :type: str - """ - - self._shr_token = shr_token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(UnaccessRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, UnaccessRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/python/sdk/zrok/zrok_api/models/unshare_request.py b/sdk/python/sdk/zrok/zrok_api/models/unshare_request.py deleted file mode 100644 index def07585..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/unshare_request.py +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class UnshareRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'env_zid': 'str', - 'shr_token': 'str', - 'reserved': 'bool' - } - - attribute_map = { - 'env_zid': 'envZId', - 'shr_token': 'shareToken', - 'reserved': 'reserved' - } - - def __init__(self, env_zid=None, shr_token=None, reserved=None): # noqa: E501 - """UnshareRequest - a model defined in Swagger""" # noqa: E501 - self._env_zid = None - self._shr_token = None - self._reserved = None - self.discriminator = None - if env_zid is not None: - self.env_zid = env_zid - if shr_token is not None: - self.shr_token = shr_token - if reserved is not None: - self.reserved = reserved - - @property - def env_zid(self): - """Gets the env_zid of this UnshareRequest. # noqa: E501 - - - :return: The env_zid of this UnshareRequest. # noqa: E501 - :rtype: str - """ - return self._env_zid - - @env_zid.setter - def env_zid(self, env_zid): - """Sets the env_zid of this UnshareRequest. - - - :param env_zid: The env_zid of this UnshareRequest. # noqa: E501 - :type: str - """ - - self._env_zid = env_zid - - @property - def shr_token(self): - """Gets the shr_token of this UnshareRequest. # noqa: E501 - - - :return: The shr_token of this UnshareRequest. # noqa: E501 - :rtype: str - """ - return self._shr_token - - @shr_token.setter - def shr_token(self, shr_token): - """Sets the shr_token of this UnshareRequest. - - - :param shr_token: The shr_token of this UnshareRequest. # noqa: E501 - :type: str - """ - - self._shr_token = shr_token - - @property - def reserved(self): - """Gets the reserved of this UnshareRequest. # noqa: E501 - - - :return: The reserved of this UnshareRequest. # noqa: E501 - :rtype: bool - """ - return self._reserved - - @reserved.setter - def reserved(self, reserved): - """Sets the reserved of this UnshareRequest. - - - :param reserved: The reserved of this UnshareRequest. # noqa: E501 - :type: bool - """ - - self._reserved = reserved - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(UnshareRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, UnshareRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/python/sdk/zrok/zrok_api/models/update_frontend_request.py b/sdk/python/sdk/zrok/zrok_api/models/update_frontend_request.py deleted file mode 100644 index 41554390..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/update_frontend_request.py +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class UpdateFrontendRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'frontend_token': 'str', - 'public_name': 'str', - 'url_template': 'str' - } - - attribute_map = { - 'frontend_token': 'frontendToken', - 'public_name': 'publicName', - 'url_template': 'urlTemplate' - } - - def __init__(self, frontend_token=None, public_name=None, url_template=None): # noqa: E501 - """UpdateFrontendRequest - a model defined in Swagger""" # noqa: E501 - self._frontend_token = None - self._public_name = None - self._url_template = None - self.discriminator = None - if frontend_token is not None: - self.frontend_token = frontend_token - if public_name is not None: - self.public_name = public_name - if url_template is not None: - self.url_template = url_template - - @property - def frontend_token(self): - """Gets the frontend_token of this UpdateFrontendRequest. # noqa: E501 - - - :return: The frontend_token of this UpdateFrontendRequest. # noqa: E501 - :rtype: str - """ - return self._frontend_token - - @frontend_token.setter - def frontend_token(self, frontend_token): - """Sets the frontend_token of this UpdateFrontendRequest. - - - :param frontend_token: The frontend_token of this UpdateFrontendRequest. # noqa: E501 - :type: str - """ - - self._frontend_token = frontend_token - - @property - def public_name(self): - """Gets the public_name of this UpdateFrontendRequest. # noqa: E501 - - - :return: The public_name of this UpdateFrontendRequest. # noqa: E501 - :rtype: str - """ - return self._public_name - - @public_name.setter - def public_name(self, public_name): - """Sets the public_name of this UpdateFrontendRequest. - - - :param public_name: The public_name of this UpdateFrontendRequest. # noqa: E501 - :type: str - """ - - self._public_name = public_name - - @property - def url_template(self): - """Gets the url_template of this UpdateFrontendRequest. # noqa: E501 - - - :return: The url_template of this UpdateFrontendRequest. # noqa: E501 - :rtype: str - """ - return self._url_template - - @url_template.setter - def url_template(self, url_template): - """Sets the url_template of this UpdateFrontendRequest. - - - :param url_template: The url_template of this UpdateFrontendRequest. # noqa: E501 - :type: str - """ - - self._url_template = url_template - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(UpdateFrontendRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, UpdateFrontendRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/python/sdk/zrok/zrok_api/models/update_share_request.py b/sdk/python/sdk/zrok/zrok_api/models/update_share_request.py deleted file mode 100644 index f82b0020..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/update_share_request.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class UpdateShareRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'shr_token': 'str', - 'backend_proxy_endpoint': 'str', - 'add_access_grants': 'list[str]', - 'remove_access_grants': 'list[str]' - } - - attribute_map = { - 'shr_token': 'shareToken', - 'backend_proxy_endpoint': 'backendProxyEndpoint', - 'add_access_grants': 'addAccessGrants', - 'remove_access_grants': 'removeAccessGrants' - } - - def __init__(self, shr_token=None, backend_proxy_endpoint=None, add_access_grants=None, remove_access_grants=None): # noqa: E501 - """UpdateShareRequest - a model defined in Swagger""" # noqa: E501 - self._shr_token = None - self._backend_proxy_endpoint = None - self._add_access_grants = None - self._remove_access_grants = None - self.discriminator = None - if shr_token is not None: - self.shr_token = shr_token - if backend_proxy_endpoint is not None: - self.backend_proxy_endpoint = backend_proxy_endpoint - if add_access_grants is not None: - self.add_access_grants = add_access_grants - if remove_access_grants is not None: - self.remove_access_grants = remove_access_grants - - @property - def shr_token(self): - """Gets the shr_token of this UpdateShareRequest. # noqa: E501 - - - :return: The shr_token of this UpdateShareRequest. # noqa: E501 - :rtype: str - """ - return self._shr_token - - @shr_token.setter - def shr_token(self, shr_token): - """Sets the shr_token of this UpdateShareRequest. - - - :param shr_token: The shr_token of this UpdateShareRequest. # noqa: E501 - :type: str - """ - - self._shr_token = shr_token - - @property - def backend_proxy_endpoint(self): - """Gets the backend_proxy_endpoint of this UpdateShareRequest. # noqa: E501 - - - :return: The backend_proxy_endpoint of this UpdateShareRequest. # noqa: E501 - :rtype: str - """ - return self._backend_proxy_endpoint - - @backend_proxy_endpoint.setter - def backend_proxy_endpoint(self, backend_proxy_endpoint): - """Sets the backend_proxy_endpoint of this UpdateShareRequest. - - - :param backend_proxy_endpoint: The backend_proxy_endpoint of this UpdateShareRequest. # noqa: E501 - :type: str - """ - - self._backend_proxy_endpoint = backend_proxy_endpoint - - @property - def add_access_grants(self): - """Gets the add_access_grants of this UpdateShareRequest. # noqa: E501 - - - :return: The add_access_grants of this UpdateShareRequest. # noqa: E501 - :rtype: list[str] - """ - return self._add_access_grants - - @add_access_grants.setter - def add_access_grants(self, add_access_grants): - """Sets the add_access_grants of this UpdateShareRequest. - - - :param add_access_grants: The add_access_grants of this UpdateShareRequest. # noqa: E501 - :type: list[str] - """ - - self._add_access_grants = add_access_grants - - @property - def remove_access_grants(self): - """Gets the remove_access_grants of this UpdateShareRequest. # noqa: E501 - - - :return: The remove_access_grants of this UpdateShareRequest. # noqa: E501 - :rtype: list[str] - """ - return self._remove_access_grants - - @remove_access_grants.setter - def remove_access_grants(self, remove_access_grants): - """Sets the remove_access_grants of this UpdateShareRequest. - - - :param remove_access_grants: The remove_access_grants of this UpdateShareRequest. # noqa: E501 - :type: list[str] - """ - - self._remove_access_grants = remove_access_grants - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(UpdateShareRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, UpdateShareRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/python/sdk/zrok/zrok_api/models/verify_request.py b/sdk/python/sdk/zrok/zrok_api/models/verify_request.py deleted file mode 100644 index 8089bc9b..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/verify_request.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class VerifyRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'token': 'str' - } - - attribute_map = { - 'token': 'token' - } - - def __init__(self, token=None): # noqa: E501 - """VerifyRequest - a model defined in Swagger""" # noqa: E501 - self._token = None - self.discriminator = None - if token is not None: - self.token = token - - @property - def token(self): - """Gets the token of this VerifyRequest. # noqa: E501 - - - :return: The token of this VerifyRequest. # noqa: E501 - :rtype: str - """ - return self._token - - @token.setter - def token(self, token): - """Sets the token of this VerifyRequest. - - - :param token: The token of this VerifyRequest. # noqa: E501 - :type: str - """ - - self._token = token - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(VerifyRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, VerifyRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/sdk/python/sdk/zrok/zrok_api/models/verify_response.py b/sdk/python/sdk/zrok/zrok_api/models/verify_response.py deleted file mode 100644 index d6b9a617..00000000 --- a/sdk/python/sdk/zrok/zrok_api/models/verify_response.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - zrok - - zrok client access # noqa: E501 - - OpenAPI spec version: 0.3.0 - - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class VerifyResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'email': 'str' - } - - attribute_map = { - 'email': 'email' - } - - def __init__(self, email=None): # noqa: E501 - """VerifyResponse - a model defined in Swagger""" # noqa: E501 - self._email = None - self.discriminator = None - if email is not None: - self.email = email - - @property - def email(self): - """Gets the email of this VerifyResponse. # noqa: E501 - - - :return: The email of this VerifyResponse. # noqa: E501 - :rtype: str - """ - return self._email - - @email.setter - def email(self, email): - """Sets the email of this VerifyResponse. - - - :param email: The email of this VerifyResponse. # noqa: E501 - :type: str - """ - - self._email = email - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(VerifyResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, VerifyResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other