package org.zstack.header.volume;

import org.zstack.header.message.APIMessage;

/**
 * Created by frank on 11/12/2015.
 */
public class APIRecoverDataVolumeMsg extends APIMessage implements VolumeMessage {
    private String uuid;

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    @Override
    public String getVolumeUuid() {
        return uuid;
    }
}

@@ -59,159 +59,389 @@
 der.
-message.APIMessage;%0D%0A%0D%0A/**%0D%0A * Created by frank on 11/12/2015.%0D%0A */%0D%0Apublic class APIRecoverDataVolumeMsg extends APIMessage implements VolumeMessage %7B
+identity.Action;%0D%0Aimport org.zstack.header.message.APIMessage;%0D%0Aimport org.zstack.header.message.APIParam;%0D%0A%0D%0A/**%0D%0A * Created by frank on 11/12/2015.%0D%0A */%0D%0A@Action(category = VolumeConstant.ACTION_CATEGORY)%0D%0Apublic class APIRecoverDataVolumeMsg extends APIMessage implements VolumeMessage %7B%0D%0A    @APIParam(resourceType = VolumeVO.class, checkAccount = true, operationTarget = true)
 %0D%0A  

add permission control to APIRecoverDataVolumeMsg