RICADO Gen 4 API JS Client

RICADO Gen 4 API JS Client

Class

PointModel

Extends
  • BaseModel

Summary

PointModel Constructor

.

Description

Model Class for a Point

Constructor

protected

new PointModel(siteId)

PointModel Constructor

Parameters

  • siteId number

    The Site ID associated with this Point

Source

Members

Methods

static

fromJSON(json, siteId) → {PointModel}

Create a new PointModel 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 Point

Returns

  • PointModel

Source