Skip to main content

AlertDetailsDepartmentsCollection Schema

Data structure for Alert Details Departments Collection objects.

Item Type​

This is a collection (list) of AlertDetailsDepartments items.

Usage​

# Example: Working with AlertDetailsDepartmentsCollection
items = [
{"id":1,"name":"name-value-1","num_devices":1},
{"id":2,"name":"name-value-2","num_devices":2}
]

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

JSON Example​

[
{
"id": 1,
"name": "name-value-1",
"num_devices": 1
},
{
"id": 2,
"name": "name-value-2",
"num_devices": 2
}
]