# coding: utf-8

"""
    aidap

    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 ComputeForModifyComputeSpecOutput(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 = {
        'auto_scaling_limit_max_cu': 'float',
        'auto_scaling_limit_min_cu': 'float',
        'branch_id': 'str',
        'compute_id': 'str',
        'compute_name': 'str',
        'compute_role': 'str',
        'compute_status': 'str',
        'create_time': 'str',
        'creation_source': 'str',
        'disabled': 'bool',
        'last_active_time': 'str',
        'status_changed_time': 'str',
        'suspended_time': 'str',
        'update_time': 'str',
        'workspace_id': 'str'
    }

    attribute_map = {
        'auto_scaling_limit_max_cu': 'AutoScalingLimitMaxCU',
        'auto_scaling_limit_min_cu': 'AutoScalingLimitMinCU',
        'branch_id': 'BranchId',
        'compute_id': 'ComputeId',
        'compute_name': 'ComputeName',
        'compute_role': 'ComputeRole',
        'compute_status': 'ComputeStatus',
        'create_time': 'CreateTime',
        'creation_source': 'CreationSource',
        'disabled': 'Disabled',
        'last_active_time': 'LastActiveTime',
        'status_changed_time': 'StatusChangedTime',
        'suspended_time': 'SuspendedTime',
        'update_time': 'UpdateTime',
        'workspace_id': 'WorkspaceId'
    }

    def __init__(self, auto_scaling_limit_max_cu=None, auto_scaling_limit_min_cu=None, branch_id=None, compute_id=None, compute_name=None, compute_role=None, compute_status=None, create_time=None, creation_source=None, disabled=None, last_active_time=None, status_changed_time=None, suspended_time=None, update_time=None, workspace_id=None, _configuration=None):  # noqa: E501
        """ComputeForModifyComputeSpecOutput - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._auto_scaling_limit_max_cu = None
        self._auto_scaling_limit_min_cu = None
        self._branch_id = None
        self._compute_id = None
        self._compute_name = None
        self._compute_role = None
        self._compute_status = None
        self._create_time = None
        self._creation_source = None
        self._disabled = None
        self._last_active_time = None
        self._status_changed_time = None
        self._suspended_time = None
        self._update_time = None
        self._workspace_id = None
        self.discriminator = None

        if auto_scaling_limit_max_cu is not None:
            self.auto_scaling_limit_max_cu = auto_scaling_limit_max_cu
        if auto_scaling_limit_min_cu is not None:
            self.auto_scaling_limit_min_cu = auto_scaling_limit_min_cu
        if branch_id is not None:
            self.branch_id = branch_id
        if compute_id is not None:
            self.compute_id = compute_id
        if compute_name is not None:
            self.compute_name = compute_name
        if compute_role is not None:
            self.compute_role = compute_role
        if compute_status is not None:
            self.compute_status = compute_status
        if create_time is not None:
            self.create_time = create_time
        if creation_source is not None:
            self.creation_source = creation_source
        if disabled is not None:
            self.disabled = disabled
        if last_active_time is not None:
            self.last_active_time = last_active_time
        if status_changed_time is not None:
            self.status_changed_time = status_changed_time
        if suspended_time is not None:
            self.suspended_time = suspended_time
        if update_time is not None:
            self.update_time = update_time
        if workspace_id is not None:
            self.workspace_id = workspace_id

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


        :return: The auto_scaling_limit_max_cu of this ComputeForModifyComputeSpecOutput.  # noqa: E501
        :rtype: float
        """
        return self._auto_scaling_limit_max_cu

    @auto_scaling_limit_max_cu.setter
    def auto_scaling_limit_max_cu(self, auto_scaling_limit_max_cu):
        """Sets the auto_scaling_limit_max_cu of this ComputeForModifyComputeSpecOutput.


        :param auto_scaling_limit_max_cu: The auto_scaling_limit_max_cu of this ComputeForModifyComputeSpecOutput.  # noqa: E501
        :type: float
        """

        self._auto_scaling_limit_max_cu = auto_scaling_limit_max_cu

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


        :return: The auto_scaling_limit_min_cu of this ComputeForModifyComputeSpecOutput.  # noqa: E501
        :rtype: float
        """
        return self._auto_scaling_limit_min_cu

    @auto_scaling_limit_min_cu.setter
    def auto_scaling_limit_min_cu(self, auto_scaling_limit_min_cu):
        """Sets the auto_scaling_limit_min_cu of this ComputeForModifyComputeSpecOutput.


        :param auto_scaling_limit_min_cu: The auto_scaling_limit_min_cu of this ComputeForModifyComputeSpecOutput.  # noqa: E501
        :type: float
        """

        self._auto_scaling_limit_min_cu = auto_scaling_limit_min_cu

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


        :return: The branch_id of this ComputeForModifyComputeSpecOutput.  # noqa: E501
        :rtype: str
        """
        return self._branch_id

    @branch_id.setter
    def branch_id(self, branch_id):
        """Sets the branch_id of this ComputeForModifyComputeSpecOutput.


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

        self._branch_id = branch_id

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


        :return: The compute_id of this ComputeForModifyComputeSpecOutput.  # noqa: E501
        :rtype: str
        """
        return self._compute_id

    @compute_id.setter
    def compute_id(self, compute_id):
        """Sets the compute_id of this ComputeForModifyComputeSpecOutput.


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

        self._compute_id = compute_id

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


        :return: The compute_name of this ComputeForModifyComputeSpecOutput.  # noqa: E501
        :rtype: str
        """
        return self._compute_name

    @compute_name.setter
    def compute_name(self, compute_name):
        """Sets the compute_name of this ComputeForModifyComputeSpecOutput.


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

        self._compute_name = compute_name

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


        :return: The compute_role of this ComputeForModifyComputeSpecOutput.  # noqa: E501
        :rtype: str
        """
        return self._compute_role

    @compute_role.setter
    def compute_role(self, compute_role):
        """Sets the compute_role of this ComputeForModifyComputeSpecOutput.


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

        self._compute_role = compute_role

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


        :return: The compute_status of this ComputeForModifyComputeSpecOutput.  # noqa: E501
        :rtype: str
        """
        return self._compute_status

    @compute_status.setter
    def compute_status(self, compute_status):
        """Sets the compute_status of this ComputeForModifyComputeSpecOutput.


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

        self._compute_status = compute_status

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


        :return: The create_time of this ComputeForModifyComputeSpecOutput.  # noqa: E501
        :rtype: str
        """
        return self._create_time

    @create_time.setter
    def create_time(self, create_time):
        """Sets the create_time of this ComputeForModifyComputeSpecOutput.


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

        self._create_time = create_time

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


        :return: The creation_source of this ComputeForModifyComputeSpecOutput.  # noqa: E501
        :rtype: str
        """
        return self._creation_source

    @creation_source.setter
    def creation_source(self, creation_source):
        """Sets the creation_source of this ComputeForModifyComputeSpecOutput.


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

        self._creation_source = creation_source

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


        :return: The disabled of this ComputeForModifyComputeSpecOutput.  # noqa: E501
        :rtype: bool
        """
        return self._disabled

    @disabled.setter
    def disabled(self, disabled):
        """Sets the disabled of this ComputeForModifyComputeSpecOutput.


        :param disabled: The disabled of this ComputeForModifyComputeSpecOutput.  # noqa: E501
        :type: bool
        """

        self._disabled = disabled

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


        :return: The last_active_time of this ComputeForModifyComputeSpecOutput.  # noqa: E501
        :rtype: str
        """
        return self._last_active_time

    @last_active_time.setter
    def last_active_time(self, last_active_time):
        """Sets the last_active_time of this ComputeForModifyComputeSpecOutput.


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

        self._last_active_time = last_active_time

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


        :return: The status_changed_time of this ComputeForModifyComputeSpecOutput.  # noqa: E501
        :rtype: str
        """
        return self._status_changed_time

    @status_changed_time.setter
    def status_changed_time(self, status_changed_time):
        """Sets the status_changed_time of this ComputeForModifyComputeSpecOutput.


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

        self._status_changed_time = status_changed_time

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


        :return: The suspended_time of this ComputeForModifyComputeSpecOutput.  # noqa: E501
        :rtype: str
        """
        return self._suspended_time

    @suspended_time.setter
    def suspended_time(self, suspended_time):
        """Sets the suspended_time of this ComputeForModifyComputeSpecOutput.


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

        self._suspended_time = suspended_time

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


        :return: The update_time of this ComputeForModifyComputeSpecOutput.  # noqa: E501
        :rtype: str
        """
        return self._update_time

    @update_time.setter
    def update_time(self, update_time):
        """Sets the update_time of this ComputeForModifyComputeSpecOutput.


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

        self._update_time = update_time

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


        :return: The workspace_id of this ComputeForModifyComputeSpecOutput.  # noqa: E501
        :rtype: str
        """
        return self._workspace_id

    @workspace_id.setter
    def workspace_id(self, workspace_id):
        """Sets the workspace_id of this ComputeForModifyComputeSpecOutput.


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

        self._workspace_id = workspace_id

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

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