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