RICADO Gen 4 API JS Client

RICADO Gen 4 API JS Client

Class

PrePackSampleModel

Extends
  • BaseModel

Summary

PrePackSampleModel Constructor

.

Description

Model Class for a PrePack Sample

Constructor

protected

new PrePackSampleModel(siteId)

PrePackSampleModel Constructor

Parameters

  • siteId number

    The Site ID associated with this PrePack Sample

Source

Members

Methods

static

fromJSON(json, siteId) → {PrePackSampleModel}

Create a new PrePackSampleModel 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 PrePack Sample

Returns

  • PrePackSampleModel

Source