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