2 * Copyright IBM Corporation, 2015. All rights reserved.
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
9 package org.opendaylight.neutron.spi;
11 import java.io.Serializable;
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;
19 @XmlAccessorType(XmlAccessType.NONE)
20 public class NeutronMeteringLabel implements Serializable {
21 private static final long serialVersionUID = 1L;
23 @XmlElement (name = "id")
24 String meteringLabelUUID;
26 @XmlElement (name = "name")
27 String meteringLabelName;
29 @XmlElement (name = "tenant_id")
32 @XmlElement (name = "description")
39 public String getMeteringLabelUUID() {
40 return meteringLabelUUID;
43 public void setMeteringLabelUUID(String uuid) {
44 this.meteringLabelUUID = uuid;
47 public String getMeteringLabelName() {
48 return meteringLabelName;
51 public void setMeteringLabelName(String name) {
52 this.meteringLabelName = name;
55 public String getMeteringTenantID() {
59 public void setMeteringTenantID(String tenantID) {
60 this.tenantID = tenantID;
63 public String getMeteringDescription() {
67 public void setMeteringDescription(String description) {
68 this.description = description;
74 public NeutronMeteringLabel() { }
77 public String toString() {
78 return "NeutronMeteringLabel [id=" + meteringLabelUUID +
79 ", name=" + meteringLabelName +
80 ", description=" + description +
81 ", tenant_id=" + tenantID + "]";