Constructor
new PendingMedia(data)
Constructs an PendingMedia object
Parameters:
| Name | Type | Description |
|---|---|---|
data |
PendingMedia | Object |
- Source:
Members
_id :string
Unique ID for the PendingMedia. For CLA Files, this is the CLA File's _id
Type:
- string
- Default Value:
- ''
- Source:
deferToStage :number
Do not show this item in Pending until User.getClaStageNumber() of the user's CLA Stage is at least this number.
Type:
- number
- Source:
filename :string
Filename of this Pending Media (no path, but does include extension). Empty string for CEs and DREs.
Type:
- string
- Default Value:
- ''
- Source:
fileType :PendingFileType|string
Type of Pending Media
Type:
- PendingFileType | string
- Default Value:
- ''
- Source:
isProcessed :boolean
True if the user has indicated this should show in All Media instead of Unprocessed Media in the Planner's Media tab
Type:
- boolean
- Source:
title :string
Title of the PendingMedia file. Empty string for CEs and DREs: we get their titles from the CE or DRE record itself.
Type:
- string
- Default Value:
- ''
- Source:
Methods
set(data) → {PendingMedia}
Creates an updated PendingMedia object
Parameters:
| Name | Type | Description |
|---|---|---|
data |
PendingMedia | Object |
- Source:
Returns:
- Type
- PendingMedia