# coding: utf-8

"""
    dts

    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 DescribeValidationTasksRequest(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 = {
        'dest_endpoint_type': 'str',
        'name': 'str',
        'page_number': 'int',
        'page_size': 'int',
        'parent_task_id': 'str',
        'project_name': 'str',
        'src_endpoint_type': 'str',
        'task_name': 'str',
        'task_status': 'str',
        'task_sub_type': 'str',
        'task_type': 'str',
        'validation_status': 'str'
    }

    attribute_map = {
        'dest_endpoint_type': 'DestEndpointType',
        'name': 'Name',
        'page_number': 'PageNumber',
        'page_size': 'PageSize',
        'parent_task_id': 'ParentTaskID',
        'project_name': 'ProjectName',
        'src_endpoint_type': 'SrcEndpointType',
        'task_name': 'TaskName',
        'task_status': 'TaskStatus',
        'task_sub_type': 'TaskSubType',
        'task_type': 'TaskType',
        'validation_status': 'ValidationStatus'
    }

    def __init__(self, dest_endpoint_type=None, name=None, page_number=None, page_size=None, parent_task_id=None, project_name=None, src_endpoint_type=None, task_name=None, task_status=None, task_sub_type=None, task_type=None, validation_status=None, _configuration=None):  # noqa: E501
        """DescribeValidationTasksRequest - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._dest_endpoint_type = None
        self._name = None
        self._page_number = None
        self._page_size = None
        self._parent_task_id = None
        self._project_name = None
        self._src_endpoint_type = None
        self._task_name = None
        self._task_status = None
        self._task_sub_type = None
        self._task_type = None
        self._validation_status = None
        self.discriminator = None

        if dest_endpoint_type is not None:
            self.dest_endpoint_type = dest_endpoint_type
        if name is not None:
            self.name = name
        self.page_number = page_number
        self.page_size = page_size
        if parent_task_id is not None:
            self.parent_task_id = parent_task_id
        if project_name is not None:
            self.project_name = project_name
        if src_endpoint_type is not None:
            self.src_endpoint_type = src_endpoint_type
        if task_name is not None:
            self.task_name = task_name
        if task_status is not None:
            self.task_status = task_status
        if task_sub_type is not None:
            self.task_sub_type = task_sub_type
        self.task_type = task_type
        if validation_status is not None:
            self.validation_status = validation_status

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


        :return: The dest_endpoint_type of this DescribeValidationTasksRequest.  # noqa: E501
        :rtype: str
        """
        return self._dest_endpoint_type

    @dest_endpoint_type.setter
    def dest_endpoint_type(self, dest_endpoint_type):
        """Sets the dest_endpoint_type of this DescribeValidationTasksRequest.


        :param dest_endpoint_type: The dest_endpoint_type of this DescribeValidationTasksRequest.  # noqa: E501
        :type: str
        """

        self._dest_endpoint_type = dest_endpoint_type

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


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

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


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

        self._name = name

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


        :return: The page_number of this DescribeValidationTasksRequest.  # noqa: E501
        :rtype: int
        """
        return self._page_number

    @page_number.setter
    def page_number(self, page_number):
        """Sets the page_number of this DescribeValidationTasksRequest.


        :param page_number: The page_number of this DescribeValidationTasksRequest.  # noqa: E501
        :type: int
        """
        if self._configuration.client_side_validation and page_number is None:
            raise ValueError("Invalid value for `page_number`, must not be `None`")  # noqa: E501

        self._page_number = page_number

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


        :return: The page_size of this DescribeValidationTasksRequest.  # noqa: E501
        :rtype: int
        """
        return self._page_size

    @page_size.setter
    def page_size(self, page_size):
        """Sets the page_size of this DescribeValidationTasksRequest.


        :param page_size: The page_size of this DescribeValidationTasksRequest.  # noqa: E501
        :type: int
        """
        if self._configuration.client_side_validation and page_size is None:
            raise ValueError("Invalid value for `page_size`, must not be `None`")  # noqa: E501

        self._page_size = page_size

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


        :return: The parent_task_id of this DescribeValidationTasksRequest.  # noqa: E501
        :rtype: str
        """
        return self._parent_task_id

    @parent_task_id.setter
    def parent_task_id(self, parent_task_id):
        """Sets the parent_task_id of this DescribeValidationTasksRequest.


        :param parent_task_id: The parent_task_id of this DescribeValidationTasksRequest.  # noqa: E501
        :type: str
        """

        self._parent_task_id = parent_task_id

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


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

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


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

        self._project_name = project_name

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


        :return: The src_endpoint_type of this DescribeValidationTasksRequest.  # noqa: E501
        :rtype: str
        """
        return self._src_endpoint_type

    @src_endpoint_type.setter
    def src_endpoint_type(self, src_endpoint_type):
        """Sets the src_endpoint_type of this DescribeValidationTasksRequest.


        :param src_endpoint_type: The src_endpoint_type of this DescribeValidationTasksRequest.  # noqa: E501
        :type: str
        """

        self._src_endpoint_type = src_endpoint_type

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


        :return: The task_name of this DescribeValidationTasksRequest.  # noqa: E501
        :rtype: str
        """
        return self._task_name

    @task_name.setter
    def task_name(self, task_name):
        """Sets the task_name of this DescribeValidationTasksRequest.


        :param task_name: The task_name of this DescribeValidationTasksRequest.  # noqa: E501
        :type: str
        """

        self._task_name = task_name

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


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

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


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

        self._task_status = task_status

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


        :return: The task_sub_type of this DescribeValidationTasksRequest.  # noqa: E501
        :rtype: str
        """
        return self._task_sub_type

    @task_sub_type.setter
    def task_sub_type(self, task_sub_type):
        """Sets the task_sub_type of this DescribeValidationTasksRequest.


        :param task_sub_type: The task_sub_type of this DescribeValidationTasksRequest.  # noqa: E501
        :type: str
        """

        self._task_sub_type = task_sub_type

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


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

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


        :param task_type: The task_type of this DescribeValidationTasksRequest.  # noqa: E501
        :type: str
        """
        if self._configuration.client_side_validation and task_type is None:
            raise ValueError("Invalid value for `task_type`, must not be `None`")  # noqa: E501

        self._task_type = task_type

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


        :return: The validation_status of this DescribeValidationTasksRequest.  # noqa: E501
        :rtype: str
        """
        return self._validation_status

    @validation_status.setter
    def validation_status(self, validation_status):
        """Sets the validation_status of this DescribeValidationTasksRequest.


        :param validation_status: The validation_status of this DescribeValidationTasksRequest.  # noqa: E501
        :type: str
        """

        self._validation_status = validation_status

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

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