Esempio n. 1
0
    def __init__(
        self,
        message=None,
        _in=None,
        code=None,
        sub_category=None,
        context=None,
        local_vars_configuration=None,
    ):  # noqa: E501
        """ErrorDetail - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._message = None
        self.__in = None
        self._code = None
        self._sub_category = None
        self._context = None
        self.discriminator = None

        self.message = message
        if _in is not None:
            self._in = _in
        if code is not None:
            self.code = code
        if sub_category is not None:
            self.sub_category = sub_category
        if context is not None:
            self.context = context
Esempio n. 2
0
    def __init__(self,
                 message=None,
                 correlation_id=None,
                 category=None,
                 sub_category=None,
                 errors=None,
                 context=None,
                 links=None,
                 local_vars_configuration=None):  # noqa: E501
        """Error - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._message = None
        self._correlation_id = None
        self._category = None
        self._sub_category = None
        self._errors = None
        self._context = None
        self._links = None
        self.discriminator = None

        self.message = message
        self.correlation_id = correlation_id
        self.category = category
        if sub_category is not None:
            self.sub_category = sub_category
        if errors is not None:
            self.errors = errors
        if context is not None:
            self.context = context
        if links is not None:
            self.links = links
    def __init__(self,
                 portal_id=None,
                 created=None,
                 updated=None,
                 domain_id=None,
                 cert_id=None,
                 cert_expiration_date=None,
                 cdn_id=None,
                 cdn_group_id=None,
                 ssl_status=None,
                 validation_method=None,
                 http_body=None,
                 http_url_path=None,
                 cname=None,
                 cname_target=None,
                 minimum_tls_version=None,
                 alternate_origin_hostname=None,
                 id=None,
                 local_vars_configuration=None):  # noqa: E501
        """DomainCdnConfig - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._portal_id = None
        self._created = None
        self._updated = None
        self._domain_id = None
        self._cert_id = None
        self._cert_expiration_date = None
        self._cdn_id = None
        self._cdn_group_id = None
        self._ssl_status = None
        self._validation_method = None
        self._http_body = None
        self._http_url_path = None
        self._cname = None
        self._cname_target = None
        self._minimum_tls_version = None
        self._alternate_origin_hostname = None
        self._id = None
        self.discriminator = None

        self.portal_id = portal_id
        self.created = created
        self.updated = updated
        self.domain_id = domain_id
        self.cert_id = cert_id
        self.cert_expiration_date = cert_expiration_date
        self.cdn_id = cdn_id
        self.cdn_group_id = cdn_group_id
        self.ssl_status = ssl_status
        self.validation_method = validation_method
        self.http_body = http_body
        self.http_url_path = http_url_path
        self.cname = cname
        self.cname_target = cname_target
        self.minimum_tls_version = minimum_tls_version
        self.alternate_origin_hostname = alternate_origin_hostname
        self.id = id
Esempio n. 4
0
    def __init__(self, next=None, local_vars_configuration=None):  # noqa: E501
        """Paging - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._next = None
        self.discriminator = None

        if next is not None:
            self.next = next
Esempio n. 5
0
    def __init__(
        self, after=None, link=None, local_vars_configuration=None
    ):  # noqa: E501
        """NextPage - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._after = None
        self._link = None
        self.discriminator = None

        self.after = after
        if link is not None:
            self.link = link
Esempio n. 6
0
    def __init__(self,
                 supports_ssl_externally=None,
                 who_is_email_addresses=None,
                 local_vars_configuration=None):  # noqa: E501
        """DomainSetupInfo - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._supports_ssl_externally = None
        self._who_is_email_addresses = None
        self.discriminator = None

        self.supports_ssl_externally = supports_ssl_externally
        self.who_is_email_addresses = who_is_email_addresses
    def __init__(self,
                 total=None,
                 results=None,
                 paging=None,
                 local_vars_configuration=None):  # noqa: E501
        """CollectionResponseWithTotalDomain - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._total = None
        self._results = None
        self._paging = None
        self.discriminator = None

        self.total = total
        self.results = results
        if paging is not None:
            self.paging = paging
Esempio n. 8
0
    def __init__(self,
                 configuration=None,
                 header_name=None,
                 header_value=None,
                 cookie=None,
                 pool_threads=1):
        if configuration is None:
            configuration = Configuration.get_default_copy()
        self.configuration = configuration
        self.pool_threads = pool_threads

        self.rest_client = rest.RESTClientObject(configuration)
        self.default_headers = {}
        if header_name is not None:
            self.default_headers[header_name] = header_value
        self.cookie = cookie
        # Set default User-Agent.
        self.user_agent = 'OpenAPI-Generator/1.0.0/python'
        self.client_side_validation = configuration.client_side_validation