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;
    }

}

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();
        return reply;
    }

}

fix doc