def __init__(self,
                 name=None,
                 url=None,
                 height=None,
                 width=None,
                 is_ready=None,
                 supports_custom_objects=None,
                 local_vars_configuration=None):  # noqa: E501
        """SettingsRequest - 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._url = None
        self._height = None
        self._width = None
        self._is_ready = None
        self._supports_custom_objects = None
        self.discriminator = None

        self.name = name
        self.url = url
        if height is not None:
            self.height = height
        if width is not None:
            self.width = width
        if is_ready is not None:
            self.is_ready = is_ready
        if supports_custom_objects is not None:
            self.supports_custom_objects = supports_custom_objects
    def __init__(self,
                 name=None,
                 url=None,
                 height=None,
                 width=None,
                 is_ready=None,
                 supports_custom_objects=None,
                 created_at=None,
                 updated_at=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._name = None
        self._url = None
        self._height = None
        self._width = None
        self._is_ready = None
        self._supports_custom_objects = None
        self._created_at = None
        self._updated_at = None
        self.discriminator = None

        self.name = name
        self.url = url
        self.height = height
        self.width = width
        self.is_ready = is_ready
        self.supports_custom_objects = supports_custom_objects
        self.created_at = created_at
        self.updated_at = updated_at
    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
Beispiel #4
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,
                 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