RICADO Gen 4 API JS Client

RICADO Gen 4 API JS Client

Class

VarietyModel

Extends
  • BaseModel

Summary

VarietyModel Constructor

.

Description

Model Class for a Variety

Constructor

protected

new VarietyModel(siteId)

VarietyModel Constructor

Parameters

  • siteId number

    The Site ID associated with this Variety

Source

Members

Methods

static

fromJSON(json, siteId) → {VarietyModel}

Create a new VarietyModel 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 Variety

Returns

  • VarietyModel

Source