new module:models/SimpleLink()
Constructs a new SimpleLink
.
Document representing a link to another resource.
- Source:
Members
(inner) link :String
The link to the resource.
Type:
- String
- Source:
Methods
(static) constructFromObject(data, obj) → {module:models/SimpleLink}
Constructs a SimpleLink
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/SimpleLink | Optional instance to populate. |
- Source:
Returns:
The populated SimpleLink
instance.