use of org.ovirt.engine.api.v3.types.V3NfsProfileDetail in project ovirt-engine by oVirt.
the class V3NfsProfileDetailInAdapter method adapt.
@Override
public NfsProfileDetail adapt(V3NfsProfileDetail from) {
NfsProfileDetail to = new NfsProfileDetail();
if (from.isSetNfsServerIp()) {
to.setNfsServerIp(from.getNfsServerIp());
}
if (from.isSetProfileDetail()) {
to.setProfileDetails(new ProfileDetails());
to.getProfileDetails().getProfileDetails().addAll(adaptIn(from.getProfileDetail()));
}
return to;
}
Aggregations