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