The cinder.api.v3.views.resource_filters Module

class ViewBuilder

Bases: object

Model an resource filters API response as a python dictionary.

classmethod list(filters)

Build a view of a list of resource filters.

{
   "resource_filters": [{
       "resource": 'resource_1',
       "filters": ['filter1', 'filter2', 'filter3']
    }]
}