Class ListCollectionsOutputBody

java.lang.Object
ai.reveng.model.ListCollectionsOutputBody

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

  • Constructor Details

    • ListCollectionsOutputBody

      public ListCollectionsOutputBody()
  • Method Details

    • hasNextPage

      public ListCollectionsOutputBody hasNextPage(@Nonnull Boolean hasNextPage)
    • getHasNextPage

      @Nonnull public Boolean getHasNextPage()
      Get hasNextPage
      Returns:
      hasNextPage
    • setHasNextPage

      public void setHasNextPage(@Nonnull Boolean hasNextPage)
    • pageNumber

      public ListCollectionsOutputBody pageNumber(@Nonnull Long pageNumber)
    • getPageNumber

      @Nonnull public Long getPageNumber()
      Get pageNumber
      Returns:
      pageNumber
    • setPageNumber

      public void setPageNumber(@Nonnull Long pageNumber)
    • pageSize

      public ListCollectionsOutputBody pageSize(@Nonnull Long pageSize)
    • getPageSize

      @Nonnull public Long getPageSize()
      Get pageSize
      Returns:
      pageSize
    • setPageSize

      public void setPageSize(@Nonnull Long pageSize)
    • results

      public ListCollectionsOutputBody results(@Nullable List<CollectionListItemBody> results)
    • addResultsItem

      public ListCollectionsOutputBody addResultsItem(CollectionListItemBody resultsItem)
    • getResults

      @Nullable public List<CollectionListItemBody> getResults()
      Get results
      Returns:
      results
    • setResults

      public void setResults(@Nullable List<CollectionListItemBody> results)
    • 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 ListCollectionsOutputBody
    • fromJson

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

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