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