Construct a ListPromptsPager object.
The service client instance used to invoke listPrompts()
Optional params: WatsonXAI.PromptListParamsThe parameters to be passed to listPrompts()
Protected clientProtected hasProtected paramsReturns all results by invoking listPrompts() repeatedly until all pages of results have been retrieved.
A Promise that resolves to an array of catalog search response assets
Returns the next page of results by invoking listPrompts().
A Promise that resolves to an array of catalog search response assets
ListPromptsPager can be used to simplify the use of listPrompts().