Checkstyle formatting issues fix (SPI)
[neutron.git] / neutron-spi / src / main / java / org / opendaylight / neutron / spi / NeutronRouter_NetworkReference.java
1 /*
2  * Copyright (c) 2013, 2015 IBM Corporation and others.  All rights reserved.
3  *
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
7  */
8
9 package org.opendaylight.neutron.spi;
10
11 import java.io.Serializable;
12 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;
17
18 @XmlRootElement
19 @XmlAccessorType(XmlAccessType.NONE)
20
21 public class NeutronRouter_NetworkReference implements Serializable {
22     private static final long serialVersionUID = 1L;
23
24     // See OpenStack Network API v2.0 Reference for description of
25     // annotated attributes
26
27     @XmlElement(name = "network_id")
28     String networkID;
29
30     @XmlElement(name = "enable_snat")
31     Boolean enableSNAT;
32
33     @XmlElement(name = "external_fixed_ips")
34     List<Neutron_IPs> externalFixedIPs;
35
36     public NeutronRouter_NetworkReference() {
37     }
38
39     public String getNetworkID() {
40         return networkID;
41     }
42
43     public void setNetworkID(String networkID) {
44         this.networkID = networkID;
45     }
46
47     public Boolean getEnableSNAT() {
48         return enableSNAT;
49     }
50
51     public void setEnableSNAT(Boolean enableSNAT) {
52         this.enableSNAT = enableSNAT;
53     }
54
55     public List<Neutron_IPs> getExternalFixedIPs() {
56         return externalFixedIPs;
57     }
58
59     public void setExternalFixedIPs(List<Neutron_IPs> externalFixedIPs) {
60         this.externalFixedIPs = externalFixedIPs;
61     }
62
63     @Override
64     public String toString() {
65         return "NeutronRouterNetworkReference [networkID=" + networkID + " enableSNAT=" + enableSNAT
66                 + " externalFixedIPs=" + externalFixedIPs + "]";
67     }
68
69 }