use of org.ovirt.engine.api.model.StorageDomainLease in project ovirt-engine by oVirt.
the class StorageDomainLeaseMapper method map.
public static StorageDomainLease map(Guid storageDomainId) {
if (storageDomainId != null) {
StorageDomain storageDomain = new StorageDomain();
storageDomain.setId(storageDomainId.toString());
StorageDomainLease lease = new StorageDomainLease();
lease.setStorageDomain(storageDomain);
return lease;
}
return null;
}
Aggregations