Merge "Implement basic ShardTransactionChain#CloseTransactionChain"
[controller.git] / opendaylight / md-sal / sal-rest-docgen / src / main / java / org / opendaylight / controller / sal / rest / doc / swagger / Parameter.java
1 /*
2  * Copyright (c) 2014 Cisco Systems, Inc. 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 package org.opendaylight.controller.sal.rest.doc.swagger;
9
10 /**
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>)
15  */
16 public class Parameter {
17     private String name;
18     private String description;
19     private boolean required;
20     private String type;
21     private String paramType;
22
23     public String getName() {
24         return name;
25     }
26
27     public void setName(String name) {
28         this.name = name;
29     }
30
31     public String getDescription() {
32         return description;
33     }
34
35     public void setDescription(String description) {
36         this.description = description;
37     }
38
39     public boolean isRequired() {
40         return required;
41     }
42
43     public void setRequired(boolean required) {
44         this.required = required;
45     }
46
47     public String getType() {
48         return type;
49     }
50
51     public void setType(String type) {
52         this.type = type;
53     }
54
55     public String getParamType() {
56         return paramType;
57     }
58
59     public void setParamType(String paramType) {
60         this.paramType = paramType;
61     }
62 }