# coding: utf-8

"""
    vke

    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 IrsaConfigForListClustersOutput(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 = {
        'audience': 'str',
        'enabled': 'bool',
        'issuer': 'str',
        'jwks_url': 'str',
        'oidc_trn': 'str',
        'open_id_config_url': 'str'
    }

    attribute_map = {
        'audience': 'Audience',
        'enabled': 'Enabled',
        'issuer': 'Issuer',
        'jwks_url': 'JwksUrl',
        'oidc_trn': 'OidcTrn',
        'open_id_config_url': 'OpenIdConfigUrl'
    }

    def __init__(self, audience=None, enabled=None, issuer=None, jwks_url=None, oidc_trn=None, open_id_config_url=None, _configuration=None):  # noqa: E501
        """IrsaConfigForListClustersOutput - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._audience = None
        self._enabled = None
        self._issuer = None
        self._jwks_url = None
        self._oidc_trn = None
        self._open_id_config_url = None
        self.discriminator = None

        if audience is not None:
            self.audience = audience
        if enabled is not None:
            self.enabled = enabled
        if issuer is not None:
            self.issuer = issuer
        if jwks_url is not None:
            self.jwks_url = jwks_url
        if oidc_trn is not None:
            self.oidc_trn = oidc_trn
        if open_id_config_url is not None:
            self.open_id_config_url = open_id_config_url

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


        :return: The audience of this IrsaConfigForListClustersOutput.  # noqa: E501
        :rtype: str
        """
        return self._audience

    @audience.setter
    def audience(self, audience):
        """Sets the audience of this IrsaConfigForListClustersOutput.


        :param audience: The audience of this IrsaConfigForListClustersOutput.  # noqa: E501
        :type: str
        """

        self._audience = audience

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


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

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


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

        self._enabled = enabled

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


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

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


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

        self._issuer = issuer

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


        :return: The jwks_url of this IrsaConfigForListClustersOutput.  # noqa: E501
        :rtype: str
        """
        return self._jwks_url

    @jwks_url.setter
    def jwks_url(self, jwks_url):
        """Sets the jwks_url of this IrsaConfigForListClustersOutput.


        :param jwks_url: The jwks_url of this IrsaConfigForListClustersOutput.  # noqa: E501
        :type: str
        """

        self._jwks_url = jwks_url

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


        :return: The oidc_trn of this IrsaConfigForListClustersOutput.  # noqa: E501
        :rtype: str
        """
        return self._oidc_trn

    @oidc_trn.setter
    def oidc_trn(self, oidc_trn):
        """Sets the oidc_trn of this IrsaConfigForListClustersOutput.


        :param oidc_trn: The oidc_trn of this IrsaConfigForListClustersOutput.  # noqa: E501
        :type: str
        """

        self._oidc_trn = oidc_trn

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


        :return: The open_id_config_url of this IrsaConfigForListClustersOutput.  # noqa: E501
        :rtype: str
        """
        return self._open_id_config_url

    @open_id_config_url.setter
    def open_id_config_url(self, open_id_config_url):
        """Sets the open_id_config_url of this IrsaConfigForListClustersOutput.


        :param open_id_config_url: The open_id_config_url of this IrsaConfigForListClustersOutput.  # noqa: E501
        :type: str
        """

        self._open_id_config_url = open_id_config_url

    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(IrsaConfigForListClustersOutput, 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, IrsaConfigForListClustersOutput):
            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, IrsaConfigForListClustersOutput):
            return True

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