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()
      Collection team ID
      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 OffsetDateTime createdAt)
    • getCreatedAt

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

      public void setCreatedAt(@Nonnull OffsetDateTime createdAt)
    • updatedAt

      public CollectionResponse updatedAt(@Nonnull OffsetDateTime updatedAt)
    • getUpdatedAt

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

      public void setUpdatedAt(@Nonnull OffsetDateTime updatedAt)
    • tags

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

      public CollectionResponse addTagsItem(String tagsItem)
    • getTags

      @Nullable public List<String> getTags()
      Collection 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()
      Collection binaries
      Returns:
      binaries
    • setBinaries

      public void setBinaries(@Nullable List<CollectionResponseBinariesInner> binaries)
    • putAdditionalProperty

      public CollectionResponse 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 CollectionResponse 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 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