Construct a FoundationModelTasksPager object.
The service client instance used to invoke listFoundationModelTasks()
Optional params: WatsonXAI.ListFoundationModelTasksParamsThe parameters to be passed to listFoundationModelTasks()
A new FoundationModelTasksPager instance
Protected clientProtected hasProtected pageProtected paramsReturns all results by invoking listFoundationModelTasks() repeatedly until all pages of results have been retrieved.
A Promise that resolves to an array of foundation model tasks
Returns the next page of results by invoking listFoundationModelTasks().
A Promise that resolves to an array of foundation model tasks
FoundationModelTasksPager can be used to simplify the use of listFoundationModelTasks().