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