# coding: utf-8

"""
    vikingdb

    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 GetVikingdbTaskResponse(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_time': 'str',
        'task_config': 'TaskConfigForGetVikingdbTaskOutput',
        'task_id': 'str',
        'task_process_info': 'TaskProcessInfoForGetVikingdbTaskOutput',
        'task_status': 'str',
        'task_type': 'str',
        'update_person': 'str',
        'update_time': 'str'
    }

    attribute_map = {
        'create_time': 'CreateTime',
        'task_config': 'TaskConfig',
        'task_id': 'TaskId',
        'task_process_info': 'TaskProcessInfo',
        'task_status': 'TaskStatus',
        'task_type': 'TaskType',
        'update_person': 'UpdatePerson',
        'update_time': 'UpdateTime'
    }

    def __init__(self, create_time=None, task_config=None, task_id=None, task_process_info=None, task_status=None, task_type=None, update_person=None, update_time=None, _configuration=None):  # noqa: E501
        """GetVikingdbTaskResponse - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._create_time = None
        self._task_config = None
        self._task_id = None
        self._task_process_info = None
        self._task_status = None
        self._task_type = None
        self._update_person = None
        self._update_time = None
        self.discriminator = None

        if create_time is not None:
            self.create_time = create_time
        if task_config is not None:
            self.task_config = task_config
        if task_id is not None:
            self.task_id = task_id
        if task_process_info is not None:
            self.task_process_info = task_process_info
        if task_status is not None:
            self.task_status = task_status
        if task_type is not None:
            self.task_type = task_type
        if update_person is not None:
            self.update_person = update_person
        if update_time is not None:
            self.update_time = update_time

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


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

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


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

        self._create_time = create_time

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


        :return: The task_config of this GetVikingdbTaskResponse.  # noqa: E501
        :rtype: TaskConfigForGetVikingdbTaskOutput
        """
        return self._task_config

    @task_config.setter
    def task_config(self, task_config):
        """Sets the task_config of this GetVikingdbTaskResponse.


        :param task_config: The task_config of this GetVikingdbTaskResponse.  # noqa: E501
        :type: TaskConfigForGetVikingdbTaskOutput
        """

        self._task_config = task_config

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


        :return: The task_id of this GetVikingdbTaskResponse.  # noqa: E501
        :rtype: str
        """
        return self._task_id

    @task_id.setter
    def task_id(self, task_id):
        """Sets the task_id of this GetVikingdbTaskResponse.


        :param task_id: The task_id of this GetVikingdbTaskResponse.  # noqa: E501
        :type: str
        """

        self._task_id = task_id

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


        :return: The task_process_info of this GetVikingdbTaskResponse.  # noqa: E501
        :rtype: TaskProcessInfoForGetVikingdbTaskOutput
        """
        return self._task_process_info

    @task_process_info.setter
    def task_process_info(self, task_process_info):
        """Sets the task_process_info of this GetVikingdbTaskResponse.


        :param task_process_info: The task_process_info of this GetVikingdbTaskResponse.  # noqa: E501
        :type: TaskProcessInfoForGetVikingdbTaskOutput
        """

        self._task_process_info = task_process_info

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


        :return: The task_status of this GetVikingdbTaskResponse.  # noqa: E501
        :rtype: str
        """
        return self._task_status

    @task_status.setter
    def task_status(self, task_status):
        """Sets the task_status of this GetVikingdbTaskResponse.


        :param task_status: The task_status of this GetVikingdbTaskResponse.  # noqa: E501
        :type: str
        """

        self._task_status = task_status

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


        :return: The task_type of this GetVikingdbTaskResponse.  # noqa: E501
        :rtype: str
        """
        return self._task_type

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


        :param task_type: The task_type of this GetVikingdbTaskResponse.  # noqa: E501
        :type: str
        """

        self._task_type = task_type

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


        :return: The update_person of this GetVikingdbTaskResponse.  # noqa: E501
        :rtype: str
        """
        return self._update_person

    @update_person.setter
    def update_person(self, update_person):
        """Sets the update_person of this GetVikingdbTaskResponse.


        :param update_person: The update_person of this GetVikingdbTaskResponse.  # noqa: E501
        :type: str
        """

        self._update_person = update_person

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


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

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


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

        self._update_time = update_time

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

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