module:model/TriggerPayload

module:model/TriggerPayload

new module:model/TriggerPayload()

Source:

Constructs a new TriggerPayload.
JSON payload that will be passed to the triggered workflow

Members

(inner) instanceName :String

Source:
Type:
  • String

(inner) metadata :Object

Source:
Type:
  • Object

(inner) participants :Object

Source:
Type:
  • Object

(inner) payload :Object

Source:
Type:
  • Object

Methods

(static) constructFromObject(data, obj) → {module:model/TriggerPayload}

Source:

Constructs a TriggerPayload from a plain JavaScript object, optionally creating a new instance.
Copies all relevant properties from data to obj if supplied or a new instance if not.

Parameters:
Name Type Description
data Object

The plain JavaScript object bearing properties of interest.

obj module:model/TriggerPayload

Optional instance to populate.

Returns:

The populated TriggerPayload instance.

Type
module:model/TriggerPayload