Skip to main content

InspectionRuleConditionCollection Schema

Data structure for Inspection Rule Condition Collection objects.

Item Type​

This is a collection (list) of InspectionRuleCondition items.

Usage​

# Example: Working with InspectionRuleConditionCollection
items = [
{"lhs":"lhs-value-1","op":"op-value-1","rhs":"rhs-value-1"},
{"lhs":"lhs-value-2","op":"op-value-2","rhs":"rhs-value-2"}
]

# Pass to an action that requires this collection type
resource.some_action(body=items)

JSON Example​

[
{
"lhs": "lhs-value-1",
"op": "op-value-1",
"rhs": "rhs-value-1"
},
{
"lhs": "lhs-value-2",
"op": "op-value-2",
"rhs": "rhs-value-2"
}
]