# 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 CreateNamespaceResponse(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 = {
        'associates': 'str',
        'create_time': 'str',
        'description': 'str',
        'namespace_id': 'str',
        'namespace_name': 'str',
        'project_name': 'str',
        'tags': 'list[TagForCreateNamespaceOutput]',
        'trn': 'str',
        'update_time': 'str'
    }

    attribute_map = {
        'associates': 'Associates',
        'create_time': 'CreateTime',
        'description': 'Description',
        'namespace_id': 'NamespaceId',
        'namespace_name': 'NamespaceName',
        'project_name': 'ProjectName',
        'tags': 'Tags',
        'trn': 'Trn',
        'update_time': 'UpdateTime'
    }

    def __init__(self, associates=None, create_time=None, description=None, namespace_id=None, namespace_name=None, project_name=None, tags=None, trn=None, update_time=None, _configuration=None):  # noqa: E501
        """CreateNamespaceResponse - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._associates = None
        self._create_time = None
        self._description = None
        self._namespace_id = None
        self._namespace_name = None
        self._project_name = None
        self._tags = None
        self._trn = None
        self._update_time = None
        self.discriminator = None

        if associates is not None:
            self.associates = associates
        if create_time is not None:
            self.create_time = create_time
        if description is not None:
            self.description = description
        if namespace_id is not None:
            self.namespace_id = namespace_id
        if namespace_name is not None:
            self.namespace_name = namespace_name
        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 update_time is not None:
            self.update_time = update_time

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


        :return: The associates of this CreateNamespaceResponse.  # noqa: E501
        :rtype: str
        """
        return self._associates

    @associates.setter
    def associates(self, associates):
        """Sets the associates of this CreateNamespaceResponse.


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

        self._associates = associates

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


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

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


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

        self._create_time = create_time

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


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

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


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

        self._description = description

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


        :return: The namespace_id of this CreateNamespaceResponse.  # noqa: E501
        :rtype: str
        """
        return self._namespace_id

    @namespace_id.setter
    def namespace_id(self, namespace_id):
        """Sets the namespace_id of this CreateNamespaceResponse.


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

        self._namespace_id = namespace_id

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


        :return: The namespace_name of this CreateNamespaceResponse.  # noqa: E501
        :rtype: str
        """
        return self._namespace_name

    @namespace_name.setter
    def namespace_name(self, namespace_name):
        """Sets the namespace_name of this CreateNamespaceResponse.


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

        self._namespace_name = namespace_name

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


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

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


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

        self._project_name = project_name

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


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

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


        :param tags: The tags of this CreateNamespaceResponse.  # noqa: E501
        :type: list[TagForCreateNamespaceOutput]
        """

        self._tags = tags

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


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

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


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

        self._trn = trn

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


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

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


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

        self._update_time = update_time

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

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