Class MessageListPageAsync
-
- All Implemented Interfaces:
public final class MessageListPageAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMessageListPageAsync.BuilderA builder for MessageListPageAsync.
public final classMessageListPageAsync.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 BooleanhasNextPage()final Optional<MessageListParams>getNextPageParams()final CompletableFuture<Optional<MessageListPageAsync>>getNextPage()final MessageListPageAsync.AutoPagerautoPager()final MessageListParamsparams()The parameters that were used to request this page. final MessageListPageResponseresponse()The response that this page was parsed from. final MessageListPageAsync.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static MessageListPageAsync.Builderbuilder()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()
-
-
-
-