# coding: utf-8

"""
    hbase

    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 InstanceForDescribeDBInstancesOutput(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 = {
        'charge_type': 'str',
        'create_time': 'str',
        'db_instance_endpoint': 'list[DBInstanceEndpointForDescribeDBInstancesOutput]',
        'deletion_protection': 'str',
        'engine_version': 'str',
        'expire_time': 'str',
        'instance_id': 'str',
        'instance_name': 'str',
        'instance_type': 'str',
        'multi_az': 'bool',
        'project_name': 'str',
        'rs_count': 'int',
        'region_id': 'str',
        'standby_used_storage': 'float',
        'status': 'str',
        'storage_capacity': 'int',
        'storage_type': 'str',
        'subnet_id': 'str',
        'tags': 'list[TagForDescribeDBInstancesOutput]',
        'used_storage': 'float',
        'vpc_id': 'str',
        'vpc_name': 'str',
        'zone_id': 'str',
        'zone_name': 'str'
    }

    attribute_map = {
        'charge_type': 'ChargeType',
        'create_time': 'CreateTime',
        'db_instance_endpoint': 'DBInstanceEndpoint',
        'deletion_protection': 'DeletionProtection',
        'engine_version': 'EngineVersion',
        'expire_time': 'ExpireTime',
        'instance_id': 'InstanceId',
        'instance_name': 'InstanceName',
        'instance_type': 'InstanceType',
        'multi_az': 'MultiAZ',
        'project_name': 'ProjectName',
        'rs_count': 'RSCount',
        'region_id': 'RegionId',
        'standby_used_storage': 'StandbyUsedStorage',
        'status': 'Status',
        'storage_capacity': 'StorageCapacity',
        'storage_type': 'StorageType',
        'subnet_id': 'SubnetId',
        'tags': 'Tags',
        'used_storage': 'UsedStorage',
        'vpc_id': 'VpcId',
        'vpc_name': 'VpcName',
        'zone_id': 'ZoneId',
        'zone_name': 'ZoneName'
    }

    def __init__(self, charge_type=None, create_time=None, db_instance_endpoint=None, deletion_protection=None, engine_version=None, expire_time=None, instance_id=None, instance_name=None, instance_type=None, multi_az=None, project_name=None, rs_count=None, region_id=None, standby_used_storage=None, status=None, storage_capacity=None, storage_type=None, subnet_id=None, tags=None, used_storage=None, vpc_id=None, vpc_name=None, zone_id=None, zone_name=None, _configuration=None):  # noqa: E501
        """InstanceForDescribeDBInstancesOutput - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._charge_type = None
        self._create_time = None
        self._db_instance_endpoint = None
        self._deletion_protection = None
        self._engine_version = None
        self._expire_time = None
        self._instance_id = None
        self._instance_name = None
        self._instance_type = None
        self._multi_az = None
        self._project_name = None
        self._rs_count = None
        self._region_id = None
        self._standby_used_storage = None
        self._status = None
        self._storage_capacity = None
        self._storage_type = None
        self._subnet_id = None
        self._tags = None
        self._used_storage = None
        self._vpc_id = None
        self._vpc_name = None
        self._zone_id = None
        self._zone_name = None
        self.discriminator = None

        if charge_type is not None:
            self.charge_type = charge_type
        if create_time is not None:
            self.create_time = create_time
        if db_instance_endpoint is not None:
            self.db_instance_endpoint = db_instance_endpoint
        if deletion_protection is not None:
            self.deletion_protection = deletion_protection
        if engine_version is not None:
            self.engine_version = engine_version
        if expire_time is not None:
            self.expire_time = expire_time
        if instance_id is not None:
            self.instance_id = instance_id
        if instance_name is not None:
            self.instance_name = instance_name
        if instance_type is not None:
            self.instance_type = instance_type
        if multi_az is not None:
            self.multi_az = multi_az
        if project_name is not None:
            self.project_name = project_name
        if rs_count is not None:
            self.rs_count = rs_count
        if region_id is not None:
            self.region_id = region_id
        if standby_used_storage is not None:
            self.standby_used_storage = standby_used_storage
        if status is not None:
            self.status = status
        if storage_capacity is not None:
            self.storage_capacity = storage_capacity
        if storage_type is not None:
            self.storage_type = storage_type
        if subnet_id is not None:
            self.subnet_id = subnet_id
        if tags is not None:
            self.tags = tags
        if used_storage is not None:
            self.used_storage = used_storage
        if vpc_id is not None:
            self.vpc_id = vpc_id
        if vpc_name is not None:
            self.vpc_name = vpc_name
        if zone_id is not None:
            self.zone_id = zone_id
        if zone_name is not None:
            self.zone_name = zone_name

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


        :return: The charge_type of this InstanceForDescribeDBInstancesOutput.  # noqa: E501
        :rtype: str
        """
        return self._charge_type

    @charge_type.setter
    def charge_type(self, charge_type):
        """Sets the charge_type of this InstanceForDescribeDBInstancesOutput.


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

        self._charge_type = charge_type

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


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

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


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

        self._create_time = create_time

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


        :return: The db_instance_endpoint of this InstanceForDescribeDBInstancesOutput.  # noqa: E501
        :rtype: list[DBInstanceEndpointForDescribeDBInstancesOutput]
        """
        return self._db_instance_endpoint

    @db_instance_endpoint.setter
    def db_instance_endpoint(self, db_instance_endpoint):
        """Sets the db_instance_endpoint of this InstanceForDescribeDBInstancesOutput.


        :param db_instance_endpoint: The db_instance_endpoint of this InstanceForDescribeDBInstancesOutput.  # noqa: E501
        :type: list[DBInstanceEndpointForDescribeDBInstancesOutput]
        """

        self._db_instance_endpoint = db_instance_endpoint

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


        :return: The deletion_protection of this InstanceForDescribeDBInstancesOutput.  # noqa: E501
        :rtype: str
        """
        return self._deletion_protection

    @deletion_protection.setter
    def deletion_protection(self, deletion_protection):
        """Sets the deletion_protection of this InstanceForDescribeDBInstancesOutput.


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

        self._deletion_protection = deletion_protection

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


        :return: The engine_version of this InstanceForDescribeDBInstancesOutput.  # noqa: E501
        :rtype: str
        """
        return self._engine_version

    @engine_version.setter
    def engine_version(self, engine_version):
        """Sets the engine_version of this InstanceForDescribeDBInstancesOutput.


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

        self._engine_version = engine_version

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


        :return: The expire_time of this InstanceForDescribeDBInstancesOutput.  # noqa: E501
        :rtype: str
        """
        return self._expire_time

    @expire_time.setter
    def expire_time(self, expire_time):
        """Sets the expire_time of this InstanceForDescribeDBInstancesOutput.


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

        self._expire_time = expire_time

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


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

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


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

        self._instance_id = instance_id

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


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

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


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

        self._instance_name = instance_name

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


        :return: The instance_type of this InstanceForDescribeDBInstancesOutput.  # noqa: E501
        :rtype: str
        """
        return self._instance_type

    @instance_type.setter
    def instance_type(self, instance_type):
        """Sets the instance_type of this InstanceForDescribeDBInstancesOutput.


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

        self._instance_type = instance_type

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


        :return: The multi_az of this InstanceForDescribeDBInstancesOutput.  # noqa: E501
        :rtype: bool
        """
        return self._multi_az

    @multi_az.setter
    def multi_az(self, multi_az):
        """Sets the multi_az of this InstanceForDescribeDBInstancesOutput.


        :param multi_az: The multi_az of this InstanceForDescribeDBInstancesOutput.  # noqa: E501
        :type: bool
        """

        self._multi_az = multi_az

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


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

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


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

        self._project_name = project_name

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


        :return: The rs_count of this InstanceForDescribeDBInstancesOutput.  # noqa: E501
        :rtype: int
        """
        return self._rs_count

    @rs_count.setter
    def rs_count(self, rs_count):
        """Sets the rs_count of this InstanceForDescribeDBInstancesOutput.


        :param rs_count: The rs_count of this InstanceForDescribeDBInstancesOutput.  # noqa: E501
        :type: int
        """

        self._rs_count = rs_count

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


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

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


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

        self._region_id = region_id

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


        :return: The standby_used_storage of this InstanceForDescribeDBInstancesOutput.  # noqa: E501
        :rtype: float
        """
        return self._standby_used_storage

    @standby_used_storage.setter
    def standby_used_storage(self, standby_used_storage):
        """Sets the standby_used_storage of this InstanceForDescribeDBInstancesOutput.


        :param standby_used_storage: The standby_used_storage of this InstanceForDescribeDBInstancesOutput.  # noqa: E501
        :type: float
        """

        self._standby_used_storage = standby_used_storage

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


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

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


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

        self._status = status

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


        :return: The storage_capacity of this InstanceForDescribeDBInstancesOutput.  # noqa: E501
        :rtype: int
        """
        return self._storage_capacity

    @storage_capacity.setter
    def storage_capacity(self, storage_capacity):
        """Sets the storage_capacity of this InstanceForDescribeDBInstancesOutput.


        :param storage_capacity: The storage_capacity of this InstanceForDescribeDBInstancesOutput.  # noqa: E501
        :type: int
        """

        self._storage_capacity = storage_capacity

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


        :return: The storage_type of this InstanceForDescribeDBInstancesOutput.  # noqa: E501
        :rtype: str
        """
        return self._storage_type

    @storage_type.setter
    def storage_type(self, storage_type):
        """Sets the storage_type of this InstanceForDescribeDBInstancesOutput.


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

        self._storage_type = storage_type

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


        :return: The subnet_id of this InstanceForDescribeDBInstancesOutput.  # noqa: E501
        :rtype: str
        """
        return self._subnet_id

    @subnet_id.setter
    def subnet_id(self, subnet_id):
        """Sets the subnet_id of this InstanceForDescribeDBInstancesOutput.


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

        self._subnet_id = subnet_id

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


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

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


        :param tags: The tags of this InstanceForDescribeDBInstancesOutput.  # noqa: E501
        :type: list[TagForDescribeDBInstancesOutput]
        """

        self._tags = tags

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


        :return: The used_storage of this InstanceForDescribeDBInstancesOutput.  # noqa: E501
        :rtype: float
        """
        return self._used_storage

    @used_storage.setter
    def used_storage(self, used_storage):
        """Sets the used_storage of this InstanceForDescribeDBInstancesOutput.


        :param used_storage: The used_storage of this InstanceForDescribeDBInstancesOutput.  # noqa: E501
        :type: float
        """

        self._used_storage = used_storage

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


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

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


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

        self._vpc_id = vpc_id

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


        :return: The vpc_name of this InstanceForDescribeDBInstancesOutput.  # noqa: E501
        :rtype: str
        """
        return self._vpc_name

    @vpc_name.setter
    def vpc_name(self, vpc_name):
        """Sets the vpc_name of this InstanceForDescribeDBInstancesOutput.


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

        self._vpc_name = vpc_name

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


        :return: The zone_id of this InstanceForDescribeDBInstancesOutput.  # noqa: E501
        :rtype: str
        """
        return self._zone_id

    @zone_id.setter
    def zone_id(self, zone_id):
        """Sets the zone_id of this InstanceForDescribeDBInstancesOutput.


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

        self._zone_id = zone_id

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


        :return: The zone_name of this InstanceForDescribeDBInstancesOutput.  # noqa: E501
        :rtype: str
        """
        return self._zone_name

    @zone_name.setter
    def zone_name(self, zone_name):
        """Sets the zone_name of this InstanceForDescribeDBInstancesOutput.


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

        self._zone_name = zone_name

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

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