new module:models/Image(link)
Constructs a new Image.
Parameters:
| Name | Type | Description |
|---|---|---|
link |
String |
- Source:
Members
(inner) alt :String
Type:
- String
- Source:
(inner) dis_base_link :String
Type:
- String
- Source:
(inner) link :String
Type:
- String
- Source:
(inner) title :String
Type:
- String
- Source:
Methods
(static) constructFromObject(data, obj) → {module:models/Image}
Constructs a Image 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/Image | Optional instance to populate. |
- Source:
Returns:
The populated Image instance.
- Type
- module:models/Image