Package com.braintrustdata.api.models
Class PromptListPageAsync
-
- All Implemented Interfaces:
public final class PromptListPageAsyncList out all prompts. The prompts are sorted by creation date, with the most recently-created prompts coming first
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPromptListPageAsync.Responsepublic final classPromptListPageAsync.AutoPager
-
Method Summary
Modifier and Type Method Description final PromptListPageAsync.Responseresponse()final List<Prompt>objects()Booleanequals(Object other)IntegerhashCode()StringtoString()final BooleanhasNextPage()final Optional<PromptListParams>getNextPageParams()final CompletableFuture<Optional<PromptListPageAsync>>getNextPage()final PromptListPageAsync.AutoPagerautoPager()final static PromptListPageAsyncof(PromptServiceAsync promptsService, PromptListParams params, PromptListPageAsync.Response response)-
-
Method Detail
-
response
final PromptListPageAsync.Response response()
-
hasNextPage
final Boolean hasNextPage()
-
getNextPageParams
final Optional<PromptListParams> getNextPageParams()
-
getNextPage
final CompletableFuture<Optional<PromptListPageAsync>> getNextPage()
-
autoPager
final PromptListPageAsync.AutoPager autoPager()
-
of
final static PromptListPageAsync of(PromptServiceAsync promptsService, PromptListParams params, PromptListPageAsync.Response response)
-
-
-
-