# coding: utf-8

"""
    seccenter20240508

    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 ListMonitorPoliciesRequest(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 = {
        'agent_id': 'str',
        'f_suffix_list': 'list[str]',
        'group_id_list': 'list[str]',
        'host_name': 'str',
        'ip': 'str',
        'operator_list': 'list[str]',
        'page_number': 'int',
        'page_size': 'int',
        'path': 'str',
        'policy_name': 'str',
        'policy_platform': 'str',
        'policy_type_list': 'list[str]',
        'sort_by': 'str',
        'sort_order': 'str',
        'tags': 'list[str]'
    }

    attribute_map = {
        'agent_id': 'AgentID',
        'f_suffix_list': 'FSuffixList',
        'group_id_list': 'GroupIDList',
        'host_name': 'HostName',
        'ip': 'IP',
        'operator_list': 'OperatorList',
        'page_number': 'PageNumber',
        'page_size': 'PageSize',
        'path': 'Path',
        'policy_name': 'PolicyName',
        'policy_platform': 'PolicyPlatform',
        'policy_type_list': 'PolicyTypeList',
        'sort_by': 'SortBy',
        'sort_order': 'SortOrder',
        'tags': 'Tags'
    }

    def __init__(self, agent_id=None, f_suffix_list=None, group_id_list=None, host_name=None, ip=None, operator_list=None, page_number=None, page_size=None, path=None, policy_name=None, policy_platform=None, policy_type_list=None, sort_by=None, sort_order=None, tags=None, _configuration=None):  # noqa: E501
        """ListMonitorPoliciesRequest - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._agent_id = None
        self._f_suffix_list = None
        self._group_id_list = None
        self._host_name = None
        self._ip = None
        self._operator_list = None
        self._page_number = None
        self._page_size = None
        self._path = None
        self._policy_name = None
        self._policy_platform = None
        self._policy_type_list = None
        self._sort_by = None
        self._sort_order = None
        self._tags = None
        self.discriminator = None

        if agent_id is not None:
            self.agent_id = agent_id
        if f_suffix_list is not None:
            self.f_suffix_list = f_suffix_list
        if group_id_list is not None:
            self.group_id_list = group_id_list
        if host_name is not None:
            self.host_name = host_name
        if ip is not None:
            self.ip = ip
        if operator_list is not None:
            self.operator_list = operator_list
        self.page_number = page_number
        self.page_size = page_size
        if path is not None:
            self.path = path
        if policy_name is not None:
            self.policy_name = policy_name
        if policy_platform is not None:
            self.policy_platform = policy_platform
        if policy_type_list is not None:
            self.policy_type_list = policy_type_list
        if sort_by is not None:
            self.sort_by = sort_by
        if sort_order is not None:
            self.sort_order = sort_order
        if tags is not None:
            self.tags = tags

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


        :return: The agent_id of this ListMonitorPoliciesRequest.  # noqa: E501
        :rtype: str
        """
        return self._agent_id

    @agent_id.setter
    def agent_id(self, agent_id):
        """Sets the agent_id of this ListMonitorPoliciesRequest.


        :param agent_id: The agent_id of this ListMonitorPoliciesRequest.  # noqa: E501
        :type: str
        """

        self._agent_id = agent_id

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


        :return: The f_suffix_list of this ListMonitorPoliciesRequest.  # noqa: E501
        :rtype: list[str]
        """
        return self._f_suffix_list

    @f_suffix_list.setter
    def f_suffix_list(self, f_suffix_list):
        """Sets the f_suffix_list of this ListMonitorPoliciesRequest.


        :param f_suffix_list: The f_suffix_list of this ListMonitorPoliciesRequest.  # noqa: E501
        :type: list[str]
        """

        self._f_suffix_list = f_suffix_list

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


        :return: The group_id_list of this ListMonitorPoliciesRequest.  # noqa: E501
        :rtype: list[str]
        """
        return self._group_id_list

    @group_id_list.setter
    def group_id_list(self, group_id_list):
        """Sets the group_id_list of this ListMonitorPoliciesRequest.


        :param group_id_list: The group_id_list of this ListMonitorPoliciesRequest.  # noqa: E501
        :type: list[str]
        """

        self._group_id_list = group_id_list

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


        :return: The host_name of this ListMonitorPoliciesRequest.  # noqa: E501
        :rtype: str
        """
        return self._host_name

    @host_name.setter
    def host_name(self, host_name):
        """Sets the host_name of this ListMonitorPoliciesRequest.


        :param host_name: The host_name of this ListMonitorPoliciesRequest.  # noqa: E501
        :type: str
        """

        self._host_name = host_name

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


        :return: The ip of this ListMonitorPoliciesRequest.  # noqa: E501
        :rtype: str
        """
        return self._ip

    @ip.setter
    def ip(self, ip):
        """Sets the ip of this ListMonitorPoliciesRequest.


        :param ip: The ip of this ListMonitorPoliciesRequest.  # noqa: E501
        :type: str
        """

        self._ip = ip

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


        :return: The operator_list of this ListMonitorPoliciesRequest.  # noqa: E501
        :rtype: list[str]
        """
        return self._operator_list

    @operator_list.setter
    def operator_list(self, operator_list):
        """Sets the operator_list of this ListMonitorPoliciesRequest.


        :param operator_list: The operator_list of this ListMonitorPoliciesRequest.  # noqa: E501
        :type: list[str]
        """

        self._operator_list = operator_list

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


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

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


        :param page_number: The page_number of this ListMonitorPoliciesRequest.  # 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 ListMonitorPoliciesRequest.  # noqa: E501


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

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


        :param page_size: The page_size of this ListMonitorPoliciesRequest.  # 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 path(self):
        """Gets the path of this ListMonitorPoliciesRequest.  # noqa: E501


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

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


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

        self._path = path

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


        :return: The policy_name of this ListMonitorPoliciesRequest.  # noqa: E501
        :rtype: str
        """
        return self._policy_name

    @policy_name.setter
    def policy_name(self, policy_name):
        """Sets the policy_name of this ListMonitorPoliciesRequest.


        :param policy_name: The policy_name of this ListMonitorPoliciesRequest.  # noqa: E501
        :type: str
        """

        self._policy_name = policy_name

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


        :return: The policy_platform of this ListMonitorPoliciesRequest.  # noqa: E501
        :rtype: str
        """
        return self._policy_platform

    @policy_platform.setter
    def policy_platform(self, policy_platform):
        """Sets the policy_platform of this ListMonitorPoliciesRequest.


        :param policy_platform: The policy_platform of this ListMonitorPoliciesRequest.  # noqa: E501
        :type: str
        """

        self._policy_platform = policy_platform

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


        :return: The policy_type_list of this ListMonitorPoliciesRequest.  # noqa: E501
        :rtype: list[str]
        """
        return self._policy_type_list

    @policy_type_list.setter
    def policy_type_list(self, policy_type_list):
        """Sets the policy_type_list of this ListMonitorPoliciesRequest.


        :param policy_type_list: The policy_type_list of this ListMonitorPoliciesRequest.  # noqa: E501
        :type: list[str]
        """

        self._policy_type_list = policy_type_list

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


        :return: The sort_by of this ListMonitorPoliciesRequest.  # noqa: E501
        :rtype: str
        """
        return self._sort_by

    @sort_by.setter
    def sort_by(self, sort_by):
        """Sets the sort_by of this ListMonitorPoliciesRequest.


        :param sort_by: The sort_by of this ListMonitorPoliciesRequest.  # noqa: E501
        :type: str
        """

        self._sort_by = sort_by

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


        :return: The sort_order of this ListMonitorPoliciesRequest.  # noqa: E501
        :rtype: str
        """
        return self._sort_order

    @sort_order.setter
    def sort_order(self, sort_order):
        """Sets the sort_order of this ListMonitorPoliciesRequest.


        :param sort_order: The sort_order of this ListMonitorPoliciesRequest.  # noqa: E501
        :type: str
        """

        self._sort_order = sort_order

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


        :return: The tags of this ListMonitorPoliciesRequest.  # noqa: E501
        :rtype: list[str]
        """
        return self._tags

    @tags.setter
    def tags(self, tags):
        """Sets the tags of this ListMonitorPoliciesRequest.


        :param tags: The tags of this ListMonitorPoliciesRequest.  # noqa: E501
        :type: list[str]
        """

        self._tags = tags

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

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