# 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 GetVideoAnalysisStatisticsResponse(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 = {
        'create_timestamp': 'int',
        'failed_tasks': 'int',
        'pending_tasks': 'int',
        'running_tasks': 'int',
        'successful_tasks': 'int',
        'total_task_dedup_frames': 'int',
        'total_task_detect_frames': 'int',
        'total_task_duration': 'float',
        'total_task_images': 'int',
        'total_task_input_tokens': 'int',
        'total_task_llm_frames': 'int',
        'total_task_output_tokens': 'int',
        'total_tasks': 'int',
        'total_tasks_data': 'int',
        'update_timestamp': 'int'
    }

    attribute_map = {
        'create_timestamp': 'create_timestamp',
        'failed_tasks': 'failed_tasks',
        'pending_tasks': 'pending_tasks',
        'running_tasks': 'running_tasks',
        'successful_tasks': 'successful_tasks',
        'total_task_dedup_frames': 'total_task_dedup_frames',
        'total_task_detect_frames': 'total_task_detect_frames',
        'total_task_duration': 'total_task_duration',
        'total_task_images': 'total_task_images',
        'total_task_input_tokens': 'total_task_input_tokens',
        'total_task_llm_frames': 'total_task_llm_frames',
        'total_task_output_tokens': 'total_task_output_tokens',
        'total_tasks': 'total_tasks',
        'total_tasks_data': 'total_tasks_data',
        'update_timestamp': 'update_timestamp'
    }

    def __init__(self, create_timestamp=None, failed_tasks=None, pending_tasks=None, running_tasks=None, successful_tasks=None, total_task_dedup_frames=None, total_task_detect_frames=None, total_task_duration=None, total_task_images=None, total_task_input_tokens=None, total_task_llm_frames=None, total_task_output_tokens=None, total_tasks=None, total_tasks_data=None, update_timestamp=None, _configuration=None):  # noqa: E501
        """GetVideoAnalysisStatisticsResponse - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._create_timestamp = None
        self._failed_tasks = None
        self._pending_tasks = None
        self._running_tasks = None
        self._successful_tasks = None
        self._total_task_dedup_frames = None
        self._total_task_detect_frames = None
        self._total_task_duration = None
        self._total_task_images = None
        self._total_task_input_tokens = None
        self._total_task_llm_frames = None
        self._total_task_output_tokens = None
        self._total_tasks = None
        self._total_tasks_data = None
        self._update_timestamp = None
        self.discriminator = None

        if create_timestamp is not None:
            self.create_timestamp = create_timestamp
        if failed_tasks is not None:
            self.failed_tasks = failed_tasks
        if pending_tasks is not None:
            self.pending_tasks = pending_tasks
        if running_tasks is not None:
            self.running_tasks = running_tasks
        if successful_tasks is not None:
            self.successful_tasks = successful_tasks
        if total_task_dedup_frames is not None:
            self.total_task_dedup_frames = total_task_dedup_frames
        if total_task_detect_frames is not None:
            self.total_task_detect_frames = total_task_detect_frames
        if total_task_duration is not None:
            self.total_task_duration = total_task_duration
        if total_task_images is not None:
            self.total_task_images = total_task_images
        if total_task_input_tokens is not None:
            self.total_task_input_tokens = total_task_input_tokens
        if total_task_llm_frames is not None:
            self.total_task_llm_frames = total_task_llm_frames
        if total_task_output_tokens is not None:
            self.total_task_output_tokens = total_task_output_tokens
        if total_tasks is not None:
            self.total_tasks = total_tasks
        if total_tasks_data is not None:
            self.total_tasks_data = total_tasks_data
        if update_timestamp is not None:
            self.update_timestamp = update_timestamp

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


        :return: The create_timestamp of this GetVideoAnalysisStatisticsResponse.  # noqa: E501
        :rtype: int
        """
        return self._create_timestamp

    @create_timestamp.setter
    def create_timestamp(self, create_timestamp):
        """Sets the create_timestamp of this GetVideoAnalysisStatisticsResponse.


        :param create_timestamp: The create_timestamp of this GetVideoAnalysisStatisticsResponse.  # noqa: E501
        :type: int
        """

        self._create_timestamp = create_timestamp

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


        :return: The failed_tasks of this GetVideoAnalysisStatisticsResponse.  # noqa: E501
        :rtype: int
        """
        return self._failed_tasks

    @failed_tasks.setter
    def failed_tasks(self, failed_tasks):
        """Sets the failed_tasks of this GetVideoAnalysisStatisticsResponse.


        :param failed_tasks: The failed_tasks of this GetVideoAnalysisStatisticsResponse.  # noqa: E501
        :type: int
        """

        self._failed_tasks = failed_tasks

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


        :return: The pending_tasks of this GetVideoAnalysisStatisticsResponse.  # noqa: E501
        :rtype: int
        """
        return self._pending_tasks

    @pending_tasks.setter
    def pending_tasks(self, pending_tasks):
        """Sets the pending_tasks of this GetVideoAnalysisStatisticsResponse.


        :param pending_tasks: The pending_tasks of this GetVideoAnalysisStatisticsResponse.  # noqa: E501
        :type: int
        """

        self._pending_tasks = pending_tasks

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


        :return: The running_tasks of this GetVideoAnalysisStatisticsResponse.  # noqa: E501
        :rtype: int
        """
        return self._running_tasks

    @running_tasks.setter
    def running_tasks(self, running_tasks):
        """Sets the running_tasks of this GetVideoAnalysisStatisticsResponse.


        :param running_tasks: The running_tasks of this GetVideoAnalysisStatisticsResponse.  # noqa: E501
        :type: int
        """

        self._running_tasks = running_tasks

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


        :return: The successful_tasks of this GetVideoAnalysisStatisticsResponse.  # noqa: E501
        :rtype: int
        """
        return self._successful_tasks

    @successful_tasks.setter
    def successful_tasks(self, successful_tasks):
        """Sets the successful_tasks of this GetVideoAnalysisStatisticsResponse.


        :param successful_tasks: The successful_tasks of this GetVideoAnalysisStatisticsResponse.  # noqa: E501
        :type: int
        """

        self._successful_tasks = successful_tasks

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


        :return: The total_task_dedup_frames of this GetVideoAnalysisStatisticsResponse.  # noqa: E501
        :rtype: int
        """
        return self._total_task_dedup_frames

    @total_task_dedup_frames.setter
    def total_task_dedup_frames(self, total_task_dedup_frames):
        """Sets the total_task_dedup_frames of this GetVideoAnalysisStatisticsResponse.


        :param total_task_dedup_frames: The total_task_dedup_frames of this GetVideoAnalysisStatisticsResponse.  # noqa: E501
        :type: int
        """

        self._total_task_dedup_frames = total_task_dedup_frames

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


        :return: The total_task_detect_frames of this GetVideoAnalysisStatisticsResponse.  # noqa: E501
        :rtype: int
        """
        return self._total_task_detect_frames

    @total_task_detect_frames.setter
    def total_task_detect_frames(self, total_task_detect_frames):
        """Sets the total_task_detect_frames of this GetVideoAnalysisStatisticsResponse.


        :param total_task_detect_frames: The total_task_detect_frames of this GetVideoAnalysisStatisticsResponse.  # noqa: E501
        :type: int
        """

        self._total_task_detect_frames = total_task_detect_frames

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


        :return: The total_task_duration of this GetVideoAnalysisStatisticsResponse.  # noqa: E501
        :rtype: float
        """
        return self._total_task_duration

    @total_task_duration.setter
    def total_task_duration(self, total_task_duration):
        """Sets the total_task_duration of this GetVideoAnalysisStatisticsResponse.


        :param total_task_duration: The total_task_duration of this GetVideoAnalysisStatisticsResponse.  # noqa: E501
        :type: float
        """

        self._total_task_duration = total_task_duration

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


        :return: The total_task_images of this GetVideoAnalysisStatisticsResponse.  # noqa: E501
        :rtype: int
        """
        return self._total_task_images

    @total_task_images.setter
    def total_task_images(self, total_task_images):
        """Sets the total_task_images of this GetVideoAnalysisStatisticsResponse.


        :param total_task_images: The total_task_images of this GetVideoAnalysisStatisticsResponse.  # noqa: E501
        :type: int
        """

        self._total_task_images = total_task_images

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


        :return: The total_task_input_tokens of this GetVideoAnalysisStatisticsResponse.  # noqa: E501
        :rtype: int
        """
        return self._total_task_input_tokens

    @total_task_input_tokens.setter
    def total_task_input_tokens(self, total_task_input_tokens):
        """Sets the total_task_input_tokens of this GetVideoAnalysisStatisticsResponse.


        :param total_task_input_tokens: The total_task_input_tokens of this GetVideoAnalysisStatisticsResponse.  # noqa: E501
        :type: int
        """

        self._total_task_input_tokens = total_task_input_tokens

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


        :return: The total_task_llm_frames of this GetVideoAnalysisStatisticsResponse.  # noqa: E501
        :rtype: int
        """
        return self._total_task_llm_frames

    @total_task_llm_frames.setter
    def total_task_llm_frames(self, total_task_llm_frames):
        """Sets the total_task_llm_frames of this GetVideoAnalysisStatisticsResponse.


        :param total_task_llm_frames: The total_task_llm_frames of this GetVideoAnalysisStatisticsResponse.  # noqa: E501
        :type: int
        """

        self._total_task_llm_frames = total_task_llm_frames

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


        :return: The total_task_output_tokens of this GetVideoAnalysisStatisticsResponse.  # noqa: E501
        :rtype: int
        """
        return self._total_task_output_tokens

    @total_task_output_tokens.setter
    def total_task_output_tokens(self, total_task_output_tokens):
        """Sets the total_task_output_tokens of this GetVideoAnalysisStatisticsResponse.


        :param total_task_output_tokens: The total_task_output_tokens of this GetVideoAnalysisStatisticsResponse.  # noqa: E501
        :type: int
        """

        self._total_task_output_tokens = total_task_output_tokens

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


        :return: The total_tasks of this GetVideoAnalysisStatisticsResponse.  # noqa: E501
        :rtype: int
        """
        return self._total_tasks

    @total_tasks.setter
    def total_tasks(self, total_tasks):
        """Sets the total_tasks of this GetVideoAnalysisStatisticsResponse.


        :param total_tasks: The total_tasks of this GetVideoAnalysisStatisticsResponse.  # noqa: E501
        :type: int
        """

        self._total_tasks = total_tasks

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


        :return: The total_tasks_data of this GetVideoAnalysisStatisticsResponse.  # noqa: E501
        :rtype: int
        """
        return self._total_tasks_data

    @total_tasks_data.setter
    def total_tasks_data(self, total_tasks_data):
        """Sets the total_tasks_data of this GetVideoAnalysisStatisticsResponse.


        :param total_tasks_data: The total_tasks_data of this GetVideoAnalysisStatisticsResponse.  # noqa: E501
        :type: int
        """

        self._total_tasks_data = total_tasks_data

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


        :return: The update_timestamp of this GetVideoAnalysisStatisticsResponse.  # noqa: E501
        :rtype: int
        """
        return self._update_timestamp

    @update_timestamp.setter
    def update_timestamp(self, update_timestamp):
        """Sets the update_timestamp of this GetVideoAnalysisStatisticsResponse.


        :param update_timestamp: The update_timestamp of this GetVideoAnalysisStatisticsResponse.  # noqa: E501
        :type: int
        """

        self._update_timestamp = update_timestamp

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

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