Class ListArchiveContentsOutputBody

java.lang.Object
ai.reveng.model.ListArchiveContentsOutputBody

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

  • Constructor Details

    • ListArchiveContentsOutputBody

      public ListArchiveContentsOutputBody()
  • Method Details

    • entries

      public ListArchiveContentsOutputBody entries(@Nullable List<ArchiveContentEntry> entries)
    • addEntriesItem

      public ListArchiveContentsOutputBody addEntriesItem(ArchiveContentEntry entriesItem)
    • getEntries

      @Nullable public List<ArchiveContentEntry> getEntries()
      Files inside the archive, with paths relative to the archive root
      Returns:
      entries
    • setEntries

      public void setEntries(@Nullable List<ArchiveContentEntry> entries)
    • hasNext

      public ListArchiveContentsOutputBody hasNext(@Nonnull Boolean hasNext)
    • getHasNext

      @Nonnull public Boolean getHasNext()
      Whether a further page of entries follows this one.
      Returns:
      hasNext
    • setHasNext

      public void setHasNext(@Nonnull Boolean hasNext)
    • page

      public ListArchiveContentsOutputBody page(@Nonnull Long page)
    • getPage

      @Nonnull public Long getPage()
      Page number of this response (1-indexed).
      Returns:
      page
    • setPage

      public void setPage(@Nonnull Long page)
    • pageSize

      public ListArchiveContentsOutputBody pageSize(@Nonnull Long pageSize)
    • getPageSize

      @Nonnull public Long getPageSize()
      Number of entries per page.
      Returns:
      pageSize
    • setPageSize

      public void setPageSize(@Nonnull Long pageSize)
    • totalCount

      public ListArchiveContentsOutputBody totalCount(@Nonnull Long totalCount)
    • getTotalCount

      @Nonnull public Long getTotalCount()
      Total number of file entries in the archive, ignoring pagination.
      Returns:
      totalCount
    • setTotalCount

      public void setTotalCount(@Nonnull Long totalCount)
    • putAdditionalProperty

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

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

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