# 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 GetProductResourceResponse(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',
        'apply_data_size': 'int',
        'data_size_sum': 'int',
        'product_id': 'str',
        'used_data_size': 'int',
        'version': 'int',
        'volc_region': 'str'
    }

    attribute_map = {
        'account_id': 'AccountId',
        'apply_data_size': 'ApplyDataSize',
        'data_size_sum': 'DataSizeSum',
        'product_id': 'ProductId',
        'used_data_size': 'UsedDataSize',
        'version': 'Version',
        'volc_region': 'VolcRegion'
    }

    def __init__(self, account_id=None, apply_data_size=None, data_size_sum=None, product_id=None, used_data_size=None, version=None, volc_region=None, _configuration=None):  # noqa: E501
        """GetProductResourceResponse - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._account_id = None
        self._apply_data_size = None
        self._data_size_sum = None
        self._product_id = None
        self._used_data_size = None
        self._version = None
        self._volc_region = None
        self.discriminator = None

        if account_id is not None:
            self.account_id = account_id
        if apply_data_size is not None:
            self.apply_data_size = apply_data_size
        if data_size_sum is not None:
            self.data_size_sum = data_size_sum
        if product_id is not None:
            self.product_id = product_id
        if used_data_size is not None:
            self.used_data_size = used_data_size
        if version is not None:
            self.version = version
        if volc_region is not None:
            self.volc_region = volc_region

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


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

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


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

        self._account_id = account_id

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


        :return: The apply_data_size of this GetProductResourceResponse.  # noqa: E501
        :rtype: int
        """
        return self._apply_data_size

    @apply_data_size.setter
    def apply_data_size(self, apply_data_size):
        """Sets the apply_data_size of this GetProductResourceResponse.


        :param apply_data_size: The apply_data_size of this GetProductResourceResponse.  # noqa: E501
        :type: int
        """

        self._apply_data_size = apply_data_size

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


        :return: The data_size_sum of this GetProductResourceResponse.  # noqa: E501
        :rtype: int
        """
        return self._data_size_sum

    @data_size_sum.setter
    def data_size_sum(self, data_size_sum):
        """Sets the data_size_sum of this GetProductResourceResponse.


        :param data_size_sum: The data_size_sum of this GetProductResourceResponse.  # noqa: E501
        :type: int
        """

        self._data_size_sum = data_size_sum

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


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

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


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

        self._product_id = product_id

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


        :return: The used_data_size of this GetProductResourceResponse.  # noqa: E501
        :rtype: int
        """
        return self._used_data_size

    @used_data_size.setter
    def used_data_size(self, used_data_size):
        """Sets the used_data_size of this GetProductResourceResponse.


        :param used_data_size: The used_data_size of this GetProductResourceResponse.  # noqa: E501
        :type: int
        """

        self._used_data_size = used_data_size

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


        :return: The version of this GetProductResourceResponse.  # noqa: E501
        :rtype: int
        """
        return self._version

    @version.setter
    def version(self, version):
        """Sets the version of this GetProductResourceResponse.


        :param version: The version of this GetProductResourceResponse.  # noqa: E501
        :type: int
        """

        self._version = version

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


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

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


        :param volc_region: The volc_region of this GetProductResourceResponse.  # 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(GetProductResourceResponse, 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, GetProductResourceResponse):
            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, GetProductResourceResponse):
            return True

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