import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
-@XmlRootElement
+@XmlRootElement(name = "list")
@XmlAccessorType(XmlAccessType.NONE)
-
public class AllPortStatistics {
@XmlElement
List<PortStatistics> portStatistics;
//To satisfy JAXB
- private AllPortStatistics() {
- }
+ @SuppressWarnings("unused")
+ private AllPortStatistics() {}
public AllPortStatistics(List<PortStatistics> portStatistics) {
this.portStatistics = portStatistics;