Class ListAnalysesOutputBody

java.lang.Object
ai.reveng.model.ListAnalysesOutputBody

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

  • Constructor Details

    • ListAnalysesOutputBody

      public ListAnalysesOutputBody()
  • Method Details

    • nextPageToken

      public ListAnalysesOutputBody nextPageToken(@Nullable String nextPageToken)
    • getNextPageToken

      @Nullable public String getNextPageToken()
      Opaque cursor to fetch the next page; empty on the last page
      Returns:
      nextPageToken
    • setNextPageToken

      public void setNextPageToken(@Nullable String nextPageToken)
    • pageSize

      public ListAnalysesOutputBody pageSize(@Nonnull Long pageSize)
    • getPageSize

      @Nonnull public Long getPageSize()
      Number of results in this page
      Returns:
      pageSize
    • setPageSize

      public void setPageSize(@Nonnull Long pageSize)
    • results

      public ListAnalysesOutputBody results(@Nullable List<AnalysisRecordBody> results)
    • addResultsItem

      public ListAnalysesOutputBody addResultsItem(AnalysisRecordBody resultsItem)
    • getResults

      @Nullable public List<AnalysisRecordBody> getResults()
      The page of matching analyses
      Returns:
      results
    • setResults

      public void setResults(@Nullable List<AnalysisRecordBody> 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 ListAnalysesOutputBody
    • fromJson

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

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