Classes
- 
			
new SetAssetReferenceAction()
 - 
	
 - 
			
new SetFromContextAction()
 - 
	
 - 
			
new SetFromMetadataAction()
 - 
	
 - 
			
new SetAction()
 - 
	
 - 
			
new VariableAction()
 - 
	
 
Methods
- 
			
<static> set( name, value ) → {Actions.Variable.SetAction}
action
 - 
	
Description
Sets a new user variable with the given value.
Parameters
Name Type Description namestring Variable name
valuenumber | string | Array.<number> | Array.<string> Variable value
Returns
Details
 - 
			
<static> setFloat( name, value ) → {Actions.Variable.SetAction}
action
 - 
	
Description
Same as 'set', but forces the end value to be a float setFloat(1) will result in $foo_1.0
Parameters
Name Type Description namestring Variable name
valuenumber Variable value
Returns
Details
 - 
			
<static> setInteger( name, value ) → {Actions.Variable.SetAction}
action
 - 
	
Description
Same as 'set', but forces the end value to be an integer setInteger(1.1) will result in $foo_1, input is rounded down
Parameters
Name Type Description namestring Variable name
valuenumber Variable value
Returns
Details
 - 
			
<static> setString( name, value ) → {Actions.Variable.SetAction}
action
 - 
	
Description
Same as 'set', but forces the end value to be a string setString(1) will result in $foo_!1!
Parameters
Name Type Description namestring | number Variable name
valuenumber Variable value
Returns
Details
 - 
			
<static> setAssetReference( name, value ) → {Actions.Variable.SetAssetReferenceAction}
action
 - 
	
Description
Allows adding a variable by sending a key and value which is a reference to an asset.
Parameters
Name Type Description namestring valuestring Returns
Details
 - 
			
<static> setFromContext( name, value ) → {Actions.Variable.SetFromContextAction}
action
 - 
	
Description
Allows adding a variable by sending a key and value which is a key to a value that assumed to be on the asset’s context.
Parameters
Name Type Description namestring valuestring Returns
Details
 - 
			
<static> setFromMetadata( name, value ) → {Actions.Variable.SetFromMetadataAction}
action
 - 
	
Description
Allows adding a variable by sending a name and value which is a key to a value that assumed to be on the predefined account’s metadata fields.
Parameters
Name Type Description namestring valuestring Returns
Details