package org.zstack.header.storage.backup;

import org.zstack.header.identity.Action;
import org.zstack.header.image.ImageConstant;
import org.zstack.header.message.APIMessage;
import org.zstack.header.message.APIParam;

@Action(category = ImageConstant.ACTION_CATEGORY)
public class APIExportImageFromBackupStorageMsg extends APIMessage implements BackupStorageMessage {
    @APIParam(resourceType = BackupStorageVO.class, checkAccount = true, operationTarget = true)
    private String backupStorageUuid;

    @APIParam(nonempty = true, maxLength = 2048)
    private String installPath;

    @Override
    public String getBackupStorageUuid() {
        return backupStorageUuid;
    }

    public void setBackupStorageUuid(String backupStorageUuid) {
        this.backupStorageUuid = backupStorageUuid;
    }

    public String getInstallPath() {
        return installPath;
    }

    public void setInstallPath(String installPath) {
        this.installPath = installPath;
    }
}

@@ -569,26 +569,24 @@
 String i
-nstallPath
+mageUuid
 ;%0A%0A    @
@@ -824,26 +824,24 @@
 ing getI
-nstallPath
+mageUuid
 () %7B%0A   
@@ -853,26 +853,24 @@
 return i
-nstallPath
+mageUuid
 ;%0A    %7D%0A
@@ -894,79 +894,71 @@
 setI
-nstallPath(String installPath) %7B%0A        this.installPath = installPath
+mageUuid(String imageUuid) %7B%0A        this.imageUuid = imageUuid
 ;%0A  

Use imageUuid instead of installPath