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