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