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