new module:models/SuggestedContent()
Constructs a new SuggestedContent.
- Source:
Members
(inner) id :String
The id of the content.
Type:
- String
- Source:
(inner) link :String
The URL addressing the content.
Type:
- String
- Source:
(inner) name :String
The localized name of the content.
Type:
- String
- Source:
Methods
(static) constructFromObject(data, obj) → {module:models/SuggestedContent}
Constructs a SuggestedContent 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/SuggestedContent | Optional instance to populate. |
- Source:
Returns:
The populated SuggestedContent instance.