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