Skip to main content

AlertDetailsGeolocationsCollection Schema

Data structure for Alert Details Geolocations Collection objects.

Item Type​

This is a collection (list) of AlertDetailsGeolocations items.

Usage​

# Example: Working with AlertDetailsGeolocationsCollection
items = [
{"id":"id-value-1","city":"city-value-1","state":"state-value-1","country":"country-value-1","num_devices":1},
{"id":"id-value-2","city":"city-value-2","state":"state-value-2","country":"country-value-2","num_devices":2}
]

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

JSON Example​

[
{
"id": "id-value-1",
"city": "city-value-1",
"state": "state-value-1",
"country": "country-value-1",
"num_devices": 1
},
{
"id": "id-value-2",
"city": "city-value-2",
"state": "state-value-2",
"country": "country-value-2",
"num_devices": 2
}
]