# coding: utf-8

"""
    apig

    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 GatewayServiceForGetGatewayServiceOutput(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 = {
        'auth_spec': 'AuthSpecForGetGatewayServiceOutput',
        'comments': 'str',
        'create_time': 'str',
        'custom_domains': 'list[CustomDomainForGetGatewayServiceOutput]',
        'domain_spec': 'DomainSpecForGetGatewayServiceOutput',
        'domains': 'list[DomainForGetGatewayServiceOutput]',
        'gateway_id': 'str',
        'gateway_name': 'str',
        'id': 'str',
        'message': 'str',
        'name': 'str',
        'protocol': 'list[str]',
        'service_type': 'str',
        'status': 'str'
    }

    attribute_map = {
        'auth_spec': 'AuthSpec',
        'comments': 'Comments',
        'create_time': 'CreateTime',
        'custom_domains': 'CustomDomains',
        'domain_spec': 'DomainSpec',
        'domains': 'Domains',
        'gateway_id': 'GatewayId',
        'gateway_name': 'GatewayName',
        'id': 'Id',
        'message': 'Message',
        'name': 'Name',
        'protocol': 'Protocol',
        'service_type': 'ServiceType',
        'status': 'Status'
    }

    def __init__(self, auth_spec=None, comments=None, create_time=None, custom_domains=None, domain_spec=None, domains=None, gateway_id=None, gateway_name=None, id=None, message=None, name=None, protocol=None, service_type=None, status=None, _configuration=None):  # noqa: E501
        """GatewayServiceForGetGatewayServiceOutput - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._auth_spec = None
        self._comments = None
        self._create_time = None
        self._custom_domains = None
        self._domain_spec = None
        self._domains = None
        self._gateway_id = None
        self._gateway_name = None
        self._id = None
        self._message = None
        self._name = None
        self._protocol = None
        self._service_type = None
        self._status = None
        self.discriminator = None

        if auth_spec is not None:
            self.auth_spec = auth_spec
        if comments is not None:
            self.comments = comments
        if create_time is not None:
            self.create_time = create_time
        if custom_domains is not None:
            self.custom_domains = custom_domains
        if domain_spec is not None:
            self.domain_spec = domain_spec
        if domains is not None:
            self.domains = domains
        if gateway_id is not None:
            self.gateway_id = gateway_id
        if gateway_name is not None:
            self.gateway_name = gateway_name
        if id is not None:
            self.id = id
        if message is not None:
            self.message = message
        if name is not None:
            self.name = name
        if protocol is not None:
            self.protocol = protocol
        if service_type is not None:
            self.service_type = service_type
        if status is not None:
            self.status = status

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


        :return: The auth_spec of this GatewayServiceForGetGatewayServiceOutput.  # noqa: E501
        :rtype: AuthSpecForGetGatewayServiceOutput
        """
        return self._auth_spec

    @auth_spec.setter
    def auth_spec(self, auth_spec):
        """Sets the auth_spec of this GatewayServiceForGetGatewayServiceOutput.


        :param auth_spec: The auth_spec of this GatewayServiceForGetGatewayServiceOutput.  # noqa: E501
        :type: AuthSpecForGetGatewayServiceOutput
        """

        self._auth_spec = auth_spec

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


        :return: The comments of this GatewayServiceForGetGatewayServiceOutput.  # noqa: E501
        :rtype: str
        """
        return self._comments

    @comments.setter
    def comments(self, comments):
        """Sets the comments of this GatewayServiceForGetGatewayServiceOutput.


        :param comments: The comments of this GatewayServiceForGetGatewayServiceOutput.  # noqa: E501
        :type: str
        """

        self._comments = comments

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


        :return: The create_time of this GatewayServiceForGetGatewayServiceOutput.  # noqa: E501
        :rtype: str
        """
        return self._create_time

    @create_time.setter
    def create_time(self, create_time):
        """Sets the create_time of this GatewayServiceForGetGatewayServiceOutput.


        :param create_time: The create_time of this GatewayServiceForGetGatewayServiceOutput.  # noqa: E501
        :type: str
        """

        self._create_time = create_time

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


        :return: The custom_domains of this GatewayServiceForGetGatewayServiceOutput.  # noqa: E501
        :rtype: list[CustomDomainForGetGatewayServiceOutput]
        """
        return self._custom_domains

    @custom_domains.setter
    def custom_domains(self, custom_domains):
        """Sets the custom_domains of this GatewayServiceForGetGatewayServiceOutput.


        :param custom_domains: The custom_domains of this GatewayServiceForGetGatewayServiceOutput.  # noqa: E501
        :type: list[CustomDomainForGetGatewayServiceOutput]
        """

        self._custom_domains = custom_domains

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


        :return: The domain_spec of this GatewayServiceForGetGatewayServiceOutput.  # noqa: E501
        :rtype: DomainSpecForGetGatewayServiceOutput
        """
        return self._domain_spec

    @domain_spec.setter
    def domain_spec(self, domain_spec):
        """Sets the domain_spec of this GatewayServiceForGetGatewayServiceOutput.


        :param domain_spec: The domain_spec of this GatewayServiceForGetGatewayServiceOutput.  # noqa: E501
        :type: DomainSpecForGetGatewayServiceOutput
        """

        self._domain_spec = domain_spec

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


        :return: The domains of this GatewayServiceForGetGatewayServiceOutput.  # noqa: E501
        :rtype: list[DomainForGetGatewayServiceOutput]
        """
        return self._domains

    @domains.setter
    def domains(self, domains):
        """Sets the domains of this GatewayServiceForGetGatewayServiceOutput.


        :param domains: The domains of this GatewayServiceForGetGatewayServiceOutput.  # noqa: E501
        :type: list[DomainForGetGatewayServiceOutput]
        """

        self._domains = domains

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


        :return: The gateway_id of this GatewayServiceForGetGatewayServiceOutput.  # noqa: E501
        :rtype: str
        """
        return self._gateway_id

    @gateway_id.setter
    def gateway_id(self, gateway_id):
        """Sets the gateway_id of this GatewayServiceForGetGatewayServiceOutput.


        :param gateway_id: The gateway_id of this GatewayServiceForGetGatewayServiceOutput.  # noqa: E501
        :type: str
        """

        self._gateway_id = gateway_id

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


        :return: The gateway_name of this GatewayServiceForGetGatewayServiceOutput.  # noqa: E501
        :rtype: str
        """
        return self._gateway_name

    @gateway_name.setter
    def gateway_name(self, gateway_name):
        """Sets the gateway_name of this GatewayServiceForGetGatewayServiceOutput.


        :param gateway_name: The gateway_name of this GatewayServiceForGetGatewayServiceOutput.  # noqa: E501
        :type: str
        """

        self._gateway_name = gateway_name

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


        :return: The id of this GatewayServiceForGetGatewayServiceOutput.  # noqa: E501
        :rtype: str
        """
        return self._id

    @id.setter
    def id(self, id):
        """Sets the id of this GatewayServiceForGetGatewayServiceOutput.


        :param id: The id of this GatewayServiceForGetGatewayServiceOutput.  # noqa: E501
        :type: str
        """

        self._id = id

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


        :return: The message of this GatewayServiceForGetGatewayServiceOutput.  # noqa: E501
        :rtype: str
        """
        return self._message

    @message.setter
    def message(self, message):
        """Sets the message of this GatewayServiceForGetGatewayServiceOutput.


        :param message: The message of this GatewayServiceForGetGatewayServiceOutput.  # noqa: E501
        :type: str
        """

        self._message = message

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


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

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


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

        self._name = name

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


        :return: The protocol of this GatewayServiceForGetGatewayServiceOutput.  # noqa: E501
        :rtype: list[str]
        """
        return self._protocol

    @protocol.setter
    def protocol(self, protocol):
        """Sets the protocol of this GatewayServiceForGetGatewayServiceOutput.


        :param protocol: The protocol of this GatewayServiceForGetGatewayServiceOutput.  # noqa: E501
        :type: list[str]
        """

        self._protocol = protocol

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


        :return: The service_type of this GatewayServiceForGetGatewayServiceOutput.  # noqa: E501
        :rtype: str
        """
        return self._service_type

    @service_type.setter
    def service_type(self, service_type):
        """Sets the service_type of this GatewayServiceForGetGatewayServiceOutput.


        :param service_type: The service_type of this GatewayServiceForGetGatewayServiceOutput.  # noqa: E501
        :type: str
        """

        self._service_type = service_type

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


        :return: The status of this GatewayServiceForGetGatewayServiceOutput.  # noqa: E501
        :rtype: str
        """
        return self._status

    @status.setter
    def status(self, status):
        """Sets the status of this GatewayServiceForGetGatewayServiceOutput.


        :param status: The status of this GatewayServiceForGetGatewayServiceOutput.  # noqa: E501
        :type: str
        """

        self._status = status

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

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