EntryProxy.getAttachments has attachment type.