Checkstyle formatting issues fix (SPI)
[neutron.git] / neutron-spi / src / main / java / org / opendaylight / neutron / spi / NeutronVPNDeadPeerDetection.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 class NeutronVPNDeadPeerDetection 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 = "action")
26     String action;
27
28     @XmlElement(name = "interval")
29     Integer interval;
30
31     @XmlElement(name = "timeout")
32     Integer timeout;
33
34     public NeutronVPNDeadPeerDetection() {
35     }
36
37     public String getAction() {
38         return action;
39     }
40
41     public void setAction(String action) {
42         this.action = action;
43     }
44
45     public Integer getInterval() {
46         return interval;
47     }
48
49     public void setInterval(Integer interval) {
50         this.interval = interval;
51     }
52
53     public Integer getTimeout() {
54         return timeout;
55     }
56
57     public void setTimeout(Integer timeout) {
58         this.timeout = timeout;
59     }
60 }