PageableList<T> Class
- java.
lang. Object - com.
azure. ai. openai. models. PageableList<T>
- com.
Type Parameters
- T
the type of the items in the list.
public final class PageableList
The response data for a requested list of items.
Constructor Summary
Constructor | Description |
---|---|
PageableList() |
Creates an instance of Pageable |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<T> |
getData()
Get the data property: The requested list of items. |
String |
getFirstId()
Get the first |
String |
getLastId()
Get the last |
String |
getObject()
Get the object property: The object type, which is always list. |
boolean |
isHasMore()
Get the has |
Methods inherited from java.lang.Object
Constructor Details
PageableList
public PageableList()
Creates an instance of PageableList class.
Method Details
getData
public List
Get the data property: The requested list of items.
Returns:
getFirstId
public String getFirstId()
Get the firstId property: The first ID represented in this list.
Returns:
getLastId
public String getLastId()
Get the lastId property: The last ID represented in this list.
Returns:
getObject
public String getObject()
Get the object property: The object type, which is always list.
Returns:
isHasMore
public boolean isHasMore()
Get the hasMore property: A value indicating whether there are additional values available not captured in this list.
Returns:
Applies to
Azure SDK for Java