Skip to main content

DeviceListCollection Schema

Data structure for Device List Collection objects.

Item Type​

This is a collection (list) of DeviceList items.

Usage​

# Example: Working with DeviceListCollection
items = [
{"agent_version":"agent_version-value-1","company_name":"company_name-value-1","config_download_time":"config_download_time-value-1","deregistration_timestamp":"deregistration_timestamp-value-1","detail":"detail-value-1"},
{"agent_version":"agent_version-value-2","company_name":"company_name-value-2","config_download_time":"config_download_time-value-2","deregistration_timestamp":"deregistration_timestamp-value-2","detail":"detail-value-2"}
]

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

JSON Example​

[
{
"agent_version": "agent_version-value-1",
"company_name": "company_name-value-1",
"config_download_time": "config_download_time-value-1",
"deregistration_timestamp": "deregistration_timestamp-value-1",
"detail": "detail-value-1"
},
{
"agent_version": "agent_version-value-2",
"company_name": "company_name-value-2",
"config_download_time": "config_download_time-value-2",
"deregistration_timestamp": "deregistration_timestamp-value-2",
"detail": "detail-value-2"
}
]