# 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 GatewayForGetGatewayOutput(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 = {
        'comments': 'str',
        'create_time': 'str',
        'custom_log': 'CustomLogForGetGatewayOutput',
        'events': 'list[EventForGetGatewayOutput]',
        'id': 'str',
        'log_spec': 'LogSpecForGetGatewayOutput',
        'message': 'str',
        'monitor_spec': 'MonitorSpecForGetGatewayOutput',
        'name': 'str',
        'network_spec': 'NetworkSpecForGetGatewayOutput',
        'project_name': 'str',
        'region': 'str',
        'resource_spec': 'ResourceSpecForGetGatewayOutput',
        'status': 'str',
        'trace_spec': 'TraceSpecForGetGatewayOutput',
        'type': 'str',
        'version': 'str'
    }

    attribute_map = {
        'comments': 'Comments',
        'create_time': 'CreateTime',
        'custom_log': 'CustomLog',
        'events': 'Events',
        'id': 'Id',
        'log_spec': 'LogSpec',
        'message': 'Message',
        'monitor_spec': 'MonitorSpec',
        'name': 'Name',
        'network_spec': 'NetworkSpec',
        'project_name': 'ProjectName',
        'region': 'Region',
        'resource_spec': 'ResourceSpec',
        'status': 'Status',
        'trace_spec': 'TraceSpec',
        'type': 'Type',
        'version': 'Version'
    }

    def __init__(self, comments=None, create_time=None, custom_log=None, events=None, id=None, log_spec=None, message=None, monitor_spec=None, name=None, network_spec=None, project_name=None, region=None, resource_spec=None, status=None, trace_spec=None, type=None, version=None, _configuration=None):  # noqa: E501
        """GatewayForGetGatewayOutput - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._comments = None
        self._create_time = None
        self._custom_log = None
        self._events = None
        self._id = None
        self._log_spec = None
        self._message = None
        self._monitor_spec = None
        self._name = None
        self._network_spec = None
        self._project_name = None
        self._region = None
        self._resource_spec = None
        self._status = None
        self._trace_spec = None
        self._type = None
        self._version = None
        self.discriminator = None

        if comments is not None:
            self.comments = comments
        if create_time is not None:
            self.create_time = create_time
        if custom_log is not None:
            self.custom_log = custom_log
        if events is not None:
            self.events = events
        if id is not None:
            self.id = id
        if log_spec is not None:
            self.log_spec = log_spec
        if message is not None:
            self.message = message
        if monitor_spec is not None:
            self.monitor_spec = monitor_spec
        if name is not None:
            self.name = name
        if network_spec is not None:
            self.network_spec = network_spec
        if project_name is not None:
            self.project_name = project_name
        if region is not None:
            self.region = region
        if resource_spec is not None:
            self.resource_spec = resource_spec
        if status is not None:
            self.status = status
        if trace_spec is not None:
            self.trace_spec = trace_spec
        if type is not None:
            self.type = type
        if version is not None:
            self.version = version

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


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

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


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

        self._comments = comments

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


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

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


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

        self._create_time = create_time

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


        :return: The custom_log of this GatewayForGetGatewayOutput.  # noqa: E501
        :rtype: CustomLogForGetGatewayOutput
        """
        return self._custom_log

    @custom_log.setter
    def custom_log(self, custom_log):
        """Sets the custom_log of this GatewayForGetGatewayOutput.


        :param custom_log: The custom_log of this GatewayForGetGatewayOutput.  # noqa: E501
        :type: CustomLogForGetGatewayOutput
        """

        self._custom_log = custom_log

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


        :return: The events of this GatewayForGetGatewayOutput.  # noqa: E501
        :rtype: list[EventForGetGatewayOutput]
        """
        return self._events

    @events.setter
    def events(self, events):
        """Sets the events of this GatewayForGetGatewayOutput.


        :param events: The events of this GatewayForGetGatewayOutput.  # noqa: E501
        :type: list[EventForGetGatewayOutput]
        """

        self._events = events

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


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

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


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

        self._id = id

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


        :return: The log_spec of this GatewayForGetGatewayOutput.  # noqa: E501
        :rtype: LogSpecForGetGatewayOutput
        """
        return self._log_spec

    @log_spec.setter
    def log_spec(self, log_spec):
        """Sets the log_spec of this GatewayForGetGatewayOutput.


        :param log_spec: The log_spec of this GatewayForGetGatewayOutput.  # noqa: E501
        :type: LogSpecForGetGatewayOutput
        """

        self._log_spec = log_spec

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


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

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


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

        self._message = message

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


        :return: The monitor_spec of this GatewayForGetGatewayOutput.  # noqa: E501
        :rtype: MonitorSpecForGetGatewayOutput
        """
        return self._monitor_spec

    @monitor_spec.setter
    def monitor_spec(self, monitor_spec):
        """Sets the monitor_spec of this GatewayForGetGatewayOutput.


        :param monitor_spec: The monitor_spec of this GatewayForGetGatewayOutput.  # noqa: E501
        :type: MonitorSpecForGetGatewayOutput
        """

        self._monitor_spec = monitor_spec

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


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

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


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

        self._name = name

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


        :return: The network_spec of this GatewayForGetGatewayOutput.  # noqa: E501
        :rtype: NetworkSpecForGetGatewayOutput
        """
        return self._network_spec

    @network_spec.setter
    def network_spec(self, network_spec):
        """Sets the network_spec of this GatewayForGetGatewayOutput.


        :param network_spec: The network_spec of this GatewayForGetGatewayOutput.  # noqa: E501
        :type: NetworkSpecForGetGatewayOutput
        """

        self._network_spec = network_spec

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


        :return: The project_name of this GatewayForGetGatewayOutput.  # noqa: E501
        :rtype: str
        """
        return self._project_name

    @project_name.setter
    def project_name(self, project_name):
        """Sets the project_name of this GatewayForGetGatewayOutput.


        :param project_name: The project_name of this GatewayForGetGatewayOutput.  # noqa: E501
        :type: str
        """

        self._project_name = project_name

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


        :return: The region of this GatewayForGetGatewayOutput.  # noqa: E501
        :rtype: str
        """
        return self._region

    @region.setter
    def region(self, region):
        """Sets the region of this GatewayForGetGatewayOutput.


        :param region: The region of this GatewayForGetGatewayOutput.  # noqa: E501
        :type: str
        """

        self._region = region

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


        :return: The resource_spec of this GatewayForGetGatewayOutput.  # noqa: E501
        :rtype: ResourceSpecForGetGatewayOutput
        """
        return self._resource_spec

    @resource_spec.setter
    def resource_spec(self, resource_spec):
        """Sets the resource_spec of this GatewayForGetGatewayOutput.


        :param resource_spec: The resource_spec of this GatewayForGetGatewayOutput.  # noqa: E501
        :type: ResourceSpecForGetGatewayOutput
        """

        self._resource_spec = resource_spec

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


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

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


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

        self._status = status

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


        :return: The trace_spec of this GatewayForGetGatewayOutput.  # noqa: E501
        :rtype: TraceSpecForGetGatewayOutput
        """
        return self._trace_spec

    @trace_spec.setter
    def trace_spec(self, trace_spec):
        """Sets the trace_spec of this GatewayForGetGatewayOutput.


        :param trace_spec: The trace_spec of this GatewayForGetGatewayOutput.  # noqa: E501
        :type: TraceSpecForGetGatewayOutput
        """

        self._trace_spec = trace_spec

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


        :return: The type of this GatewayForGetGatewayOutput.  # noqa: E501
        :rtype: str
        """
        return self._type

    @type.setter
    def type(self, type):
        """Sets the type of this GatewayForGetGatewayOutput.


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

        self._type = type

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


        :return: The version of this GatewayForGetGatewayOutput.  # noqa: E501
        :rtype: str
        """
        return self._version

    @version.setter
    def version(self, version):
        """Sets the version of this GatewayForGetGatewayOutput.


        :param version: The version of this GatewayForGetGatewayOutput.  # noqa: E501
        :type: str
        """

        self._version = version

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

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