RICADO Gen 4 API JS Client

RICADO Gen 4 API JS Client

Class

DowntimeEventModel

Extends
  • BaseModel

Summary

DowntimeEventModel Constructor

.

Description

Model Class for a Downtime Event

Constructor

protected

new DowntimeEventModel(siteId)

DowntimeEventModel Constructor

Parameters

  • siteId number

    The Site ID associated with this Downtime Event

Source

Members

Methods

static

fromJSON(json, siteId) → {DowntimeEventModel}

Create a new DowntimeEventModel 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 Downtime Event

Returns

  • DowntimeEventModel

Source