Constructor
new FruitProfileModel(siteId)
FruitProfileModel Constructor
Parameters
-
siteId
number
The Site ID associated with this Fruit Profile
Source
Members
deletedboolean
Whether the Fruit Profile has been deleted
Type
-
boolean
Source
descriptionstring
The Fruit Profile Description
Type
-
string
Source
idstring
The Fruit Profile ID
Type
-
string
Source
imagestring
The Fruit Profile Image Source
Type
-
string
Source
maximumTargetTemperaturenumber
The Maximum Target Temperature for a Sample to be Compliant
Type
-
number
Source
maximumTotalDurationnumber
The Maximum Duration (in seconds) that a Sample can be Dehydrated for before it is Considered Non-Compliant
Type
-
number
Source
minimumTargetTemperaturenumber
The Minimum Target Temperature for a Sample to be Compliant
Type
-
number
Source
minimumTotalDurationnumber
The Minimum Duration (in seconds) that a Sample must be Dehydrated for to be Compliant
Type
-
number
Source
minimumWithinTargetDurationnumber
The Minimum Duration (in seconds) that a Sample should be within the Min and Max Target Temperatures to be Compliant
Type
-
number
Source
namestring
The Fruit Profile Name
Type
-
string
Source
nominalWarmUpDurationnumber
The Typical Warm Up Duration (in seconds) for a Sample to reach the Minimum Target Temperature
Type
-
number
Source
siteIdnumber
The Site ID associated with this Fruit Profile
Type
-
number
Source
updateTimestampDate
When the Fruit Profile was last updated
Type
-
Date
Source
Methods
fromJSON(json, siteId) → {FruitProfileModel}
Create a new FruitProfileModel 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 Fruit Profile
Returns
-
FruitProfileModel