2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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.
19 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
20 * ============LICENSE_END=========================================================
23 package org.openecomp.sdnc.config.params.data;
25 import java.util.List;
27 import com.fasterxml.jackson.annotation.JsonProperty;
29 public class Parameter {
31 private String description;
33 private boolean required;
34 private String source;
36 @JsonProperty("rule-type")
37 private String ruleType;
39 @JsonProperty("default")
40 private String defaultValue;
42 @JsonProperty("request-keys")
43 private List<RequestKey> requestKeys;
45 @JsonProperty("response-keys")
46 private List<ResponseKey> responseKeys;
48 public String getName() {
52 public void setName(String name) {
56 public String getDescription() {
60 public void setDescription(String description) {
61 this.description = description;
64 public String getType() {
68 public void setType(String type) {
72 public boolean isRequired() {
76 public void setRequired(boolean required) {
77 this.required = required;
80 public String getSource() {
84 public void setSource(String source) {
88 public String getRuleType() {
92 public void setRuleType(String ruleType) {
93 this.ruleType = ruleType;
96 public String getDefaultValue() {
100 public void setDefaultValue(String defaultValue) {
101 this.defaultValue = defaultValue;
104 public List<RequestKey> getRequestKeys() {
108 public void setRequestKeys(List<RequestKey> requestKeys) {
109 this.requestKeys = requestKeys;
112 public List<ResponseKey> getResponseKeys() {
116 public void setResponseKeys(List<ResponseKey> responseKeys) {
117 this.responseKeys = responseKeys;