Construct a FoundationModelSpecsPager object.
The service client instance used to invoke listFoundationModelSpecs()
Optional params: WatsonXAI.ListFoundationModelSpecsParamsThe parameters to be passed to listFoundationModelSpecs()
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 listFoundationModelSpecs().
A Promise that resolves to an array of foundation models
FoundationModelSpecsPager can be used to simplify the use of listFoundationModelSpecs().