Constructor
protected
new CompacSizerBatchModel(siteId)
CompacSizerBatchModel Constructor
Parameters
-
siteId
number
The Site ID associated with this Compac Sizer Batch
Source
Members
batchObject
The Compac Sizer Batch Data
Type
-
Object
Source
batchIdstring
The Numeric Compac Batch ID
Type
-
string
Source
compacSizerIdstring
The Compac Sizer ID this Batch is associated with
Type
-
string
Source
createdTimestampDate
When this Batch was Created
Type
-
Date
Source
deletedboolean
Whether the Compac Sizer Batch has been deleted
Type
-
boolean
Source
idstring
The Compac Sizer Batch ID
Type
-
string
Source
nullable
packrunIdstring
The Packrun ID associated with this Batch
Type
-
string
Source
siteIdnumber
The Site ID associated with this Compac Sizer Batch
Type
-
number
Source
updateTimestampDate
When the Compac Sizer Batch was last updated
Type
-
Date
Source
Methods
static
fromJSON(json, siteId) → {CompacSizerBatchModel}
Create a new CompacSizerBatchModel 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 Compac Sizer Batch
Returns
-
CompacSizerBatchModel