FlowStepModel
Model representing a step in a flow process.
Constructor Summary
Public Constructor | ||
public |
constructor(response: Object) |
Member Summary
Public Members | ||
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 step |
|
response.id | Number | The id of the step |
|
response.title | Object | The title of the step |
|
response.description | Object | Description, if any, that explain how to answer the step |
|
response.content_type | String | The format of the step (e.g. single choice, multiple choice) |
|
response.image | String | An image |
|
response.inputs | Array | Array of inputs |
|
response.paths | Array | An array of next steps available to the user |
|
response.send_on_capture | Boolean | Save now or later |