Class MessageListPage
-
- All Implemented Interfaces:
public final class MessageListPage
Returns a list of messages for a given thread.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
MessageListPage.Response
public final class
MessageListPage.AutoPager
-
Method Summary
Modifier and Type Method Description final MessageListPage.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 Optional<MessageListPage>
getNextPage()
final MessageListPage.AutoPager
autoPager()
final static MessageListPage
of(MessageService messagesService, MessageListParams params, MessageListPage.Response response)
-
-
Method Detail
-
response
final MessageListPage.Response response()
-
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)
-
-
-
-