2 * Copyright (c) 2015 Hewlett-Packard Development Company, L.P. 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.neutron.northbound.api;
11 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
12 import java.util.List;
13 import javax.xml.bind.annotation.XmlElement;
14 import org.opendaylight.neutron.spi.NeutronL2gateway;
16 @SuppressFBWarnings("URF_UNREAD_FIELD")
17 public final class NeutronL2gatewayRequest implements INeutronRequest<NeutronL2gateway> {
18 @XmlElement(name = "l2_gateway")
19 NeutronL2gateway singleton;
21 @XmlElement(name = "l2_gateways")
22 List<NeutronL2gateway> bulkRequest;
24 NeutronL2gatewayRequest() {
27 NeutronL2gatewayRequest(NeutronL2gateway l2gateway) {
28 this.singleton = l2gateway;
31 NeutronL2gatewayRequest(List<NeutronL2gateway> bulk) {