Manual Reference Source Test
import FlowModel from 'clinical6/src/models/flow/Flow.js'
public class | source

FlowModel

Direct Subclass:

Flow, FlowAnswer

Model representing a flow process (flow template).

Constructor Summary

Public Constructor
public

constructor(response: Object)

Member Summary

Public Members
public
public
public
public
public

draft: *

public
public
public
public
public
public
public
public
public
public

Public Constructors

public constructor(response: Object) source

Params:

NameTypeAttributeDescription
response Object

JSON formatted response of a flow process (flow template)

response.id Number

The id of the content

response.name String

The id of the content

response.steps Array

The array of steps in the flow process (flow template)

response.first_step Number

The id of the first step

response.total Number

The total number of steps

Public Members

public conditionalPaths: String source

public consentCredentials: String source

public createdAt: String source

public description: String source

public draft: * source

public first_step: Number source

public id: Number source

public name: String source

public owner_type: String source

public published: * source

public publishedAt: String source

public steps: Array source

public total: Number source

public updatedAt: String source