RICADO Gen 4 API JS Client

RICADO Gen 4 API JS Client

Class

AlarmModel

Extends
  • BaseModel

Summary

AlarmModel Constructor

.

Description

Model Class for a Alarm

Constructor

protected

new AlarmModel(siteId)

AlarmModel Constructor

Parameters

  • siteId number

    The Site ID associated with this Alarm

Source

Members

Methods

static

fromJSON(json, siteId) → {AlarmModel}

Create a new AlarmModel 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 Alarm

Returns

  • AlarmModel

Source