Bump upstreams for Silicon
[neutron.git] / neutron-spi / src / main / java / org / opendaylight / neutron / spi / NeutronVpnLifetime.java
1 /*
2  * Copyright (c) 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 javax.xml.bind.annotation.XmlAccessType;
13 import javax.xml.bind.annotation.XmlAccessorType;
14 import javax.xml.bind.annotation.XmlElement;
15 import javax.xml.bind.annotation.XmlRootElement;
16
17 @XmlRootElement
18 @XmlAccessorType(XmlAccessType.NONE)
19 public final class NeutronVpnLifetime implements Serializable {
20     private static final long serialVersionUID = 1L;
21
22     // See OpenStack Network API v2.0 Reference for description of
23     // annotated attributes
24
25     @XmlElement(name = "units")
26     String units;
27
28     @XmlElement(name = "value")
29     Integer value;
30
31     public NeutronVpnLifetime() {
32     }
33
34     public String getUnits() {
35         return units;
36     }
37
38     public void setUnits(String units) {
39         this.units = units;
40     }
41
42     public Integer getValue() {
43         return value;
44     }
45
46     public void setValue(Integer value) {
47         this.value = value;
48     }
49 }