Constructor
protected
new GrowingMethodModel(siteId)
GrowingMethodModel Constructor
Parameters
-
siteId
number
The Site ID associated with this Growing Method
Source
Members
codestring
The Growing Method Code
Type
-
string
Source
deletedboolean
Whether the Growing Method has been deleted
Type
-
boolean
Source
descriptionstring
The Growing Method Description
Type
-
string
Source
idstring
The Growing Method ID
Type
-
string
Source
namestring
The Growing Method Name
Type
-
string
Source
siteIdnumber
The Site ID associated with this Growing Method
Type
-
number
Source
updateTimestampDate
When the Growing Method was last updated
Type
-
Date
Source
Methods
static
fromJSON(json, siteId) → {GrowingMethodModel}
Create a new GrowingMethodModel 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 Growing Method
Returns
-
GrowingMethodModel