# 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 WorkspaceForDescribeWorkspacesOutput(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',
        'compute_settings': 'ComputeSettingsForDescribeWorkspacesOutput',
        'create_time': 'str',
        'creation_source': 'str',
        'deletion_protection_status': 'str',
        'engine_type': 'str',
        'engine_version': 'str',
        'internet_protocol': 'str',
        'project_name': 'str',
        'region_id': 'str',
        'shared_private_network': 'bool',
        'status_changed_time': 'str',
        'storage_size': 'int',
        'storage_type': 'str',
        'subnet_id': 'str',
        'update_time': 'str',
        'vpc_id': 'str',
        'workspace_id': 'str',
        'workspace_name': 'str',
        'workspace_setting': 'WorkspaceSettingForDescribeWorkspacesOutput',
        'workspace_status': 'str',
        'workspace_tags': 'list[WorkspaceTagForDescribeWorkspacesOutput]',
        'workspace_usage': 'WorkspaceUsageForDescribeWorkspacesOutput'
    }

    attribute_map = {
        'account_id': 'AccountId',
        'compute_settings': 'ComputeSettings',
        'create_time': 'CreateTime',
        'creation_source': 'CreationSource',
        'deletion_protection_status': 'DeletionProtectionStatus',
        'engine_type': 'EngineType',
        'engine_version': 'EngineVersion',
        'internet_protocol': 'InternetProtocol',
        'project_name': 'ProjectName',
        'region_id': 'RegionId',
        'shared_private_network': 'SharedPrivateNetwork',
        'status_changed_time': 'StatusChangedTime',
        'storage_size': 'StorageSize',
        'storage_type': 'StorageType',
        'subnet_id': 'SubnetId',
        'update_time': 'UpdateTime',
        'vpc_id': 'VpcId',
        'workspace_id': 'WorkspaceId',
        'workspace_name': 'WorkspaceName',
        'workspace_setting': 'WorkspaceSetting',
        'workspace_status': 'WorkspaceStatus',
        'workspace_tags': 'WorkspaceTags',
        'workspace_usage': 'WorkspaceUsage'
    }

    def __init__(self, account_id=None, compute_settings=None, create_time=None, creation_source=None, deletion_protection_status=None, engine_type=None, engine_version=None, internet_protocol=None, project_name=None, region_id=None, shared_private_network=None, status_changed_time=None, storage_size=None, storage_type=None, subnet_id=None, update_time=None, vpc_id=None, workspace_id=None, workspace_name=None, workspace_setting=None, workspace_status=None, workspace_tags=None, workspace_usage=None, _configuration=None):  # noqa: E501
        """WorkspaceForDescribeWorkspacesOutput - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._account_id = None
        self._compute_settings = None
        self._create_time = None
        self._creation_source = None
        self._deletion_protection_status = None
        self._engine_type = None
        self._engine_version = None
        self._internet_protocol = None
        self._project_name = None
        self._region_id = None
        self._shared_private_network = None
        self._status_changed_time = None
        self._storage_size = None
        self._storage_type = None
        self._subnet_id = None
        self._update_time = None
        self._vpc_id = None
        self._workspace_id = None
        self._workspace_name = None
        self._workspace_setting = None
        self._workspace_status = None
        self._workspace_tags = None
        self._workspace_usage = None
        self.discriminator = None

        if account_id is not None:
            self.account_id = account_id
        if compute_settings is not None:
            self.compute_settings = compute_settings
        if create_time is not None:
            self.create_time = create_time
        if creation_source is not None:
            self.creation_source = creation_source
        if deletion_protection_status is not None:
            self.deletion_protection_status = deletion_protection_status
        if engine_type is not None:
            self.engine_type = engine_type
        if engine_version is not None:
            self.engine_version = engine_version
        if internet_protocol is not None:
            self.internet_protocol = internet_protocol
        if project_name is not None:
            self.project_name = project_name
        if region_id is not None:
            self.region_id = region_id
        if shared_private_network is not None:
            self.shared_private_network = shared_private_network
        if status_changed_time is not None:
            self.status_changed_time = status_changed_time
        if storage_size is not None:
            self.storage_size = storage_size
        if storage_type is not None:
            self.storage_type = storage_type
        if subnet_id is not None:
            self.subnet_id = subnet_id
        if update_time is not None:
            self.update_time = update_time
        if vpc_id is not None:
            self.vpc_id = vpc_id
        if workspace_id is not None:
            self.workspace_id = workspace_id
        if workspace_name is not None:
            self.workspace_name = workspace_name
        if workspace_setting is not None:
            self.workspace_setting = workspace_setting
        if workspace_status is not None:
            self.workspace_status = workspace_status
        if workspace_tags is not None:
            self.workspace_tags = workspace_tags
        if workspace_usage is not None:
            self.workspace_usage = workspace_usage

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


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

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


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

        self._account_id = account_id

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


        :return: The compute_settings of this WorkspaceForDescribeWorkspacesOutput.  # noqa: E501
        :rtype: ComputeSettingsForDescribeWorkspacesOutput
        """
        return self._compute_settings

    @compute_settings.setter
    def compute_settings(self, compute_settings):
        """Sets the compute_settings of this WorkspaceForDescribeWorkspacesOutput.


        :param compute_settings: The compute_settings of this WorkspaceForDescribeWorkspacesOutput.  # noqa: E501
        :type: ComputeSettingsForDescribeWorkspacesOutput
        """

        self._compute_settings = compute_settings

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


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

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


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

        self._create_time = create_time

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


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

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


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

        self._creation_source = creation_source

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


        :return: The deletion_protection_status of this WorkspaceForDescribeWorkspacesOutput.  # noqa: E501
        :rtype: str
        """
        return self._deletion_protection_status

    @deletion_protection_status.setter
    def deletion_protection_status(self, deletion_protection_status):
        """Sets the deletion_protection_status of this WorkspaceForDescribeWorkspacesOutput.


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

        self._deletion_protection_status = deletion_protection_status

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


        :return: The engine_type of this WorkspaceForDescribeWorkspacesOutput.  # noqa: E501
        :rtype: str
        """
        return self._engine_type

    @engine_type.setter
    def engine_type(self, engine_type):
        """Sets the engine_type of this WorkspaceForDescribeWorkspacesOutput.


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

        self._engine_type = engine_type

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


        :return: The engine_version of this WorkspaceForDescribeWorkspacesOutput.  # noqa: E501
        :rtype: str
        """
        return self._engine_version

    @engine_version.setter
    def engine_version(self, engine_version):
        """Sets the engine_version of this WorkspaceForDescribeWorkspacesOutput.


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

        self._engine_version = engine_version

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


        :return: The internet_protocol of this WorkspaceForDescribeWorkspacesOutput.  # noqa: E501
        :rtype: str
        """
        return self._internet_protocol

    @internet_protocol.setter
    def internet_protocol(self, internet_protocol):
        """Sets the internet_protocol of this WorkspaceForDescribeWorkspacesOutput.


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

        self._internet_protocol = internet_protocol

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


        :return: The project_name of this WorkspaceForDescribeWorkspacesOutput.  # noqa: E501
        :rtype: str
        """
        return self._project_name

    @project_name.setter
    def project_name(self, project_name):
        """Sets the project_name of this WorkspaceForDescribeWorkspacesOutput.


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

        self._project_name = project_name

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


        :return: The region_id of this WorkspaceForDescribeWorkspacesOutput.  # noqa: E501
        :rtype: str
        """
        return self._region_id

    @region_id.setter
    def region_id(self, region_id):
        """Sets the region_id of this WorkspaceForDescribeWorkspacesOutput.


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

        self._region_id = region_id

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


        :return: The shared_private_network of this WorkspaceForDescribeWorkspacesOutput.  # noqa: E501
        :rtype: bool
        """
        return self._shared_private_network

    @shared_private_network.setter
    def shared_private_network(self, shared_private_network):
        """Sets the shared_private_network of this WorkspaceForDescribeWorkspacesOutput.


        :param shared_private_network: The shared_private_network of this WorkspaceForDescribeWorkspacesOutput.  # noqa: E501
        :type: bool
        """

        self._shared_private_network = shared_private_network

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


        :return: The status_changed_time of this WorkspaceForDescribeWorkspacesOutput.  # 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 WorkspaceForDescribeWorkspacesOutput.


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

        self._status_changed_time = status_changed_time

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


        :return: The storage_size of this WorkspaceForDescribeWorkspacesOutput.  # noqa: E501
        :rtype: int
        """
        return self._storage_size

    @storage_size.setter
    def storage_size(self, storage_size):
        """Sets the storage_size of this WorkspaceForDescribeWorkspacesOutput.


        :param storage_size: The storage_size of this WorkspaceForDescribeWorkspacesOutput.  # noqa: E501
        :type: int
        """

        self._storage_size = storage_size

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


        :return: The storage_type of this WorkspaceForDescribeWorkspacesOutput.  # noqa: E501
        :rtype: str
        """
        return self._storage_type

    @storage_type.setter
    def storage_type(self, storage_type):
        """Sets the storage_type of this WorkspaceForDescribeWorkspacesOutput.


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

        self._storage_type = storage_type

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


        :return: The subnet_id of this WorkspaceForDescribeWorkspacesOutput.  # noqa: E501
        :rtype: str
        """
        return self._subnet_id

    @subnet_id.setter
    def subnet_id(self, subnet_id):
        """Sets the subnet_id of this WorkspaceForDescribeWorkspacesOutput.


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

        self._subnet_id = subnet_id

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


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

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


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

        self._update_time = update_time

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


        :return: The vpc_id of this WorkspaceForDescribeWorkspacesOutput.  # noqa: E501
        :rtype: str
        """
        return self._vpc_id

    @vpc_id.setter
    def vpc_id(self, vpc_id):
        """Sets the vpc_id of this WorkspaceForDescribeWorkspacesOutput.


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

        self._vpc_id = vpc_id

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


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

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


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

        self._workspace_id = workspace_id

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


        :return: The workspace_name of this WorkspaceForDescribeWorkspacesOutput.  # noqa: E501
        :rtype: str
        """
        return self._workspace_name

    @workspace_name.setter
    def workspace_name(self, workspace_name):
        """Sets the workspace_name of this WorkspaceForDescribeWorkspacesOutput.


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

        self._workspace_name = workspace_name

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


        :return: The workspace_setting of this WorkspaceForDescribeWorkspacesOutput.  # noqa: E501
        :rtype: WorkspaceSettingForDescribeWorkspacesOutput
        """
        return self._workspace_setting

    @workspace_setting.setter
    def workspace_setting(self, workspace_setting):
        """Sets the workspace_setting of this WorkspaceForDescribeWorkspacesOutput.


        :param workspace_setting: The workspace_setting of this WorkspaceForDescribeWorkspacesOutput.  # noqa: E501
        :type: WorkspaceSettingForDescribeWorkspacesOutput
        """

        self._workspace_setting = workspace_setting

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


        :return: The workspace_status of this WorkspaceForDescribeWorkspacesOutput.  # noqa: E501
        :rtype: str
        """
        return self._workspace_status

    @workspace_status.setter
    def workspace_status(self, workspace_status):
        """Sets the workspace_status of this WorkspaceForDescribeWorkspacesOutput.


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

        self._workspace_status = workspace_status

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


        :return: The workspace_tags of this WorkspaceForDescribeWorkspacesOutput.  # noqa: E501
        :rtype: list[WorkspaceTagForDescribeWorkspacesOutput]
        """
        return self._workspace_tags

    @workspace_tags.setter
    def workspace_tags(self, workspace_tags):
        """Sets the workspace_tags of this WorkspaceForDescribeWorkspacesOutput.


        :param workspace_tags: The workspace_tags of this WorkspaceForDescribeWorkspacesOutput.  # noqa: E501
        :type: list[WorkspaceTagForDescribeWorkspacesOutput]
        """

        self._workspace_tags = workspace_tags

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


        :return: The workspace_usage of this WorkspaceForDescribeWorkspacesOutput.  # noqa: E501
        :rtype: WorkspaceUsageForDescribeWorkspacesOutput
        """
        return self._workspace_usage

    @workspace_usage.setter
    def workspace_usage(self, workspace_usage):
        """Sets the workspace_usage of this WorkspaceForDescribeWorkspacesOutput.


        :param workspace_usage: The workspace_usage of this WorkspaceForDescribeWorkspacesOutput.  # noqa: E501
        :type: WorkspaceUsageForDescribeWorkspacesOutput
        """

        self._workspace_usage = workspace_usage

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

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