'Provide a view for a list of qos_specs.'

def _list_view(self, func, request, qos_specs, qos_count=None):

    specs_list = [func(request, specs)['qos_specs'] for specs in qos_specs]
    specs_links = self._get_collection_links(request, qos_specs, self._collection_name, qos_count)
    specs_dict = dict(qos_specs=specs_list)
    if specs_links:
        specs_dict['qos_specs_links'] = specs_links
    return specs_dict
