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 space resources
Returns the next page of results by invoking listSpaces().
A Promise that resolves to an array of space resources
ListSpacesPager can be used to simplify the use of listSpaces().