# coding: utf-8

"""
    aidap

    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 BranchUsageForResetBranchOutput(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 = {
        'branch_id': 'str',
        'compute_time_seconds': 'int',
        'data_size_total_bytes': 'int',
        'data_size_used_bytes': 'int',
        'function_call_num': 'int',
        'last_running_time': 'str',
        'service_time_seconds': 'int',
        'stat_time': 'str',
        'storage_size_used_bytes': 'int',
        'workspace_id': 'str'
    }

    attribute_map = {
        'branch_id': 'BranchId',
        'compute_time_seconds': 'ComputeTimeSeconds',
        'data_size_total_bytes': 'DataSizeTotalBytes',
        'data_size_used_bytes': 'DataSizeUsedBytes',
        'function_call_num': 'FunctionCallNum',
        'last_running_time': 'LastRunningTime',
        'service_time_seconds': 'ServiceTimeSeconds',
        'stat_time': 'StatTime',
        'storage_size_used_bytes': 'StorageSizeUsedBytes',
        'workspace_id': 'WorkspaceId'
    }

    def __init__(self, branch_id=None, compute_time_seconds=None, data_size_total_bytes=None, data_size_used_bytes=None, function_call_num=None, last_running_time=None, service_time_seconds=None, stat_time=None, storage_size_used_bytes=None, workspace_id=None, _configuration=None):  # noqa: E501
        """BranchUsageForResetBranchOutput - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._branch_id = None
        self._compute_time_seconds = None
        self._data_size_total_bytes = None
        self._data_size_used_bytes = None
        self._function_call_num = None
        self._last_running_time = None
        self._service_time_seconds = None
        self._stat_time = None
        self._storage_size_used_bytes = None
        self._workspace_id = None
        self.discriminator = None

        if branch_id is not None:
            self.branch_id = branch_id
        if compute_time_seconds is not None:
            self.compute_time_seconds = compute_time_seconds
        if data_size_total_bytes is not None:
            self.data_size_total_bytes = data_size_total_bytes
        if data_size_used_bytes is not None:
            self.data_size_used_bytes = data_size_used_bytes
        if function_call_num is not None:
            self.function_call_num = function_call_num
        if last_running_time is not None:
            self.last_running_time = last_running_time
        if service_time_seconds is not None:
            self.service_time_seconds = service_time_seconds
        if stat_time is not None:
            self.stat_time = stat_time
        if storage_size_used_bytes is not None:
            self.storage_size_used_bytes = storage_size_used_bytes
        if workspace_id is not None:
            self.workspace_id = workspace_id

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


        :return: The branch_id of this BranchUsageForResetBranchOutput.  # noqa: E501
        :rtype: str
        """
        return self._branch_id

    @branch_id.setter
    def branch_id(self, branch_id):
        """Sets the branch_id of this BranchUsageForResetBranchOutput.


        :param branch_id: The branch_id of this BranchUsageForResetBranchOutput.  # noqa: E501
        :type: str
        """

        self._branch_id = branch_id

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


        :return: The compute_time_seconds of this BranchUsageForResetBranchOutput.  # noqa: E501
        :rtype: int
        """
        return self._compute_time_seconds

    @compute_time_seconds.setter
    def compute_time_seconds(self, compute_time_seconds):
        """Sets the compute_time_seconds of this BranchUsageForResetBranchOutput.


        :param compute_time_seconds: The compute_time_seconds of this BranchUsageForResetBranchOutput.  # noqa: E501
        :type: int
        """

        self._compute_time_seconds = compute_time_seconds

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


        :return: The data_size_total_bytes of this BranchUsageForResetBranchOutput.  # noqa: E501
        :rtype: int
        """
        return self._data_size_total_bytes

    @data_size_total_bytes.setter
    def data_size_total_bytes(self, data_size_total_bytes):
        """Sets the data_size_total_bytes of this BranchUsageForResetBranchOutput.


        :param data_size_total_bytes: The data_size_total_bytes of this BranchUsageForResetBranchOutput.  # noqa: E501
        :type: int
        """

        self._data_size_total_bytes = data_size_total_bytes

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


        :return: The data_size_used_bytes of this BranchUsageForResetBranchOutput.  # noqa: E501
        :rtype: int
        """
        return self._data_size_used_bytes

    @data_size_used_bytes.setter
    def data_size_used_bytes(self, data_size_used_bytes):
        """Sets the data_size_used_bytes of this BranchUsageForResetBranchOutput.


        :param data_size_used_bytes: The data_size_used_bytes of this BranchUsageForResetBranchOutput.  # noqa: E501
        :type: int
        """

        self._data_size_used_bytes = data_size_used_bytes

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


        :return: The function_call_num of this BranchUsageForResetBranchOutput.  # noqa: E501
        :rtype: int
        """
        return self._function_call_num

    @function_call_num.setter
    def function_call_num(self, function_call_num):
        """Sets the function_call_num of this BranchUsageForResetBranchOutput.


        :param function_call_num: The function_call_num of this BranchUsageForResetBranchOutput.  # noqa: E501
        :type: int
        """

        self._function_call_num = function_call_num

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


        :return: The last_running_time of this BranchUsageForResetBranchOutput.  # noqa: E501
        :rtype: str
        """
        return self._last_running_time

    @last_running_time.setter
    def last_running_time(self, last_running_time):
        """Sets the last_running_time of this BranchUsageForResetBranchOutput.


        :param last_running_time: The last_running_time of this BranchUsageForResetBranchOutput.  # noqa: E501
        :type: str
        """

        self._last_running_time = last_running_time

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


        :return: The service_time_seconds of this BranchUsageForResetBranchOutput.  # noqa: E501
        :rtype: int
        """
        return self._service_time_seconds

    @service_time_seconds.setter
    def service_time_seconds(self, service_time_seconds):
        """Sets the service_time_seconds of this BranchUsageForResetBranchOutput.


        :param service_time_seconds: The service_time_seconds of this BranchUsageForResetBranchOutput.  # noqa: E501
        :type: int
        """

        self._service_time_seconds = service_time_seconds

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


        :return: The stat_time of this BranchUsageForResetBranchOutput.  # noqa: E501
        :rtype: str
        """
        return self._stat_time

    @stat_time.setter
    def stat_time(self, stat_time):
        """Sets the stat_time of this BranchUsageForResetBranchOutput.


        :param stat_time: The stat_time of this BranchUsageForResetBranchOutput.  # noqa: E501
        :type: str
        """

        self._stat_time = stat_time

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


        :return: The storage_size_used_bytes of this BranchUsageForResetBranchOutput.  # noqa: E501
        :rtype: int
        """
        return self._storage_size_used_bytes

    @storage_size_used_bytes.setter
    def storage_size_used_bytes(self, storage_size_used_bytes):
        """Sets the storage_size_used_bytes of this BranchUsageForResetBranchOutput.


        :param storage_size_used_bytes: The storage_size_used_bytes of this BranchUsageForResetBranchOutput.  # noqa: E501
        :type: int
        """

        self._storage_size_used_bytes = storage_size_used_bytes

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


        :return: The workspace_id of this BranchUsageForResetBranchOutput.  # noqa: E501
        :rtype: str
        """
        return self._workspace_id

    @workspace_id.setter
    def workspace_id(self, workspace_id):
        """Sets the workspace_id of this BranchUsageForResetBranchOutput.


        :param workspace_id: The workspace_id of this BranchUsageForResetBranchOutput.  # noqa: E501
        :type: str
        """

        self._workspace_id = workspace_id

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

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