public MApiResponseBuilder(MApiResponse r) { this.name = r.getName(); this.status = r.getStatus(); this.type = r.getType(); this.file = r.isFile(); this.setSummary(r.getSummary()); this.setDescription(r.getDescription()); for(MApiHeader header : r.getHeaders()) { headers.add(new MApiHeaderBuilder(header)); } }