com.emc.storageos.model.vnas.VirtualNASBulkRep Maven / Gradle / Ivy
/*
* Copyright (c) 2015 EMC Corporation
* All Rights Reserved
*/
package com.emc.storageos.model.vnas;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import com.emc.storageos.model.BulkRestRep;
/**
* List of Virtual NAS servers and returned as a bulk response to a REST request.
*
* @author prasaa9
*
*/
@XmlRootElement(name = "bulk_vnas_servers")
public class VirtualNASBulkRep extends BulkRestRep {
private List vnasServers;
public VirtualNASBulkRep() {
}
public VirtualNASBulkRep(List vnasServers) {
super();
this.vnasServers = vnasServers;
}
/**
* List of Virtual NAS Servers. A VNAS Server represents a
* virtual NAS server of a storage device.
*
* @valid none
*/
@XmlElement(name = "vnas_server")
public List getVnasServers() {
if (vnasServers == null) {
vnasServers = new ArrayList();
}
return vnasServers;
}
/**
* @param vnasServers the vnasServers to set
*/
public void setVnasServers(List vnasServers) {
this.vnasServers = vnasServers;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy