module:model/FileType

module:model/FileType

new module:model/FileType()

Source:

Constructs a new FileType.

Members

(inner) fileExtension :String

Source:
Type:
  • String

(inner) mimeType :String

Source:

The mime-type of a file type listed in a fileTypes collection.

Type:
  • String

Methods

(static) constructFromObject(data, obj) → {module:model/FileType}

Source:

Constructs a FileType from a plain JavaScript object, optionally creating a new instance.
Copies all relevant properties from data to obj if supplied or a new instance if not.

Parameters:
Name Type Description
data Object

The plain JavaScript object bearing properties of interest.

obj module:model/FileType

Optional instance to populate.

Returns:

The populated FileType instance.

Type
module:model/FileType