# coding: utf-8

"""
    bmq

    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 ItemForSearchInstancesOutput(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_enabled': 'bool',
        'billing_type': 'str',
        'create_time': 'str',
        'description': 'str',
        'expiration_time': 'str',
        'instance_id': 'str',
        'message_retention': 'int',
        'name': 'str',
        'region_id': 'str',
        'resource_tags': 'list[ResourceTagForSearchInstancesOutput]',
        'specification': 'str',
        'status': 'str',
        'tags': 'list[TagForSearchInstancesOutput]',
        'vpc_id': 'str',
        'zone_id_list': 'list[str]'
    }

    attribute_map = {
        'auth_enabled': 'AuthEnabled',
        'billing_type': 'BillingType',
        'create_time': 'CreateTime',
        'description': 'Description',
        'expiration_time': 'ExpirationTime',
        'instance_id': 'InstanceId',
        'message_retention': 'MessageRetention',
        'name': 'Name',
        'region_id': 'RegionId',
        'resource_tags': 'ResourceTags',
        'specification': 'Specification',
        'status': 'Status',
        'tags': 'Tags',
        'vpc_id': 'VpcId',
        'zone_id_list': 'ZoneIdList'
    }

    def __init__(self, auth_enabled=None, billing_type=None, create_time=None, description=None, expiration_time=None, instance_id=None, message_retention=None, name=None, region_id=None, resource_tags=None, specification=None, status=None, tags=None, vpc_id=None, zone_id_list=None, _configuration=None):  # noqa: E501
        """ItemForSearchInstancesOutput - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._auth_enabled = None
        self._billing_type = None
        self._create_time = None
        self._description = None
        self._expiration_time = None
        self._instance_id = None
        self._message_retention = None
        self._name = None
        self._region_id = None
        self._resource_tags = None
        self._specification = None
        self._status = None
        self._tags = None
        self._vpc_id = None
        self._zone_id_list = None
        self.discriminator = None

        if auth_enabled is not None:
            self.auth_enabled = auth_enabled
        if billing_type is not None:
            self.billing_type = billing_type
        if create_time is not None:
            self.create_time = create_time
        if description is not None:
            self.description = description
        if expiration_time is not None:
            self.expiration_time = expiration_time
        if instance_id is not None:
            self.instance_id = instance_id
        if message_retention is not None:
            self.message_retention = message_retention
        if name is not None:
            self.name = name
        if region_id is not None:
            self.region_id = region_id
        if resource_tags is not None:
            self.resource_tags = resource_tags
        if specification is not None:
            self.specification = specification
        if status is not None:
            self.status = status
        if tags is not None:
            self.tags = tags
        if vpc_id is not None:
            self.vpc_id = vpc_id
        if zone_id_list is not None:
            self.zone_id_list = zone_id_list

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


        :return: The auth_enabled of this ItemForSearchInstancesOutput.  # noqa: E501
        :rtype: bool
        """
        return self._auth_enabled

    @auth_enabled.setter
    def auth_enabled(self, auth_enabled):
        """Sets the auth_enabled of this ItemForSearchInstancesOutput.


        :param auth_enabled: The auth_enabled of this ItemForSearchInstancesOutput.  # noqa: E501
        :type: bool
        """

        self._auth_enabled = auth_enabled

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


        :return: The billing_type of this ItemForSearchInstancesOutput.  # noqa: E501
        :rtype: str
        """
        return self._billing_type

    @billing_type.setter
    def billing_type(self, billing_type):
        """Sets the billing_type of this ItemForSearchInstancesOutput.


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

        self._billing_type = billing_type

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


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

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


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

        self._create_time = create_time

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


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

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


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

        self._description = description

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


        :return: The expiration_time of this ItemForSearchInstancesOutput.  # noqa: E501
        :rtype: str
        """
        return self._expiration_time

    @expiration_time.setter
    def expiration_time(self, expiration_time):
        """Sets the expiration_time of this ItemForSearchInstancesOutput.


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

        self._expiration_time = expiration_time

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


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

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


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

        self._instance_id = instance_id

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


        :return: The message_retention of this ItemForSearchInstancesOutput.  # noqa: E501
        :rtype: int
        """
        return self._message_retention

    @message_retention.setter
    def message_retention(self, message_retention):
        """Sets the message_retention of this ItemForSearchInstancesOutput.


        :param message_retention: The message_retention of this ItemForSearchInstancesOutput.  # noqa: E501
        :type: int
        """

        self._message_retention = message_retention

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


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

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


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

        self._name = name

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


        :return: The region_id of this ItemForSearchInstancesOutput.  # noqa: E501
        :rtype: str
        """
        return self._region_id

    @region_id.setter
    def region_id(self, region_id):
        """Sets the region_id of this ItemForSearchInstancesOutput.


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

        self._region_id = region_id

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


        :return: The resource_tags of this ItemForSearchInstancesOutput.  # noqa: E501
        :rtype: list[ResourceTagForSearchInstancesOutput]
        """
        return self._resource_tags

    @resource_tags.setter
    def resource_tags(self, resource_tags):
        """Sets the resource_tags of this ItemForSearchInstancesOutput.


        :param resource_tags: The resource_tags of this ItemForSearchInstancesOutput.  # noqa: E501
        :type: list[ResourceTagForSearchInstancesOutput]
        """

        self._resource_tags = resource_tags

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


        :return: The specification of this ItemForSearchInstancesOutput.  # noqa: E501
        :rtype: str
        """
        return self._specification

    @specification.setter
    def specification(self, specification):
        """Sets the specification of this ItemForSearchInstancesOutput.


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

        self._specification = specification

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


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

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


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

        self._status = status

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


        :return: The tags of this ItemForSearchInstancesOutput.  # noqa: E501
        :rtype: list[TagForSearchInstancesOutput]
        """
        return self._tags

    @tags.setter
    def tags(self, tags):
        """Sets the tags of this ItemForSearchInstancesOutput.


        :param tags: The tags of this ItemForSearchInstancesOutput.  # noqa: E501
        :type: list[TagForSearchInstancesOutput]
        """

        self._tags = tags

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


        :return: The vpc_id of this ItemForSearchInstancesOutput.  # noqa: E501
        :rtype: str
        """
        return self._vpc_id

    @vpc_id.setter
    def vpc_id(self, vpc_id):
        """Sets the vpc_id of this ItemForSearchInstancesOutput.


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

        self._vpc_id = vpc_id

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


        :return: The zone_id_list of this ItemForSearchInstancesOutput.  # noqa: E501
        :rtype: list[str]
        """
        return self._zone_id_list

    @zone_id_list.setter
    def zone_id_list(self, zone_id_list):
        """Sets the zone_id_list of this ItemForSearchInstancesOutput.


        :param zone_id_list: The zone_id_list of this ItemForSearchInstancesOutput.  # noqa: E501
        :type: list[str]
        """

        self._zone_id_list = zone_id_list

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

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