/* * Copyright (C) 2014 Hewlett-Packard Development Company L.P * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html * * Authors : Dave Tucker */ package org.opendaylight.controller.networkconfig.neutron.northbound; import org.opendaylight.controller.networkconfig.neutron.NeutronNetwork; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import java.util.List; @XmlRootElement @XmlAccessorType(XmlAccessType.NONE) public class PaginatedNeutronNetworkRequest { @XmlElement (name="networks") List networks; @XmlElement (name="network_links") List networkLinks; public PaginatedNeutronNetworkRequest() { } public PaginatedNeutronNetworkRequest(List networks, List networkLinks) { this.networks = networks; this.networkLinks = networkLinks; } public List getNetworks() { return networks; } public void setNetworks(List networks) { this.networks = networks; } public List getNetworkLinks() { return networkLinks; } public void setNetworkLinks(List networkLinks) { this.networkLinks = networkLinks; } }