RICADO Gen 4 API JS Client

RICADO Gen 4 API JS Client

Class

ShiftTaskModel

Extends
  • BaseModel

Summary

ShiftTaskModel Constructor

.

Description

Model Class for a Shift Task

Constructor

protected

new ShiftTaskModel(siteId)

ShiftTaskModel Constructor

Parameters

  • siteId number

    The Site ID associated with this Shift Task

Source

Members

Methods

static

fromJSON(json, siteId) → {ShiftTaskModel}

Create a new ShiftTaskModel 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 Shift Task

Returns

  • ShiftTaskModel

Source