Class Executable<T>Abstract

Abstract class that defines the required functions to properly invoke a BambuMeta request from a client application.

Type Parameters

  • T

Hierarchy (view full)

Constructors

Methods

  • This function returns any body object that would be passed to the API request.

    Returns any

  • This returns the proper response type for the execute function.

    Parameters

    • apiResponse: any

      The response from the API request.

    Returns T

  • This function overloads the default rootPath for the API request.

    Returns undefined | string

  • The URL path to invoke.

    Parameters

    • Optional tenantId: string

      The tenantId provided by the BambuMeta client.

    Returns string

  • Parameters

    • options: {
          execute: ((executable) => Promise<any>);
      }
      • execute: ((executable) => Promise<any>)
          • (executable): Promise<any>
          • Parameters

            Returns Promise<any>

    Returns Promise<any>