# coding: utf-8

"""
    rocketmq

    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 DescribeTopicDetailResponse(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 = {
        'created_time': 'int',
        'description': 'str',
        'instance_id': 'str',
        'instance_name': 'str',
        'instance_region': 'str',
        'message_type': 'str',
        'service_status': 'str',
        'topic_name': 'str',
        'topic_queue_number': 'int'
    }

    attribute_map = {
        'created_time': 'CreatedTime',
        'description': 'Description',
        'instance_id': 'InstanceId',
        'instance_name': 'InstanceName',
        'instance_region': 'InstanceRegion',
        'message_type': 'MessageType',
        'service_status': 'ServiceStatus',
        'topic_name': 'TopicName',
        'topic_queue_number': 'TopicQueueNumber'
    }

    def __init__(self, created_time=None, description=None, instance_id=None, instance_name=None, instance_region=None, message_type=None, service_status=None, topic_name=None, topic_queue_number=None, _configuration=None):  # noqa: E501
        """DescribeTopicDetailResponse - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._created_time = None
        self._description = None
        self._instance_id = None
        self._instance_name = None
        self._instance_region = None
        self._message_type = None
        self._service_status = None
        self._topic_name = None
        self._topic_queue_number = None
        self.discriminator = None

        if created_time is not None:
            self.created_time = created_time
        if description is not None:
            self.description = description
        if instance_id is not None:
            self.instance_id = instance_id
        if instance_name is not None:
            self.instance_name = instance_name
        if instance_region is not None:
            self.instance_region = instance_region
        if message_type is not None:
            self.message_type = message_type
        if service_status is not None:
            self.service_status = service_status
        if topic_name is not None:
            self.topic_name = topic_name
        if topic_queue_number is not None:
            self.topic_queue_number = topic_queue_number

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


        :return: The created_time of this DescribeTopicDetailResponse.  # noqa: E501
        :rtype: int
        """
        return self._created_time

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


        :param created_time: The created_time of this DescribeTopicDetailResponse.  # noqa: E501
        :type: int
        """

        self._created_time = created_time

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


        :return: The description of this DescribeTopicDetailResponse.  # noqa: E501
        :rtype: str
        """
        return self._description

    @description.setter
    def description(self, description):
        """Sets the description of this DescribeTopicDetailResponse.


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

        self._description = description

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


        :return: The instance_id of this DescribeTopicDetailResponse.  # noqa: E501
        :rtype: str
        """
        return self._instance_id

    @instance_id.setter
    def instance_id(self, instance_id):
        """Sets the instance_id of this DescribeTopicDetailResponse.


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

        self._instance_id = instance_id

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


        :return: The instance_name of this DescribeTopicDetailResponse.  # noqa: E501
        :rtype: str
        """
        return self._instance_name

    @instance_name.setter
    def instance_name(self, instance_name):
        """Sets the instance_name of this DescribeTopicDetailResponse.


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

        self._instance_name = instance_name

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


        :return: The instance_region of this DescribeTopicDetailResponse.  # noqa: E501
        :rtype: str
        """
        return self._instance_region

    @instance_region.setter
    def instance_region(self, instance_region):
        """Sets the instance_region of this DescribeTopicDetailResponse.


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

        self._instance_region = instance_region

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


        :return: The message_type of this DescribeTopicDetailResponse.  # noqa: E501
        :rtype: str
        """
        return self._message_type

    @message_type.setter
    def message_type(self, message_type):
        """Sets the message_type of this DescribeTopicDetailResponse.


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

        self._message_type = message_type

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


        :return: The service_status of this DescribeTopicDetailResponse.  # noqa: E501
        :rtype: str
        """
        return self._service_status

    @service_status.setter
    def service_status(self, service_status):
        """Sets the service_status of this DescribeTopicDetailResponse.


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

        self._service_status = service_status

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


        :return: The topic_name of this DescribeTopicDetailResponse.  # noqa: E501
        :rtype: str
        """
        return self._topic_name

    @topic_name.setter
    def topic_name(self, topic_name):
        """Sets the topic_name of this DescribeTopicDetailResponse.


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

        self._topic_name = topic_name

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


        :return: The topic_queue_number of this DescribeTopicDetailResponse.  # noqa: E501
        :rtype: int
        """
        return self._topic_queue_number

    @topic_queue_number.setter
    def topic_queue_number(self, topic_queue_number):
        """Sets the topic_queue_number of this DescribeTopicDetailResponse.


        :param topic_queue_number: The topic_queue_number of this DescribeTopicDetailResponse.  # noqa: E501
        :type: int
        """

        self._topic_queue_number = topic_queue_number

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

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