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