/* * Copyright (c) 2015 Hewlett-Packard Development Company, L.P. and others. All rights reserved. * * 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 */ package org.opendaylight.neutron.spi; import java.io.Serializable; import java.util.List; import javax.xml.bind.annotation.XmlElement; public final class NeutronL2gatewayDevice extends NeutronID implements Serializable { private static final long serialVersionUID = 1L; @XmlElement(name = "interfaces") List l2gatewayDeviceInterfaces; @XmlElement(name = "device_name") String deviceName; public String getDeviceName() { return deviceName; } public void setDeviceName(String deviceName) { this.deviceName = deviceName; } public List getNeutronL2gatewayDeviceInterfaces() { return l2gatewayDeviceInterfaces; } public void setNeutronL2gatewayDeviceInterfaces( List newL2gatewayDeviceInterfaces) { this.l2gatewayDeviceInterfaces = newL2gatewayDeviceInterfaces; } @Override public String toString() { return "NeutronL2gatewayDevice [" + "id=" + uuid + ", l2gwDeviceInterfaces=" + l2gatewayDeviceInterfaces + ", deviceName=" + deviceName + "]"; } }