Merge "Remove unused spring dependency and wrong version in web pom"
[controller.git] / opendaylight / networkconfiguration / neutron / src / main / java / org / opendaylight / controller / networkconfig / neutron / Neutron_IPs.java
1 /*\r
2  * Copyright IBM Corporation, 2013.  All rights reserved.\r
3  *\r
4  * This program and the accompanying materials are made available under the\r
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
6  * and is available at http://www.eclipse.org/legal/epl-v10.html\r
7  */\r
8 \r
9 package org.opendaylight.controller.networkconfig.neutron;\r
10 \r
11 import javax.xml.bind.annotation.XmlAccessType;\r
12 import javax.xml.bind.annotation.XmlAccessorType;\r
13 import javax.xml.bind.annotation.XmlElement;\r
14 import javax.xml.bind.annotation.XmlRootElement;\r
15 \r
16 @XmlRootElement\r
17 @XmlAccessorType(XmlAccessType.NONE)\r
18 public class Neutron_IPs {\r
19     // See OpenStack Network API v2.0 Reference for description of\r
20     // annotated attributes\r
21 \r
22     @XmlElement(name="ip_address")\r
23     String ipAddress;\r
24 \r
25     @XmlElement(name="subnet_id")\r
26     String subnetUUID;\r
27 \r
28     public Neutron_IPs() { }\r
29 \r
30     public Neutron_IPs(String uuid) {\r
31         this.subnetUUID = uuid;\r
32     }\r
33 \r
34     public String getIpAddress() {\r
35         return ipAddress;\r
36     }\r
37 \r
38     public void setIpAddress(String ipAddress) {\r
39         this.ipAddress = ipAddress;\r
40     }\r
41 \r
42     public String getSubnetUUID() {\r
43         return subnetUUID;\r
44     }\r
45 \r
46     public void setSubnetUUID(String subnetUUID) {\r
47         this.subnetUUID = subnetUUID;\r
48     }\r
49 }\r