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