2 * Copyright (c) 2014 Cisco Systems, Inc. and others. 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
8 package org.opendaylight.controller.sal.rest.doc.swagger;
11 * Implementation of swagger spec (see <a href=
12 * "https://github.com/wordnik/swagger-spec/blob/master/versions/1.2.md#524-parameter-object"
13 * > https://github.com/wordnik/swagger-spec/blob/master/versions/1.2.md#524-
14 * parameter-object</a>)
16 public class Parameter {
18 private String description;
19 private boolean required;
21 private String paramType;
23 public String getName() {
27 public void setName(String name) {
31 public String getDescription() {
35 public void setDescription(String description) {
36 this.description = description;
39 public boolean isRequired() {
43 public void setRequired(boolean required) {
44 this.required = required;
47 public String getType() {
51 public void setType(String type) {
55 public String getParamType() {
59 public void setParamType(String paramType) {
60 this.paramType = paramType;