BoxFolder.Info info = folder.getFolderInfo();
BoxUploadEmail.Info emailInfo = info.uploadEmail;
emailInfo will always be null, because the class isn't parsing the json response correctly for the upload email info. Per the docs, the correct json tag is folder_upload_email; the code is checking for upload_email. PR forthcoming.
In the following code:
emailInfo
will always be null, because the class isn't parsing the json response correctly for the upload email info. Per the docs, the correct json tag isfolder_upload_email
; the code is checking forupload_email
. PR forthcoming.