Class: module:models/FeatureUnit

module:models/FeatureUnit()

new module:models/FeatureUnit()

Constructs a new FeatureUnit.

Source:

Members

(inner) name :String

Type:
  • String
Source:

(inner) symbol :String

Type:
  • String
Source:

(inner) unitType :String

Type:
  • String
Source:

Methods

(static) constructFromObject(data, obj) → {module:models/FeatureUnit}

Constructs a FeatureUnit from a plain JavaScript object, optionally creating a new instance. Copies all relevant properties from data to obj if supplied or a new instance if not.

Parameters:
Name Type Description
data Object

The plain JavaScript object bearing properties of interest.

obj module:models/FeatureUnit

Optional instance to populate.

Source:
Returns:

The populated FeatureUnit instance.

Type
module:models/FeatureUnit