Package com.openai.models
Class BetaThreadMessageListPageAsync
-
- All Implemented Interfaces:
public final class BetaThreadMessageListPageAsync
Returns a list of messages for a given thread.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
BetaThreadMessageListPageAsync.Response
public final class
BetaThreadMessageListPageAsync.AutoPager
-
Method Summary
Modifier and Type Method Description final BetaThreadMessageListPageAsync.Response
response()
final List<Message>
data()
final Optional<Boolean>
hasMore()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final Boolean
hasNextPage()
final Optional<BetaThreadMessageListParams>
getNextPageParams()
final CompletableFuture<Optional<BetaThreadMessageListPageAsync>>
getNextPage()
final BetaThreadMessageListPageAsync.AutoPager
autoPager()
final static BetaThreadMessageListPageAsync
of(MessageServiceAsync messagesService, BetaThreadMessageListParams params, BetaThreadMessageListPageAsync.Response response)
-
-
Method Detail
-
response
final BetaThreadMessageListPageAsync.Response response()
-
hasNextPage
final Boolean hasNextPage()
-
getNextPageParams
final Optional<BetaThreadMessageListParams> getNextPageParams()
-
getNextPage
final CompletableFuture<Optional<BetaThreadMessageListPageAsync>> getNextPage()
-
autoPager
final BetaThreadMessageListPageAsync.AutoPager autoPager()
-
of
final static BetaThreadMessageListPageAsync of(MessageServiceAsync messagesService, BetaThreadMessageListParams params, BetaThreadMessageListPageAsync.Response response)
-
-
-
-