def __init__(self, success=None, message=None, local_vars_configuration=None):  # noqa: E501
        """ContainerRemovalResponseJSON - 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._success = None
        self._message = None
        self.discriminator = None

        self.success = success
        self.message = message
示例#2
0
    def __init__(self, success=None, result=None, message=None, local_vars_configuration=None):  # noqa: E501
        """HySDSIOAdditionResponseJSON - 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._success = None
        self._result = None
        self._message = None
        self.discriminator = None

        self.success = success
        self.result = result
        self.message = message
示例#3
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