SectionModel
Model representing section. This is specifically for eating cookies.
Constructor Summary
| Public Constructor | ||
| public |
constructor(response: Object) |
|
Member Summary
| Public Members | ||
| 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 single section |
|
| response.label | String | The label of the section |
|
| response.object | String | The object of the section |
|
| response.owner | String | The owner of the section |
|
| response.ownerType | String | The ownerType of the section |
|
| response.type | String | The type of the section. Type can be 'section', 'flow', or 'custom'. |
|
| response.value | String | The status of the section. For example 'initial', 'in_progress' or 'completed' |
|
| response.sub_statuses | Object[] | An array of children |
|
| response.access_class | String | Access class of section.For example 'MobileUser' |
Manual
Reference
Source
Test
