Initial commit for appc-config-params
[appc.git] / appc-config / appc-config-params / provider / src / main / java / org / openecomp / sdnc / config / params / data / Parameter.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP : APPC
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  *  you may not use this file except in compliance with the License.
9  *  You may obtain a copy of the License at
10  * 
11  *         http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  *  Unless required by applicable law or agreed to in writing, software
14  *  distributed under the License is distributed on an "AS IS" BASIS,
15  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  *  See the License for the specific language governing permissions and
17  *  limitations under the License.
18  * 
19  *  ECOMP is a trademark and service mark of AT&T Intellectual Property.
20  * ============LICENSE_END=========================================================
21  */
22
23 package org.openecomp.sdnc.config.params.data;
24
25 import java.util.List;
26
27 import com.fasterxml.jackson.annotation.JsonProperty;
28
29 public class Parameter {
30         private String name;
31         private String description;
32         private String type;
33         private boolean required;
34         private String source;
35
36         @JsonProperty("rule-type")
37         private String ruleType;
38
39         @JsonProperty("default")
40         private String defaultValue;
41
42         @JsonProperty("request-keys")
43         private List<RequestKey> requestKeys;
44
45         @JsonProperty("response-keys")
46         private List<ResponseKey> responseKeys;
47
48         public String getName() {
49                 return name;
50         }
51
52         public void setName(String name) {
53                 this.name = name;
54         }
55
56         public String getDescription() {
57                 return description;
58         }
59
60         public void setDescription(String description) {
61                 this.description = description;
62         }
63
64         public String getType() {
65                 return type;
66         }
67
68         public void setType(String type) {
69                 this.type = type;
70         }
71
72         public boolean isRequired() {
73                 return required;
74         }
75
76         public void setRequired(boolean required) {
77                 this.required = required;
78         }
79
80         public String getSource() {
81                 return source;
82         }
83
84         public void setSource(String source) {
85                 this.source = source;
86         }
87
88         public String getRuleType() {
89                 return ruleType;
90         }
91
92         public void setRuleType(String ruleType) {
93                 this.ruleType = ruleType;
94         }
95
96         public String getDefaultValue() {
97                 return defaultValue;
98         }
99
100         public void setDefaultValue(String defaultValue) {
101                 this.defaultValue = defaultValue;
102         }
103
104         public List<RequestKey> getRequestKeys() {
105                 return requestKeys;
106         }
107
108         public void setRequestKeys(List<RequestKey> requestKeys) {
109                 this.requestKeys = requestKeys;
110         }
111
112         public List<ResponseKey> getResponseKeys() {
113                 return responseKeys;
114         }
115
116         public void setResponseKeys(List<ResponseKey> responseKeys) {
117                 this.responseKeys = responseKeys;
118         }
119
120
121
122
123
124 }