Class CreateCollectionOutputBody

java.lang.Object
ai.reveng.model.CreateCollectionOutputBody

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

  • Constructor Details

    • CreateCollectionOutputBody

      public CreateCollectionOutputBody()
  • Method Details

    • binaries

      public CreateCollectionOutputBody binaries(@Nullable List<Binary> binaries)
    • addBinariesItem

      public CreateCollectionOutputBody addBinariesItem(Binary binariesItem)
    • getBinaries

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

      public void setBinaries(@Nullable List<Binary> binaries)
    • collectionId

      public CreateCollectionOutputBody collectionId(@Nonnull Long collectionId)
    • getCollectionId

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

      public void setCollectionId(@Nonnull Long collectionId)
    • collectionName

      public CreateCollectionOutputBody collectionName(@Nonnull String collectionName)
    • getCollectionName

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

      public void setCollectionName(@Nonnull String collectionName)
    • collectionScope

      public CreateCollectionOutputBody collectionScope(@Nonnull String collectionScope)
    • getCollectionScope

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

      public void setCollectionScope(@Nonnull String collectionScope)
    • createdAt

      public CreateCollectionOutputBody createdAt(@Nonnull OffsetDateTime createdAt)
    • getCreatedAt

      @Nonnull public OffsetDateTime getCreatedAt()
      Get createdAt
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(@Nonnull OffsetDateTime createdAt)
    • description

      public CreateCollectionOutputBody description(@Nonnull String description)
    • getDescription

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

      public void setDescription(@Nonnull String description)
    • modelId

      public CreateCollectionOutputBody modelId(@Nonnull Long modelId)
    • getModelId

      @Nonnull public Long getModelId()
      Get modelId
      Returns:
      modelId
    • setModelId

      public void setModelId(@Nonnull Long modelId)
    • tags

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

      public CreateCollectionOutputBody addTagsItem(String tagsItem)
    • getTags

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

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

      public CreateCollectionOutputBody teamId(@Nonnull Long teamId)
    • getTeamId

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

      public void setTeamId(@Nonnull Long teamId)
    • updatedAt

      public CreateCollectionOutputBody updatedAt(@Nonnull OffsetDateTime updatedAt)
    • getUpdatedAt

      @Nonnull public OffsetDateTime getUpdatedAt()
      Get updatedAt
      Returns:
      updatedAt
    • setUpdatedAt

      public void setUpdatedAt(@Nonnull OffsetDateTime updatedAt)
    • userId

      public CreateCollectionOutputBody userId(@Nonnull Long userId)
    • getUserId

      @Nonnull public Long getUserId()
      Get userId
      Returns:
      userId
    • setUserId

      public void setUserId(@Nonnull Long userId)
    • putAdditionalProperty

      public CreateCollectionOutputBody 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 CreateCollectionOutputBody 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 CreateCollectionOutputBody
    • fromJson

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

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