RICADO Gen 4 API JS Client

RICADO Gen 4 API JS Client

Class

LabModel

Extends
  • BaseModel

Summary

LabModel Constructor

.

Description

Model Class for a Lab

Constructor

protected

new LabModel(siteId)

LabModel Constructor

Parameters

  • siteId number

    The Site ID associated with this Lab

Source

Members

racksArray.<{id: string, displayOrder: number}>

The Rack Objects that belong to this Lab

Type

  • Array.<{id: string, displayOrder: number}>

Source

Methods

static

fromJSON(json, siteId) → {LabModel}

Create a new LabModel 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 Lab

Returns

  • LabModel

Source