RICADO Gen 4 API JS Client

RICADO Gen 4 API JS Client

Class

ShiftHourlyEntryModel

Extends
  • BaseModel

Summary

ShiftHourlyEntryModel Constructor

.

Description

Model Class for a Shift Hourly Entry

Constructor

protected

new ShiftHourlyEntryModel(siteId)

ShiftHourlyEntryModel Constructor

Parameters

  • siteId number

    The Site ID associated with this Shift Hourly Entry

Source

Members

customQualityDataArray.<{id: string, name: string, type: string, value: number, averageTarget: ?number}>

An Array of Custom Quality Data Items for this Hour

Type

  • Array.<{id: string, name: string, type: string, value: number, averageTarget: ?number}>

Source

nullable

manningTeamsArray.<{id: string, name: string, headcount: number, group: string}>

An Array of Manning Teams and their Headcounts for this Hour. Only Applies when manningUsesTeams is true

Type

  • Array.<{id: string, name: string, headcount: number, group: string}>

Source

Methods

static

fromJSON(json, siteId) → {ShiftHourlyEntryModel}

Create a new ShiftHourlyEntryModel 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 Hourly Entry

Returns

  • ShiftHourlyEntryModel

Source