CallbackModel
Direct Subclass:
Model representing a callback. A callback returns information to the user when processing completes.
Constructor Summary
Public Constructor | ||
public |
constructor(response: Object) |
Member Summary
Public Members | ||
public |
|
|
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 callback |
|
response.action | String | The action to execute on callback return |
|
response.action_object | Object | The object associated with the callback |
|
response.action_owner_id | String | The action's owner |
|
response.action_subject_id | String | The action's subject ID |
|
response.action_subject_type | String | The action subject's type |
|
response.callback_type | String | The type of callback |
|
response.createdAt | String | When the callback was created |
|
response.id | Number | The callback's id |
|
response.trigger | Object | The callback trigger |
|
response.updatedAt | String | When the callback was last updated |
|
response.contentId | Number | The callback's associated content id |
|
response.conditionList | Object | The conditions, if any, that are associated with the callback |