Construct a ModelsListPager object.
The service client instance used to invoke modelsList()
Optional params: WatsonXAI.ModelsListParamsThe parameters to be passed to modelsList()
A new ModelsListPager instance
Protected clientProtected hasProtected pageProtected paramsReturns all results by invoking modelsList() repeatedly until all pages of results have been retrieved.
A Promise that resolves to an array of model 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().