new module:model/JobPayloadMisc(workflow, workflowAttribute, theData, obj)
Constructs a new JobPayloadMisc.
Parameters:
| Name | Type | Description |
|---|---|---|
workflow |
String | The workflow id created for a webhook, used to listen to Model Derivative events. It needs to be no more than 36 chars, and only ASCII, decimal and hyphen are accepted. |
workflowAttribute |
Object | A user-defined JSON object, which you can use to set some custom workflow information. It needs to be less than 1KB and will be ignored if misc.workflow parameter is not set. |
theData |
Object | The plain JavaScript object bearing properties of interest. |
obj |
module:model/JobPayloadMisc | Optional instance to populate. |
- Source:
Members
(static) constructFromObject
Constructs a JobPayloadMisc 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.
- Source:
(inner) workflow :String
The workflow id created for a webhook, used to listen to Model Derivative events. It needs to be no more than 36 chars, and only ASCII, decimal and hyphen are accepted.
Type:
- String
- Source:
(inner) workflowAttribute :Object
A user-defined JSON object, which you can use to set some custom workflow information. It needs to be less than 1KB and will be ignored if misc.workflow parameter is not set.
Type:
- Object
- Source: