Class MessageListPage
-
- All Implemented Interfaces:
public final class MessageListPageGet 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 classMessageListPage.Responsepublic final classMessageListPage.AutoPager
-
Method Summary
Modifier and Type Method Description final MessageListPage.Responseresponse()final List<ChatCompletionStoreMessage>data()final Optional<Boolean>hasMore()Booleanequals(Object other)IntegerhashCode()StringtoString()final BooleanhasNextPage()final Optional<MessageListParams>getNextPageParams()final Optional<MessageListPage>getNextPage()final MessageListPage.AutoPagerautoPager()final static MessageListPageof(MessageService messagesService, MessageListParams params, MessageListPage.Response response)-
-
Method Detail
-
response
final MessageListPage.Response response()
-
data
final List<ChatCompletionStoreMessage> data()
-
hasNextPage
final Boolean hasNextPage()
-
getNextPageParams
final Optional<MessageListParams> getNextPageParams()
-
getNextPage
final Optional<MessageListPage> getNextPage()
-
autoPager
final MessageListPage.AutoPager autoPager()
-
of
final static MessageListPage of(MessageService messagesService, MessageListParams params, MessageListPage.Response response)
-
-
-
-