new module:models/ProductRecommendationsResult()
Constructs a new ProductRecommendationsResult
.
The product recommendations
Members
(inner) count :Number
Count of current elements
Type:
- Number
(inner) data :Array.<module:models/Product>
The objects itself
Type:
- Array.<module:models/Product>
(inner) total :Number
The total number of documents.
Type:
- Number
Methods
(static) constructFromObject(data, obj) → {module:models/ProductRecommendationsResult}
Constructs a ProductRecommendationsResult
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/ProductRecommendationsResult | Optional instance to populate. |
Returns:
The populated ProductRecommendationsResult
instance.