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