Constructor
protected
new DefinitionModel(siteId)
DefinitionModel Constructor
Parameters
-
siteId
number
The Site ID associated with this Definition
Source
Members
dataObject
The Definition Data
Type
-
Object
Source
deletedboolean
Whether the Definition has been deleted
Type
-
boolean
Source
idstring
The Definition ID
Type
-
string
Source
keyIndexstring
The Definition Key Index
Type
-
string
Source
siteIdnumber
The Site ID associated with this Definition
Type
-
number
Source
typestring
The Definition Type
Type
-
string
Source
updateTimestampDate
When the Definition was last updated
Type
-
Date
Source
Methods
static
fromJSON(json, siteId) → {DefinitionModel}
Create a new DefinitionModel 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 Definition
Returns
-
DefinitionModel