Package app.knock.api.models.users.feeds
Class FeedListItemsPage
-
- All Implemented Interfaces:
public final class FeedListItemsPage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFeedListItemsPage.BuilderA builder for FeedListItemsPage.
public final classFeedListItemsPage.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 Optional<FeedListItemsPage>getNextPage()final FeedListItemsPage.AutoPagerautoPager()final FeedListItemsParamsparams()The parameters that were used to request this page. final FeedListItemsPageResponseresponse()The response that this page was parsed from. final FeedListItemsPage.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FeedListItemsPage.Builderbuilder()Returns a mutable builder for constructing an instance of FeedListItemsPage. -
-
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 Optional<FeedListItemsPage> getNextPage()
-
autoPager
final FeedListItemsPage.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 FeedListItemsPage.Builder toBuilder()
-
builder
final static FeedListItemsPage.Builder builder()
Returns a mutable builder for constructing an instance of FeedListItemsPage.
The following fields are required:
.service() .params() .response()
-
-
-
-