# coding: utf-8

"""
    gtm

    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 GetGtmResponse(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 = {
        'access_mode': 'str',
        'address_type': 'str',
        'alarm_id': 'str',
        'cname': 'str',
        'create_time': 'str',
        'created_time': 'str',
        'domain': 'str',
        'gtm_id': 'str',
        'last_operator': 'str',
        'owner': 'str',
        'policy_type': 'str',
        'project_name': 'str',
        'remark': 'str',
        'spec_name': 'str',
        'state': 'str',
        'ttl': 'int',
        'update_time': 'str',
        'updated_time': 'str',
        'zone_type': 'str'
    }

    attribute_map = {
        'access_mode': 'AccessMode',
        'address_type': 'AddressType',
        'alarm_id': 'AlarmId',
        'cname': 'Cname',
        'create_time': 'CreateTime',
        'created_time': 'CreatedTime',
        'domain': 'Domain',
        'gtm_id': 'GtmId',
        'last_operator': 'LastOperator',
        'owner': 'Owner',
        'policy_type': 'PolicyType',
        'project_name': 'ProjectName',
        'remark': 'Remark',
        'spec_name': 'SpecName',
        'state': 'State',
        'ttl': 'Ttl',
        'update_time': 'UpdateTime',
        'updated_time': 'UpdatedTime',
        'zone_type': 'ZoneType'
    }

    def __init__(self, access_mode=None, address_type=None, alarm_id=None, cname=None, create_time=None, created_time=None, domain=None, gtm_id=None, last_operator=None, owner=None, policy_type=None, project_name=None, remark=None, spec_name=None, state=None, ttl=None, update_time=None, updated_time=None, zone_type=None, _configuration=None):  # noqa: E501
        """GetGtmResponse - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._access_mode = None
        self._address_type = None
        self._alarm_id = None
        self._cname = None
        self._create_time = None
        self._created_time = None
        self._domain = None
        self._gtm_id = None
        self._last_operator = None
        self._owner = None
        self._policy_type = None
        self._project_name = None
        self._remark = None
        self._spec_name = None
        self._state = None
        self._ttl = None
        self._update_time = None
        self._updated_time = None
        self._zone_type = None
        self.discriminator = None

        if access_mode is not None:
            self.access_mode = access_mode
        if address_type is not None:
            self.address_type = address_type
        if alarm_id is not None:
            self.alarm_id = alarm_id
        if cname is not None:
            self.cname = cname
        if create_time is not None:
            self.create_time = create_time
        if created_time is not None:
            self.created_time = created_time
        if domain is not None:
            self.domain = domain
        if gtm_id is not None:
            self.gtm_id = gtm_id
        if last_operator is not None:
            self.last_operator = last_operator
        if owner is not None:
            self.owner = owner
        if policy_type is not None:
            self.policy_type = policy_type
        if project_name is not None:
            self.project_name = project_name
        if remark is not None:
            self.remark = remark
        if spec_name is not None:
            self.spec_name = spec_name
        if state is not None:
            self.state = state
        if ttl is not None:
            self.ttl = ttl
        if update_time is not None:
            self.update_time = update_time
        if updated_time is not None:
            self.updated_time = updated_time
        if zone_type is not None:
            self.zone_type = zone_type

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


        :return: The access_mode of this GetGtmResponse.  # noqa: E501
        :rtype: str
        """
        return self._access_mode

    @access_mode.setter
    def access_mode(self, access_mode):
        """Sets the access_mode of this GetGtmResponse.


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

        self._access_mode = access_mode

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


        :return: The address_type of this GetGtmResponse.  # noqa: E501
        :rtype: str
        """
        return self._address_type

    @address_type.setter
    def address_type(self, address_type):
        """Sets the address_type of this GetGtmResponse.


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

        self._address_type = address_type

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


        :return: The alarm_id of this GetGtmResponse.  # noqa: E501
        :rtype: str
        """
        return self._alarm_id

    @alarm_id.setter
    def alarm_id(self, alarm_id):
        """Sets the alarm_id of this GetGtmResponse.


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

        self._alarm_id = alarm_id

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


        :return: The cname of this GetGtmResponse.  # noqa: E501
        :rtype: str
        """
        return self._cname

    @cname.setter
    def cname(self, cname):
        """Sets the cname of this GetGtmResponse.


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

        self._cname = cname

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


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

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


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

        self._create_time = create_time

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


        :return: The created_time of this GetGtmResponse.  # noqa: E501
        :rtype: str
        """
        return self._created_time

    @created_time.setter
    def created_time(self, created_time):
        """Sets the created_time of this GetGtmResponse.


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

        self._created_time = created_time

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


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

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


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

        self._domain = domain

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


        :return: The gtm_id of this GetGtmResponse.  # noqa: E501
        :rtype: str
        """
        return self._gtm_id

    @gtm_id.setter
    def gtm_id(self, gtm_id):
        """Sets the gtm_id of this GetGtmResponse.


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

        self._gtm_id = gtm_id

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


        :return: The last_operator of this GetGtmResponse.  # noqa: E501
        :rtype: str
        """
        return self._last_operator

    @last_operator.setter
    def last_operator(self, last_operator):
        """Sets the last_operator of this GetGtmResponse.


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

        self._last_operator = last_operator

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


        :return: The owner of this GetGtmResponse.  # noqa: E501
        :rtype: str
        """
        return self._owner

    @owner.setter
    def owner(self, owner):
        """Sets the owner of this GetGtmResponse.


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

        self._owner = owner

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


        :return: The policy_type of this GetGtmResponse.  # noqa: E501
        :rtype: str
        """
        return self._policy_type

    @policy_type.setter
    def policy_type(self, policy_type):
        """Sets the policy_type of this GetGtmResponse.


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

        self._policy_type = policy_type

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


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

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


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

        self._project_name = project_name

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


        :return: The remark of this GetGtmResponse.  # noqa: E501
        :rtype: str
        """
        return self._remark

    @remark.setter
    def remark(self, remark):
        """Sets the remark of this GetGtmResponse.


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

        self._remark = remark

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


        :return: The spec_name of this GetGtmResponse.  # noqa: E501
        :rtype: str
        """
        return self._spec_name

    @spec_name.setter
    def spec_name(self, spec_name):
        """Sets the spec_name of this GetGtmResponse.


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

        self._spec_name = spec_name

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


        :return: The state of this GetGtmResponse.  # noqa: E501
        :rtype: str
        """
        return self._state

    @state.setter
    def state(self, state):
        """Sets the state of this GetGtmResponse.


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

        self._state = state

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


        :return: The ttl of this GetGtmResponse.  # noqa: E501
        :rtype: int
        """
        return self._ttl

    @ttl.setter
    def ttl(self, ttl):
        """Sets the ttl of this GetGtmResponse.


        :param ttl: The ttl of this GetGtmResponse.  # noqa: E501
        :type: int
        """

        self._ttl = ttl

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


        :return: The update_time of this GetGtmResponse.  # noqa: E501
        :rtype: str
        """
        return self._update_time

    @update_time.setter
    def update_time(self, update_time):
        """Sets the update_time of this GetGtmResponse.


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

        self._update_time = update_time

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


        :return: The updated_time of this GetGtmResponse.  # noqa: E501
        :rtype: str
        """
        return self._updated_time

    @updated_time.setter
    def updated_time(self, updated_time):
        """Sets the updated_time of this GetGtmResponse.


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

        self._updated_time = updated_time

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


        :return: The zone_type of this GetGtmResponse.  # noqa: E501
        :rtype: str
        """
        return self._zone_type

    @zone_type.setter
    def zone_type(self, zone_type):
        """Sets the zone_type of this GetGtmResponse.


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

        self._zone_type = zone_type

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

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