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