# coding: utf-8

"""
    vke

    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 ItemForListScalingPoliciesOutput(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 = {
        'adjustment_value': 'int',
        'cluster_id': 'str',
        'create_client_token': 'str',
        'enabled': 'bool',
        'id': 'str',
        'node_pool_id': 'str',
        'scheduled_instance_policy': 'ScheduledInstancePolicyForListScalingPoliciesOutput',
        'scheduled_policy': 'ScheduledPolicyForListScalingPoliciesOutput',
        'type': 'str',
        'update_client_token': 'str'
    }

    attribute_map = {
        'adjustment_value': 'AdjustmentValue',
        'cluster_id': 'ClusterId',
        'create_client_token': 'CreateClientToken',
        'enabled': 'Enabled',
        'id': 'Id',
        'node_pool_id': 'NodePoolId',
        'scheduled_instance_policy': 'ScheduledInstancePolicy',
        'scheduled_policy': 'ScheduledPolicy',
        'type': 'Type',
        'update_client_token': 'UpdateClientToken'
    }

    def __init__(self, adjustment_value=None, cluster_id=None, create_client_token=None, enabled=None, id=None, node_pool_id=None, scheduled_instance_policy=None, scheduled_policy=None, type=None, update_client_token=None, _configuration=None):  # noqa: E501
        """ItemForListScalingPoliciesOutput - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._adjustment_value = None
        self._cluster_id = None
        self._create_client_token = None
        self._enabled = None
        self._id = None
        self._node_pool_id = None
        self._scheduled_instance_policy = None
        self._scheduled_policy = None
        self._type = None
        self._update_client_token = None
        self.discriminator = None

        if adjustment_value is not None:
            self.adjustment_value = adjustment_value
        if cluster_id is not None:
            self.cluster_id = cluster_id
        if create_client_token is not None:
            self.create_client_token = create_client_token
        if enabled is not None:
            self.enabled = enabled
        if id is not None:
            self.id = id
        if node_pool_id is not None:
            self.node_pool_id = node_pool_id
        if scheduled_instance_policy is not None:
            self.scheduled_instance_policy = scheduled_instance_policy
        if scheduled_policy is not None:
            self.scheduled_policy = scheduled_policy
        if type is not None:
            self.type = type
        if update_client_token is not None:
            self.update_client_token = update_client_token

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


        :return: The adjustment_value of this ItemForListScalingPoliciesOutput.  # noqa: E501
        :rtype: int
        """
        return self._adjustment_value

    @adjustment_value.setter
    def adjustment_value(self, adjustment_value):
        """Sets the adjustment_value of this ItemForListScalingPoliciesOutput.


        :param adjustment_value: The adjustment_value of this ItemForListScalingPoliciesOutput.  # noqa: E501
        :type: int
        """

        self._adjustment_value = adjustment_value

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


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

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


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

        self._cluster_id = cluster_id

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


        :return: The create_client_token of this ItemForListScalingPoliciesOutput.  # noqa: E501
        :rtype: str
        """
        return self._create_client_token

    @create_client_token.setter
    def create_client_token(self, create_client_token):
        """Sets the create_client_token of this ItemForListScalingPoliciesOutput.


        :param create_client_token: The create_client_token of this ItemForListScalingPoliciesOutput.  # noqa: E501
        :type: str
        """

        self._create_client_token = create_client_token

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


        :return: The enabled of this ItemForListScalingPoliciesOutput.  # noqa: E501
        :rtype: bool
        """
        return self._enabled

    @enabled.setter
    def enabled(self, enabled):
        """Sets the enabled of this ItemForListScalingPoliciesOutput.


        :param enabled: The enabled of this ItemForListScalingPoliciesOutput.  # noqa: E501
        :type: bool
        """

        self._enabled = enabled

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


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

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


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

        self._id = id

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


        :return: The node_pool_id of this ItemForListScalingPoliciesOutput.  # noqa: E501
        :rtype: str
        """
        return self._node_pool_id

    @node_pool_id.setter
    def node_pool_id(self, node_pool_id):
        """Sets the node_pool_id of this ItemForListScalingPoliciesOutput.


        :param node_pool_id: The node_pool_id of this ItemForListScalingPoliciesOutput.  # noqa: E501
        :type: str
        """

        self._node_pool_id = node_pool_id

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


        :return: The scheduled_instance_policy of this ItemForListScalingPoliciesOutput.  # noqa: E501
        :rtype: ScheduledInstancePolicyForListScalingPoliciesOutput
        """
        return self._scheduled_instance_policy

    @scheduled_instance_policy.setter
    def scheduled_instance_policy(self, scheduled_instance_policy):
        """Sets the scheduled_instance_policy of this ItemForListScalingPoliciesOutput.


        :param scheduled_instance_policy: The scheduled_instance_policy of this ItemForListScalingPoliciesOutput.  # noqa: E501
        :type: ScheduledInstancePolicyForListScalingPoliciesOutput
        """

        self._scheduled_instance_policy = scheduled_instance_policy

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


        :return: The scheduled_policy of this ItemForListScalingPoliciesOutput.  # noqa: E501
        :rtype: ScheduledPolicyForListScalingPoliciesOutput
        """
        return self._scheduled_policy

    @scheduled_policy.setter
    def scheduled_policy(self, scheduled_policy):
        """Sets the scheduled_policy of this ItemForListScalingPoliciesOutput.


        :param scheduled_policy: The scheduled_policy of this ItemForListScalingPoliciesOutput.  # noqa: E501
        :type: ScheduledPolicyForListScalingPoliciesOutput
        """

        self._scheduled_policy = scheduled_policy

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


        :return: The type of this ItemForListScalingPoliciesOutput.  # noqa: E501
        :rtype: str
        """
        return self._type

    @type.setter
    def type(self, type):
        """Sets the type of this ItemForListScalingPoliciesOutput.


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

        self._type = type

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


        :return: The update_client_token of this ItemForListScalingPoliciesOutput.  # noqa: E501
        :rtype: str
        """
        return self._update_client_token

    @update_client_token.setter
    def update_client_token(self, update_client_token):
        """Sets the update_client_token of this ItemForListScalingPoliciesOutput.


        :param update_client_token: The update_client_token of this ItemForListScalingPoliciesOutput.  # noqa: E501
        :type: str
        """

        self._update_client_token = update_client_token

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

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