Class ActivityListPage
-
- All Implemented Interfaces:
public final class ActivityListPage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classActivityListPage.BuilderA builder for ActivityListPage.
public final classActivityListPage.AutoPager
-
Method Summary
Modifier and Type Method Description final List<Activity>items()Delegates to ActivityListPageResponse, but gracefully handles missing data. final Optional<PageInfo>pageInfo()Delegates to ActivityListPageResponse, but gracefully handles missing data. final BooleanhasNextPage()final Optional<ActivityListParams>getNextPageParams()final Optional<ActivityListPage>getNextPage()final ActivityListPage.AutoPagerautoPager()final ActivityListParamsparams()The parameters that were used to request this page. final ActivityListPageResponseresponse()The response that this page was parsed from. final ActivityListPage.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ActivityListPage.Builderbuilder()Returns a mutable builder for constructing an instance of ActivityListPage. -
-
Method Detail
-
items
final List<Activity> items()
Delegates to ActivityListPageResponse, but gracefully handles missing data.
-
pageInfo
final Optional<PageInfo> pageInfo()
Delegates to ActivityListPageResponse, but gracefully handles missing data.
-
hasNextPage
final Boolean hasNextPage()
-
getNextPageParams
final Optional<ActivityListParams> getNextPageParams()
-
getNextPage
final Optional<ActivityListPage> getNextPage()
-
autoPager
final ActivityListPage.AutoPager autoPager()
-
params
final ActivityListParams params()
The parameters that were used to request this page.
-
response
final ActivityListPageResponse response()
The response that this page was parsed from.
-
toBuilder
final ActivityListPage.Builder toBuilder()
-
builder
final static ActivityListPage.Builder builder()
Returns a mutable builder for constructing an instance of ActivityListPage.
The following fields are required:
.service() .params() .response()
-
-
-
-