def device_query_update(self, query_id, body, **kwargs):  # noqa: E501
        """Update a device query  # noqa: E501

        Update a specifc device query.  # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass asynchronous=True
        >>> thread = api.device_query_update(query_id, body, asynchronous=True)
        >>> result = thread.get()

        :param asynchronous bool
        :param str query_id: (required)
        :param DeviceQueryPostPutRequest body: Device query update object. (required)
        :return: DeviceQuery
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('asynchronous'):
            return self.device_query_update_with_http_info(query_id, body, **kwargs)  # noqa: E501
        else:
            (data) = self.device_query_update_with_http_info(query_id, body, **kwargs)  # noqa: E501
            return data