Package com.openai.models
Class ChatCompletionMessageListPageAsync
-
- All Implemented Interfaces:
public final class ChatCompletionMessageListPageAsyncGet 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 classChatCompletionMessageListPageAsync.Responsepublic final classChatCompletionMessageListPageAsync.AutoPager
-
Method Summary
Modifier and Type Method Description final ChatCompletionMessageListPageAsync.Responseresponse()final List<ChatCompletionStoreMessage>data()final Optional<Boolean>hasMore()Booleanequals(Object other)IntegerhashCode()StringtoString()final BooleanhasNextPage()final Optional<ChatCompletionMessageListParams>getNextPageParams()final CompletableFuture<Optional<ChatCompletionMessageListPageAsync>>getNextPage()final ChatCompletionMessageListPageAsync.AutoPagerautoPager()final static ChatCompletionMessageListPageAsyncof(MessageServiceAsync messagesService, ChatCompletionMessageListParams params, ChatCompletionMessageListPageAsync.Response response)-
-
Method Detail
-
response
final ChatCompletionMessageListPageAsync.Response response()
-
data
final List<ChatCompletionStoreMessage> data()
-
hasNextPage
final Boolean hasNextPage()
-
getNextPageParams
final Optional<ChatCompletionMessageListParams> getNextPageParams()
-
getNextPage
final CompletableFuture<Optional<ChatCompletionMessageListPageAsync>> getNextPage()
-
autoPager
final ChatCompletionMessageListPageAsync.AutoPager autoPager()
-
of
final static ChatCompletionMessageListPageAsync of(MessageServiceAsync messagesService, ChatCompletionMessageListParams params, ChatCompletionMessageListPageAsync.Response response)
-
-
-
-