use of org.ovirt.engine.api.v3.types.V3CpuTune in project ovirt-engine by oVirt.
the class V3CpuTuneInAdapter method adapt.
@Override
public CpuTune adapt(V3CpuTune from) {
CpuTune to = new CpuTune();
if (from.isSetVCpuPin()) {
to.setVcpuPins(new VcpuPins());
to.getVcpuPins().getVcpuPins().addAll(adaptIn(from.getVCpuPin()));
}
return to;
}