new module:model/JsonApiAttributes(theData, obj)
Constructs a new JsonApiAttributes.
resource specific attributes/properties
Parameters:
| Name | Type | Description |
|---|---|---|
theData |
Object | The plain JavaScript object bearing properties of interest. |
obj |
module:model/JsonApiAttributes | Optional instance to populate. |
- Source:
Members
(static) constructFromObject
Constructs a JsonApiAttributes 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.
- Source: