Manual Reference Source Test
import CallbackModel from 'clinical6/src/models/callback/Callback.js'
public class | source

CallbackModel

Direct Subclass:

Callback

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:

NameTypeAttributeDescription
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

Public Members

public action: String source

public actionObject: Object source

public actionOwnerId: String source

public actionSubject_id: String source

public actionSubject_type: String source

public callbackType: String source

public conditionList: CallbackCondition[] source

public contentId: Number source

public createdAt: String source

public id: Number source

public trigger: Object source

public updatedAt: String source