# coding: utf-8

"""
    id

    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 RouteForGetDocumentStatusOutput(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 = {
        'api_spec': 'ApiSpecForGetDocumentStatusOutput',
        'method': 'str',
        'path': 'str',
        'path_match_type': 'str',
        'permission_pool': 'str',
        'resource_type': 'str',
        'route_name': 'str'
    }

    attribute_map = {
        'api_spec': 'ApiSpec',
        'method': 'Method',
        'path': 'Path',
        'path_match_type': 'PathMatchType',
        'permission_pool': 'PermissionPool',
        'resource_type': 'ResourceType',
        'route_name': 'RouteName'
    }

    def __init__(self, api_spec=None, method=None, path=None, path_match_type=None, permission_pool=None, resource_type=None, route_name=None, _configuration=None):  # noqa: E501
        """RouteForGetDocumentStatusOutput - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._api_spec = None
        self._method = None
        self._path = None
        self._path_match_type = None
        self._permission_pool = None
        self._resource_type = None
        self._route_name = None
        self.discriminator = None

        if api_spec is not None:
            self.api_spec = api_spec
        if method is not None:
            self.method = method
        if path is not None:
            self.path = path
        if path_match_type is not None:
            self.path_match_type = path_match_type
        if permission_pool is not None:
            self.permission_pool = permission_pool
        if resource_type is not None:
            self.resource_type = resource_type
        if route_name is not None:
            self.route_name = route_name

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


        :return: The api_spec of this RouteForGetDocumentStatusOutput.  # noqa: E501
        :rtype: ApiSpecForGetDocumentStatusOutput
        """
        return self._api_spec

    @api_spec.setter
    def api_spec(self, api_spec):
        """Sets the api_spec of this RouteForGetDocumentStatusOutput.


        :param api_spec: The api_spec of this RouteForGetDocumentStatusOutput.  # noqa: E501
        :type: ApiSpecForGetDocumentStatusOutput
        """

        self._api_spec = api_spec

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


        :return: The method of this RouteForGetDocumentStatusOutput.  # noqa: E501
        :rtype: str
        """
        return self._method

    @method.setter
    def method(self, method):
        """Sets the method of this RouteForGetDocumentStatusOutput.


        :param method: The method of this RouteForGetDocumentStatusOutput.  # noqa: E501
        :type: str
        """

        self._method = method

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


        :return: The path of this RouteForGetDocumentStatusOutput.  # noqa: E501
        :rtype: str
        """
        return self._path

    @path.setter
    def path(self, path):
        """Sets the path of this RouteForGetDocumentStatusOutput.


        :param path: The path of this RouteForGetDocumentStatusOutput.  # noqa: E501
        :type: str
        """

        self._path = path

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


        :return: The path_match_type of this RouteForGetDocumentStatusOutput.  # noqa: E501
        :rtype: str
        """
        return self._path_match_type

    @path_match_type.setter
    def path_match_type(self, path_match_type):
        """Sets the path_match_type of this RouteForGetDocumentStatusOutput.


        :param path_match_type: The path_match_type of this RouteForGetDocumentStatusOutput.  # noqa: E501
        :type: str
        """

        self._path_match_type = path_match_type

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


        :return: The permission_pool of this RouteForGetDocumentStatusOutput.  # noqa: E501
        :rtype: str
        """
        return self._permission_pool

    @permission_pool.setter
    def permission_pool(self, permission_pool):
        """Sets the permission_pool of this RouteForGetDocumentStatusOutput.


        :param permission_pool: The permission_pool of this RouteForGetDocumentStatusOutput.  # noqa: E501
        :type: str
        """

        self._permission_pool = permission_pool

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


        :return: The resource_type of this RouteForGetDocumentStatusOutput.  # noqa: E501
        :rtype: str
        """
        return self._resource_type

    @resource_type.setter
    def resource_type(self, resource_type):
        """Sets the resource_type of this RouteForGetDocumentStatusOutput.


        :param resource_type: The resource_type of this RouteForGetDocumentStatusOutput.  # noqa: E501
        :type: str
        """

        self._resource_type = resource_type

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


        :return: The route_name of this RouteForGetDocumentStatusOutput.  # noqa: E501
        :rtype: str
        """
        return self._route_name

    @route_name.setter
    def route_name(self, route_name):
        """Sets the route_name of this RouteForGetDocumentStatusOutput.


        :param route_name: The route_name of this RouteForGetDocumentStatusOutput.  # noqa: E501
        :type: str
        """

        self._route_name = route_name

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

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