Skip to main content

RangeCollection Schema

Data structure for Range Collection objects.

Item Type​

This is a collection (list) of Range items.

Usage​

# Example: Working with RangeCollection
items = [
{"end":"end-value-1","start":"start-value-1"},
{"end":"end-value-2","start":"start-value-2"}
]

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

JSON Example​

[
{
"end": "end-value-1",
"start": "start-value-1"
},
{
"end": "end-value-2",
"start": "start-value-2"
}
]