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