def device_asset_read_with_http_info(self, scope_id, device_id, **kwargs):
    'Reads asset channel values  # noqa: E501\n\n        Returns the value read from the asset channel  # 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_asset_read_with_http_info(scope_id, device_id, async_req=True)\n        >>> result = thread.get()\n\n        :param async_req bool\n        :param str scope_id: The ScopeId of the device. (required)\n        :param str device_id: The id of the device (required)\n        :param int timeout: The timeout of the operation in milliseconds\n        :param DeviceAssets body: The filter of the read request\n        :return: DeviceAssets\n                 If the method is called asynchronously,\n                 returns the request thread.\n        '
    all_params = ['scope_id', 'device_id', 'timeout', 'body']
    all_params.append('async_req')
    all_params.append('_return_http_data_only')
    all_params.append('_preload_content')
    all_params.append('_request_timeout')
    params = locals()
    for (key, val) in six.iteritems(params['kwargs']):
        if (key not in all_params):
            raise TypeError(("Got an unexpected keyword argument '%s' to method device_asset_read" % key))
        params[key] = val
    del params['kwargs']
    if (('scope_id' not in params) or (params['scope_id'] is None)):
        raise ValueError('Missing the required parameter `scope_id` when calling `device_asset_read`')
    if (('device_id' not in params) or (params['device_id'] is None)):
        raise ValueError('Missing the required parameter `device_id` when calling `device_asset_read`')
    collection_formats = {}
    path_params = {}
    if ('scope_id' in params):
        path_params['scopeId'] = params['scope_id']
    if ('device_id' in params):
        path_params['deviceId'] = params['device_id']
    query_params = []
    if ('timeout' in params):
        query_params.append(('timeout', params['timeout']))
    header_params = {}
    form_params = []
    local_var_files = {}
    body_params = None
    if ('body' in params):
        body_params = params['body']
    header_params['Accept'] = self.api_client.select_header_accept(['application/json', 'application/xml'])
    auth_settings = ['kapuaAccessToken']
    return self.api_client.call_api('/{scopeId}/devices/{deviceId}/assets/_read', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='DeviceAssets', auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), _preload_content=params.get('_preload_content', True), _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats)
Reads asset channel values  # noqa: E501

Returns the value read from the asset channel  # 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_asset_read_with_http_info(scope_id, device_id, async_req=True)
>>> result = thread.get()

:param async_req bool
:param str scope_id: The ScopeId of the device. (required)
:param str device_id: The id of the device (required)
:param int timeout: The timeout of the operation in milliseconds
:param DeviceAssets body: The filter of the read request
:return: DeviceAssets
         If the method is called asynchronously,
         returns the request thread.
def device_asset_read_with_http_info(self, scope_id, device_id, **kwargs):
    'Reads asset channel values  # noqa: E501\n\n        Returns the value read from the asset channel  # 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_asset_read_with_http_info(scope_id, device_id, async_req=True)\n        >>> result = thread.get()\n\n        :param async_req bool\n        :param str scope_id: The ScopeId of the device. (required)\n        :param str device_id: The id of the device (required)\n        :param int timeout: The timeout of the operation in milliseconds\n        :param DeviceAssets body: The filter of the read request\n        :return: DeviceAssets\n                 If the method is called asynchronously,\n                 returns the request thread.\n        '
    all_params = ['scope_id', 'device_id', 'timeout', 'body']
    all_params.append('async_req')
    all_params.append('_return_http_data_only')
    all_params.append('_preload_content')
    all_params.append('_request_timeout')
    params = locals()
    for (key, val) in six.iteritems(params['kwargs']):
        if (key not in all_params):
            raise TypeError(("Got an unexpected keyword argument '%s' to method device_asset_read" % key))
        params[key] = val
    del params['kwargs']
    if (('scope_id' not in params) or (params['scope_id'] is None)):
        raise ValueError('Missing the required parameter `scope_id` when calling `device_asset_read`')
    if (('device_id' not in params) or (params['device_id'] is None)):
        raise ValueError('Missing the required parameter `device_id` when calling `device_asset_read`')
    collection_formats = {}
    path_params = {}
    if ('scope_id' in params):
        path_params['scopeId'] = params['scope_id']
    if ('device_id' in params):
        path_params['deviceId'] = params['device_id']
    query_params = []
    if ('timeout' in params):
        query_params.append(('timeout', params['timeout']))
    header_params = {}
    form_params = []
    local_var_files = {}
    body_params = None
    if ('body' in params):
        body_params = params['body']
    header_params['Accept'] = self.api_client.select_header_accept(['application/json', 'application/xml'])
    auth_settings = ['kapuaAccessToken']
    return self.api_client.call_api('/{scopeId}/devices/{deviceId}/assets/_read', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, response_type='DeviceAssets', auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), _preload_content=params.get('_preload_content', True), _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats)