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