Search in sources :

Example 1 with V3MemoryOverCommit

use of org.ovirt.engine.api.v3.types.V3MemoryOverCommit in project ovirt-engine by oVirt.

the class V3MemoryOverCommitInAdapter method adapt.

@Override
public MemoryOverCommit adapt(V3MemoryOverCommit from) {
    MemoryOverCommit to = new MemoryOverCommit();
    to.setPercent(from.getPercent());
    return to;
}
Also used : V3MemoryOverCommit(org.ovirt.engine.api.v3.types.V3MemoryOverCommit) MemoryOverCommit(org.ovirt.engine.api.model.MemoryOverCommit)

Aggregations

MemoryOverCommit (org.ovirt.engine.api.model.MemoryOverCommit)1 V3MemoryOverCommit (org.ovirt.engine.api.v3.types.V3MemoryOverCommit)1