2 * Copyright (C) 2014 Hewlett-Packard Development Company L.P
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
8 * Authors : Dave Tucker
11 package org.opendaylight.controller.networkconfig.neutron.northbound;
13 import org.opendaylight.controller.networkconfig.neutron.NeutronNetwork;
15 import javax.xml.bind.annotation.XmlAccessType;
16 import javax.xml.bind.annotation.XmlAccessorType;
17 import javax.xml.bind.annotation.XmlElement;
18 import javax.xml.bind.annotation.XmlRootElement;
19 import java.util.List;
22 @XmlAccessorType(XmlAccessType.NONE)
24 public class PaginatedNeutronNetworkRequest {
26 @XmlElement (name="networks")
27 List<NeutronNetwork> networks;
29 @XmlElement (name="network_links")
30 List<NeutronPageLink> networkLinks;
32 public PaginatedNeutronNetworkRequest() {
35 public PaginatedNeutronNetworkRequest(List<NeutronNetwork> networks, List<NeutronPageLink> networkLinks) {
36 this.networks = networks;
37 this.networkLinks = networkLinks;
40 public List<NeutronNetwork> getNetworks() {
44 public void setNetworks(List<NeutronNetwork> networks) {
45 this.networks = networks;
48 public List<NeutronPageLink> getNetworkLinks() {
52 public void setNetworkLinks(List<NeutronPageLink> networkLinks) {
53 this.networkLinks = networkLinks;