use of org.ovirt.engine.api.v3.types.V3BrickProfileDetail in project ovirt-engine by oVirt.
the class V3BrickProfileDetailInAdapter method adapt.
@Override
public BrickProfileDetail adapt(V3BrickProfileDetail from) {
BrickProfileDetail to = new BrickProfileDetail();
if (from.isSetBrick()) {
to.setBrick(adaptIn(from.getBrick()));
}
if (from.isSetProfileDetail()) {
to.setProfileDetails(new ProfileDetails());
to.getProfileDetails().getProfileDetails().addAll(adaptIn(from.getProfileDetail()));
}
return to;
}
Aggregations