ContentModel
Model representing Dynamic Content.
Constructor Summary
| Public Constructor | ||
| public |
constructor(response: Object) |
|
Member Summary
| Public Members | ||
| public |
[stringToCamel(key)]: Any |
|
| public |
|
|
Public Constructors
public constructor(response: Object) source
Params:
| Name | Type | Attribute | Description |
| response | Object | JSON formatted default response of a dynamic content |
|
| response.id | Number | The ID of the content |
|
| response.title | String | Title of the content |
|
| response.description | String | A description related to the content |
|
| response.created_at | String | The time at which the content was created |
|
| response.updated_at | String | The time at which the content was updated |
|
| response.position | Number | The position where the content is put on the platform |
|
| response.tags | Array | The tags to describe the content |
|
| response.brand | Object | The brand to describe the content |
Manual
Reference
Source
Test
