use of org.ovirt.engine.api.v3.types.V3NumaNodePin in project ovirt-engine by oVirt.
the class V3NumaNodePinInAdapter method adapt.
@Override
public NumaNodePin adapt(V3NumaNodePin from) {
NumaNodePin to = new NumaNodePin();
if (from.isSetHostNumaNode()) {
to.setHostNumaNode(adaptIn(from.getHostNumaNode()));
}
if (from.isSetIndex()) {
to.setIndex(from.getIndex());
}
to.setPinned(from.isPinned());
return to;
}
Aggregations