AtlasCT.com
User Manual v5.0

Alert

The Alert class represent a specific alert information, with its id, name etc.


Summary
The Alert class represent a specific alert information, with its id, name etc.
The Alert constructor; Creates a new Alert instance by a separate alert fields.
The id of the alert.
The id of the rule.
The event type (ENTER, LEAVE, ENTER_LEAVE).
The creation time in timestamp.
The message for the alert.
The Location of the alert.

Constructors

Alert

Alert( string id
string ruleId
string eventType
timestamp createTime
string messageText
Location location)

The Alert constructor; Creates a new Alert instance by a separate alert fields.

Parameters

idThe id of the alert.
ruleIdThe id of the rule.
eventTypeThe event type (ENTER, LEAVE, ENTER_LEAVE).
createTimeThe creation time in timestamp.
messageTextThe message for the alert.
locationThe Location of the alert.

Properties

id

string id

The id of the alert. 

ruleId

string ruleId

The id of the rule. 

eventType

string eventType

The event type (ENTER, LEAVE, ENTER_LEAVE). 

createTime

timestamp createTime

The creation time in timestamp. 

messageText

string messageText

The message for the alert. 

location

Location location

The phone number of the user. 

Address(string fullAddress)
The Address constructor; Creates a new Address instance by a full address value.
This is the base class of the provided coordinates classes.