use of org.openkilda.northbound.dto.v1.links.LinkDto in project open-kilda by telstra.
the class LinkMapper method mapResponse.
/**
* Convert {@link IslInfoData} into {@link LinkDto}.
*/
public LinkDto mapResponse(IslInfoData source) {
LinkDto target = new LinkDto();
generatedMap(target, source);
target.setPath(Arrays.asList(map(source.getSource()), map(source.getDestination())));
return target;
}
Aggregations