RICADO Gen 4 API JS Client

RICADO Gen 4 API JS Client

Class

FruitProfileModel

Extends
  • BaseModel

Summary

FruitProfileModel Constructor

.

Description

Model Class for a Fruit Profile

Constructor

protected

new FruitProfileModel(siteId)

FruitProfileModel Constructor

Parameters

  • siteId number

    The Site ID associated with this Fruit Profile

Source

Members

Methods

static

fromJSON(json, siteId) → {FruitProfileModel}

Create a new FruitProfileModel 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 Fruit Profile

Returns

  • FruitProfileModel

Source