# coding: utf-8

"""
    id

    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 CreateWorkloadPoolResponse(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 = {
        'created_at': 'str',
        'description': 'str',
        'discovery_url': 'str',
        'project_name': 'str',
        'tags': 'list[TagForCreateWorkloadPoolOutput]',
        'trn': 'str',
        'updated_at': 'str',
        'workload_pool_id': 'str',
        'workload_pool_name': 'str'
    }

    attribute_map = {
        'created_at': 'CreatedAt',
        'description': 'Description',
        'discovery_url': 'DiscoveryUrl',
        'project_name': 'ProjectName',
        'tags': 'Tags',
        'trn': 'Trn',
        'updated_at': 'UpdatedAt',
        'workload_pool_id': 'WorkloadPoolId',
        'workload_pool_name': 'WorkloadPoolName'
    }

    def __init__(self, created_at=None, description=None, discovery_url=None, project_name=None, tags=None, trn=None, updated_at=None, workload_pool_id=None, workload_pool_name=None, _configuration=None):  # noqa: E501
        """CreateWorkloadPoolResponse - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._created_at = None
        self._description = None
        self._discovery_url = None
        self._project_name = None
        self._tags = None
        self._trn = None
        self._updated_at = None
        self._workload_pool_id = None
        self._workload_pool_name = None
        self.discriminator = None

        if created_at is not None:
            self.created_at = created_at
        if description is not None:
            self.description = description
        if discovery_url is not None:
            self.discovery_url = discovery_url
        if project_name is not None:
            self.project_name = project_name
        if tags is not None:
            self.tags = tags
        if trn is not None:
            self.trn = trn
        if updated_at is not None:
            self.updated_at = updated_at
        if workload_pool_id is not None:
            self.workload_pool_id = workload_pool_id
        if workload_pool_name is not None:
            self.workload_pool_name = workload_pool_name

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


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

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


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

        self._created_at = created_at

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


        :return: The description of this CreateWorkloadPoolResponse.  # noqa: E501
        :rtype: str
        """
        return self._description

    @description.setter
    def description(self, description):
        """Sets the description of this CreateWorkloadPoolResponse.


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

        self._description = description

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


        :return: The discovery_url of this CreateWorkloadPoolResponse.  # noqa: E501
        :rtype: str
        """
        return self._discovery_url

    @discovery_url.setter
    def discovery_url(self, discovery_url):
        """Sets the discovery_url of this CreateWorkloadPoolResponse.


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

        self._discovery_url = discovery_url

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


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

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


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

        self._project_name = project_name

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


        :return: The tags of this CreateWorkloadPoolResponse.  # noqa: E501
        :rtype: list[TagForCreateWorkloadPoolOutput]
        """
        return self._tags

    @tags.setter
    def tags(self, tags):
        """Sets the tags of this CreateWorkloadPoolResponse.


        :param tags: The tags of this CreateWorkloadPoolResponse.  # noqa: E501
        :type: list[TagForCreateWorkloadPoolOutput]
        """

        self._tags = tags

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


        :return: The trn of this CreateWorkloadPoolResponse.  # noqa: E501
        :rtype: str
        """
        return self._trn

    @trn.setter
    def trn(self, trn):
        """Sets the trn of this CreateWorkloadPoolResponse.


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

        self._trn = trn

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


        :return: The updated_at of this CreateWorkloadPoolResponse.  # noqa: E501
        :rtype: str
        """
        return self._updated_at

    @updated_at.setter
    def updated_at(self, updated_at):
        """Sets the updated_at of this CreateWorkloadPoolResponse.


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

        self._updated_at = updated_at

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


        :return: The workload_pool_id of this CreateWorkloadPoolResponse.  # noqa: E501
        :rtype: str
        """
        return self._workload_pool_id

    @workload_pool_id.setter
    def workload_pool_id(self, workload_pool_id):
        """Sets the workload_pool_id of this CreateWorkloadPoolResponse.


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

        self._workload_pool_id = workload_pool_id

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


        :return: The workload_pool_name of this CreateWorkloadPoolResponse.  # noqa: E501
        :rtype: str
        """
        return self._workload_pool_name

    @workload_pool_name.setter
    def workload_pool_name(self, workload_pool_name):
        """Sets the workload_pool_name of this CreateWorkloadPoolResponse.


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

        self._workload_pool_name = workload_pool_name

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

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