Class MessageListPageAsync
-
- All Implemented Interfaces:
public final class MessageListPageAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
MessageListPageAsync.Builder
A builder for MessageListPageAsync.
public final class
MessageListPageAsync.AutoPager
-
Method Summary
Modifier and Type Method Description final List<Message>
data()
Delegates to MessageListPageResponse, but gracefully handles missing data. final Optional<Boolean>
hasMore()
Delegates to MessageListPageResponse, but gracefully handles missing data. final Boolean
hasNextPage()
final Optional<MessageListParams>
getNextPageParams()
final CompletableFuture<Optional<MessageListPageAsync>>
getNextPage()
final MessageListPageAsync.AutoPager
autoPager()
final MessageListParams
params()
The parameters that were used to request this page. final MessageListPageResponse
response()
The response that this page was parsed from. final MessageListPageAsync.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static MessageListPageAsync.Builder
builder()
Returns a mutable builder for constructing an instance of MessageListPageAsync. -
-
Method Detail
-
data
final List<Message> data()
Delegates to MessageListPageResponse, but gracefully handles missing data.
-
hasMore
final Optional<Boolean> hasMore()
Delegates to MessageListPageResponse, but gracefully handles missing data.
-
hasNextPage
final Boolean hasNextPage()
-
getNextPageParams
final Optional<MessageListParams> getNextPageParams()
-
getNextPage
final CompletableFuture<Optional<MessageListPageAsync>> getNextPage()
-
autoPager
final MessageListPageAsync.AutoPager autoPager()
-
params
final MessageListParams params()
The parameters that were used to request this page.
-
response
final MessageListPageResponse response()
The response that this page was parsed from.
-
toBuilder
final MessageListPageAsync.Builder toBuilder()
-
builder
final static MessageListPageAsync.Builder builder()
Returns a mutable builder for constructing an instance of MessageListPageAsync.
The following fields are required:
.service() .params() .response()
-
-
-
-