Class CollectionListItemBody

java.lang.Object
ai.reveng.model.CollectionListItemBody

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class CollectionListItemBody extends Object
CollectionListItemBody
  • Field Details

  • Constructor Details

    • CollectionListItemBody

      public CollectionListItemBody()
  • Method Details

    • collectionId

      public CollectionListItemBody collectionId(@Nonnull Long collectionId)
    • getCollectionId

      @Nonnull public Long getCollectionId()
      Get collectionId
      Returns:
      collectionId
    • setCollectionId

      public void setCollectionId(@Nonnull Long collectionId)
    • collectionName

      public CollectionListItemBody collectionName(@Nonnull String collectionName)
    • getCollectionName

      @Nonnull public String getCollectionName()
      Get collectionName
      Returns:
      collectionName
    • setCollectionName

      public void setCollectionName(@Nonnull String collectionName)
    • collectionOwner

      public CollectionListItemBody collectionOwner(@Nonnull String collectionOwner)
    • getCollectionOwner

      @Nonnull public String getCollectionOwner()
      Get collectionOwner
      Returns:
      collectionOwner
    • setCollectionOwner

      public void setCollectionOwner(@Nonnull String collectionOwner)
    • collectionScope

      public CollectionListItemBody collectionScope(@Nonnull String collectionScope)
    • getCollectionScope

      @Nonnull public String getCollectionScope()
      Get collectionScope
      Returns:
      collectionScope
    • setCollectionScope

      public void setCollectionScope(@Nonnull String collectionScope)
    • collectionSize

      public CollectionListItemBody collectionSize(@Nonnull Long collectionSize)
    • getCollectionSize

      @Nonnull public Long getCollectionSize()
      Get collectionSize
      Returns:
      collectionSize
    • setCollectionSize

      public void setCollectionSize(@Nonnull Long collectionSize)
    • collectionTags

      public CollectionListItemBody collectionTags(@Nullable List<String> collectionTags)
    • addCollectionTagsItem

      public CollectionListItemBody addCollectionTagsItem(String collectionTagsItem)
    • getCollectionTags

      @Nullable public List<String> getCollectionTags()
      Get collectionTags
      Returns:
      collectionTags
    • setCollectionTags

      public void setCollectionTags(@Nullable List<String> collectionTags)
    • creation

      public CollectionListItemBody creation(@Nonnull OffsetDateTime creation)
    • getCreation

      @Nonnull public OffsetDateTime getCreation()
      Get creation
      Returns:
      creation
    • setCreation

      public void setCreation(@Nonnull OffsetDateTime creation)
    • description

      public CollectionListItemBody description(@Nonnull String description)
    • getDescription

      @Nonnull public String getDescription()
      Get description
      Returns:
      description
    • setDescription

      public void setDescription(@Nonnull String description)
    • modelName

      public CollectionListItemBody modelName(@Nonnull String modelName)
    • getModelName

      @Nonnull public String getModelName()
      Get modelName
      Returns:
      modelName
    • setModelName

      public void setModelName(@Nonnull String modelName)
    • officialCollection

      public CollectionListItemBody officialCollection(@Nonnull Boolean officialCollection)
    • getOfficialCollection

      @Nonnull public Boolean getOfficialCollection()
      Get officialCollection
      Returns:
      officialCollection
    • setOfficialCollection

      public void setOfficialCollection(@Nonnull Boolean officialCollection)
    • teamId

      public CollectionListItemBody teamId(@Nonnull Long teamId)
    • getTeamId

      @Nonnull public Long getTeamId()
      Get teamId
      Returns:
      teamId
    • setTeamId

      public void setTeamId(@Nonnull Long teamId)
    • putAdditionalProperty

      public CollectionListItemBody putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - name of the property
      value - value of the property
      Returns:
      the CollectionListItemBody instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to CollectionListItemBody
    • fromJson

      public static CollectionListItemBody fromJson(String jsonString) throws IOException
      Create an instance of CollectionListItemBody given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of CollectionListItemBody
      Throws:
      IOException - if the JSON string is invalid with respect to CollectionListItemBody
    • toJson

      public String toJson()
      Convert an instance of CollectionListItemBody to an JSON string
      Returns:
      JSON string