예제 #1
0
    def __init__(self, error=None, _configuration=None):
        """ErrorLimited - a sde_model defined in Swagger"""
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._error = None
        self.discriminator = None

        self.error = error
예제 #2
0
    def __init__(self, error=None, _configuration=None):
        """ServiceUnavailable - a sde_model defined in Swagger"""
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._error = None
        self.discriminator = None

        self.error = error
예제 #3
0
    def __init__(self, error=None, sso_status=None, _configuration=None):
        """Forbidden - a sde_model defined in Swagger"""
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._error = None
        self._sso_status = None
        self.discriminator = None

        self.error = error
        if sso_status is not None:
            self.sso_status = sso_status
예제 #4
0
    def __init__(self, error=None, timeout=None, _configuration=None):
        """GatewayTimeout - a sde_model defined in Swagger"""
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._error = None
        self._timeout = None
        self.discriminator = None

        self.error = error
        if timeout is not None:
            self.timeout = timeout
예제 #5
0
    def __init__(self,
                 configuration=None,
                 header_name=None,
                 header_value=None,
                 cookie=None):
        if configuration is None:
            configuration = Configuration()
        self.configuration = configuration

        # Use the pool property to lazily initialize the ThreadPool.
        self._pool = None
        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 = "Swagger-Codegen/1.0.0/python"
        self.client_side_validation = configuration.client_side_validation