# coding: utf-8

"""
    i18n_openapi

    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 TaskForVideoProjectTaskListOutput(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 = {
        'comment': 'str',
        'created_at': 'str',
        'creator': 'CreatorForVideoProjectTaskListOutput',
        'deadline': 'str',
        'drama_task_workflow': 'int',
        'name': 'str',
        'project_name': 'str',
        'source_language': 'str',
        'status': 'int',
        'target_languages': 'list[str]',
        'task_type': 'int',
        'workflow_type': 'int'
    }

    attribute_map = {
        'comment': 'comment',
        'created_at': 'createdAt',
        'creator': 'creator',
        'deadline': 'deadline',
        'drama_task_workflow': 'dramaTaskWorkflow',
        'name': 'name',
        'project_name': 'projectName',
        'source_language': 'sourceLanguage',
        'status': 'status',
        'target_languages': 'targetLanguages',
        'task_type': 'taskType',
        'workflow_type': 'workflowType'
    }

    def __init__(self, comment=None, created_at=None, creator=None, deadline=None, drama_task_workflow=None, name=None, project_name=None, source_language=None, status=None, target_languages=None, task_type=None, workflow_type=None, _configuration=None):  # noqa: E501
        """TaskForVideoProjectTaskListOutput - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._comment = None
        self._created_at = None
        self._creator = None
        self._deadline = None
        self._drama_task_workflow = None
        self._name = None
        self._project_name = None
        self._source_language = None
        self._status = None
        self._target_languages = None
        self._task_type = None
        self._workflow_type = None
        self.discriminator = None

        if comment is not None:
            self.comment = comment
        if created_at is not None:
            self.created_at = created_at
        if creator is not None:
            self.creator = creator
        if deadline is not None:
            self.deadline = deadline
        if drama_task_workflow is not None:
            self.drama_task_workflow = drama_task_workflow
        if name is not None:
            self.name = name
        if project_name is not None:
            self.project_name = project_name
        if source_language is not None:
            self.source_language = source_language
        if status is not None:
            self.status = status
        if target_languages is not None:
            self.target_languages = target_languages
        if task_type is not None:
            self.task_type = task_type
        if workflow_type is not None:
            self.workflow_type = workflow_type

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


        :return: The comment of this TaskForVideoProjectTaskListOutput.  # noqa: E501
        :rtype: str
        """
        return self._comment

    @comment.setter
    def comment(self, comment):
        """Sets the comment of this TaskForVideoProjectTaskListOutput.


        :param comment: The comment of this TaskForVideoProjectTaskListOutput.  # noqa: E501
        :type: str
        """

        self._comment = comment

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


        :return: The created_at of this TaskForVideoProjectTaskListOutput.  # noqa: E501
        :rtype: str
        """
        return self._created_at

    @created_at.setter
    def created_at(self, created_at):
        """Sets the created_at of this TaskForVideoProjectTaskListOutput.


        :param created_at: The created_at of this TaskForVideoProjectTaskListOutput.  # noqa: E501
        :type: str
        """

        self._created_at = created_at

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


        :return: The creator of this TaskForVideoProjectTaskListOutput.  # noqa: E501
        :rtype: CreatorForVideoProjectTaskListOutput
        """
        return self._creator

    @creator.setter
    def creator(self, creator):
        """Sets the creator of this TaskForVideoProjectTaskListOutput.


        :param creator: The creator of this TaskForVideoProjectTaskListOutput.  # noqa: E501
        :type: CreatorForVideoProjectTaskListOutput
        """

        self._creator = creator

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


        :return: The deadline of this TaskForVideoProjectTaskListOutput.  # noqa: E501
        :rtype: str
        """
        return self._deadline

    @deadline.setter
    def deadline(self, deadline):
        """Sets the deadline of this TaskForVideoProjectTaskListOutput.


        :param deadline: The deadline of this TaskForVideoProjectTaskListOutput.  # noqa: E501
        :type: str
        """

        self._deadline = deadline

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


        :return: The drama_task_workflow of this TaskForVideoProjectTaskListOutput.  # noqa: E501
        :rtype: int
        """
        return self._drama_task_workflow

    @drama_task_workflow.setter
    def drama_task_workflow(self, drama_task_workflow):
        """Sets the drama_task_workflow of this TaskForVideoProjectTaskListOutput.


        :param drama_task_workflow: The drama_task_workflow of this TaskForVideoProjectTaskListOutput.  # noqa: E501
        :type: int
        """

        self._drama_task_workflow = drama_task_workflow

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


        :return: The name of this TaskForVideoProjectTaskListOutput.  # noqa: E501
        :rtype: str
        """
        return self._name

    @name.setter
    def name(self, name):
        """Sets the name of this TaskForVideoProjectTaskListOutput.


        :param name: The name of this TaskForVideoProjectTaskListOutput.  # noqa: E501
        :type: str
        """

        self._name = name

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


        :return: The project_name of this TaskForVideoProjectTaskListOutput.  # noqa: E501
        :rtype: str
        """
        return self._project_name

    @project_name.setter
    def project_name(self, project_name):
        """Sets the project_name of this TaskForVideoProjectTaskListOutput.


        :param project_name: The project_name of this TaskForVideoProjectTaskListOutput.  # noqa: E501
        :type: str
        """

        self._project_name = project_name

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


        :return: The source_language of this TaskForVideoProjectTaskListOutput.  # noqa: E501
        :rtype: str
        """
        return self._source_language

    @source_language.setter
    def source_language(self, source_language):
        """Sets the source_language of this TaskForVideoProjectTaskListOutput.


        :param source_language: The source_language of this TaskForVideoProjectTaskListOutput.  # noqa: E501
        :type: str
        """

        self._source_language = source_language

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


        :return: The status of this TaskForVideoProjectTaskListOutput.  # noqa: E501
        :rtype: int
        """
        return self._status

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


        :param status: The status of this TaskForVideoProjectTaskListOutput.  # noqa: E501
        :type: int
        """

        self._status = status

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


        :return: The target_languages of this TaskForVideoProjectTaskListOutput.  # noqa: E501
        :rtype: list[str]
        """
        return self._target_languages

    @target_languages.setter
    def target_languages(self, target_languages):
        """Sets the target_languages of this TaskForVideoProjectTaskListOutput.


        :param target_languages: The target_languages of this TaskForVideoProjectTaskListOutput.  # noqa: E501
        :type: list[str]
        """

        self._target_languages = target_languages

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


        :return: The task_type of this TaskForVideoProjectTaskListOutput.  # noqa: E501
        :rtype: int
        """
        return self._task_type

    @task_type.setter
    def task_type(self, task_type):
        """Sets the task_type of this TaskForVideoProjectTaskListOutput.


        :param task_type: The task_type of this TaskForVideoProjectTaskListOutput.  # noqa: E501
        :type: int
        """

        self._task_type = task_type

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


        :return: The workflow_type of this TaskForVideoProjectTaskListOutput.  # noqa: E501
        :rtype: int
        """
        return self._workflow_type

    @workflow_type.setter
    def workflow_type(self, workflow_type):
        """Sets the workflow_type of this TaskForVideoProjectTaskListOutput.


        :param workflow_type: The workflow_type of this TaskForVideoProjectTaskListOutput.  # noqa: E501
        :type: int
        """

        self._workflow_type = workflow_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(TaskForVideoProjectTaskListOutput, 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, TaskForVideoProjectTaskListOutput):
            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, TaskForVideoProjectTaskListOutput):
            return True

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