com.emc.storageos.model.block.BlockSnapshotBulkRep Maven / Gradle / Ivy
/*
* Copyright (c) 2015 EMC Corporation
* All Rights Reserved
*/
package com.emc.storageos.model.block;
import com.emc.storageos.model.BulkRestRep;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.ArrayList;
import java.util.List;
@XmlRootElement(name = "bulk_block_snapshots")
public class BlockSnapshotBulkRep extends BulkRestRep {
private List blockSnapshots;
/**
* List of Block Snapshots.
*
* @valid none
*/
@SuppressWarnings("unchecked")
@XmlElement(name = "block_snapshot")
public List getBlockSnapshots() {
if (blockSnapshots == null) {
blockSnapshots = new ArrayList();
}
return blockSnapshots;
}
public void setBlockSnapshots(List blockSnapshots) {
this.blockSnapshots = blockSnapshots;
}
public BlockSnapshotBulkRep() {
}
public BlockSnapshotBulkRep(List blockSnapshots) {
this.blockSnapshots = blockSnapshots;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy