Package com.braintrustdata.api.models
Class PromptListPage
-
- All Implemented Interfaces:
public final class PromptListPageList 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 classPromptListPage.Responsepublic final classPromptListPage.AutoPager
-
Method Summary
Modifier and Type Method Description final PromptListPage.Responseresponse()final List<Prompt>objects()Booleanequals(Object other)IntegerhashCode()StringtoString()final BooleanhasNextPage()final Optional<PromptListParams>getNextPageParams()final Optional<PromptListPage>getNextPage()final PromptListPage.AutoPagerautoPager()final static PromptListPageof(PromptService promptsService, PromptListParams params, PromptListPage.Response response)-
-
Method Detail
-
response
final PromptListPage.Response response()
-
hasNextPage
final Boolean hasNextPage()
-
getNextPageParams
final Optional<PromptListParams> getNextPageParams()
-
getNextPage
final Optional<PromptListPage> getNextPage()
-
autoPager
final PromptListPage.AutoPager autoPager()
-
of
final static PromptListPage of(PromptService promptsService, PromptListParams params, PromptListPage.Response response)
-
-
-
-