# coding: utf-8

"""
    transitrouter

    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 DescribeTransitRouterFlowLogsRequest(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 = {
        'page_number': 'str',
        'page_size': 'str',
        'resource_id': 'str',
        'resource_type': 'str',
        'status': 'str',
        'tag_filters': 'list[TagFilterForDescribeTransitRouterFlowLogsInput]',
        'tls_project_id': 'str',
        'tls_topic_id': 'str',
        'transit_router_flow_log_ids': 'list[str]',
        'transit_router_flow_log_name': 'str',
        'transit_router_id': 'str'
    }

    attribute_map = {
        'page_number': 'PageNumber',
        'page_size': 'PageSize',
        'resource_id': 'ResourceId',
        'resource_type': 'ResourceType',
        'status': 'Status',
        'tag_filters': 'TagFilters',
        'tls_project_id': 'TlsProjectId',
        'tls_topic_id': 'TlsTopicId',
        'transit_router_flow_log_ids': 'TransitRouterFlowLogIds',
        'transit_router_flow_log_name': 'TransitRouterFlowLogName',
        'transit_router_id': 'TransitRouterId'
    }

    def __init__(self, page_number=None, page_size=None, resource_id=None, resource_type=None, status=None, tag_filters=None, tls_project_id=None, tls_topic_id=None, transit_router_flow_log_ids=None, transit_router_flow_log_name=None, transit_router_id=None, _configuration=None):  # noqa: E501
        """DescribeTransitRouterFlowLogsRequest - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._page_number = None
        self._page_size = None
        self._resource_id = None
        self._resource_type = None
        self._status = None
        self._tag_filters = None
        self._tls_project_id = None
        self._tls_topic_id = None
        self._transit_router_flow_log_ids = None
        self._transit_router_flow_log_name = None
        self._transit_router_id = None
        self.discriminator = None

        if page_number is not None:
            self.page_number = page_number
        if page_size is not None:
            self.page_size = page_size
        self.resource_id = resource_id
        self.resource_type = resource_type
        if status is not None:
            self.status = status
        if tag_filters is not None:
            self.tag_filters = tag_filters
        if tls_project_id is not None:
            self.tls_project_id = tls_project_id
        if tls_topic_id is not None:
            self.tls_topic_id = tls_topic_id
        if transit_router_flow_log_ids is not None:
            self.transit_router_flow_log_ids = transit_router_flow_log_ids
        if transit_router_flow_log_name is not None:
            self.transit_router_flow_log_name = transit_router_flow_log_name
        self.transit_router_id = transit_router_id

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


        :return: The page_number of this DescribeTransitRouterFlowLogsRequest.  # noqa: E501
        :rtype: str
        """
        return self._page_number

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


        :param page_number: The page_number of this DescribeTransitRouterFlowLogsRequest.  # noqa: E501
        :type: str
        """

        self._page_number = page_number

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


        :return: The page_size of this DescribeTransitRouterFlowLogsRequest.  # noqa: E501
        :rtype: str
        """
        return self._page_size

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


        :param page_size: The page_size of this DescribeTransitRouterFlowLogsRequest.  # noqa: E501
        :type: str
        """

        self._page_size = page_size

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


        :return: The resource_id of this DescribeTransitRouterFlowLogsRequest.  # noqa: E501
        :rtype: str
        """
        return self._resource_id

    @resource_id.setter
    def resource_id(self, resource_id):
        """Sets the resource_id of this DescribeTransitRouterFlowLogsRequest.


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

        self._resource_id = resource_id

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


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

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


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

        self._resource_type = resource_type

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


        :return: The status of this DescribeTransitRouterFlowLogsRequest.  # noqa: E501
        :rtype: str
        """
        return self._status

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


        :param status: The status of this DescribeTransitRouterFlowLogsRequest.  # noqa: E501
        :type: str
        """

        self._status = status

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


        :return: The tag_filters of this DescribeTransitRouterFlowLogsRequest.  # noqa: E501
        :rtype: list[TagFilterForDescribeTransitRouterFlowLogsInput]
        """
        return self._tag_filters

    @tag_filters.setter
    def tag_filters(self, tag_filters):
        """Sets the tag_filters of this DescribeTransitRouterFlowLogsRequest.


        :param tag_filters: The tag_filters of this DescribeTransitRouterFlowLogsRequest.  # noqa: E501
        :type: list[TagFilterForDescribeTransitRouterFlowLogsInput]
        """

        self._tag_filters = tag_filters

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


        :return: The tls_project_id of this DescribeTransitRouterFlowLogsRequest.  # noqa: E501
        :rtype: str
        """
        return self._tls_project_id

    @tls_project_id.setter
    def tls_project_id(self, tls_project_id):
        """Sets the tls_project_id of this DescribeTransitRouterFlowLogsRequest.


        :param tls_project_id: The tls_project_id of this DescribeTransitRouterFlowLogsRequest.  # noqa: E501
        :type: str
        """

        self._tls_project_id = tls_project_id

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


        :return: The tls_topic_id of this DescribeTransitRouterFlowLogsRequest.  # noqa: E501
        :rtype: str
        """
        return self._tls_topic_id

    @tls_topic_id.setter
    def tls_topic_id(self, tls_topic_id):
        """Sets the tls_topic_id of this DescribeTransitRouterFlowLogsRequest.


        :param tls_topic_id: The tls_topic_id of this DescribeTransitRouterFlowLogsRequest.  # noqa: E501
        :type: str
        """

        self._tls_topic_id = tls_topic_id

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


        :return: The transit_router_flow_log_ids of this DescribeTransitRouterFlowLogsRequest.  # noqa: E501
        :rtype: list[str]
        """
        return self._transit_router_flow_log_ids

    @transit_router_flow_log_ids.setter
    def transit_router_flow_log_ids(self, transit_router_flow_log_ids):
        """Sets the transit_router_flow_log_ids of this DescribeTransitRouterFlowLogsRequest.


        :param transit_router_flow_log_ids: The transit_router_flow_log_ids of this DescribeTransitRouterFlowLogsRequest.  # noqa: E501
        :type: list[str]
        """

        self._transit_router_flow_log_ids = transit_router_flow_log_ids

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


        :return: The transit_router_flow_log_name of this DescribeTransitRouterFlowLogsRequest.  # noqa: E501
        :rtype: str
        """
        return self._transit_router_flow_log_name

    @transit_router_flow_log_name.setter
    def transit_router_flow_log_name(self, transit_router_flow_log_name):
        """Sets the transit_router_flow_log_name of this DescribeTransitRouterFlowLogsRequest.


        :param transit_router_flow_log_name: The transit_router_flow_log_name of this DescribeTransitRouterFlowLogsRequest.  # noqa: E501
        :type: str
        """

        self._transit_router_flow_log_name = transit_router_flow_log_name

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


        :return: The transit_router_id of this DescribeTransitRouterFlowLogsRequest.  # noqa: E501
        :rtype: str
        """
        return self._transit_router_id

    @transit_router_id.setter
    def transit_router_id(self, transit_router_id):
        """Sets the transit_router_id of this DescribeTransitRouterFlowLogsRequest.


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

        self._transit_router_id = transit_router_id

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

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