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