# coding: utf-8

"""
    clb

    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 DomainExtensionForDescribeListenersOutput(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 = {
        'cert_center_certificate_id': 'str',
        'certificate_source': 'str',
        'domain': 'str',
        'domain_extension_id': 'str'
    }

    attribute_map = {
        'cert_center_certificate_id': 'CertCenterCertificateId',
        'certificate_source': 'CertificateSource',
        'domain': 'Domain',
        'domain_extension_id': 'DomainExtensionId'
    }

    def __init__(self, cert_center_certificate_id=None, certificate_source=None, domain=None, domain_extension_id=None, _configuration=None):  # noqa: E501
        """DomainExtensionForDescribeListenersOutput - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._cert_center_certificate_id = None
        self._certificate_source = None
        self._domain = None
        self._domain_extension_id = None
        self.discriminator = None

        if cert_center_certificate_id is not None:
            self.cert_center_certificate_id = cert_center_certificate_id
        if certificate_source is not None:
            self.certificate_source = certificate_source
        if domain is not None:
            self.domain = domain
        if domain_extension_id is not None:
            self.domain_extension_id = domain_extension_id

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


        :return: The cert_center_certificate_id of this DomainExtensionForDescribeListenersOutput.  # noqa: E501
        :rtype: str
        """
        return self._cert_center_certificate_id

    @cert_center_certificate_id.setter
    def cert_center_certificate_id(self, cert_center_certificate_id):
        """Sets the cert_center_certificate_id of this DomainExtensionForDescribeListenersOutput.


        :param cert_center_certificate_id: The cert_center_certificate_id of this DomainExtensionForDescribeListenersOutput.  # noqa: E501
        :type: str
        """

        self._cert_center_certificate_id = cert_center_certificate_id

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


        :return: The certificate_source of this DomainExtensionForDescribeListenersOutput.  # noqa: E501
        :rtype: str
        """
        return self._certificate_source

    @certificate_source.setter
    def certificate_source(self, certificate_source):
        """Sets the certificate_source of this DomainExtensionForDescribeListenersOutput.


        :param certificate_source: The certificate_source of this DomainExtensionForDescribeListenersOutput.  # noqa: E501
        :type: str
        """

        self._certificate_source = certificate_source

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


        :return: The domain of this DomainExtensionForDescribeListenersOutput.  # noqa: E501
        :rtype: str
        """
        return self._domain

    @domain.setter
    def domain(self, domain):
        """Sets the domain of this DomainExtensionForDescribeListenersOutput.


        :param domain: The domain of this DomainExtensionForDescribeListenersOutput.  # noqa: E501
        :type: str
        """

        self._domain = domain

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


        :return: The domain_extension_id of this DomainExtensionForDescribeListenersOutput.  # noqa: E501
        :rtype: str
        """
        return self._domain_extension_id

    @domain_extension_id.setter
    def domain_extension_id(self, domain_extension_id):
        """Sets the domain_extension_id of this DomainExtensionForDescribeListenersOutput.


        :param domain_extension_id: The domain_extension_id of this DomainExtensionForDescribeListenersOutput.  # noqa: E501
        :type: str
        """

        self._domain_extension_id = domain_extension_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(DomainExtensionForDescribeListenersOutput, 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, DomainExtensionForDescribeListenersOutput):
            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, DomainExtensionForDescribeListenersOutput):
            return True

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