Class MessageListPageAsync
-
- All Implemented Interfaces:
public final class MessageListPageAsync
Returns a list of messages for a given thread.
-
-
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<Message>
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()
-
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)
-
-
-
-