Skip to main content

IotItemInfoCollection Schema

Data structure for Iot Item Info Collection objects.

Item Type​

This is a collection (list) of IotItemInfo items.

Usage​

# Example: Working with IotItemInfoCollection
items = [
{"name":"name-value-1","parent_uuid":"parent_uuid-value-1","uuid":"uuid-value-1"},
{"name":"name-value-2","parent_uuid":"parent_uuid-value-2","uuid":"uuid-value-2"}
]

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

JSON Example​

[
{
"name": "name-value-1",
"parent_uuid": "parent_uuid-value-1",
"uuid": "uuid-value-1"
},
{
"name": "name-value-2",
"parent_uuid": "parent_uuid-value-2",
"uuid": "uuid-value-2"
}
]