Package app.knock.api.models.messages
Class MessageListEventsPageAsync
-
- All Implemented Interfaces:
public final class MessageListEventsPageAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMessageListEventsPageAsync.BuilderA builder for MessageListEventsPageAsync.
public final classMessageListEventsPageAsync.AutoPager
-
Method Summary
Modifier and Type Method Description final List<MessageEvent>entries()Delegates to MessageListEventsPageResponse, but gracefully handles missing data. final Optional<PageInfo>pageInfo()Delegates to MessageListEventsPageResponse, but gracefully handles missing data. final BooleanhasNextPage()final Optional<MessageListEventsParams>getNextPageParams()final CompletableFuture<Optional<MessageListEventsPageAsync>>getNextPage()final MessageListEventsPageAsync.AutoPagerautoPager()final MessageListEventsParamsparams()The parameters that were used to request this page. final MessageListEventsPageResponseresponse()The response that this page was parsed from. final MessageListEventsPageAsync.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static MessageListEventsPageAsync.Builderbuilder()Returns a mutable builder for constructing an instance of MessageListEventsPageAsync. -
-
Method Detail
-
entries
final List<MessageEvent> entries()
Delegates to MessageListEventsPageResponse, but gracefully handles missing data.
-
pageInfo
final Optional<PageInfo> pageInfo()
Delegates to MessageListEventsPageResponse, but gracefully handles missing data.
-
hasNextPage
final Boolean hasNextPage()
-
getNextPageParams
final Optional<MessageListEventsParams> getNextPageParams()
-
getNextPage
final CompletableFuture<Optional<MessageListEventsPageAsync>> getNextPage()
-
autoPager
final MessageListEventsPageAsync.AutoPager autoPager()
-
params
final MessageListEventsParams params()
The parameters that were used to request this page.
-
response
final MessageListEventsPageResponse response()
The response that this page was parsed from.
-
toBuilder
final MessageListEventsPageAsync.Builder toBuilder()
-
builder
final static MessageListEventsPageAsync.Builder builder()
Returns a mutable builder for constructing an instance of MessageListEventsPageAsync.
The following fields are required:
.service() .params() .response()
-
-
-
-