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