In this guide of Dropbox it is nicely explained how to deal with files and folders in Dropbox using their API. But on reaching the endpoint to fetch files and folders in a location using Java SDK instead of list of FileMetaData objects we get MetaData objects which has much less fields for files/folders compare to FileMetaData. Is there a way to get FileMetaData objects instead of MetaData ones directly via API call, using the Java SDK?
DbxRequestConfig config = DbxRequestConfig.newBuilder("dropboxClient").build();
DbxClientV2 dbxClient = new DbxClientV2(config, "<access_token>");
ListFolderResult result = dbxClient.files().listFolderContinue("<last_cursor>");
List<MetaData> listMetaData = result.getEntries(); // Is there a way I can get list of FileMetaData objects instead of MetaData.