# coding: utf-8

"""
    id

    No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)  # noqa: E501

    OpenAPI spec version: common-version
    
    Generated by: https://github.com/swagger-api/swagger-codegen.git
"""


import pprint
import re  # noqa: F401

import six

from volcenginesdkcore.configuration import Configuration


class GetIdentityProviderOIDCResponse(object):
    """NOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    """

    """
    Attributes:
      swagger_types (dict): The key is attribute name
                            and the value is attribute type.
      attribute_map (dict): The key is attribute name
                            and the value is json key in definition.
    """
    swagger_types = {
        'claims_propagation_config': 'ClaimsPropagationConfigForGetIdentityProviderOIDCOutput',
        'client_id': 'str',
        'client_secret': 'str',
        'enabled': 'bool',
        'is_id_token_mapping': 'bool',
        'issuer': 'str',
        'name': 'str',
        'provider': 'str',
        'provider_options': 'ProviderOptionsForGetIdentityProviderOIDCOutput',
        'scopes_list': 'list[str]',
        'uid': 'str',
        'use_pkce': 'bool'
    }

    attribute_map = {
        'claims_propagation_config': 'ClaimsPropagationConfig',
        'client_id': 'ClientId',
        'client_secret': 'ClientSecret',
        'enabled': 'Enabled',
        'is_id_token_mapping': 'IsIdTokenMapping',
        'issuer': 'Issuer',
        'name': 'Name',
        'provider': 'Provider',
        'provider_options': 'ProviderOptions',
        'scopes_list': 'ScopesList',
        'uid': 'Uid',
        'use_pkce': 'UsePkce'
    }

    def __init__(self, claims_propagation_config=None, client_id=None, client_secret=None, enabled=None, is_id_token_mapping=None, issuer=None, name=None, provider=None, provider_options=None, scopes_list=None, uid=None, use_pkce=None, _configuration=None):  # noqa: E501
        """GetIdentityProviderOIDCResponse - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._claims_propagation_config = None
        self._client_id = None
        self._client_secret = None
        self._enabled = None
        self._is_id_token_mapping = None
        self._issuer = None
        self._name = None
        self._provider = None
        self._provider_options = None
        self._scopes_list = None
        self._uid = None
        self._use_pkce = None
        self.discriminator = None

        if claims_propagation_config is not None:
            self.claims_propagation_config = claims_propagation_config
        if client_id is not None:
            self.client_id = client_id
        if client_secret is not None:
            self.client_secret = client_secret
        if enabled is not None:
            self.enabled = enabled
        if is_id_token_mapping is not None:
            self.is_id_token_mapping = is_id_token_mapping
        if issuer is not None:
            self.issuer = issuer
        if name is not None:
            self.name = name
        if provider is not None:
            self.provider = provider
        if provider_options is not None:
            self.provider_options = provider_options
        if scopes_list is not None:
            self.scopes_list = scopes_list
        if uid is not None:
            self.uid = uid
        if use_pkce is not None:
            self.use_pkce = use_pkce

    @property
    def claims_propagation_config(self):
        """Gets the claims_propagation_config of this GetIdentityProviderOIDCResponse.  # noqa: E501


        :return: The claims_propagation_config of this GetIdentityProviderOIDCResponse.  # noqa: E501
        :rtype: ClaimsPropagationConfigForGetIdentityProviderOIDCOutput
        """
        return self._claims_propagation_config

    @claims_propagation_config.setter
    def claims_propagation_config(self, claims_propagation_config):
        """Sets the claims_propagation_config of this GetIdentityProviderOIDCResponse.


        :param claims_propagation_config: The claims_propagation_config of this GetIdentityProviderOIDCResponse.  # noqa: E501
        :type: ClaimsPropagationConfigForGetIdentityProviderOIDCOutput
        """

        self._claims_propagation_config = claims_propagation_config

    @property
    def client_id(self):
        """Gets the client_id of this GetIdentityProviderOIDCResponse.  # noqa: E501


        :return: The client_id of this GetIdentityProviderOIDCResponse.  # noqa: E501
        :rtype: str
        """
        return self._client_id

    @client_id.setter
    def client_id(self, client_id):
        """Sets the client_id of this GetIdentityProviderOIDCResponse.


        :param client_id: The client_id of this GetIdentityProviderOIDCResponse.  # noqa: E501
        :type: str
        """

        self._client_id = client_id

    @property
    def client_secret(self):
        """Gets the client_secret of this GetIdentityProviderOIDCResponse.  # noqa: E501


        :return: The client_secret of this GetIdentityProviderOIDCResponse.  # noqa: E501
        :rtype: str
        """
        return self._client_secret

    @client_secret.setter
    def client_secret(self, client_secret):
        """Sets the client_secret of this GetIdentityProviderOIDCResponse.


        :param client_secret: The client_secret of this GetIdentityProviderOIDCResponse.  # noqa: E501
        :type: str
        """

        self._client_secret = client_secret

    @property
    def enabled(self):
        """Gets the enabled of this GetIdentityProviderOIDCResponse.  # noqa: E501


        :return: The enabled of this GetIdentityProviderOIDCResponse.  # noqa: E501
        :rtype: bool
        """
        return self._enabled

    @enabled.setter
    def enabled(self, enabled):
        """Sets the enabled of this GetIdentityProviderOIDCResponse.


        :param enabled: The enabled of this GetIdentityProviderOIDCResponse.  # noqa: E501
        :type: bool
        """

        self._enabled = enabled

    @property
    def is_id_token_mapping(self):
        """Gets the is_id_token_mapping of this GetIdentityProviderOIDCResponse.  # noqa: E501


        :return: The is_id_token_mapping of this GetIdentityProviderOIDCResponse.  # noqa: E501
        :rtype: bool
        """
        return self._is_id_token_mapping

    @is_id_token_mapping.setter
    def is_id_token_mapping(self, is_id_token_mapping):
        """Sets the is_id_token_mapping of this GetIdentityProviderOIDCResponse.


        :param is_id_token_mapping: The is_id_token_mapping of this GetIdentityProviderOIDCResponse.  # noqa: E501
        :type: bool
        """

        self._is_id_token_mapping = is_id_token_mapping

    @property
    def issuer(self):
        """Gets the issuer of this GetIdentityProviderOIDCResponse.  # noqa: E501


        :return: The issuer of this GetIdentityProviderOIDCResponse.  # noqa: E501
        :rtype: str
        """
        return self._issuer

    @issuer.setter
    def issuer(self, issuer):
        """Sets the issuer of this GetIdentityProviderOIDCResponse.


        :param issuer: The issuer of this GetIdentityProviderOIDCResponse.  # noqa: E501
        :type: str
        """

        self._issuer = issuer

    @property
    def name(self):
        """Gets the name of this GetIdentityProviderOIDCResponse.  # noqa: E501


        :return: The name of this GetIdentityProviderOIDCResponse.  # noqa: E501
        :rtype: str
        """
        return self._name

    @name.setter
    def name(self, name):
        """Sets the name of this GetIdentityProviderOIDCResponse.


        :param name: The name of this GetIdentityProviderOIDCResponse.  # noqa: E501
        :type: str
        """

        self._name = name

    @property
    def provider(self):
        """Gets the provider of this GetIdentityProviderOIDCResponse.  # noqa: E501


        :return: The provider of this GetIdentityProviderOIDCResponse.  # noqa: E501
        :rtype: str
        """
        return self._provider

    @provider.setter
    def provider(self, provider):
        """Sets the provider of this GetIdentityProviderOIDCResponse.


        :param provider: The provider of this GetIdentityProviderOIDCResponse.  # noqa: E501
        :type: str
        """

        self._provider = provider

    @property
    def provider_options(self):
        """Gets the provider_options of this GetIdentityProviderOIDCResponse.  # noqa: E501


        :return: The provider_options of this GetIdentityProviderOIDCResponse.  # noqa: E501
        :rtype: ProviderOptionsForGetIdentityProviderOIDCOutput
        """
        return self._provider_options

    @provider_options.setter
    def provider_options(self, provider_options):
        """Sets the provider_options of this GetIdentityProviderOIDCResponse.


        :param provider_options: The provider_options of this GetIdentityProviderOIDCResponse.  # noqa: E501
        :type: ProviderOptionsForGetIdentityProviderOIDCOutput
        """

        self._provider_options = provider_options

    @property
    def scopes_list(self):
        """Gets the scopes_list of this GetIdentityProviderOIDCResponse.  # noqa: E501


        :return: The scopes_list of this GetIdentityProviderOIDCResponse.  # noqa: E501
        :rtype: list[str]
        """
        return self._scopes_list

    @scopes_list.setter
    def scopes_list(self, scopes_list):
        """Sets the scopes_list of this GetIdentityProviderOIDCResponse.


        :param scopes_list: The scopes_list of this GetIdentityProviderOIDCResponse.  # noqa: E501
        :type: list[str]
        """

        self._scopes_list = scopes_list

    @property
    def uid(self):
        """Gets the uid of this GetIdentityProviderOIDCResponse.  # noqa: E501


        :return: The uid of this GetIdentityProviderOIDCResponse.  # noqa: E501
        :rtype: str
        """
        return self._uid

    @uid.setter
    def uid(self, uid):
        """Sets the uid of this GetIdentityProviderOIDCResponse.


        :param uid: The uid of this GetIdentityProviderOIDCResponse.  # noqa: E501
        :type: str
        """

        self._uid = uid

    @property
    def use_pkce(self):
        """Gets the use_pkce of this GetIdentityProviderOIDCResponse.  # noqa: E501


        :return: The use_pkce of this GetIdentityProviderOIDCResponse.  # noqa: E501
        :rtype: bool
        """
        return self._use_pkce

    @use_pkce.setter
    def use_pkce(self, use_pkce):
        """Sets the use_pkce of this GetIdentityProviderOIDCResponse.


        :param use_pkce: The use_pkce of this GetIdentityProviderOIDCResponse.  # noqa: E501
        :type: bool
        """

        self._use_pkce = use_pkce

    def to_dict(self):
        """Returns the model properties as a dict"""
        result = {}

        for attr, _ in six.iteritems(self.swagger_types):
            value = getattr(self, attr)
            if isinstance(value, list):
                result[attr] = list(map(
                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
                    value
                ))
            elif hasattr(value, "to_dict"):
                result[attr] = value.to_dict()
            elif isinstance(value, dict):
                result[attr] = dict(map(
                    lambda item: (item[0], item[1].to_dict())
                    if hasattr(item[1], "to_dict") else item,
                    value.items()
                ))
            else:
                result[attr] = value
        if issubclass(GetIdentityProviderOIDCResponse, dict):
            for key, value in self.items():
                result[key] = value

        return result

    def to_str(self):
        """Returns the string representation of the model"""
        return pprint.pformat(self.to_dict())

    def __repr__(self):
        """For `print` and `pprint`"""
        return self.to_str()

    def __eq__(self, other):
        """Returns true if both objects are equal"""
        if not isinstance(other, GetIdentityProviderOIDCResponse):
            return False

        return self.to_dict() == other.to_dict()

    def __ne__(self, other):
        """Returns true if both objects are not equal"""
        if not isinstance(other, GetIdentityProviderOIDCResponse):
            return True

        return self.to_dict() != other.to_dict()
