Skip to main content

DeviceGroupWrapperCollection Schema

Data structure for Device Group Wrapper Collection objects.

Item Type​

This is a collection (list) of DeviceGroup items.

Usage​

# Example: Working with DeviceGroupWrapperCollection
items = [
{"id":"id-value-1","company_id":"company_id-value-1","name":"name-value-1","description":"description-value-1","platform_type":[]},
{"id":"id-value-2","company_id":"company_id-value-2","name":"name-value-2","description":"description-value-2","platform_type":[]}
]

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

JSON Example​

[
{
"id": "id-value-1",
"company_id": "company_id-value-1",
"name": "name-value-1",
"description": "description-value-1",
"platform_type": []
},
{
"id": "id-value-2",
"company_id": "company_id-value-2",
"name": "name-value-2",
"description": "description-value-2",
"platform_type": []
}
]