2 * Copyright (c) 2015 NEC Corporation
5 * This program and the accompanying materials are made available under the
6 * terms of the Eclipse Public License v1.0 which accompanies this
7 * distribution, and is available at http://www.eclipse.org/legal/epl-v10.html
10 package org.opendaylight.vtn.app.run.config.rest.response.beans;
12 import org.opendaylight.vtn.app.run.config.json.annotations.JsonElement;
13 import org.opendaylight.vtn.app.run.config.json.annotations.JsonObject;
16 * Tpsrc - Bean Representaion for Tpsrc object from the JSON Response.
25 @JsonElement(name = "port")
33 * getDscp - function to get the dscp value for this object.
37 public int getPort() {
42 * setPort - function to set the port value for this object.
46 public void setPort(int port) {
51 * String representation of the object.
55 public String toString() {
56 return "port:" + port;