Specifies the Instant that this alert is to be no longer available. Throws an error if null is passed.
Sets the specific users (by their ids) for which this alert is to affect.
Sets the message for this alert. Throws an error if null is passed.
Triggers the sending of this alert. If the required properties type
, message
, endDate
are missing, an error will be thrown.
Sets the name of the sound for this alert. Must be among a select list
Sets the first instant that this alert may be seen.
Sets/overrides the existing alert type. This is a read-only String value containing the type of the alert. It is one of three values: "percent", "signature" or "auto". The percent type allows the recipient to set the status of the alert to a percent value between 0 and 100 in increments of 10 percent. The signature type allows the status to be set to 100 by checking a box. The auto type does not allow the recipient to set the status.
Sets the specific users (by their string usernames) for which this alert is to affect.
Sets the specific users (by their user object) for which this alert is to affect.
TODO
Example