# 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 GetVarmorPolicyResponse(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 = {
        'armor_profile_info': 'ArmorProfileInfoForGetVarmorPolicyOutput',
        'armor_profile_name': 'str',
        'cluster_id': 'str',
        'cluster_name': 'str',
        'created_at': 'str',
        'enforcement_mode': 'str',
        'error_message': 'str',
        'namespace': 'str',
        'policy_id': 'str',
        'policy_name': 'str',
        'policy_type': 'str',
        'policy_yaml': 'str',
        'region': 'str',
        'status': 'str'
    }

    attribute_map = {
        'armor_profile_info': 'ArmorProfileInfo',
        'armor_profile_name': 'ArmorProfileName',
        'cluster_id': 'ClusterID',
        'cluster_name': 'ClusterName',
        'created_at': 'CreatedAt',
        'enforcement_mode': 'EnforcementMode',
        'error_message': 'ErrorMessage',
        'namespace': 'Namespace',
        'policy_id': 'PolicyId',
        'policy_name': 'PolicyName',
        'policy_type': 'PolicyType',
        'policy_yaml': 'PolicyYAML',
        'region': 'Region',
        'status': 'Status'
    }

    def __init__(self, armor_profile_info=None, armor_profile_name=None, cluster_id=None, cluster_name=None, created_at=None, enforcement_mode=None, error_message=None, namespace=None, policy_id=None, policy_name=None, policy_type=None, policy_yaml=None, region=None, status=None, _configuration=None):  # noqa: E501
        """GetVarmorPolicyResponse - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._armor_profile_info = None
        self._armor_profile_name = None
        self._cluster_id = None
        self._cluster_name = None
        self._created_at = None
        self._enforcement_mode = None
        self._error_message = None
        self._namespace = None
        self._policy_id = None
        self._policy_name = None
        self._policy_type = None
        self._policy_yaml = None
        self._region = None
        self._status = None
        self.discriminator = None

        if armor_profile_info is not None:
            self.armor_profile_info = armor_profile_info
        if armor_profile_name is not None:
            self.armor_profile_name = armor_profile_name
        if cluster_id is not None:
            self.cluster_id = cluster_id
        if cluster_name is not None:
            self.cluster_name = cluster_name
        if created_at is not None:
            self.created_at = created_at
        if enforcement_mode is not None:
            self.enforcement_mode = enforcement_mode
        if error_message is not None:
            self.error_message = error_message
        if namespace is not None:
            self.namespace = namespace
        if policy_id is not None:
            self.policy_id = policy_id
        if policy_name is not None:
            self.policy_name = policy_name
        if policy_type is not None:
            self.policy_type = policy_type
        if policy_yaml is not None:
            self.policy_yaml = policy_yaml
        if region is not None:
            self.region = region
        if status is not None:
            self.status = status

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


        :return: The armor_profile_info of this GetVarmorPolicyResponse.  # noqa: E501
        :rtype: ArmorProfileInfoForGetVarmorPolicyOutput
        """
        return self._armor_profile_info

    @armor_profile_info.setter
    def armor_profile_info(self, armor_profile_info):
        """Sets the armor_profile_info of this GetVarmorPolicyResponse.


        :param armor_profile_info: The armor_profile_info of this GetVarmorPolicyResponse.  # noqa: E501
        :type: ArmorProfileInfoForGetVarmorPolicyOutput
        """

        self._armor_profile_info = armor_profile_info

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


        :return: The armor_profile_name of this GetVarmorPolicyResponse.  # noqa: E501
        :rtype: str
        """
        return self._armor_profile_name

    @armor_profile_name.setter
    def armor_profile_name(self, armor_profile_name):
        """Sets the armor_profile_name of this GetVarmorPolicyResponse.


        :param armor_profile_name: The armor_profile_name of this GetVarmorPolicyResponse.  # noqa: E501
        :type: str
        """

        self._armor_profile_name = armor_profile_name

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


        :return: The cluster_id of this GetVarmorPolicyResponse.  # noqa: E501
        :rtype: str
        """
        return self._cluster_id

    @cluster_id.setter
    def cluster_id(self, cluster_id):
        """Sets the cluster_id of this GetVarmorPolicyResponse.


        :param cluster_id: The cluster_id of this GetVarmorPolicyResponse.  # noqa: E501
        :type: str
        """

        self._cluster_id = cluster_id

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


        :return: The cluster_name of this GetVarmorPolicyResponse.  # noqa: E501
        :rtype: str
        """
        return self._cluster_name

    @cluster_name.setter
    def cluster_name(self, cluster_name):
        """Sets the cluster_name of this GetVarmorPolicyResponse.


        :param cluster_name: The cluster_name of this GetVarmorPolicyResponse.  # noqa: E501
        :type: str
        """

        self._cluster_name = cluster_name

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


        :return: The created_at of this GetVarmorPolicyResponse.  # noqa: E501
        :rtype: str
        """
        return self._created_at

    @created_at.setter
    def created_at(self, created_at):
        """Sets the created_at of this GetVarmorPolicyResponse.


        :param created_at: The created_at of this GetVarmorPolicyResponse.  # noqa: E501
        :type: str
        """

        self._created_at = created_at

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


        :return: The enforcement_mode of this GetVarmorPolicyResponse.  # noqa: E501
        :rtype: str
        """
        return self._enforcement_mode

    @enforcement_mode.setter
    def enforcement_mode(self, enforcement_mode):
        """Sets the enforcement_mode of this GetVarmorPolicyResponse.


        :param enforcement_mode: The enforcement_mode of this GetVarmorPolicyResponse.  # noqa: E501
        :type: str
        """

        self._enforcement_mode = enforcement_mode

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


        :return: The error_message of this GetVarmorPolicyResponse.  # noqa: E501
        :rtype: str
        """
        return self._error_message

    @error_message.setter
    def error_message(self, error_message):
        """Sets the error_message of this GetVarmorPolicyResponse.


        :param error_message: The error_message of this GetVarmorPolicyResponse.  # noqa: E501
        :type: str
        """

        self._error_message = error_message

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


        :return: The namespace of this GetVarmorPolicyResponse.  # noqa: E501
        :rtype: str
        """
        return self._namespace

    @namespace.setter
    def namespace(self, namespace):
        """Sets the namespace of this GetVarmorPolicyResponse.


        :param namespace: The namespace of this GetVarmorPolicyResponse.  # noqa: E501
        :type: str
        """

        self._namespace = namespace

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


        :return: The policy_id of this GetVarmorPolicyResponse.  # noqa: E501
        :rtype: str
        """
        return self._policy_id

    @policy_id.setter
    def policy_id(self, policy_id):
        """Sets the policy_id of this GetVarmorPolicyResponse.


        :param policy_id: The policy_id of this GetVarmorPolicyResponse.  # noqa: E501
        :type: str
        """

        self._policy_id = policy_id

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


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

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


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

        self._policy_name = policy_name

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


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

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


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

        self._policy_type = policy_type

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


        :return: The policy_yaml of this GetVarmorPolicyResponse.  # noqa: E501
        :rtype: str
        """
        return self._policy_yaml

    @policy_yaml.setter
    def policy_yaml(self, policy_yaml):
        """Sets the policy_yaml of this GetVarmorPolicyResponse.


        :param policy_yaml: The policy_yaml of this GetVarmorPolicyResponse.  # noqa: E501
        :type: str
        """

        self._policy_yaml = policy_yaml

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


        :return: The region of this GetVarmorPolicyResponse.  # noqa: E501
        :rtype: str
        """
        return self._region

    @region.setter
    def region(self, region):
        """Sets the region of this GetVarmorPolicyResponse.


        :param region: The region of this GetVarmorPolicyResponse.  # noqa: E501
        :type: str
        """

        self._region = region

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


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

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


        :param status: The status of this GetVarmorPolicyResponse.  # 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(GetVarmorPolicyResponse, 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, GetVarmorPolicyResponse):
            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, GetVarmorPolicyResponse):
            return True

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