Skip to main content

InspectionPredefinedControlResourceCollection Schema

Data structure for Inspection Predefined Control Resource Collection objects.

Item Type​

This is a collection (list) of InspectionPredefinedControlResource items.

Usage​

# Example: Working with InspectionPredefinedControlResourceCollection
items = [
{"control_group":"control_group-value-1","predefined_inspection_controls":[],"default_group":true},
{"control_group":"control_group-value-2","predefined_inspection_controls":[],"default_group":true}
]

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

JSON Example​

[
{
"control_group": "control_group-value-1",
"predefined_inspection_controls": [],
"default_group": true
},
{
"control_group": "control_group-value-2",
"predefined_inspection_controls": [],
"default_group": true
}
]