Class MessageListPageAsync
-
- All Implemented Interfaces:
public final class MessageListPageAsync
Get the messages in a stored chat completion. Only Chat Completions that have been created with the
store
parameter set totrue
will be returned.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
MessageListPageAsync.Response
public final class
MessageListPageAsync.AutoPager
-
Method Summary
Modifier and Type Method Description final MessageListPageAsync.Response
response()
final List<ChatCompletionStoreMessage>
data()
final Optional<Boolean>
hasMore()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final Boolean
hasNextPage()
final Optional<MessageListParams>
getNextPageParams()
final CompletableFuture<Optional<MessageListPageAsync>>
getNextPage()
final MessageListPageAsync.AutoPager
autoPager()
final static MessageListPageAsync
of(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)
-
-
-
-