Search in sources :

Example 6 with SchedulingPolicyUnit

use of org.ovirt.engine.api.model.SchedulingPolicyUnit in project ovirt-engine by oVirt.

the class SchedulingBalanceMapperTest method postPopulate.

@Override
protected Balance postPopulate(Balance model) {
    model.setId(ID);
    SchedulingPolicyUnit schedulingPolicyUnit = new SchedulingPolicyUnit();
    schedulingPolicyUnit.setId(ID);
    model.setSchedulingPolicyUnit(schedulingPolicyUnit);
    return model;
}
Also used : SchedulingPolicyUnit(org.ovirt.engine.api.model.SchedulingPolicyUnit)

Example 7 with SchedulingPolicyUnit

use of org.ovirt.engine.api.model.SchedulingPolicyUnit in project ovirt-engine by oVirt.

the class SchedulingFilterMapperTest method postPopulate.

@Override
protected Filter postPopulate(Filter model) {
    model.setId(ID);
    SchedulingPolicyUnit schedulingPolicyUnit = new SchedulingPolicyUnit();
    schedulingPolicyUnit.setId(ID);
    model.setSchedulingPolicyUnit(schedulingPolicyUnit);
    model.setPosition(0);
    return model;
}
Also used : SchedulingPolicyUnit(org.ovirt.engine.api.model.SchedulingPolicyUnit)

Aggregations

SchedulingPolicyUnit (org.ovirt.engine.api.model.SchedulingPolicyUnit)7 Balance (org.ovirt.engine.api.model.Balance)1 Filter (org.ovirt.engine.api.model.Filter)1 Properties (org.ovirt.engine.api.model.Properties)1 V3SchedulingPolicyUnit (org.ovirt.engine.api.v3.types.V3SchedulingPolicyUnit)1