Beispiel #1
0
    def __init__(self,
                 code=None,
                 code_verifier=None,
                 nonce=None,
                 redirect_uri=None,
                 local_vars_configuration=None):  # noqa: E501
        """LoginCredentials - 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._code = None
        self._code_verifier = None
        self._nonce = None
        self._redirect_uri = None
        self.discriminator = None

        if code is not None:
            self.code = code
        if code_verifier is not None:
            self.code_verifier = code_verifier
        if nonce is not None:
            self.nonce = nonce
        if redirect_uri is not None:
            self.redirect_uri = redirect_uri
    def __init__(self,
                 token_id=None,
                 token_name=None,
                 expiration_date_time=None,
                 groups=None,
                 local_vars_configuration=None):  # noqa: E501
        """AdminRefreshTokenInfo - 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._token_id = None
        self._token_name = None
        self._expiration_date_time = None
        self._groups = None
        self.discriminator = None

        if token_id is not None:
            self.token_id = token_id
        if token_name is not None:
            self.token_name = token_name
        if expiration_date_time is not None:
            self.expiration_date_time = expiration_date_time
        if groups is not None:
            self.groups = groups
Beispiel #3
0
    def __init__(self, refresh_token_info=None, local_vars_configuration=None):  # noqa: E501
        """AdminRefreshTokenList - 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._refresh_token_info = None
        self.discriminator = None

        if refresh_token_info is not None:
            self.refresh_token_info = refresh_token_info
    def __init__(self,
                 users=None,
                 local_vars_configuration=None):  # noqa: E501
        """UserInfoList - 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._users = None
        self.discriminator = None

        if users is not None:
            self.users = users
    def __init__(self,
                 public_key=None,
                 local_vars_configuration=None):  # noqa: E501
        """PublicKey - 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._public_key = None
        self.discriminator = None

        if public_key is not None:
            self.public_key = public_key
    def __init__(self,
                 groups=None,
                 local_vars_configuration=None):  # noqa: E501
        """GroupList - 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._groups = None
        self.discriminator = None

        if groups is not None:
            self.groups = groups
Beispiel #7
0
    def __init__(self, refresh_token=None, access_token=None, local_vars_configuration=None):  # noqa: E501
        """Tokens - 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._refresh_token = None
        self._access_token = None
        self.discriminator = None

        if refresh_token is not None:
            self.refresh_token = refresh_token
        if access_token is not None:
            self.access_token = access_token
    def __init__(self,
                 code=None,
                 message=None,
                 local_vars_configuration=None):  # noqa: E501
        """ApiError - 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._code = None
        self._message = None
        self.discriminator = None

        self.code = code
        self.message = message
    def __init__(self,
                 token=None,
                 expires_at=None,
                 local_vars_configuration=None):  # noqa: E501
        """TokenResponse - 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._token = None
        self._expires_at = None
        self.discriminator = None

        if token is not None:
            self.token = token
        if expires_at is not None:
            self.expires_at = expires_at
Beispiel #10
0
    def __init__(self,
                 user_id=None,
                 mode=None,
                 local_vars_configuration=None):  # noqa: E501
        """UserInGroup - 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._user_id = None
        self._mode = None
        self.discriminator = None

        if user_id is not None:
            self.user_id = user_id
        if mode is not None:
            self.mode = mode
Beispiel #11
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
Beispiel #12
0
    def __init__(self,
                 user_id=None,
                 global_role=None,
                 groups=None,
                 local_vars_configuration=None):  # noqa: E501
        """UserInfo - 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._user_id = None
        self._global_role = None
        self._groups = None
        self.discriminator = None

        if user_id is not None:
            self.user_id = user_id
        if global_role is not None:
            self.global_role = global_role
        if groups is not None:
            self.groups = groups
    def __init__(self,
                 group_id=None,
                 description=None,
                 mode=None,
                 local_vars_configuration=None):  # noqa: E501
        """GroupInfo - 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._group_id = None
        self._description = None
        self._mode = None
        self.discriminator = None

        if group_id is not None:
            self.group_id = group_id
        if description is not None:
            self.description = description
        if mode is not None:
            self.mode = mode