Class PatchCollectionOutputBody

java.lang.Object
ai.reveng.model.PatchCollectionOutputBody

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

  • Constructor Details

    • PatchCollectionOutputBody

      public PatchCollectionOutputBody()
  • Method Details

    • binaryCount

      public PatchCollectionOutputBody binaryCount(@Nonnull Long binaryCount)
    • getBinaryCount

      @Nonnull public Long getBinaryCount()
      Get binaryCount
      Returns:
      binaryCount
    • setBinaryCount

      public void setBinaryCount(@Nonnull Long binaryCount)
    • collectionId

      public PatchCollectionOutputBody collectionId(@Nonnull Long collectionId)
    • getCollectionId

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

      public void setCollectionId(@Nonnull Long collectionId)
    • collectionName

      public PatchCollectionOutputBody collectionName(@Nonnull String collectionName)
    • getCollectionName

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

      public void setCollectionName(@Nonnull String collectionName)
    • collectionScope

      public PatchCollectionOutputBody collectionScope(@Nonnull String collectionScope)
    • getCollectionScope

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

      public void setCollectionScope(@Nonnull String collectionScope)
    • createdAt

      public PatchCollectionOutputBody createdAt(@Nonnull OffsetDateTime createdAt)
    • getCreatedAt

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

      public void setCreatedAt(@Nonnull OffsetDateTime createdAt)
    • description

      public PatchCollectionOutputBody description(@Nonnull String description)
    • getDescription

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

      public void setDescription(@Nonnull String description)
    • modelId

      public PatchCollectionOutputBody modelId(@Nonnull Long modelId)
    • getModelId

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

      public void setModelId(@Nonnull Long modelId)
    • teamId

      public PatchCollectionOutputBody teamId(@Nonnull Long teamId)
    • getTeamId

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

      public void setTeamId(@Nonnull Long teamId)
    • updatedAt

      public PatchCollectionOutputBody updatedAt(@Nonnull OffsetDateTime updatedAt)
    • getUpdatedAt

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

      public void setUpdatedAt(@Nonnull OffsetDateTime updatedAt)
    • userId

      public PatchCollectionOutputBody userId(@Nonnull Long userId)
    • getUserId

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

      public void setUserId(@Nonnull Long userId)
    • putAdditionalProperty

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

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

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