Class CollectionSearchResult

java.lang.Object
ai.reveng.model.CollectionSearchResult

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

  • Constructor Details

    • CollectionSearchResult

      public CollectionSearchResult()
  • Method Details

    • collectionId

      public CollectionSearchResult collectionId(@Nonnull Integer collectionId)
    • getCollectionId

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

      public void setCollectionId(@Nonnull Integer collectionId)
    • collectionName

      public CollectionSearchResult collectionName(@Nonnull String collectionName)
    • getCollectionName

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

      public void setCollectionName(@Nonnull String collectionName)
    • scope

      public CollectionSearchResult scope(@Nonnull String scope)
    • getScope

      @Nonnull public String getScope()
      The scope of the collection
      Returns:
      scope
    • setScope

      public void setScope(@Nonnull String scope)
    • lastUpdatedAt

      public CollectionSearchResult lastUpdatedAt(@Nonnull OffsetDateTime lastUpdatedAt)
    • getLastUpdatedAt

      @Nonnull public OffsetDateTime getLastUpdatedAt()
      The last update date of the collection
      Returns:
      lastUpdatedAt
    • setLastUpdatedAt

      public void setLastUpdatedAt(@Nonnull OffsetDateTime lastUpdatedAt)
    • createdAt

      public CollectionSearchResult createdAt(@Nonnull OffsetDateTime createdAt)
    • getCreatedAt

      @Nonnull public OffsetDateTime getCreatedAt()
      The creation date of the collection
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(@Nonnull OffsetDateTime createdAt)
    • modelId

      public CollectionSearchResult modelId(@Nonnull Integer modelId)
    • getModelId

      @Nonnull public Integer getModelId()
      The model ID of the binary
      Returns:
      modelId
    • setModelId

      public void setModelId(@Nonnull Integer modelId)
    • modelName

      public CollectionSearchResult modelName(@Nonnull String modelName)
    • getModelName

      @Nonnull public String getModelName()
      The name of the model
      Returns:
      modelName
    • setModelName

      public void setModelName(@Nonnull String modelName)
    • ownedBy

      public CollectionSearchResult ownedBy(@Nonnull String ownedBy)
    • getOwnedBy

      @Nonnull public String getOwnedBy()
      The owner of the collection
      Returns:
      ownedBy
    • setOwnedBy

      public void setOwnedBy(@Nonnull String ownedBy)
    • tags

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

      public CollectionSearchResult addTagsItem(String tagsItem)
    • getTags

      @Nullable public List<String> getTags()
      The tags of the collection
      Returns:
      tags
    • setTags

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

      public CollectionSearchResult size(@Nullable Integer size)
    • getSize

      @Nullable public Integer getSize()
      The number of binaries in the collection
      Returns:
      size
    • setSize

      public void setSize(@Nullable Integer size)
    • description

      public CollectionSearchResult description(@Nonnull String description)
    • getDescription

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

      public void setDescription(@Nonnull String description)
    • teamId

      public CollectionSearchResult teamId(@Nullable Integer teamId)
    • getTeamId

      @Nullable public Integer getTeamId()
      The team ID of the collection
      Returns:
      teamId
    • setTeamId

      public void setTeamId(@Nullable Integer teamId)
    • putAdditionalProperty

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

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

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