com.emc.storageos.model.vnas.VirtualNASList 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.NamedRelatedResourceRep;
/**
* Class represents a return type that returns the id and self link for a
* list of storage ports.
*/
@XmlRootElement(name = "vnas_servers")
public class VirtualNASList {
private List vnasservers;
public VirtualNASList() {
}
public VirtualNASList(List vnasservers) {
this.vnasservers = vnasservers;
}
/**
* List of Storage ports. A Storage port represents a
* port of a storage device.
*
* @valid none
*/
@XmlElement(name = "vnas_server")
public List getVNASServers() {
if (vnasservers == null) {
vnasservers = new ArrayList();
}
return vnasservers;
}
public void setPorts(List vnasservers) {
this.vnasservers = vnasservers;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy