Class: BlobMetadata

BlobMetadata(metadata)

new BlobMetadata(metadata)

Initializes a new instance of BlobMetadata

Parameters:
Name Type Description
metadata object

A serialized metadata object.

Properties
Name Type Attributes Default Description
name string
content string | Object
size number <optional>
0
contentType BlobMetadata.CONTENT_TYPES <optional>
BlobMetadata.CONTENT_TYPES.OBJECT
mime string <optional>
''
isPublic boolean <optional>
false
tags Array.<string> <optional>
[]
Source:

Members

(static) CONTENT_TYPES :Object

Type of the metadata

Type:
  • Object
Source:

Methods

serialize() → {Object}

Serializes the metadata to a JSON object.

Source:
Returns:
Type
Object