use of org.ovirt.engine.api.v3.types.V3BlockStatistic in project ovirt-engine by oVirt.
the class V3BlockStatisticInAdapter method adapt.
public BlockStatistic adapt(V3BlockStatistic from) {
BlockStatistic to = new BlockStatistic();
if (from.isSetStatistic()) {
to.setStatistics(new Statistics());
to.getStatistics().getStatistics().addAll(adaptIn(from.getStatistic()));
}
return to;
}
Aggregations