text: # coding: utf-8
  
  """
      Lightly API
  
      Lightly.ai enables you to do self-supervised learning in an easy and intuitive way. The lightly.ai OpenAPI spec defines how one can interact with our REST API to unleash the full potential of lightly.ai  # noqa: E501
  
      OpenAPI spec version: 1.0.0
      Contact: support@lightly.ai
      Generated by: https://github.com/swagger-api/swagger-codegen.git
  """
  
  
  import pprint
  import re  # noqa: F401
  
  import six
  
  from lightly.openapi_generated.swagger_client.configuration import Configuration
  
  
  class DatasetDataEnriched(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 = {
          'id': 'MongoObjectID',
          'name': 'DatasetName',
          'type': 'DatasetType',
          'img_type': 'ImageType',
          'n_samples': 'int',
          'size_in_bytes': 'int',
          'created_at': 'Timestamp',
          'last_modified_at': 'Timestamp',
          'meta_data_configuration_id': 'MongoObjectID',
          'samples': 'list[MongoObjectID]',
          'n_tags': 'int',
          'n_embeddings': 'int'
      }
  
      attribute_map = {
          'id': 'id',
          'name': 'name',
          'type': 'type',
          'img_type': 'imgType',
          'n_samples': 'nSamples',
          'size_in_bytes': 'sizeInBytes',
          'created_at': 'createdAt',
          'last_modified_at': 'lastModifiedAt',
          'meta_data_configuration_id': 'metaDataConfigurationId',
          'samples': 'samples',
          'n_tags': 'nTags',
          'n_embeddings': 'nEmbeddings'
      }
  
      def __init__(self, id=None, name=None, type=None, img_type=None, n_samples=None, size_in_bytes=None, created_at=None, last_modified_at=None, meta_data_configuration_id=None, samples=None, n_tags=None, n_embeddings=None, _configuration=None):  # noqa: E501
          """DatasetDataEnriched - a model defined in Swagger"""  # noqa: E501
          if _configuration is None:
              _configuration = Configuration()
          self._configuration = _configuration
  
          self._id = None
          self._name = None
          self._type = None
          self._img_type = None
          self._n_samples = None
          self._size_in_bytes = None
          self._created_at = None
          self._last_modified_at = None
          self._meta_data_configuration_id = None
          self._samples = None
          self._n_tags = None
          self._n_embeddings = None
          self.discriminator = None
  
          self.id = id
          self.name = name
          self.type = type
          if img_type is not None:
              self.img_type = img_type
          self.n_samples = n_samples
          self.size_in_bytes = size_in_bytes
          self.created_at = created_at
          self.last_modified_at = last_modified_at
          if meta_data_configuration_id is not None:
              self.meta_data_configuration_id = meta_data_configuration_id
          self.samples = samples
          self.n_tags = n_tags
          self.n_embeddings = n_embeddings
  
      @property
      def id(self):
          """Gets the id of this DatasetDataEnriched.  # noqa: E501
  
  
          :return: The id of this DatasetDataEnriched.  # noqa: E501
          :rtype: MongoObjectID
          """
          return self._id
  
      @id.setter
      def id(self, id):
          """Sets the id of this DatasetDataEnriched.
  
  
          :param id: The id of this DatasetDataEnriched.  # noqa: E501
          :type: MongoObjectID
          """
          if self._configuration.client_side_validation and id is None:
              raise ValueError("Invalid value for `id`, must not be `None`")  # noqa: E501
  
          self._id = id
  
      @property
      def name(self):
          """Gets the name of this DatasetDataEnriched.  # noqa: E501
  
  
          :return: The name of this DatasetDataEnriched.  # noqa: E501
          :rtype: DatasetName
          """
          return self._name
  
      @name.setter
      def name(self, name):
          """Sets the name of this DatasetDataEnriched.
  
  
          :param name: The name of this DatasetDataEnriched.  # noqa: E501
          :type: DatasetName
          """
          if self._configuration.client_side_validation and name is None:
              raise ValueError("Invalid value for `name`, must not be `None`")  # noqa: E501
  
          self._name = name
  
      @property
      def type(self):
          """Gets the type of this DatasetDataEnriched.  # noqa: E501
  
  
          :return: The type of this DatasetDataEnriched.  # noqa: E501
          :rtype: DatasetType
          """
          return self._type
  
      @type.setter
      def type(self, type):
          """Sets the type of this DatasetDataEnriched.
  
  
          :param type: The type of this DatasetDataEnriched.  # noqa: E501
          :type: DatasetType
          """
          if self._configuration.client_side_validation and type is None:
              raise ValueError("Invalid value for `type`, must not be `None`")  # noqa: E501
  
          self._type = type
  
      @property
      def img_type(self):
          """Gets the img_type of this DatasetDataEnriched.  # noqa: E501
  
  
          :return: The img_type of this DatasetDataEnriched.  # noqa: E501
          :rtype: ImageType
          """
          return self._img_type
  
      @img_type.setter
      def img_type(self, img_type):
          """Sets the img_type of this DatasetDataEnriched.
  
  
          :param img_type: The img_type of this DatasetDataEnriched.  # noqa: E501
          :type: ImageType
          """
  
          self._img_type = img_type
  
      @property
      def n_samples(self):
          """Gets the n_samples of this DatasetDataEnriched.  # noqa: E501
  
  
          :return: The n_samples of this DatasetDataEnriched.  # noqa: E501
          :rtype: int
          """
          return self._n_samples
  
      @n_samples.setter
      def n_samples(self, n_samples):
          """Sets the n_samples of this DatasetDataEnriched.
  
  
          :param n_samples: The n_samples of this DatasetDataEnriched.  # noqa: E501
          :type: int
          """
          if self._configuration.client_side_validation and n_samples is None:
              raise ValueError("Invalid value for `n_samples`, must not be `None`")  # noqa: E501
  
          self._n_samples = n_samples
  
      @property
      def size_in_bytes(self):
          """Gets the size_in_bytes of this DatasetDataEnriched.  # noqa: E501
  
  
          :return: The size_in_bytes of this DatasetDataEnriched.  # noqa: E501
          :rtype: int
          """
          return self._size_in_bytes
  
      @size_in_bytes.setter
      def size_in_bytes(self, size_in_bytes):
          """Sets the size_in_bytes of this DatasetDataEnriched.
  
  
          :param size_in_bytes: The size_in_bytes of this DatasetDataEnriched.  # noqa: E501
          :type: int
          """
          if self._configuration.client_side_validation and size_in_bytes is None:
              raise ValueError("Invalid value for `size_in_bytes`, must not be `None`")  # noqa: E501
  
          self._size_in_bytes = size_in_bytes
  
      @property
      def created_at(self):
          """Gets the created_at of this DatasetDataEnriched.  # noqa: E501
  
  
          :return: The created_at of this DatasetDataEnriched.  # noqa: E501
          :rtype: Timestamp
          """
          return self._created_at
  
      @created_at.setter
      def created_at(self, created_at):
          """Sets the created_at of this DatasetDataEnriched.
  
  
          :param created_at: The created_at of this DatasetDataEnriched.  # noqa: E501
          :type: Timestamp
          """
          if self._configuration.client_side_validation and created_at is None:
              raise ValueError("Invalid value for `created_at`, must not be `None`")  # noqa: E501
  
          self._created_at = created_at
  
      @property
      def last_modified_at(self):
          """Gets the last_modified_at of this DatasetDataEnriched.  # noqa: E501
  
  
          :return: The last_modified_at of this DatasetDataEnriched.  # noqa: E501
          :rtype: Timestamp
          """
          return self._last_modified_at
  
      @last_modified_at.setter
      def last_modified_at(self, last_modified_at):
          """Sets the last_modified_at of this DatasetDataEnriched.
  
  
          :param last_modified_at: The last_modified_at of this DatasetDataEnriched.  # noqa: E501
          :type: Timestamp
          """
          if self._configuration.client_side_validation and last_modified_at is None:
              raise ValueError("Invalid value for `last_modified_at`, must not be `None`")  # noqa: E501
  
          self._last_modified_at = last_modified_at
  
      @property
      def meta_data_configuration_id(self):
          """Gets the meta_data_configuration_id of this DatasetDataEnriched.  # noqa: E501
  
  
          :return: The meta_data_configuration_id of this DatasetDataEnriched.  # noqa: E501
          :rtype: MongoObjectID
          """
          return self._meta_data_configuration_id
  
      @meta_data_configuration_id.setter
      def meta_data_configuration_id(self, meta_data_configuration_id):
          """Sets the meta_data_configuration_id of this DatasetDataEnriched.
  
  
          :param meta_data_configuration_id: The meta_data_configuration_id of this DatasetDataEnriched.  # noqa: E501
          :type: MongoObjectID
          """
  
          self._meta_data_configuration_id = meta_data_configuration_id
  
      @property
      def samples(self):
          """Gets the samples of this DatasetDataEnriched.  # noqa: E501
  
  
          :return: The samples of this DatasetDataEnriched.  # noqa: E501
          :rtype: list[MongoObjectID]
          """
          return self._samples
  
      @samples.setter
      def samples(self, samples):
          """Sets the samples of this DatasetDataEnriched.
  
  
          :param samples: The samples of this DatasetDataEnriched.  # noqa: E501
          :type: list[MongoObjectID]
          """
          if self._configuration.client_side_validation and samples is None:
              raise ValueError("Invalid value for `samples`, must not be `None`")  # noqa: E501
  
          self._samples = samples
  
      @property
      def n_tags(self):
          """Gets the n_tags of this DatasetDataEnriched.  # noqa: E501
  
  
          :return: The n_tags of this DatasetDataEnriched.  # noqa: E501
          :rtype: int
          """
          return self._n_tags
  
      @n_tags.setter
      def n_tags(self, n_tags):
          """Sets the n_tags of this DatasetDataEnriched.
  
  
          :param n_tags: The n_tags of this DatasetDataEnriched.  # noqa: E501
          :type: int
          """
          if self._configuration.client_side_validation and n_tags is None:
              raise ValueError("Invalid value for `n_tags`, must not be `None`")  # noqa: E501
  
          self._n_tags = n_tags
  
      @property
      def n_embeddings(self):
          """Gets the n_embeddings of this DatasetDataEnriched.  # noqa: E501
  
  
          :return: The n_embeddings of this DatasetDataEnriched.  # noqa: E501
          :rtype: int
          """
          return self._n_embeddings
  
      @n_embeddings.setter
      def n_embeddings(self, n_embeddings):
          """Sets the n_embeddings of this DatasetDataEnriched.
  
  
          :param n_embeddings: The n_embeddings of this DatasetDataEnriched.  # noqa: E501
          :type: int
          """
          if self._configuration.client_side_validation and n_embeddings is None:
              raise ValueError("Invalid value for `n_embeddings`, must not be `None`")  # noqa: E501
  
          self._n_embeddings = n_embeddings
  
      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(DatasetDataEnriched, 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, DatasetDataEnriched):
              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, DatasetDataEnriched):
              return True
  
          return self.to_dict() != other.to_dict()
  