new module:models/Master(link, masterId)
Constructs a new Master
.
Parameters:
Name | Type | Description |
---|---|---|
link |
String | |
masterId |
String |
- Source:
Members
(inner) link :String
Type:
- String
- Source:
(inner) master_id :String
Type:
- String
- Source:
(inner) orderable :Boolean
Type:
- Boolean
- Source:
(inner) price :Number
Type:
- Number
- Source:
(inner) price_max :Number
Type:
- Number
- Source:
(inner) prices :Object.<String, Number>
Type:
- Object.<String, Number>
- Source:
Methods
(static) constructFromObject(data, obj) → {module:models/Master}
Constructs a Master
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/Master | Optional instance to populate. |
- Source:
Returns:
The populated Master
instance.
- Type
- module:models/Master