Constructor
protected
new PermanentObjectModel(siteId)
PermanentObjectModel Constructor
Parameters
-
siteId
number
The Site ID associated with this Permanent Object
Source
Members
definitionObject
The Permanent Object Definition
Type
-
Object
Source
deletedboolean
Whether the Permanent Object has been deleted
Type
-
boolean
Source
idstring
The Permanent Object ID
Type
-
string
Source
keyIndexstring
The Permanent Object Key Index
Type
-
string
Source
nullable
rtuIdnumber
The RTU this Permanent Object belongs to
Type
-
number
Source
siteIdnumber
The Site ID associated with this Permanent Object
Type
-
number
Source
typestring
The Permanent Object Type
Type
-
string
Source
updateTimestampDate
When the Permanent Object was last updated
Type
-
Date
Source
Methods
static
fromJSON(json, siteId) → {PermanentObjectModel}
Create a new PermanentObjectModel from a JSON Object or JSON String
Parameters
-
json
Object.<string, any>
|string
A JSON Object or JSON String
-
siteId
number
The Site ID associated with this Permanent Object
Returns
-
PermanentObjectModel