Constructor
new module:caplin/alerts/Notification()
Methods
-
getAdditionalFields() → {Map}
-
Returns all additional fields associated with this notification.
Returns:
Additional fields for this notification.- Type
- Map
-
getSource() → {String}
-
Returns the source of the notification. This will be "Triggered" for notifications created by a
module:caplin/alerts/Trigger
, or a value defined by the DataSource that the notification originated from (typically the name of the DataSource).Returns:
The source of the notification.- Type
- String
-
getTimeCreated() → {Number}
-
Returns the time that the notification was generated.
Returns:
Seconds since epoch that this notification was generated.- Type
- Number