Exemple #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
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
    def __init__(self,
                 value=None,
                 timestamp=None,
                 source_type=None,
                 source_id=None,
                 source_label=None,
                 updated_by_user_id=None,
                 local_vars_configuration=None):  # noqa: E501
        """ValueWithTimestamp - 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._value = None
        self._timestamp = None
        self._source_type = None
        self._source_id = None
        self._source_label = None
        self._updated_by_user_id = None
        self.discriminator = None

        self.value = value
        self.timestamp = timestamp
        self.source_type = source_type
        if source_id is not None:
            self.source_id = source_id
        if source_label is not None:
            self.source_label = source_label
        if updated_by_user_id is not None:
            self.updated_by_user_id = updated_by_user_id
    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,
                 properties=None,
                 properties_with_history=None,
                 created_at=None,
                 updated_at=None,
                 archived=None,
                 archived_at=None,
                 local_vars_configuration=None):  # noqa: E501
        """SimplePublicObject - 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._properties = None
        self._properties_with_history = None
        self._created_at = None
        self._updated_at = None
        self._archived = None
        self._archived_at = None
        self.discriminator = None

        self.id = id
        self.properties = properties
        if properties_with_history is not None:
            self.properties_with_history = properties_with_history
        self.created_at = created_at
        self.updated_at = updated_at
        if archived is not None:
            self.archived = archived
        if archived_at is not None:
            self.archived_at = archived_at
Exemple #6
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
        """BatchResponseSimplePublicObject - 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 #7
0
    def __init__(self, id=None, local_vars_configuration=None):  # noqa: E501
        """SimplePublicObjectId - 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.discriminator = None

        self.id = id
Exemple #8
0
    def __init__(self, inputs=None, local_vars_configuration=None):  # noqa: E501
        """BatchInputSimplePublicObjectBatchInput - 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, properties=None, local_vars_configuration=None):  # noqa: E501
        """SimplePublicObjectInput - 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._properties = None
        self.discriminator = None

        self.properties = properties
Exemple #10
0
    def __init__(self, next=None, local_vars_configuration=None):  # noqa: E501
        """ForwardPaging - 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
    def __init__(self, name=None, http_status=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._name = None
        self._http_status = None
        self.discriminator = None

        self.name = name
        self.http_status = http_status
Exemple #12
0
    def __init__(self,
                 filters=None,
                 local_vars_configuration=None):  # noqa: E501
        """FilterGroup - 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._filters = None
        self.discriminator = None

        self.filters = filters
    def __init__(self, results=None, paging=None, local_vars_configuration=None):  # noqa: E501
        """CollectionResponseAssociatedId - 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._paging = None
        self.discriminator = None

        self.results = results
        if paging is not None:
            self.paging = paging
    def __init__(self,
                 id=None,
                 type=None,
                 local_vars_configuration=None):  # noqa: E501
        """AssociatedId - 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._type = None
        self.discriminator = None

        self.id = id
        self.type = type
    def __init__(self,
                 primary_object_id=None,
                 object_id_to_merge=None,
                 local_vars_configuration=None):  # noqa: E501
        """PublicMergeInput - 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._primary_object_id = None
        self._object_id_to_merge = None
        self.discriminator = None

        self.primary_object_id = primary_object_id
        self.object_id_to_merge = object_id_to_merge
    def __init__(self,
                 before=None,
                 link=None,
                 local_vars_configuration=None):  # noqa: E501
        """PreviousPage - 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._before = None
        self._link = None
        self.discriminator = None

        self.before = before
        if link is not None:
            self.link = link
Exemple #17
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
    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
Exemple #19
0
    def __init__(self,
                 total=None,
                 results=None,
                 paging=None,
                 local_vars_configuration=None):  # noqa: E501
        """CollectionResponseWithTotalSimplePublicObjectForwardPaging - 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
    def __init__(self, filter_groups=None, sorts=None, query=None, properties=None, limit=None, after=None, local_vars_configuration=None):  # noqa: E501
        """PublicObjectSearchRequest - 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._filter_groups = None
        self._sorts = None
        self._query = None
        self._properties = None
        self._limit = None
        self._after = None
        self.discriminator = None

        self.filter_groups = filter_groups
        self.sorts = sorts
        if query is not None:
            self.query = query
        self.properties = properties
        self.limit = limit
        self.after = after
Exemple #21
0
    def __init__(self,
                 properties=None,
                 properties_with_history=None,
                 id_property=None,
                 inputs=None,
                 local_vars_configuration=None):  # noqa: E501
        """BatchReadInputSimplePublicObjectId - 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._properties = None
        self._properties_with_history = None
        self._id_property = None
        self._inputs = None
        self.discriminator = None

        self.properties = properties
        self.properties_with_history = properties_with_history
        if id_property is not None:
            self.id_property = id_property
        self.inputs = inputs
Exemple #22
0
    def __init__(self,
                 value=None,
                 values=None,
                 property_name=None,
                 operator=None,
                 local_vars_configuration=None):  # noqa: E501
        """Filter - 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._value = None
        self._values = None
        self._property_name = None
        self._operator = None
        self.discriminator = None

        if value is not None:
            self.value = value
        if values is not None:
            self.values = values
        self.property_name = property_name
        self.operator = operator