new module:model/WorkflowDefinitionMetadata(id)
Constructs a new WorkflowDefinitionMetadata.
A DS workflow definition's metadata.
Parameters:
| Name | Type | Description |
|---|---|---|
id |
String |
Members
(inner) accountId :String
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) lastUpdatedDate :Date
The date the workflow was last updated
Type:
- Date
(inner) name :String
Type:
- String
(inner) status :module:model/WorkflowMetadataStatus
Type:
- module:model/WorkflowMetadataStatus
(inner) triggerUrl :String
Type:
- String
Methods
(static) constructFromObject(data, obj) → {module:model/WorkflowDefinitionMetadata}
Constructs a WorkflowDefinitionMetadata 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/WorkflowDefinitionMetadata | Optional instance to populate. |
Returns:
The populated WorkflowDefinitionMetadata instance.