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