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