# 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 EditMonitorPolicyRequest(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_list': 'list[str]',
        'all_f_suffix': 'bool',
        'all_linux': 'bool',
        'all_windows': 'bool',
        'directory_list': 'list[DirectoryListForEditMonitorPolicyInput]',
        'f_suffix_list': 'list[str]',
        'group_id_list': 'list[str]',
        'harm_level': 'str',
        'id': 'str',
        'operator_list': 'list[str]',
        'policy_name': 'str',
        'policy_name_en': 'str',
        'policy_platform': 'str',
        'policy_type': 'str',
        'status': 'str'
    }

    attribute_map = {
        'agent_id_list': 'AgentIDList',
        'all_f_suffix': 'AllFSuffix',
        'all_linux': 'AllLinux',
        'all_windows': 'AllWindows',
        'directory_list': 'DirectoryList',
        'f_suffix_list': 'FSuffixList',
        'group_id_list': 'GroupIDList',
        'harm_level': 'HarmLevel',
        'id': 'ID',
        'operator_list': 'OperatorList',
        'policy_name': 'PolicyName',
        'policy_name_en': 'PolicyNameEN',
        'policy_platform': 'PolicyPlatform',
        'policy_type': 'PolicyType',
        'status': 'Status'
    }

    def __init__(self, agent_id_list=None, all_f_suffix=None, all_linux=None, all_windows=None, directory_list=None, f_suffix_list=None, group_id_list=None, harm_level=None, id=None, operator_list=None, policy_name=None, policy_name_en=None, policy_platform=None, policy_type=None, status=None, _configuration=None):  # noqa: E501
        """EditMonitorPolicyRequest - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._agent_id_list = None
        self._all_f_suffix = None
        self._all_linux = None
        self._all_windows = None
        self._directory_list = None
        self._f_suffix_list = None
        self._group_id_list = None
        self._harm_level = None
        self._id = None
        self._operator_list = None
        self._policy_name = None
        self._policy_name_en = None
        self._policy_platform = None
        self._policy_type = None
        self._status = None
        self.discriminator = None

        if agent_id_list is not None:
            self.agent_id_list = agent_id_list
        if all_f_suffix is not None:
            self.all_f_suffix = all_f_suffix
        if all_linux is not None:
            self.all_linux = all_linux
        if all_windows is not None:
            self.all_windows = all_windows
        if directory_list is not None:
            self.directory_list = directory_list
        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
        self.harm_level = harm_level
        if id is not None:
            self.id = id
        if operator_list is not None:
            self.operator_list = operator_list
        if policy_name is not None:
            self.policy_name = policy_name
        if policy_name_en is not None:
            self.policy_name_en = policy_name_en
        self.policy_platform = policy_platform
        if policy_type is not None:
            self.policy_type = policy_type
        if status is not None:
            self.status = status

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


        :return: The agent_id_list of this EditMonitorPolicyRequest.  # noqa: E501
        :rtype: list[str]
        """
        return self._agent_id_list

    @agent_id_list.setter
    def agent_id_list(self, agent_id_list):
        """Sets the agent_id_list of this EditMonitorPolicyRequest.


        :param agent_id_list: The agent_id_list of this EditMonitorPolicyRequest.  # noqa: E501
        :type: list[str]
        """

        self._agent_id_list = agent_id_list

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


        :return: The all_f_suffix of this EditMonitorPolicyRequest.  # noqa: E501
        :rtype: bool
        """
        return self._all_f_suffix

    @all_f_suffix.setter
    def all_f_suffix(self, all_f_suffix):
        """Sets the all_f_suffix of this EditMonitorPolicyRequest.


        :param all_f_suffix: The all_f_suffix of this EditMonitorPolicyRequest.  # noqa: E501
        :type: bool
        """

        self._all_f_suffix = all_f_suffix

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


        :return: The all_linux of this EditMonitorPolicyRequest.  # noqa: E501
        :rtype: bool
        """
        return self._all_linux

    @all_linux.setter
    def all_linux(self, all_linux):
        """Sets the all_linux of this EditMonitorPolicyRequest.


        :param all_linux: The all_linux of this EditMonitorPolicyRequest.  # noqa: E501
        :type: bool
        """

        self._all_linux = all_linux

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


        :return: The all_windows of this EditMonitorPolicyRequest.  # noqa: E501
        :rtype: bool
        """
        return self._all_windows

    @all_windows.setter
    def all_windows(self, all_windows):
        """Sets the all_windows of this EditMonitorPolicyRequest.


        :param all_windows: The all_windows of this EditMonitorPolicyRequest.  # noqa: E501
        :type: bool
        """

        self._all_windows = all_windows

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


        :return: The directory_list of this EditMonitorPolicyRequest.  # noqa: E501
        :rtype: list[DirectoryListForEditMonitorPolicyInput]
        """
        return self._directory_list

    @directory_list.setter
    def directory_list(self, directory_list):
        """Sets the directory_list of this EditMonitorPolicyRequest.


        :param directory_list: The directory_list of this EditMonitorPolicyRequest.  # noqa: E501
        :type: list[DirectoryListForEditMonitorPolicyInput]
        """

        self._directory_list = directory_list

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


        :return: The f_suffix_list of this EditMonitorPolicyRequest.  # 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 EditMonitorPolicyRequest.


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


        :return: The group_id_list of this EditMonitorPolicyRequest.  # 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 EditMonitorPolicyRequest.


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

        self._group_id_list = group_id_list

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


        :return: The harm_level of this EditMonitorPolicyRequest.  # noqa: E501
        :rtype: str
        """
        return self._harm_level

    @harm_level.setter
    def harm_level(self, harm_level):
        """Sets the harm_level of this EditMonitorPolicyRequest.


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

        self._harm_level = harm_level

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


        :return: The id of this EditMonitorPolicyRequest.  # noqa: E501
        :rtype: str
        """
        return self._id

    @id.setter
    def id(self, id):
        """Sets the id of this EditMonitorPolicyRequest.


        :param id: The id of this EditMonitorPolicyRequest.  # noqa: E501
        :type: str
        """

        self._id = id

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


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

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


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

        self._operator_list = operator_list

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


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

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


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

        self._policy_name = policy_name

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


        :return: The policy_name_en of this EditMonitorPolicyRequest.  # noqa: E501
        :rtype: str
        """
        return self._policy_name_en

    @policy_name_en.setter
    def policy_name_en(self, policy_name_en):
        """Sets the policy_name_en of this EditMonitorPolicyRequest.


        :param policy_name_en: The policy_name_en of this EditMonitorPolicyRequest.  # noqa: E501
        :type: str
        """

        self._policy_name_en = policy_name_en

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


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

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


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

        self._policy_platform = policy_platform

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


        :return: The policy_type of this EditMonitorPolicyRequest.  # noqa: E501
        :rtype: str
        """
        return self._policy_type

    @policy_type.setter
    def policy_type(self, policy_type):
        """Sets the policy_type of this EditMonitorPolicyRequest.


        :param policy_type: The policy_type of this EditMonitorPolicyRequest.  # noqa: E501
        :type: str
        """

        self._policy_type = policy_type

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


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

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


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

        self._status = 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(EditMonitorPolicyRequest, 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, EditMonitorPolicyRequest):
            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, EditMonitorPolicyRequest):
            return True

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