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