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