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
Exemple #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
Exemple #3
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
Exemple #4
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
Exemple #5
0
    def __init__(self, total=None, results=None, paging=None, local_vars_configuration=None):  # noqa: E501
        """CollectionResponseWithTotalUrlMapping - 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
Exemple #6
0
    def __init__(
        self,
        route_prefix=None,
        destination=None,
        redirect_style=None,
        precedence=None,
        is_only_after_not_found=None,
        is_match_full_url=None,
        is_match_query_string=None,
        is_pattern=None,
        is_trailing_slash_optional=None,
        is_protocol_agnostic=None,
        local_vars_configuration=None,
    ):  # noqa: E501
        """UrlMappingCreateRequestBody - 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._route_prefix = None
        self._destination = None
        self._redirect_style = None
        self._precedence = None
        self._is_only_after_not_found = None
        self._is_match_full_url = None
        self._is_match_query_string = None
        self._is_pattern = None
        self._is_trailing_slash_optional = None
        self._is_protocol_agnostic = None
        self.discriminator = None

        self.route_prefix = route_prefix
        self.destination = destination
        self.redirect_style = redirect_style
        if precedence is not None:
            self.precedence = precedence
        if is_only_after_not_found is not None:
            self.is_only_after_not_found = is_only_after_not_found
        if is_match_full_url is not None:
            self.is_match_full_url = is_match_full_url
        if is_match_query_string is not None:
            self.is_match_query_string = is_match_query_string
        if is_pattern is not None:
            self.is_pattern = is_pattern
        if is_trailing_slash_optional is not None:
            self.is_trailing_slash_optional = is_trailing_slash_optional
        if is_protocol_agnostic is not None:
            self.is_protocol_agnostic = is_protocol_agnostic
    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
Exemple #8
0
    def __init__(
        self,
        id=None,
        portal_id=None,
        created=None,
        updated=None,
        created_by_id=None,
        updated_by_id=None,
        route_prefix=None,
        destination=None,
        redirect_style=None,
        content_group_id=None,
        is_only_after_not_found=None,
        is_regex=None,
        is_match_full_url=None,
        is_match_query_string=None,
        is_pattern=None,
        is_trailing_slash_optional=None,
        is_protocol_agnostic=None,
        name=None,
        precedence=None,
        deleted_at=None,
        note=None,
        label=None,
        internally_created=None,
        cos_object_type=None,
        cdn_purge_embargo_time=None,
        local_vars_configuration=None,
    ):  # noqa: E501
        """UrlMapping - 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._id = None
        self._portal_id = None
        self._created = None
        self._updated = None
        self._created_by_id = None
        self._updated_by_id = None
        self._route_prefix = None
        self._destination = None
        self._redirect_style = None
        self._content_group_id = None
        self._is_only_after_not_found = None
        self._is_regex = None
        self._is_match_full_url = None
        self._is_match_query_string = None
        self._is_pattern = None
        self._is_trailing_slash_optional = None
        self._is_protocol_agnostic = None
        self._name = None
        self._precedence = None
        self._deleted_at = None
        self._note = None
        self._label = None
        self._internally_created = None
        self._cos_object_type = None
        self._cdn_purge_embargo_time = None
        self.discriminator = None

        self.id = id
        self.portal_id = portal_id
        self.created = created
        self.updated = updated
        self.created_by_id = created_by_id
        self.updated_by_id = updated_by_id
        self.route_prefix = route_prefix
        self.destination = destination
        self.redirect_style = redirect_style
        self.content_group_id = content_group_id
        self.is_only_after_not_found = is_only_after_not_found
        self.is_regex = is_regex
        self.is_match_full_url = is_match_full_url
        self.is_match_query_string = is_match_query_string
        self.is_pattern = is_pattern
        self.is_trailing_slash_optional = is_trailing_slash_optional
        self.is_protocol_agnostic = is_protocol_agnostic
        self.name = name
        self.precedence = precedence
        self.deleted_at = deleted_at
        self.note = note
        self.label = label
        self.internally_created = internally_created
        self.cos_object_type = cos_object_type
        self.cdn_purge_embargo_time = cdn_purge_embargo_time