Item and Property Management
AddItem
Represents adding an item to a collection.
{
"ExpressionType": "AddItem",
"Item": {
"ExpressionType": "Constant",
"DataType": "String",
"Value": "test tag"
}
}
RemoveItem
Represents removing an item from a collection.
{
"ExpressionType": "RemoveItem",
"Item": {
"ExpressionType": "Constant",
"DataType": "String",
"Value": "test tag"
}
}
ReplaceItem
Represents replacing an item in a collection.
{
"ExpressionType": "RemoveItem",
"NewValue": {
"ExpressionType": "Constant",
"DataType": "String",
"Value": "new test tag"
},
"Index": 0
}
IndexOf
Represents finding the index of an item
{
"ExpressionType": "IndexOf",
"Item": {
"ExpressionType": "Constant",
"DataType": "String",
"Value": "test tag"
}
}
FindItemByIndex
Represents finding the item by index
{
"ExpressionType": "FindItemByIndex",
"Index": 1
}
FirstItem
Represents getting the first item
{
"ExpressionType": "FirstItem",
}
LastItem
Represents getting the last item
{
"ExpressionType": "LastItem",
}
GetProperty
Represents updating property of item
{
"ExpressionType": "GetProperty",
"SourceLogicalId": "Name"
}
SetProperty
Represents updating property of item
{
"ExpressionType": "SetProperty",
"VariableLogicalId": "Name",
"Value": {
"ExpressionType": "Constant",
"DataType": "String",
"Value": "test Name"
}
}
``