共用方式為


PageableList<T> Class

  • java.lang.Object
    • com.azure.ai.openai.models.PageableList<T>

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 PageableList class.

Method Summary

Modifier and Type Method and Description
List<T> getData()

Get the data property: The requested list of items.

String getFirstId()

Get the firstId property: The first ID represented in this list.

String getLastId()

Get the lastId property: The last ID represented in this list.

String getObject()

Get the object property: The object type, which is always list.

boolean isHasMore()

Get the hasMore property: A value indicating whether there are additional values available not captured in this list.

Methods inherited from java.lang.Object

Constructor Details

PageableList

public PageableList()

Creates an instance of PageableList class.

Method Details

getData

public List 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.

getObject

public String getObject()

Get the object property: The object type, which is always list.

Returns:

the object 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.

Applies to