Search in sources :

Example 1 with V3EntityProfileDetail

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

the class V3EntityProfileDetailInAdapter method adapt.

@Override
public EntityProfileDetail adapt(V3EntityProfileDetail from) {
    EntityProfileDetail to = new EntityProfileDetail();
    if (from.isSetProfileDetail()) {
        to.setProfileDetails(new ProfileDetails());
        to.getProfileDetails().getProfileDetails().addAll(adaptIn(from.getProfileDetail()));
    }
    return to;
}
Also used : V3EntityProfileDetail(org.ovirt.engine.api.v3.types.V3EntityProfileDetail) EntityProfileDetail(org.ovirt.engine.api.model.EntityProfileDetail) ProfileDetails(org.ovirt.engine.api.model.ProfileDetails)

Aggregations

EntityProfileDetail (org.ovirt.engine.api.model.EntityProfileDetail)1 ProfileDetails (org.ovirt.engine.api.model.ProfileDetails)1 V3EntityProfileDetail (org.ovirt.engine.api.v3.types.V3EntityProfileDetail)1