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,
                 status=None,
                 id=None,
                 category=None,
                 sub_category=None,
                 message=None,
                 errors=None,
                 context=None,
                 links=None,
                 local_vars_configuration=None):  # noqa: E501
        """StandardError - 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._status = None
        self._id = None
        self._category = None
        self._sub_category = None
        self._message = None
        self._errors = None
        self._context = None
        self._links = None
        self.discriminator = None

        self.status = status
        if id is not None:
            self.id = id
        self.category = category
        if sub_category is not None:
            self.sub_category = sub_category
        self.message = message
        self.errors = errors
        self.context = context
        self.links = links
    def __init__(self,
                 id=None,
                 created_at=None,
                 updated_at=None,
                 event_type=None,
                 property_name=None,
                 active=None,
                 local_vars_configuration=None):  # noqa: E501
        """SubscriptionResponse - 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._created_at = None
        self._updated_at = None
        self._event_type = None
        self._property_name = None
        self._active = None
        self.discriminator = None

        self.id = id
        self.created_at = created_at
        if updated_at is not None:
            self.updated_at = updated_at
        self.event_type = event_type
        if property_name is not None:
            self.property_name = property_name
        if active is not None:
            self.active = active
Exemple #4
0
    def __init__(self,
                 status=None,
                 results=None,
                 requested_at=None,
                 started_at=None,
                 completed_at=None,
                 links=None,
                 local_vars_configuration=None):  # noqa: E501
        """BatchResponseSubscriptionResponse - 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._status = None
        self._results = None
        self._requested_at = None
        self._started_at = None
        self._completed_at = None
        self._links = None
        self.discriminator = None

        self.status = status
        self.results = results
        if requested_at is not None:
            self.requested_at = requested_at
        self.started_at = started_at
        self.completed_at = completed_at
        if links is not None:
            self.links = links
Exemple #5
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 #6
0
    def __init__(self, inputs=None, local_vars_configuration=None):  # noqa: E501
        """BatchInputSubscriptionBatchUpdateRequest - 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._inputs = None
        self.discriminator = None

        self.inputs = inputs
    def __init__(self,
                 results=None,
                 local_vars_configuration=None):  # noqa: E501
        """SubscriptionListResponse - 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._results = None
        self.discriminator = None

        self.results = results
Exemple #8
0
    def __init__(self, max_concurrent_requests=None, period=None, local_vars_configuration=None):  # noqa: E501
        """ThrottlingSettings - 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._max_concurrent_requests = None
        self._period = None
        self.discriminator = None

        self.max_concurrent_requests = max_concurrent_requests
        self.period = period
    def __init__(self,
                 active=None,
                 local_vars_configuration=None):  # noqa: E501
        """SubscriptionPatchRequest - 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._active = None
        self.discriminator = None

        if active is not None:
            self.active = active
Exemple #10
0
    def __init__(self, configuration=None, header_name=None, header_value=None, cookie=None, pool_threads=1):
        if configuration is None:
            configuration = Configuration()
        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
    def __init__(self,
                 http_status=None,
                 name=None,
                 local_vars_configuration=None):  # noqa: E501
        """ErrorCategory - 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._http_status = None
        self._name = None
        self.discriminator = None

        self.http_status = http_status
        self.name = name
Exemple #12
0
    def __init__(self,
                 target_url=None,
                 throttling=None,
                 local_vars_configuration=None):  # noqa: E501
        """SettingsChangeRequest - 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._target_url = None
        self._throttling = None
        self.discriminator = None

        self.target_url = target_url
        self.throttling = throttling
Exemple #13
0
    def __init__(self,
                 id=None,
                 active=None,
                 local_vars_configuration=None):  # noqa: E501
        """SubscriptionBatchUpdateRequest - 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._active = None
        self.discriminator = None

        self.id = id
        self.active = active
Exemple #14
0
    def __init__(self,
                 event_type=None,
                 property_name=None,
                 active=None,
                 local_vars_configuration=None):  # noqa: E501
        """SubscriptionCreateRequest - 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._event_type = None
        self._property_name = None
        self._active = None
        self.discriminator = None

        self.event_type = event_type
        if property_name is not None:
            self.property_name = property_name
        if active is not None:
            self.active = active
    def __init__(self,
                 created_at=None,
                 updated_at=None,
                 target_url=None,
                 throttling=None,
                 local_vars_configuration=None):  # noqa: E501
        """SettingsResponse - 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._created_at = None
        self._updated_at = None
        self._target_url = None
        self._throttling = None
        self.discriminator = None

        self.created_at = created_at
        if updated_at is not None:
            self.updated_at = updated_at
        self.target_url = target_url
        self.throttling = throttling