Class CollectionListItem

java.lang.Object
ai.reveng.model.CollectionListItem

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

  • Constructor Details

    • CollectionListItem

      public CollectionListItem()
  • Method Details

    • collectionName

      public CollectionListItem collectionName(@Nonnull String collectionName)
    • getCollectionName

      @Nonnull public String getCollectionName()
      The name of the collection
      Returns:
      collectionName
    • setCollectionName

      public void setCollectionName(@Nonnull String collectionName)
    • description

      public CollectionListItem description(@Nonnull String description)
    • getDescription

      @Nonnull public String getDescription()
      The description of the collection
      Returns:
      description
    • setDescription

      public void setDescription(@Nonnull String description)
    • collectionScope

      public CollectionListItem collectionScope(@Nonnull String collectionScope)
    • getCollectionScope

      @Nonnull public String getCollectionScope()
      The scope of the collection
      Returns:
      collectionScope
    • setCollectionScope

      public void setCollectionScope(@Nonnull String collectionScope)
    • collectionOwner

      public CollectionListItem collectionOwner(@Nonnull String collectionOwner)
    • getCollectionOwner

      @Nonnull public String getCollectionOwner()
      The owner of the collection
      Returns:
      collectionOwner
    • setCollectionOwner

      public void setCollectionOwner(@Nonnull String collectionOwner)
    • officialCollection

      public CollectionListItem officialCollection(@Nonnull Boolean officialCollection)
    • getOfficialCollection

      @Nonnull public Boolean getOfficialCollection()
      Whether the collection is maintained by RevEng.AI
      Returns:
      officialCollection
    • setOfficialCollection

      public void setOfficialCollection(@Nonnull Boolean officialCollection)
    • collectionTags

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

      public CollectionListItem addCollectionTagsItem(String collectionTagsItem)
    • getCollectionTags

      @Nullable public List<String> getCollectionTags()
      The tags of the collection
      Returns:
      collectionTags
    • setCollectionTags

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

      public CollectionListItem collectionSize(@Nonnull Integer collectionSize)
    • getCollectionSize

      @Nonnull public Integer getCollectionSize()
      The size of the collection
      Returns:
      collectionSize
    • setCollectionSize

      public void setCollectionSize(@Nonnull Integer collectionSize)
    • collectionId

      public CollectionListItem collectionId(@Nonnull Integer collectionId)
    • getCollectionId

      @Nonnull public Integer getCollectionId()
      The ID of the collection
      Returns:
      collectionId
    • setCollectionId

      public void setCollectionId(@Nonnull Integer collectionId)
    • creation

      public CollectionListItem creation(@Nonnull OffsetDateTime creation)
    • getCreation

      @Nonnull public OffsetDateTime getCreation()
      The current status of analysis
      Returns:
      creation
    • setCreation

      public void setCreation(@Nonnull OffsetDateTime creation)
    • modelName

      public CollectionListItem modelName(@Nonnull String modelName)
    • getModelName

      @Nonnull public String getModelName()
      The model being used for the collection
      Returns:
      modelName
    • setModelName

      public void setModelName(@Nonnull String modelName)
    • teamId

      public CollectionListItem teamId(@Nullable Integer teamId)
    • getTeamId

      @Nullable public Integer getTeamId()
      Get teamId
      Returns:
      teamId
    • setTeamId

      public void setTeamId(@Nullable Integer teamId)
    • 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 CollectionListItem
    • fromJson

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

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