new module:model/CreateOrUpdateWorkflowDefinitionRequestBody()
Constructs a new CreateOrUpdateWorkflowDefinitionRequestBody.
A request body that used for create or update workflow definition
Members
(inner) workflowDefinition :module:model/WorkflowDefinition
Type:
Methods
(static) constructFromObject(data, obj) → {module:model/CreateOrUpdateWorkflowDefinitionRequestBody}
Constructs a CreateOrUpdateWorkflowDefinitionRequestBody 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/CreateOrUpdateWorkflowDefinitionRequestBody | Optional instance to populate. |
Returns:
The populated CreateOrUpdateWorkflowDefinitionRequestBody instance.