Skip to main content

FileTypeWrapperCollection Schema

Data structure for File Type Wrapper Collection objects.

Item Type​

This is a collection (list) of FileType items.

Usage​

# Example: Working with FileTypeWrapperCollection
items = [
{"name":"name-value-1","backend_name":"backend_name-value-1","file_type_supercategory":"file_type_supercategory-value-1","val":1},
{"name":"name-value-2","backend_name":"backend_name-value-2","file_type_supercategory":"file_type_supercategory-value-2","val":2}
]

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

JSON Example​

[
{
"name": "name-value-1",
"backend_name": "backend_name-value-1",
"file_type_supercategory": "file_type_supercategory-value-1",
"val": 1
},
{
"name": "name-value-2",
"backend_name": "backend_name-value-2",
"file_type_supercategory": "file_type_supercategory-value-2",
"val": 2
}
]