Package com.braintrustdata.api.models
Class RoleListPage
-
- All Implemented Interfaces:
public final class RoleListPageList 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 classRoleListPage.Responsepublic final classRoleListPage.AutoPager
-
Method Summary
Modifier and Type Method Description final RoleListPage.Responseresponse()final List<Role>objects()Booleanequals(Object other)IntegerhashCode()StringtoString()final BooleanhasNextPage()final Optional<RoleListParams>getNextPageParams()final Optional<RoleListPage>getNextPage()final RoleListPage.AutoPagerautoPager()final static RoleListPageof(RoleService rolesService, RoleListParams params, RoleListPage.Response response)-
-
Method Detail
-
response
final RoleListPage.Response response()
-
hasNextPage
final Boolean hasNextPage()
-
getNextPageParams
final Optional<RoleListParams> getNextPageParams()
-
getNextPage
final Optional<RoleListPage> getNextPage()
-
autoPager
final RoleListPage.AutoPager autoPager()
-
of
final static RoleListPage of(RoleService rolesService, RoleListParams params, RoleListPage.Response response)
-
-
-
-