Skip to main content

InspectionProfileControlsInfoResourceWrapperCollection Schema

Data structure for Inspection Profile Controls Info Resource Wrapper Collection objects.

Item Type​

This is a collection (list) of InspectionProfileControlsInfoResource items.

Usage​

# Example: Working with InspectionProfileControlsInfoResourceWrapperCollection
items = [
{"control_type":"control_type-value-1","count":1},
{"control_type":"control_type-value-2","count":2}
]

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

JSON Example​

[
{
"control_type": "control_type-value-1",
"count": 1
},
{
"control_type": "control_type-value-2",
"count": 2
}
]