Skip to main content

RuleLabelInfoCollection Schema

Data structure for Rule Label Info Collection objects.

Item Type​

This is a collection (list) of RuleLabelInfo items.

Usage​

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

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

JSON Example​

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