package org.zstack.header.image;

import org.zstack.header.message.APIReply;
import org.zstack.header.rest.RestResponse;
import org.zstack.header.storage.backup.BackupStorageInventory;

import java.util.List;

/**
 * Created by xing5 on 2016/8/30.
 */
@RestResponse(allTo = "inventories")
public class APIGetCandidateBackupStorageForCreatingImageReply extends APIReply {
    private List<BackupStorageInventory> inventories;

    public List<BackupStorageInventory> getInventories() {
        return inventories;
    }

    public void setInventories(List<BackupStorageInventory> inventories) {
        this.inventories = inventories;
    }
 
    public static APIGetCandidateBackupStorageForCreatingImageReply __example__() {
        APIGetCandidateBackupStorageForCreatingImageReply reply = new APIGetCandidateBackupStorageForCreatingImageReply();
        reply.setInventories(list(uuid(),uuid()));
        return reply;
    }

}

@@ -203,16 +203,17 @@
 .List;%0A%0A
+%0A
 /**%0A * C
@@ -848,59 +848,8 @@
 ();%0A
-        reply.setInventories(list(uuid(),uuid()));%0A
     

fix doc