RICADO Gen 4 API JS Client

RICADO Gen 4 API JS Client

Class

PackrunModel

Extends
  • BaseModel

Summary

PackrunModel Constructor

.

Description

Model Class for a Packrun

Constructor

protected

new PackrunModel(siteId)

PackrunModel Constructor

Parameters

  • siteId number

    The Site ID associated with this Packrun

Source

Members

Methods

static

fromJSON(json, siteId) → {PackrunModel}

Create a new PackrunModel 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 Packrun

Returns

  • PackrunModel

Source