# coding: utf-8

"""
    CartoVista REST API

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

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

import pprint
import re  # noqa: F401

import six

class OpenIdProviderInformation(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 = {
        'provider_name': 'str',
        'authority': 'str',
        'client_id': 'str'
    }

    attribute_map = {
        'provider_name': 'providerName',
        'authority': 'authority',
        'client_id': 'clientId'
    }

    def __init__(self, provider_name=None, authority=None, client_id=None):  # noqa: E501
        """OpenIdProviderInformation - a model defined in Swagger"""  # noqa: E501
        self._provider_name = None
        self._authority = None
        self._client_id = None
        self.discriminator = None
        if provider_name is not None:
            self.provider_name = provider_name
        if authority is not None:
            self.authority = authority
        if client_id is not None:
            self.client_id = client_id

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


        :return: The provider_name of this OpenIdProviderInformation.  # noqa: E501
        :rtype: str
        """
        return self._provider_name

    @provider_name.setter
    def provider_name(self, provider_name):
        """Sets the provider_name of this OpenIdProviderInformation.


        :param provider_name: The provider_name of this OpenIdProviderInformation.  # noqa: E501
        :type: str
        """

        self._provider_name = provider_name

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


        :return: The authority of this OpenIdProviderInformation.  # noqa: E501
        :rtype: str
        """
        return self._authority

    @authority.setter
    def authority(self, authority):
        """Sets the authority of this OpenIdProviderInformation.


        :param authority: The authority of this OpenIdProviderInformation.  # noqa: E501
        :type: str
        """

        self._authority = authority

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


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

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


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

        self._client_id = client_id

    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(OpenIdProviderInformation, 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, OpenIdProviderInformation):
            return False

        return self.__dict__ == other.__dict__

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