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