new module:models/ImageGroup()
Constructs a new ImageGroup.
Document representing an image group containing a list of images for a particular view type and an optional variation value.
- Source:
Members
(inner) images :Array.<module:models/Image>
The images of the image group.
Type:
- Array.<module:models/Image>
- Source:
(inner) variation_attributes :Array.<module:models/VariationAttribute>
Returns a list of variation attributes applying to this image group.
Type:
- Array.<module:models/VariationAttribute>
- Source:
(inner) view_type :String
The image view type.
Type:
- String
- Source:
Methods
(static) constructFromObject(data, obj) → {module:models/ImageGroup}
Constructs a ImageGroup 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/ImageGroup | Optional instance to populate. |
- Source:
Returns:
The populated ImageGroup instance.