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