Class MessageListPageAsync
-
- All Implemented Interfaces:
public final class MessageListPageAsyncGet the messages in a stored chat completion. Only Chat Completions that have been created with the
storeparameter set totruewill be returned.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMessageListPageAsync.Responsepublic final classMessageListPageAsync.AutoPager
-
Method Summary
Modifier and Type Method Description final MessageListPageAsync.Responseresponse()final List<ChatCompletionStoreMessage>data()final Optional<Boolean>hasMore()Booleanequals(Object other)IntegerhashCode()StringtoString()final BooleanhasNextPage()final Optional<MessageListParams>getNextPageParams()final CompletableFuture<Optional<MessageListPageAsync>>getNextPage()final MessageListPageAsync.AutoPagerautoPager()final static MessageListPageAsyncof(MessageServiceAsync messagesService, MessageListParams params, MessageListPageAsync.Response response)-
-
Method Detail
-
response
final MessageListPageAsync.Response response()
-
data
final List<ChatCompletionStoreMessage> data()
-
hasNextPage
final Boolean hasNextPage()
-
getNextPageParams
final Optional<MessageListParams> getNextPageParams()
-
getNextPage
final CompletableFuture<Optional<MessageListPageAsync>> getNextPage()
-
autoPager
final MessageListPageAsync.AutoPager autoPager()
-
of
final static MessageListPageAsync of(MessageServiceAsync messagesService, MessageListParams params, MessageListPageAsync.Response response)
-
-
-
-