Constructor
protected
new PermanentObjectDataModel(siteId)
PermanentObjectDataModel Constructor
Parameters
-
siteId
number
The Site ID associated with this Permanent Object Data
Source
Members
dataObject
The Data Object specific to this Permanent Object Data Type
Type
-
Object
Source
deletedboolean
Whether the Permanent Object Data has been deleted
Type
-
boolean
Source
idstring
The Permanent Object Data ID
Type
-
string
Source
keyIndexstring
An Optional Key Index for this Data
Type
-
string
Source
permanentObjectIdstring
The Permanent Object this Data is related to
Type
-
string
Source
siteIdnumber
The Site ID associated with this Permanent Object Data
Type
-
number
Source
timestampDate
The Timestamp when this Data was Created
Type
-
Date
Source
typestring
The Permanent Object Data Type
Type
-
string
Source
updateTimestampDate
When the Permanent Object Data was last updated
Type
-
Date
Source
Methods
static
fromJSON(json, siteId) → {PermanentObjectDataModel}
Create a new PermanentObjectDataModel 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 Data
Returns
-
PermanentObjectDataModel