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
12 * (see <a href="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-parameter-object</a>)
15 public class Parameter {
17 private String description;
18 private boolean required;
20 private String paramType;
22 public String getName() {
26 public void setName(String name) {
30 public String getDescription() {
34 public void setDescription(String description) {
35 this.description = description;
38 public boolean isRequired() {
42 public void setRequired(boolean required) {
43 this.required = required;
46 public String getType() {
50 public void setType(String type) {
54 public String getParamType() {
58 public void setParamType(String paramType) {
59 this.paramType = paramType;