Package com.braintrustdata.api.models
Class RoleListPageAsync
-
- All Implemented Interfaces:
public final class RoleListPageAsyncList out all roles. The roles are sorted by creation date, with the most recently-created roles coming first
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRoleListPageAsync.Responsepublic final classRoleListPageAsync.AutoPager
-
Method Summary
Modifier and Type Method Description final RoleListPageAsync.Responseresponse()final List<Role>objects()Booleanequals(Object other)IntegerhashCode()StringtoString()final BooleanhasNextPage()final Optional<RoleListParams>getNextPageParams()final CompletableFuture<Optional<RoleListPageAsync>>getNextPage()final RoleListPageAsync.AutoPagerautoPager()final static RoleListPageAsyncof(RoleServiceAsync rolesService, RoleListParams params, RoleListPageAsync.Response response)-
-
Method Detail
-
response
final RoleListPageAsync.Response response()
-
hasNextPage
final Boolean hasNextPage()
-
getNextPageParams
final Optional<RoleListParams> getNextPageParams()
-
getNextPage
final CompletableFuture<Optional<RoleListPageAsync>> getNextPage()
-
autoPager
final RoleListPageAsync.AutoPager autoPager()
-
of
final static RoleListPageAsync of(RoleServiceAsync rolesService, RoleListParams params, RoleListPageAsync.Response response)
-
-
-
-