# coding: utf-8

"""
    vei_api

    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 ListHCINewRequest(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': 'str',
        'alias': 'str',
        'arch': 'int',
        'bind_from': 'str',
        'bind_orderby': 'int',
        'bind_to': 'str',
        'coprocessor': 'int',
        'hci_model_ref': 'str',
        'name': 'str',
        'node_group_i_ds': 'str',
        'page_index': 'int',
        'page_size': 'str',
        'project_id': 'str',
        'sn': 'str',
        'status': 'str',
        'tags': 'list[TagForListHCINewInput]'
    }

    attribute_map = {
        'account': 'account',
        'alias': 'alias',
        'arch': 'arch',
        'bind_from': 'bind_from',
        'bind_orderby': 'bind_orderby',
        'bind_to': 'bind_to',
        'coprocessor': 'coprocessor',
        'hci_model_ref': 'hci_model_ref',
        'name': 'name',
        'node_group_i_ds': 'nodeGroupIDs',
        'page_index': 'page_index',
        'page_size': 'page_size',
        'project_id': 'projectId',
        'sn': 'sn',
        'status': 'status',
        'tags': 'tags'
    }

    def __init__(self, account=None, alias=None, arch=None, bind_from=None, bind_orderby=None, bind_to=None, coprocessor=None, hci_model_ref=None, name=None, node_group_i_ds=None, page_index=None, page_size=None, project_id=None, sn=None, status=None, tags=None, _configuration=None):  # noqa: E501
        """ListHCINewRequest - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._account = None
        self._alias = None
        self._arch = None
        self._bind_from = None
        self._bind_orderby = None
        self._bind_to = None
        self._coprocessor = None
        self._hci_model_ref = None
        self._name = None
        self._node_group_i_ds = None
        self._page_index = None
        self._page_size = None
        self._project_id = None
        self._sn = None
        self._status = None
        self._tags = None
        self.discriminator = None

        if account is not None:
            self.account = account
        if alias is not None:
            self.alias = alias
        if arch is not None:
            self.arch = arch
        if bind_from is not None:
            self.bind_from = bind_from
        self.bind_orderby = bind_orderby
        if bind_to is not None:
            self.bind_to = bind_to
        if coprocessor is not None:
            self.coprocessor = coprocessor
        if hci_model_ref is not None:
            self.hci_model_ref = hci_model_ref
        self.name = name
        self.node_group_i_ds = node_group_i_ds
        self.page_index = page_index
        self.page_size = page_size
        self.project_id = project_id
        self.sn = sn
        if status is not None:
            self.status = status
        if tags is not None:
            self.tags = tags

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


        :return: The account of this ListHCINewRequest.  # noqa: E501
        :rtype: str
        """
        return self._account

    @account.setter
    def account(self, account):
        """Sets the account of this ListHCINewRequest.


        :param account: The account of this ListHCINewRequest.  # noqa: E501
        :type: str
        """

        self._account = account

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


        :return: The alias of this ListHCINewRequest.  # noqa: E501
        :rtype: str
        """
        return self._alias

    @alias.setter
    def alias(self, alias):
        """Sets the alias of this ListHCINewRequest.


        :param alias: The alias of this ListHCINewRequest.  # noqa: E501
        :type: str
        """

        self._alias = alias

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


        :return: The arch of this ListHCINewRequest.  # noqa: E501
        :rtype: int
        """
        return self._arch

    @arch.setter
    def arch(self, arch):
        """Sets the arch of this ListHCINewRequest.


        :param arch: The arch of this ListHCINewRequest.  # noqa: E501
        :type: int
        """

        self._arch = arch

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


        :return: The bind_from of this ListHCINewRequest.  # noqa: E501
        :rtype: str
        """
        return self._bind_from

    @bind_from.setter
    def bind_from(self, bind_from):
        """Sets the bind_from of this ListHCINewRequest.


        :param bind_from: The bind_from of this ListHCINewRequest.  # noqa: E501
        :type: str
        """

        self._bind_from = bind_from

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


        :return: The bind_orderby of this ListHCINewRequest.  # noqa: E501
        :rtype: int
        """
        return self._bind_orderby

    @bind_orderby.setter
    def bind_orderby(self, bind_orderby):
        """Sets the bind_orderby of this ListHCINewRequest.


        :param bind_orderby: The bind_orderby of this ListHCINewRequest.  # noqa: E501
        :type: int
        """
        if self._configuration.client_side_validation and bind_orderby is None:
            raise ValueError("Invalid value for `bind_orderby`, must not be `None`")  # noqa: E501

        self._bind_orderby = bind_orderby

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


        :return: The bind_to of this ListHCINewRequest.  # noqa: E501
        :rtype: str
        """
        return self._bind_to

    @bind_to.setter
    def bind_to(self, bind_to):
        """Sets the bind_to of this ListHCINewRequest.


        :param bind_to: The bind_to of this ListHCINewRequest.  # noqa: E501
        :type: str
        """

        self._bind_to = bind_to

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


        :return: The coprocessor of this ListHCINewRequest.  # noqa: E501
        :rtype: int
        """
        return self._coprocessor

    @coprocessor.setter
    def coprocessor(self, coprocessor):
        """Sets the coprocessor of this ListHCINewRequest.


        :param coprocessor: The coprocessor of this ListHCINewRequest.  # noqa: E501
        :type: int
        """

        self._coprocessor = coprocessor

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


        :return: The hci_model_ref of this ListHCINewRequest.  # noqa: E501
        :rtype: str
        """
        return self._hci_model_ref

    @hci_model_ref.setter
    def hci_model_ref(self, hci_model_ref):
        """Sets the hci_model_ref of this ListHCINewRequest.


        :param hci_model_ref: The hci_model_ref of this ListHCINewRequest.  # noqa: E501
        :type: str
        """

        self._hci_model_ref = hci_model_ref

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


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

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


        :param name: The name of this ListHCINewRequest.  # noqa: E501
        :type: str
        """
        if self._configuration.client_side_validation and name is None:
            raise ValueError("Invalid value for `name`, must not be `None`")  # noqa: E501

        self._name = name

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


        :return: The node_group_i_ds of this ListHCINewRequest.  # noqa: E501
        :rtype: str
        """
        return self._node_group_i_ds

    @node_group_i_ds.setter
    def node_group_i_ds(self, node_group_i_ds):
        """Sets the node_group_i_ds of this ListHCINewRequest.


        :param node_group_i_ds: The node_group_i_ds of this ListHCINewRequest.  # noqa: E501
        :type: str
        """
        if self._configuration.client_side_validation and node_group_i_ds is None:
            raise ValueError("Invalid value for `node_group_i_ds`, must not be `None`")  # noqa: E501

        self._node_group_i_ds = node_group_i_ds

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


        :return: The page_index of this ListHCINewRequest.  # noqa: E501
        :rtype: int
        """
        return self._page_index

    @page_index.setter
    def page_index(self, page_index):
        """Sets the page_index of this ListHCINewRequest.


        :param page_index: The page_index of this ListHCINewRequest.  # noqa: E501
        :type: int
        """
        if self._configuration.client_side_validation and page_index is None:
            raise ValueError("Invalid value for `page_index`, must not be `None`")  # noqa: E501

        self._page_index = page_index

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


        :return: The page_size of this ListHCINewRequest.  # noqa: E501
        :rtype: str
        """
        return self._page_size

    @page_size.setter
    def page_size(self, page_size):
        """Sets the page_size of this ListHCINewRequest.


        :param page_size: The page_size of this ListHCINewRequest.  # noqa: E501
        :type: str
        """
        if self._configuration.client_side_validation and page_size is None:
            raise ValueError("Invalid value for `page_size`, must not be `None`")  # noqa: E501

        self._page_size = page_size

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


        :return: The project_id of this ListHCINewRequest.  # noqa: E501
        :rtype: str
        """
        return self._project_id

    @project_id.setter
    def project_id(self, project_id):
        """Sets the project_id of this ListHCINewRequest.


        :param project_id: The project_id of this ListHCINewRequest.  # noqa: E501
        :type: str
        """
        if self._configuration.client_side_validation and project_id is None:
            raise ValueError("Invalid value for `project_id`, must not be `None`")  # noqa: E501

        self._project_id = project_id

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


        :return: The sn of this ListHCINewRequest.  # noqa: E501
        :rtype: str
        """
        return self._sn

    @sn.setter
    def sn(self, sn):
        """Sets the sn of this ListHCINewRequest.


        :param sn: The sn of this ListHCINewRequest.  # noqa: E501
        :type: str
        """
        if self._configuration.client_side_validation and sn is None:
            raise ValueError("Invalid value for `sn`, must not be `None`")  # noqa: E501

        self._sn = sn

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


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

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


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

        self._status = status

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


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

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


        :param tags: The tags of this ListHCINewRequest.  # noqa: E501
        :type: list[TagForListHCINewInput]
        """

        self._tags = tags

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

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