Class representing the Providers resource. This class provides methods to interact with ML Gateway providers.

Hierarchy (view full)

Constructors

Properties

Client instance for API calls.

Memberof

GatewayResource

Methods

  • List all providers or a specific provider by ID.

    Parameters

    • Optional params: ListProvidersParams = {}

      Parameters for listing providers or getting a specific provider.

    Returns Promise<Provider[]>

    Resolves with the list of providers or a single provider.

    Throws

    If validation fails or an error occurs during the request.