RICADO Gen 4 API JS Client

RICADO Gen 4 API JS Client

Class

RackModel

Extends
  • BaseModel

Summary

RackModel Constructor

.

Description

Model Class for a Rack

Constructor

protected

new RackModel(siteId)

RackModel Constructor

Parameters

  • siteId number

    The Site ID associated with this Rack

Source

Members

invertHorizontalPositionsboolean

Whether the Horizontal Positions for this Rack should be Inverted. By Default, Horizontal Positions go from Left to Right

Type

  • boolean

Source

invertVerticalLevelsboolean

Whether the Vertical Levels for this Rack should be Inverted. By Default, Vertical Levels go from the Lowest Level upwards

Type

  • boolean

Source

Methods

static

fromJSON(json, siteId) → {RackModel}

Create a new RackModel 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 Rack

Returns

  • RackModel

Source