2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.controller.statistics.northbound;
11 import java.util.List;
13 import javax.xml.bind.annotation.XmlAccessType;
14 import javax.xml.bind.annotation.XmlAccessorType;
15 import javax.xml.bind.annotation.XmlElement;
16 import javax.xml.bind.annotation.XmlRootElement;
18 @XmlRootElement(name = "list")
19 @XmlAccessorType(XmlAccessType.NONE)
20 public class AllPortStatistics {
22 List<PortStatistics> portStatistics;
24 @SuppressWarnings("unused")
25 private AllPortStatistics() {}
27 public AllPortStatistics(List<PortStatistics> portStatistics) {
28 this.portStatistics = portStatistics;
31 public List<PortStatistics> getPortStatistics() {
32 return portStatistics;
35 public void setPortStatistics(List<PortStatistics> portStatistics) {
36 this.portStatistics = portStatistics;