use of org.ovirt.engine.core.common.action.TransferDiskImageParameters in project ovirt-engine by oVirt.
the class BackendImageTransfersResource method addForImage.
/**
* Adding using an Image entity - for 4.1 backwards compatibility
*/
@Deprecated
@Override
public Response addForImage(ImageTransfer imageTransfer) {
TransferDiskImageParameters params = new TransferDiskImageParameters();
params.setImageGroupID(GuidUtils.asGuid(imageTransfer.getImage().getId()));
return performCreate(imageTransfer, params);
}
Aggregations