# coding: utf-8

"""
    efs

    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 QuotaForDescribeQuotasOutput(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 = {
        'capacity_limit': 'int',
        'capacity_used': 'int',
        'create_time': 'str',
        'dir_inode': 'str',
        'file_system_path': 'str',
        'inode_limit': 'int',
        'inode_used': 'int',
        'limit_type': 'str',
        'quota_id': 'str',
        'quota_type': 'str',
        'status': 'str',
        'update_time': 'str',
        'user_type': 'str'
    }

    attribute_map = {
        'capacity_limit': 'CapacityLimit',
        'capacity_used': 'CapacityUsed',
        'create_time': 'CreateTime',
        'dir_inode': 'DirInode',
        'file_system_path': 'FileSystemPath',
        'inode_limit': 'InodeLimit',
        'inode_used': 'InodeUsed',
        'limit_type': 'LimitType',
        'quota_id': 'QuotaId',
        'quota_type': 'QuotaType',
        'status': 'Status',
        'update_time': 'UpdateTime',
        'user_type': 'UserType'
    }

    def __init__(self, capacity_limit=None, capacity_used=None, create_time=None, dir_inode=None, file_system_path=None, inode_limit=None, inode_used=None, limit_type=None, quota_id=None, quota_type=None, status=None, update_time=None, user_type=None, _configuration=None):  # noqa: E501
        """QuotaForDescribeQuotasOutput - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._capacity_limit = None
        self._capacity_used = None
        self._create_time = None
        self._dir_inode = None
        self._file_system_path = None
        self._inode_limit = None
        self._inode_used = None
        self._limit_type = None
        self._quota_id = None
        self._quota_type = None
        self._status = None
        self._update_time = None
        self._user_type = None
        self.discriminator = None

        if capacity_limit is not None:
            self.capacity_limit = capacity_limit
        if capacity_used is not None:
            self.capacity_used = capacity_used
        if create_time is not None:
            self.create_time = create_time
        if dir_inode is not None:
            self.dir_inode = dir_inode
        if file_system_path is not None:
            self.file_system_path = file_system_path
        if inode_limit is not None:
            self.inode_limit = inode_limit
        if inode_used is not None:
            self.inode_used = inode_used
        if limit_type is not None:
            self.limit_type = limit_type
        if quota_id is not None:
            self.quota_id = quota_id
        if quota_type is not None:
            self.quota_type = quota_type
        if status is not None:
            self.status = status
        if update_time is not None:
            self.update_time = update_time
        if user_type is not None:
            self.user_type = user_type

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


        :return: The capacity_limit of this QuotaForDescribeQuotasOutput.  # noqa: E501
        :rtype: int
        """
        return self._capacity_limit

    @capacity_limit.setter
    def capacity_limit(self, capacity_limit):
        """Sets the capacity_limit of this QuotaForDescribeQuotasOutput.


        :param capacity_limit: The capacity_limit of this QuotaForDescribeQuotasOutput.  # noqa: E501
        :type: int
        """

        self._capacity_limit = capacity_limit

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


        :return: The capacity_used of this QuotaForDescribeQuotasOutput.  # noqa: E501
        :rtype: int
        """
        return self._capacity_used

    @capacity_used.setter
    def capacity_used(self, capacity_used):
        """Sets the capacity_used of this QuotaForDescribeQuotasOutput.


        :param capacity_used: The capacity_used of this QuotaForDescribeQuotasOutput.  # noqa: E501
        :type: int
        """

        self._capacity_used = capacity_used

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


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

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


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

        self._create_time = create_time

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


        :return: The dir_inode of this QuotaForDescribeQuotasOutput.  # noqa: E501
        :rtype: str
        """
        return self._dir_inode

    @dir_inode.setter
    def dir_inode(self, dir_inode):
        """Sets the dir_inode of this QuotaForDescribeQuotasOutput.


        :param dir_inode: The dir_inode of this QuotaForDescribeQuotasOutput.  # noqa: E501
        :type: str
        """

        self._dir_inode = dir_inode

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


        :return: The file_system_path of this QuotaForDescribeQuotasOutput.  # noqa: E501
        :rtype: str
        """
        return self._file_system_path

    @file_system_path.setter
    def file_system_path(self, file_system_path):
        """Sets the file_system_path of this QuotaForDescribeQuotasOutput.


        :param file_system_path: The file_system_path of this QuotaForDescribeQuotasOutput.  # noqa: E501
        :type: str
        """

        self._file_system_path = file_system_path

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


        :return: The inode_limit of this QuotaForDescribeQuotasOutput.  # noqa: E501
        :rtype: int
        """
        return self._inode_limit

    @inode_limit.setter
    def inode_limit(self, inode_limit):
        """Sets the inode_limit of this QuotaForDescribeQuotasOutput.


        :param inode_limit: The inode_limit of this QuotaForDescribeQuotasOutput.  # noqa: E501
        :type: int
        """

        self._inode_limit = inode_limit

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


        :return: The inode_used of this QuotaForDescribeQuotasOutput.  # noqa: E501
        :rtype: int
        """
        return self._inode_used

    @inode_used.setter
    def inode_used(self, inode_used):
        """Sets the inode_used of this QuotaForDescribeQuotasOutput.


        :param inode_used: The inode_used of this QuotaForDescribeQuotasOutput.  # noqa: E501
        :type: int
        """

        self._inode_used = inode_used

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


        :return: The limit_type of this QuotaForDescribeQuotasOutput.  # noqa: E501
        :rtype: str
        """
        return self._limit_type

    @limit_type.setter
    def limit_type(self, limit_type):
        """Sets the limit_type of this QuotaForDescribeQuotasOutput.


        :param limit_type: The limit_type of this QuotaForDescribeQuotasOutput.  # noqa: E501
        :type: str
        """

        self._limit_type = limit_type

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


        :return: The quota_id of this QuotaForDescribeQuotasOutput.  # noqa: E501
        :rtype: str
        """
        return self._quota_id

    @quota_id.setter
    def quota_id(self, quota_id):
        """Sets the quota_id of this QuotaForDescribeQuotasOutput.


        :param quota_id: The quota_id of this QuotaForDescribeQuotasOutput.  # noqa: E501
        :type: str
        """

        self._quota_id = quota_id

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


        :return: The quota_type of this QuotaForDescribeQuotasOutput.  # noqa: E501
        :rtype: str
        """
        return self._quota_type

    @quota_type.setter
    def quota_type(self, quota_type):
        """Sets the quota_type of this QuotaForDescribeQuotasOutput.


        :param quota_type: The quota_type of this QuotaForDescribeQuotasOutput.  # noqa: E501
        :type: str
        """

        self._quota_type = quota_type

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


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

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


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

        self._status = status

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


        :return: The update_time of this QuotaForDescribeQuotasOutput.  # noqa: E501
        :rtype: str
        """
        return self._update_time

    @update_time.setter
    def update_time(self, update_time):
        """Sets the update_time of this QuotaForDescribeQuotasOutput.


        :param update_time: The update_time of this QuotaForDescribeQuotasOutput.  # noqa: E501
        :type: str
        """

        self._update_time = update_time

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


        :return: The user_type of this QuotaForDescribeQuotasOutput.  # noqa: E501
        :rtype: str
        """
        return self._user_type

    @user_type.setter
    def user_type(self, user_type):
        """Sets the user_type of this QuotaForDescribeQuotasOutput.


        :param user_type: The user_type of this QuotaForDescribeQuotasOutput.  # noqa: E501
        :type: str
        """

        self._user_type = user_type

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

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