use of com.emc.storageos.model.application.VolumeGroupSnapshotSessionRestoreParam in project coprhd-controller by CoprHD.
the class RestoreSnapshotSessionForApplication method doExecute.
@Override
protected Tasks<TaskResourceRep> doExecute() throws Exception {
VolumeGroupSnapshotSessionRestoreParam input = new VolumeGroupSnapshotSessionRestoreParam();
input.setSnapshotSessions(snapSessions);
input.setPartial(true);
TaskList taskList = getClient().application().restoreApplicationSnapshotSession(applicationId, input);
return new Tasks<TaskResourceRep>(getClient().auth().getClient(), taskList.getTaskList(), TaskResourceRep.class);
}
Aggregations