Constructor Summary
Public Constructor | ||
public |
constructor(response: Object) |
Member Summary
Public Members | ||
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
Public Constructors
public constructor(response: Object) source
Params:
Name | Type | Attribute | Description |
response | Object | JSON formatted response of a Notification |
|
response.id | String | The id value of the notification |
|
response.type | String | The type of user (mobile or user) associated with the notification |
|
response.action | String | The action that occurs when the notification transpires |
|
response.actionObject | Object | Object with possible actions for notification |
|
response.channels | Object |
|
Array of channels associated with notification |
response.message | String | The notification message |
|
response.status | String | The notification status ('pending', 'completed', 'read') |
|
response.title | String | The notification title |
|
response.opts | Object | Object for interpolating message string |
|
response.createdAt | String | The creation date of the notification |
|
response.updatedAt | String | Last time the notification was updated |