public BoxRequestsFile.UpdateFile getRenameRequest(String id, String newName) {
        BoxRequestsFile.UpdateFile request = new BoxRequestsFile.UpdateFile(id, getFileInfoUrl(id), mSession);
        request.setName(newName);
        return request;
    }
public BoxRequestsFile . UpdateFile getRenameRequest ( String id , String newName ) { BoxRequestsFile . UpdateFile request = new BoxRequestsFile . UpdateFile ( id , getFileInfoUrl ( id ) , mSession ) ; request . setName ( newName ) ; return request ; }
Gets a request that renames a file

@param id        id of file to rename
@param newName   id of file to retrieve info on
@return      request to rename a file