Class CollectionResponse

java.lang.Object
ai.reveng.model.CollectionResponse

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

  • Constructor Details

    • CollectionResponse

      public CollectionResponse()
  • Method Details

    • collectionId

      public CollectionResponse collectionId(@Nonnull Integer collectionId)
    • getCollectionId

      @Nonnull public Integer getCollectionId()
      Collection ID
      Returns:
      collectionId
    • setCollectionId

      public void setCollectionId(@Nonnull Integer collectionId)
    • collectionName

      public CollectionResponse collectionName(@Nonnull String collectionName)
    • getCollectionName

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

      public void setCollectionName(@Nonnull String collectionName)
    • description

      public CollectionResponse description(@Nonnull String description)
    • getDescription

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

      public void setDescription(@Nonnull String description)
    • modelId

      public CollectionResponse modelId(@Nonnull Integer modelId)
    • getModelId

      @Nonnull public Integer getModelId()
      Collection model ID
      Returns:
      modelId
    • setModelId

      public void setModelId(@Nonnull Integer modelId)
    • userId

      public CollectionResponse userId(@Nonnull Integer userId)
    • getUserId

      @Nonnull public Integer getUserId()
      Collection user ID
      Returns:
      userId
    • setUserId

      public void setUserId(@Nonnull Integer userId)
    • teamId

      public CollectionResponse teamId(@Nullable Integer teamId)
    • getTeamId

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

      public void setTeamId(@Nullable Integer teamId)
    • collectionScope

      public CollectionResponse collectionScope(@Nonnull CollectionScope collectionScope)
    • getCollectionScope

      @Nonnull public CollectionScope getCollectionScope()
      Collection public status
      Returns:
      collectionScope
    • setCollectionScope

      public void setCollectionScope(@Nonnull CollectionScope collectionScope)
    • createdAt

      public CollectionResponse createdAt(@Nonnull Instant createdAt)
    • getCreatedAt

      @Nonnull public Instant getCreatedAt()
      Collection creation date
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(@Nonnull Instant createdAt)
    • updatedAt

      public CollectionResponse updatedAt(@Nonnull Instant updatedAt)
    • getUpdatedAt

      @Nonnull public Instant getUpdatedAt()
      Collection last update date
      Returns:
      updatedAt
    • setUpdatedAt

      public void setUpdatedAt(@Nonnull Instant updatedAt)
    • tags

      public CollectionResponse tags(@Nullable List<String> tags)
    • addTagsItem

      public CollectionResponse addTagsItem(String tagsItem)
    • getTags

      @Nullable public List<String> getTags()
      Get tags
      Returns:
      tags
    • setTags

      public void setTags(@Nullable List<String> tags)
    • binaries

      public CollectionResponse binaries(@Nullable List<CollectionResponseBinariesInner> binaries)
    • addBinariesItem

      public CollectionResponse addBinariesItem(CollectionResponseBinariesInner binariesItem)
    • getBinaries

      @Nullable public List<CollectionResponseBinariesInner> getBinaries()
      Get binaries
      Returns:
      binaries
    • setBinaries

      public void setBinaries(@Nullable List<CollectionResponseBinariesInner> binaries)
    • 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 CollectionResponse
    • fromJson

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

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