This class represents an asset stored in an external storage.

Implements

Constructors

Properties

Accessors

Constructors

  • Constructs an instance of ExternalAsset.

    Parameters

    • params: {
          storageType?: ExternalStorageType;
          uri: string;
      }

      The parameters for constructing an instance of ExternalAsset.

      • Optional storageType?: ExternalStorageType

        External storage type.

      • uri: string

        URI of the external asset.

    Returns ExternalAsset

Properties

_uri: string

Accessors

  • get storageType(): undefined | ExternalStorageType
  • Returns the externalStorageType of the external asset.

    Returns undefined | ExternalStorageType

    external storage type of the external asset.

  • get uri(): string
  • Returns the URI of the external asset.

    Returns string

    URI of the external asset.

Generated using TypeDoc