# 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 ListDeviceRequest(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_orderby': 'int',
        'driver_template_name': 'list[str]',
        'node_name': 'list[str]',
        'page_index': 'int',
        'page_size': 'int',
        'profile_category': 'list[str]',
        'project_id': 'list[str]',
        'status': 'list[int]',
        'tags': 'list[TagForListDeviceInput]',
        'updated_orderby': 'int',
        'vague_device_name': 'str'
    }

    attribute_map = {
        'created_orderby': 'created_orderby',
        'driver_template_name': 'driver_template_name',
        'node_name': 'node_name',
        'page_index': 'page_index',
        'page_size': 'page_size',
        'profile_category': 'profile_category',
        'project_id': 'project_id',
        'status': 'status',
        'tags': 'tags',
        'updated_orderby': 'updated_orderby',
        'vague_device_name': 'vague_device_name'
    }

    def __init__(self, created_orderby=None, driver_template_name=None, node_name=None, page_index=None, page_size=None, profile_category=None, project_id=None, status=None, tags=None, updated_orderby=None, vague_device_name=None, _configuration=None):  # noqa: E501
        """ListDeviceRequest - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._created_orderby = None
        self._driver_template_name = None
        self._node_name = None
        self._page_index = None
        self._page_size = None
        self._profile_category = None
        self._project_id = None
        self._status = None
        self._tags = None
        self._updated_orderby = None
        self._vague_device_name = None
        self.discriminator = None

        if created_orderby is not None:
            self.created_orderby = created_orderby
        if driver_template_name is not None:
            self.driver_template_name = driver_template_name
        if node_name is not None:
            self.node_name = node_name
        self.page_index = page_index
        self.page_size = page_size
        if profile_category is not None:
            self.profile_category = profile_category
        if project_id is not None:
            self.project_id = project_id
        if status is not None:
            self.status = status
        if tags is not None:
            self.tags = tags
        if updated_orderby is not None:
            self.updated_orderby = updated_orderby
        if vague_device_name is not None:
            self.vague_device_name = vague_device_name

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


        :return: The created_orderby of this ListDeviceRequest.  # noqa: E501
        :rtype: int
        """
        return self._created_orderby

    @created_orderby.setter
    def created_orderby(self, created_orderby):
        """Sets the created_orderby of this ListDeviceRequest.


        :param created_orderby: The created_orderby of this ListDeviceRequest.  # noqa: E501
        :type: int
        """

        self._created_orderby = created_orderby

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


        :return: The driver_template_name of this ListDeviceRequest.  # noqa: E501
        :rtype: list[str]
        """
        return self._driver_template_name

    @driver_template_name.setter
    def driver_template_name(self, driver_template_name):
        """Sets the driver_template_name of this ListDeviceRequest.


        :param driver_template_name: The driver_template_name of this ListDeviceRequest.  # noqa: E501
        :type: list[str]
        """

        self._driver_template_name = driver_template_name

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


        :return: The node_name of this ListDeviceRequest.  # noqa: E501
        :rtype: list[str]
        """
        return self._node_name

    @node_name.setter
    def node_name(self, node_name):
        """Sets the node_name of this ListDeviceRequest.


        :param node_name: The node_name of this ListDeviceRequest.  # noqa: E501
        :type: list[str]
        """

        self._node_name = node_name

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


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

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


        :param page_index: The page_index of this ListDeviceRequest.  # 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 ListDeviceRequest.  # noqa: E501


        :return: The page_size of this ListDeviceRequest.  # noqa: E501
        :rtype: int
        """
        return self._page_size

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


        :param page_size: The page_size of this ListDeviceRequest.  # noqa: E501
        :type: int
        """
        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 profile_category(self):
        """Gets the profile_category of this ListDeviceRequest.  # noqa: E501


        :return: The profile_category of this ListDeviceRequest.  # noqa: E501
        :rtype: list[str]
        """
        return self._profile_category

    @profile_category.setter
    def profile_category(self, profile_category):
        """Sets the profile_category of this ListDeviceRequest.


        :param profile_category: The profile_category of this ListDeviceRequest.  # noqa: E501
        :type: list[str]
        """

        self._profile_category = profile_category

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


        :return: The project_id of this ListDeviceRequest.  # noqa: E501
        :rtype: list[str]
        """
        return self._project_id

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


        :param project_id: The project_id of this ListDeviceRequest.  # noqa: E501
        :type: list[str]
        """

        self._project_id = project_id

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


        :return: The status of this ListDeviceRequest.  # noqa: E501
        :rtype: list[int]
        """
        return self._status

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


        :param status: The status of this ListDeviceRequest.  # noqa: E501
        :type: list[int]
        """

        self._status = status

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


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

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


        :param tags: The tags of this ListDeviceRequest.  # noqa: E501
        :type: list[TagForListDeviceInput]
        """

        self._tags = tags

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


        :return: The updated_orderby of this ListDeviceRequest.  # noqa: E501
        :rtype: int
        """
        return self._updated_orderby

    @updated_orderby.setter
    def updated_orderby(self, updated_orderby):
        """Sets the updated_orderby of this ListDeviceRequest.


        :param updated_orderby: The updated_orderby of this ListDeviceRequest.  # noqa: E501
        :type: int
        """

        self._updated_orderby = updated_orderby

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


        :return: The vague_device_name of this ListDeviceRequest.  # noqa: E501
        :rtype: str
        """
        return self._vague_device_name

    @vague_device_name.setter
    def vague_device_name(self, vague_device_name):
        """Sets the vague_device_name of this ListDeviceRequest.


        :param vague_device_name: The vague_device_name of this ListDeviceRequest.  # noqa: E501
        :type: str
        """

        self._vague_device_name = vague_device_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(ListDeviceRequest, 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, ListDeviceRequest):
            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, ListDeviceRequest):
            return True

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