<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def list_queries(self, **kwargs):
 """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 """

        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)