new module:model/WorkflowDefinitionWithId(id)
- Source:
Constructs a new WorkflowDefinitionWithId.
A DS workflow definition with metadata.
Parameters:
| Name | Type | Description |
|---|---|---|
id |
String |
Members
(inner) accountId :String
- Source:
Type:
- String
(inner) createdDate :Date
The date the workflow was created
Type:
- Date
(inner) id :String
Type:
- String
(inner) isDraft :Boolean
Type:
- Boolean
(inner) lastDeployedId :String
Type:
- String
(inner) lastDeployedVersion :String
Type:
- String
(inner) lastDeployedWorkflowDefinition :module:model/WorkflowDefinition
Type:
(inner) lastUpdatedDate :Date
The date the workflow was last updated
Type:
- Date
(inner) status :module:model/WorkflowMetadataStatus
Type:
- module:model/WorkflowMetadataStatus
(inner) triggerUrl :String
Type:
- String
(inner) validationErrors :Array:.<module:model/ValidationErrors:>
Type:
- Array:.<module:model/ValidationErrors:>
(inner) workflowDefinition :module:model/WorkflowDefinition
Type:
Methods
(static) constructFromObject(data, obj) → {module:model/WorkflowDefinitionWithId}
- Source:
Constructs a WorkflowDefinitionWithId 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/WorkflowDefinitionWithId | Optional instance to populate. |
Returns:
The populated WorkflowDefinitionWithId instance.