new module:model/StringOrVariableOrTransformation()
Constructs a new StringOrVariableOrTransformation.
Object stands for a String or a Variable or a Transformation. This object should be any of the following object models or types: [string, #/definitions/DSWorkflowVariable, #/definitions/DSWorkflowTransformationExpression]
Methods
(static) constructFromObject(data, obj) → {module:model/StringOrVariableOrTransformation}
Constructs a StringOrVariableOrTransformation 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/StringOrVariableOrTransformation | Optional instance to populate. |
Returns:
The populated StringOrVariableOrTransformation instance.