public APIDeleteResponse(ItemMetadata item, Boolean success, int error, String description) { super(); this.success = success; this.errorCode = error; this.description = description; if (item != null) { this.item = new CommitInfo(item.getVersion(), success, item); } }