# 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 CheckMonitorPolicyRequest(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 = {
        'account_id': 'str',
        'agent_id_list': 'list[str]',
        'all_linux': 'bool',
        'all_windows': 'bool',
        'group_id_list': 'list[str]',
        'id': 'str',
        'policy_platform': 'str'
    }

    attribute_map = {
        'account_id': 'AccountID',
        'agent_id_list': 'AgentIDList',
        'all_linux': 'AllLinux',
        'all_windows': 'AllWindows',
        'group_id_list': 'GroupIDList',
        'id': 'ID',
        'policy_platform': 'PolicyPlatform'
    }

    def __init__(self, account_id=None, agent_id_list=None, all_linux=None, all_windows=None, group_id_list=None, id=None, policy_platform=None, _configuration=None):  # noqa: E501
        """CheckMonitorPolicyRequest - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._account_id = None
        self._agent_id_list = None
        self._all_linux = None
        self._all_windows = None
        self._group_id_list = None
        self._id = None
        self._policy_platform = None
        self.discriminator = None

        if account_id is not None:
            self.account_id = account_id
        if agent_id_list is not None:
            self.agent_id_list = agent_id_list
        if all_linux is not None:
            self.all_linux = all_linux
        if all_windows is not None:
            self.all_windows = all_windows
        if group_id_list is not None:
            self.group_id_list = group_id_list
        if id is not None:
            self.id = id
        if policy_platform is not None:
            self.policy_platform = policy_platform

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


        :return: The account_id of this CheckMonitorPolicyRequest.  # noqa: E501
        :rtype: str
        """
        return self._account_id

    @account_id.setter
    def account_id(self, account_id):
        """Sets the account_id of this CheckMonitorPolicyRequest.


        :param account_id: The account_id of this CheckMonitorPolicyRequest.  # noqa: E501
        :type: str
        """

        self._account_id = account_id

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


        :return: The agent_id_list of this CheckMonitorPolicyRequest.  # 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 CheckMonitorPolicyRequest.


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

        self._agent_id_list = agent_id_list

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


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

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


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

        self._all_linux = all_linux

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


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

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


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

        self._all_windows = all_windows

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


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


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

        self._group_id_list = group_id_list

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


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

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


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

        self._id = id

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


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

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


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

        self._policy_platform = policy_platform

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

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