def device_event_simple_query(self, scope_id, device_id, **kwargs):
    'Gets the DeviceEvent list in the scope  # noqa: E501\n\n        Returns the list of all the deviceEvents associated to the current selected scope.  # noqa: E501\n        This method makes a synchronous HTTP request by default. To make an\n        asynchronous HTTP request, please pass async_req=True\n        >>> thread = api.device_event_simple_query(scope_id, device_id, async_req=True)\n        >>> result = thread.get()\n\n        :param async_req bool\n        :param str scope_id: The ScopeId in which to search results. (required)\n        :param str device_id: The client id to filter results. (required)\n        :param str resource: The resource of the DeviceEvent in which to search results\n        :param int offset: The result set offset.\n        :param int limit: The result set limit.\n        :return: DeviceEventListResult\n                 If the method is called asynchronously,\n                 returns the request thread.\n        '
    kwargs['_return_http_data_only'] = True
    if kwargs.get('async_req'):
        return self.device_event_simple_query_with_http_info(scope_id, device_id, **kwargs)
    else:
        data = self.device_event_simple_query_with_http_info(scope_id, device_id, **kwargs)
        return data
Gets the DeviceEvent list in the scope  # noqa: E501

Returns the list of all the deviceEvents associated to the current selected scope.  # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.device_event_simple_query(scope_id, device_id, async_req=True)
>>> result = thread.get()

:param async_req bool
:param str scope_id: The ScopeId in which to search results. (required)
:param str device_id: The client id to filter results. (required)
:param str resource: The resource of the DeviceEvent in which to search results
:param int offset: The result set offset.
:param int limit: The result set limit.
:return: DeviceEventListResult
         If the method is called asynchronously,
         returns the request thread.
def device_event_simple_query(self, scope_id, device_id, **kwargs):
    'Gets the DeviceEvent list in the scope  # noqa: E501\n\n        Returns the list of all the deviceEvents associated to the current selected scope.  # noqa: E501\n        This method makes a synchronous HTTP request by default. To make an\n        asynchronous HTTP request, please pass async_req=True\n        >>> thread = api.device_event_simple_query(scope_id, device_id, async_req=True)\n        >>> result = thread.get()\n\n        :param async_req bool\n        :param str scope_id: The ScopeId in which to search results. (required)\n        :param str device_id: The client id to filter results. (required)\n        :param str resource: The resource of the DeviceEvent in which to search results\n        :param int offset: The result set offset.\n        :param int limit: The result set limit.\n        :return: DeviceEventListResult\n                 If the method is called asynchronously,\n                 returns the request thread.\n        '
    kwargs['_return_http_data_only'] = True
    if kwargs.get('async_req'):
        return self.device_event_simple_query_with_http_info(scope_id, device_id, **kwargs)
    else:
        data = self.device_event_simple_query_with_http_info(scope_id, device_id, **kwargs)
        return data