Merge "Factor common code"
[netvirt.git] / openstack / net-virt / src / main / java / org / opendaylight / ovsdb / openstack / netvirt / translator / NeutronPort_ExtraDHCPOption.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.ovsdb.openstack.netvirt.translator;
10
11 import java.io.Serializable;
12
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 public class NeutronPort_ExtraDHCPOption implements Serializable {
21     private static final long serialVersionUID = 1L;
22
23     @XmlElement (name = "opt_value")
24     String value;
25
26     @XmlElement (name = "opt_name")
27     String name;
28
29     public NeutronPort_ExtraDHCPOption() {
30     }
31
32     public NeutronPort_ExtraDHCPOption(String value, String name) {
33         this.value = value;
34         this.name = name;
35     }
36
37     public String getValue() { return(value); }
38
39     public void setValue(String value) { this.value = value; }
40
41     public String getName() { return(name); }
42
43     public void setName(String name) { this.name = name; }
44
45 }