code: def list_queries(self, **kwargs):
          
          kwargs = self._verify_sort_options(kwargs)
          kwargs = self._verify_filters(kwargs, Query, True)
          api = self._get_api(device_directory.DefaultApi)
          return PaginatedResponse(api.device_query_list, lwrap_type=Query, **kwargs)
docs: List queries in device query service.
  
          :param int limit: The number of devices to retrieve.
          :param str order: The ordering direction, ascending (asc) or
              descending (desc)
          :param str after: Get devices after/starting at given `device_id`
          :param filters: Dictionary of filters to apply.
          :returns: a list of :py:class:`Query` objects.
          :rtype: PaginatedResponse