Class PageableList<T>

java.lang.Object
com.azure.ai.openai.assistants.models.PageableList<T>
Type Parameters:
T - the type of the items in the list.

public final class PageableList<T> extends Object
The response data for a requested list of items.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of PageableList class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the data property: The requested list of items.
    Get the firstId property: The first ID represented in this list.
    Get the lastId property: The last ID represented in this list.
    Get the object property: The object type, which is always list.
    boolean
    Get the hasMore property: A value indicating whether there are additional values available not captured in this list.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PageableList

      public PageableList()
      Creates an instance of PageableList class.
  • Method Details

    • getObject

      public String getObject()
      Get the object property: The object type, which is always list.
      Returns:
      the object value.
    • getData

      public List<T> getData()
      Get the data property: The requested list of items.
      Returns:
      the data value.
    • getFirstId

      public String getFirstId()
      Get the firstId property: The first ID represented in this list.
      Returns:
      the firstId value.
    • getLastId

      public String getLastId()
      Get the lastId property: The last ID represented in this list.
      Returns:
      the lastId value.
    • isHasMore

      public boolean isHasMore()
      Get the hasMore property: A value indicating whether there are additional values available not captured in this list.
      Returns:
      the hasMore value.