new module:model/AddOn()
- Source:
Constructs a new AddOn
.
Contains information about add ons.
Members
(inner) active :String
- Source:
Reserved:
Type:
- String
(inner) addOnId :String
- Source:
Reserved:
Type:
- String
(inner) id :String
- Source:
Type:
- String
(inner) name :String
- Source:
Reserved:
Type:
- String
Methods
(static) constructFromObject(data, obj) → {module:model/AddOn}
- Source:
Constructs a AddOn
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:model/AddOn | Optional instance to populate. |
Returns:
The populated AddOn
instance.
- Type
- module:model/AddOn