# 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 BatchInstallVarmorAppsRequest(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 = {
        'cluster_ids': 'list[str]',
        'config_type': 'str',
        'namespace': 'str',
        'varmor_simple_config': 'VarmorSimpleConfigForBatchInstallVarmorAppsInput',
        'version': 'str',
        'yaml_config': 'str'
    }

    attribute_map = {
        'cluster_ids': 'ClusterIDs',
        'config_type': 'ConfigType',
        'namespace': 'Namespace',
        'varmor_simple_config': 'VarmorSimpleConfig',
        'version': 'Version',
        'yaml_config': 'YAMLConfig'
    }

    def __init__(self, cluster_ids=None, config_type=None, namespace=None, varmor_simple_config=None, version=None, yaml_config=None, _configuration=None):  # noqa: E501
        """BatchInstallVarmorAppsRequest - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._cluster_ids = None
        self._config_type = None
        self._namespace = None
        self._varmor_simple_config = None
        self._version = None
        self._yaml_config = None
        self.discriminator = None

        if cluster_ids is not None:
            self.cluster_ids = cluster_ids
        if config_type is not None:
            self.config_type = config_type
        if namespace is not None:
            self.namespace = namespace
        if varmor_simple_config is not None:
            self.varmor_simple_config = varmor_simple_config
        if version is not None:
            self.version = version
        if yaml_config is not None:
            self.yaml_config = yaml_config

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


        :return: The cluster_ids of this BatchInstallVarmorAppsRequest.  # noqa: E501
        :rtype: list[str]
        """
        return self._cluster_ids

    @cluster_ids.setter
    def cluster_ids(self, cluster_ids):
        """Sets the cluster_ids of this BatchInstallVarmorAppsRequest.


        :param cluster_ids: The cluster_ids of this BatchInstallVarmorAppsRequest.  # noqa: E501
        :type: list[str]
        """

        self._cluster_ids = cluster_ids

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


        :return: The config_type of this BatchInstallVarmorAppsRequest.  # noqa: E501
        :rtype: str
        """
        return self._config_type

    @config_type.setter
    def config_type(self, config_type):
        """Sets the config_type of this BatchInstallVarmorAppsRequest.


        :param config_type: The config_type of this BatchInstallVarmorAppsRequest.  # noqa: E501
        :type: str
        """

        self._config_type = config_type

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


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

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


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

        self._namespace = namespace

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


        :return: The varmor_simple_config of this BatchInstallVarmorAppsRequest.  # noqa: E501
        :rtype: VarmorSimpleConfigForBatchInstallVarmorAppsInput
        """
        return self._varmor_simple_config

    @varmor_simple_config.setter
    def varmor_simple_config(self, varmor_simple_config):
        """Sets the varmor_simple_config of this BatchInstallVarmorAppsRequest.


        :param varmor_simple_config: The varmor_simple_config of this BatchInstallVarmorAppsRequest.  # noqa: E501
        :type: VarmorSimpleConfigForBatchInstallVarmorAppsInput
        """

        self._varmor_simple_config = varmor_simple_config

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


        :return: The version of this BatchInstallVarmorAppsRequest.  # noqa: E501
        :rtype: str
        """
        return self._version

    @version.setter
    def version(self, version):
        """Sets the version of this BatchInstallVarmorAppsRequest.


        :param version: The version of this BatchInstallVarmorAppsRequest.  # noqa: E501
        :type: str
        """

        self._version = version

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


        :return: The yaml_config of this BatchInstallVarmorAppsRequest.  # noqa: E501
        :rtype: str
        """
        return self._yaml_config

    @yaml_config.setter
    def yaml_config(self, yaml_config):
        """Sets the yaml_config of this BatchInstallVarmorAppsRequest.


        :param yaml_config: The yaml_config of this BatchInstallVarmorAppsRequest.  # noqa: E501
        :type: str
        """

        self._yaml_config = yaml_config

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

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