| Total Lines | 13 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | package dev.hltech.dredd.interfaces.rest.validation; |
||
| 8 | @Getter |
||
| 9 | public class ContractValidationReportDto { |
||
| 10 | |||
| 11 | private ConsumerAndProviderDto consumerAndProvider; |
||
| 12 | |||
| 13 | private List<InteractionValidationReportDto> interactions = Lists.newLinkedList(); |
||
| 14 | |||
| 15 | public ContractValidationReportDto(ConsumerAndProviderDto consumerAndProvider) { |
||
| 16 | this.consumerAndProvider = consumerAndProvider; |
||
| 17 | } |
||
| 18 | |||
| 19 | public void addInteractions(List<InteractionValidationReportDto> interactions) { |
||
| 20 | this.interactions.addAll(interactions); |
||
| 21 | } |
||
| 24 |