# coding: utf-8

"""
    i18n_openapi

    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 DataForProjectNamespacesOutput(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',
        'creator_id': 'int',
        'description': 'str',
        'extra': 'str',
        'id': 'int',
        'namespace': 'str',
        'project_id': 'int',
        'project_name': 'str',
        'updated_at': 'str'
    }

    attribute_map = {
        'created_at': 'createdAt',
        'creator_id': 'creatorId',
        'description': 'description',
        'extra': 'extra',
        'id': 'id',
        'namespace': 'namespace',
        'project_id': 'projectId',
        'project_name': 'projectName',
        'updated_at': 'updatedAt'
    }

    def __init__(self, created_at=None, creator_id=None, description=None, extra=None, id=None, namespace=None, project_id=None, project_name=None, updated_at=None, _configuration=None):  # noqa: E501
        """DataForProjectNamespacesOutput - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._created_at = None
        self._creator_id = None
        self._description = None
        self._extra = None
        self._id = None
        self._namespace = None
        self._project_id = None
        self._project_name = None
        self._updated_at = None
        self.discriminator = None

        if created_at is not None:
            self.created_at = created_at
        if creator_id is not None:
            self.creator_id = creator_id
        if description is not None:
            self.description = description
        if extra is not None:
            self.extra = extra
        if id is not None:
            self.id = id
        if namespace is not None:
            self.namespace = namespace
        if project_id is not None:
            self.project_id = project_id
        if project_name is not None:
            self.project_name = project_name
        if updated_at is not None:
            self.updated_at = updated_at

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


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

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


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

        self._created_at = created_at

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


        :return: The creator_id of this DataForProjectNamespacesOutput.  # noqa: E501
        :rtype: int
        """
        return self._creator_id

    @creator_id.setter
    def creator_id(self, creator_id):
        """Sets the creator_id of this DataForProjectNamespacesOutput.


        :param creator_id: The creator_id of this DataForProjectNamespacesOutput.  # noqa: E501
        :type: int
        """

        self._creator_id = creator_id

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


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

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


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

        self._description = description

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


        :return: The extra of this DataForProjectNamespacesOutput.  # noqa: E501
        :rtype: str
        """
        return self._extra

    @extra.setter
    def extra(self, extra):
        """Sets the extra of this DataForProjectNamespacesOutput.


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

        self._extra = extra

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


        :return: The id of this DataForProjectNamespacesOutput.  # noqa: E501
        :rtype: int
        """
        return self._id

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


        :param id: The id of this DataForProjectNamespacesOutput.  # noqa: E501
        :type: int
        """

        self._id = id

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


        :return: The namespace of this DataForProjectNamespacesOutput.  # noqa: E501
        :rtype: str
        """
        return self._namespace

    @namespace.setter
    def namespace(self, namespace):
        """Sets the namespace of this DataForProjectNamespacesOutput.


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

        self._namespace = namespace

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


        :return: The project_id of this DataForProjectNamespacesOutput.  # noqa: E501
        :rtype: int
        """
        return self._project_id

    @project_id.setter
    def project_id(self, project_id):
        """Sets the project_id of this DataForProjectNamespacesOutput.


        :param project_id: The project_id of this DataForProjectNamespacesOutput.  # noqa: E501
        :type: int
        """

        self._project_id = project_id

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


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

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


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

        self._project_name = project_name

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


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

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


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

        self._updated_at = updated_at

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

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