# coding: utf-8

"""
    acep

    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 DetailHostResponse(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 = {
        'account_id': 'str',
        'authority_expire_time': 'int',
        'authority_status': 'int',
        'charge_type': 'str',
        'configuration_code': 'str',
        'configuration_name': 'str',
        'create_at': 'int',
        'dc': 'str',
        'expire_at': 'int',
        'host_id': 'str',
        'pod_id_list': 'list[str]',
        'pod_num_available': 'int',
        'pod_num_on_host': 'int',
        'product_id': 'str',
        'region': 'str',
        'resource_set_id': 'str',
        'server_type_code': 'str',
        'status': 'int',
        'volc_region': 'str'
    }

    attribute_map = {
        'account_id': 'AccountId',
        'authority_expire_time': 'AuthorityExpireTime',
        'authority_status': 'AuthorityStatus',
        'charge_type': 'ChargeType',
        'configuration_code': 'ConfigurationCode',
        'configuration_name': 'ConfigurationName',
        'create_at': 'CreateAt',
        'dc': 'Dc',
        'expire_at': 'ExpireAt',
        'host_id': 'HostId',
        'pod_id_list': 'PodIdList',
        'pod_num_available': 'PodNumAvailable',
        'pod_num_on_host': 'PodNumOnHost',
        'product_id': 'ProductId',
        'region': 'Region',
        'resource_set_id': 'ResourceSetId',
        'server_type_code': 'ServerTypeCode',
        'status': 'Status',
        'volc_region': 'VolcRegion'
    }

    def __init__(self, account_id=None, authority_expire_time=None, authority_status=None, charge_type=None, configuration_code=None, configuration_name=None, create_at=None, dc=None, expire_at=None, host_id=None, pod_id_list=None, pod_num_available=None, pod_num_on_host=None, product_id=None, region=None, resource_set_id=None, server_type_code=None, status=None, volc_region=None, _configuration=None):  # noqa: E501
        """DetailHostResponse - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._account_id = None
        self._authority_expire_time = None
        self._authority_status = None
        self._charge_type = None
        self._configuration_code = None
        self._configuration_name = None
        self._create_at = None
        self._dc = None
        self._expire_at = None
        self._host_id = None
        self._pod_id_list = None
        self._pod_num_available = None
        self._pod_num_on_host = None
        self._product_id = None
        self._region = None
        self._resource_set_id = None
        self._server_type_code = None
        self._status = None
        self._volc_region = None
        self.discriminator = None

        if account_id is not None:
            self.account_id = account_id
        if authority_expire_time is not None:
            self.authority_expire_time = authority_expire_time
        if authority_status is not None:
            self.authority_status = authority_status
        if charge_type is not None:
            self.charge_type = charge_type
        if configuration_code is not None:
            self.configuration_code = configuration_code
        if configuration_name is not None:
            self.configuration_name = configuration_name
        if create_at is not None:
            self.create_at = create_at
        if dc is not None:
            self.dc = dc
        if expire_at is not None:
            self.expire_at = expire_at
        if host_id is not None:
            self.host_id = host_id
        if pod_id_list is not None:
            self.pod_id_list = pod_id_list
        if pod_num_available is not None:
            self.pod_num_available = pod_num_available
        if pod_num_on_host is not None:
            self.pod_num_on_host = pod_num_on_host
        if product_id is not None:
            self.product_id = product_id
        if region is not None:
            self.region = region
        if resource_set_id is not None:
            self.resource_set_id = resource_set_id
        if server_type_code is not None:
            self.server_type_code = server_type_code
        if status is not None:
            self.status = status
        if volc_region is not None:
            self.volc_region = volc_region

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


        :return: The account_id of this DetailHostResponse.  # noqa: E501
        :rtype: str
        """
        return self._account_id

    @account_id.setter
    def account_id(self, account_id):
        """Sets the account_id of this DetailHostResponse.


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

        self._account_id = account_id

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


        :return: The authority_expire_time of this DetailHostResponse.  # noqa: E501
        :rtype: int
        """
        return self._authority_expire_time

    @authority_expire_time.setter
    def authority_expire_time(self, authority_expire_time):
        """Sets the authority_expire_time of this DetailHostResponse.


        :param authority_expire_time: The authority_expire_time of this DetailHostResponse.  # noqa: E501
        :type: int
        """

        self._authority_expire_time = authority_expire_time

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


        :return: The authority_status of this DetailHostResponse.  # noqa: E501
        :rtype: int
        """
        return self._authority_status

    @authority_status.setter
    def authority_status(self, authority_status):
        """Sets the authority_status of this DetailHostResponse.


        :param authority_status: The authority_status of this DetailHostResponse.  # noqa: E501
        :type: int
        """

        self._authority_status = authority_status

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


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

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


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

        self._charge_type = charge_type

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


        :return: The configuration_code of this DetailHostResponse.  # noqa: E501
        :rtype: str
        """
        return self._configuration_code

    @configuration_code.setter
    def configuration_code(self, configuration_code):
        """Sets the configuration_code of this DetailHostResponse.


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

        self._configuration_code = configuration_code

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


        :return: The configuration_name of this DetailHostResponse.  # noqa: E501
        :rtype: str
        """
        return self._configuration_name

    @configuration_name.setter
    def configuration_name(self, configuration_name):
        """Sets the configuration_name of this DetailHostResponse.


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

        self._configuration_name = configuration_name

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


        :return: The create_at of this DetailHostResponse.  # noqa: E501
        :rtype: int
        """
        return self._create_at

    @create_at.setter
    def create_at(self, create_at):
        """Sets the create_at of this DetailHostResponse.


        :param create_at: The create_at of this DetailHostResponse.  # noqa: E501
        :type: int
        """

        self._create_at = create_at

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


        :return: The dc of this DetailHostResponse.  # noqa: E501
        :rtype: str
        """
        return self._dc

    @dc.setter
    def dc(self, dc):
        """Sets the dc of this DetailHostResponse.


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

        self._dc = dc

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


        :return: The expire_at of this DetailHostResponse.  # noqa: E501
        :rtype: int
        """
        return self._expire_at

    @expire_at.setter
    def expire_at(self, expire_at):
        """Sets the expire_at of this DetailHostResponse.


        :param expire_at: The expire_at of this DetailHostResponse.  # noqa: E501
        :type: int
        """

        self._expire_at = expire_at

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


        :return: The host_id of this DetailHostResponse.  # noqa: E501
        :rtype: str
        """
        return self._host_id

    @host_id.setter
    def host_id(self, host_id):
        """Sets the host_id of this DetailHostResponse.


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

        self._host_id = host_id

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


        :return: The pod_id_list of this DetailHostResponse.  # noqa: E501
        :rtype: list[str]
        """
        return self._pod_id_list

    @pod_id_list.setter
    def pod_id_list(self, pod_id_list):
        """Sets the pod_id_list of this DetailHostResponse.


        :param pod_id_list: The pod_id_list of this DetailHostResponse.  # noqa: E501
        :type: list[str]
        """

        self._pod_id_list = pod_id_list

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


        :return: The pod_num_available of this DetailHostResponse.  # noqa: E501
        :rtype: int
        """
        return self._pod_num_available

    @pod_num_available.setter
    def pod_num_available(self, pod_num_available):
        """Sets the pod_num_available of this DetailHostResponse.


        :param pod_num_available: The pod_num_available of this DetailHostResponse.  # noqa: E501
        :type: int
        """

        self._pod_num_available = pod_num_available

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


        :return: The pod_num_on_host of this DetailHostResponse.  # noqa: E501
        :rtype: int
        """
        return self._pod_num_on_host

    @pod_num_on_host.setter
    def pod_num_on_host(self, pod_num_on_host):
        """Sets the pod_num_on_host of this DetailHostResponse.


        :param pod_num_on_host: The pod_num_on_host of this DetailHostResponse.  # noqa: E501
        :type: int
        """

        self._pod_num_on_host = pod_num_on_host

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


        :return: The product_id of this DetailHostResponse.  # noqa: E501
        :rtype: str
        """
        return self._product_id

    @product_id.setter
    def product_id(self, product_id):
        """Sets the product_id of this DetailHostResponse.


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

        self._product_id = product_id

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


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

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


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

        self._region = region

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


        :return: The resource_set_id of this DetailHostResponse.  # noqa: E501
        :rtype: str
        """
        return self._resource_set_id

    @resource_set_id.setter
    def resource_set_id(self, resource_set_id):
        """Sets the resource_set_id of this DetailHostResponse.


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

        self._resource_set_id = resource_set_id

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


        :return: The server_type_code of this DetailHostResponse.  # noqa: E501
        :rtype: str
        """
        return self._server_type_code

    @server_type_code.setter
    def server_type_code(self, server_type_code):
        """Sets the server_type_code of this DetailHostResponse.


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

        self._server_type_code = server_type_code

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


        :return: The status of this DetailHostResponse.  # noqa: E501
        :rtype: int
        """
        return self._status

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


        :param status: The status of this DetailHostResponse.  # noqa: E501
        :type: int
        """

        self._status = status

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


        :return: The volc_region of this DetailHostResponse.  # noqa: E501
        :rtype: str
        """
        return self._volc_region

    @volc_region.setter
    def volc_region(self, volc_region):
        """Sets the volc_region of this DetailHostResponse.


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

        self._volc_region = volc_region

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

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