2 * Copyright © 2017-2018 AT&T Intellectual Property.
\r
3 * Modifications Copyright © 2018 IBM.
\r
5 * Licensed under the Apache License, Version 2.0 (the "License");
\r
6 * you may not use this file except in compliance with the License.
\r
7 * You may obtain a copy of the License at
\r
9 * http://www.apache.org/licenses/LICENSE-2.0
\r
11 * Unless required by applicable law or agreed to in writing, software
\r
12 * distributed under the License is distributed on an "AS IS" BASIS,
\r
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
14 * See the License for the specific language governing permissions and
\r
15 * limitations under the License.
\r
18 package org.onap.ccsdk.features.model.data.dict;
\r
20 import java.util.List;
\r
21 import java.util.Map;
\r
22 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
\r
23 import com.fasterxml.jackson.annotation.JsonProperty;
\r
25 @JsonIgnoreProperties(ignoreUnknown = true)
\r
26 public class SourcesProperties {
\r
28 @JsonProperty(value = "key")
\r
31 @JsonProperty(value = "type")
\r
32 private String type;
\r
34 @JsonProperty(value = "query")
\r
35 private String query;
\r
37 @JsonProperty(value = "url-path")
\r
38 private String urlPath;
\r
40 @JsonProperty(value = "expression-type")
\r
41 private String expressionType;
\r
43 @JsonProperty(value = "path")
\r
44 private String path;
\r
46 @JsonProperty("input-key-mapping")
\r
47 private Map<String, String> inputKeyMapping;
\r
49 @JsonProperty("output-key-mapping")
\r
50 private Map<String, String> outputKeyMapping;
\r
52 @JsonProperty("key-dependencies")
\r
53 private List<String> dependencies;
\r
55 public String getKey() {
\r
59 public void setKey(String key) {
\r
63 public String getType() {
\r
67 public void setType(String type) {
\r
71 public String getQuery() {
\r
75 public void setQuery(String query) {
\r
79 public String getUrlPath() {
\r
83 public void setUrlPath(String urlPath) {
\r
84 this.urlPath = urlPath;
\r
87 public String getPath() {
\r
91 public void setExpressionType(String expressionType) {
\r
92 this.expressionType = expressionType;
\r
95 public String getExpressionType() {
\r
96 return expressionType;
\r
99 public void setPath(String path) {
\r
103 public Map<String, String> getInputKeyMapping() {
\r
104 return inputKeyMapping;
\r
107 public void setInputKeyMapping(Map<String, String> inputKeyMapping) {
\r
108 this.inputKeyMapping = inputKeyMapping;
\r
111 public Map<String, String> getOutputKeyMapping() {
\r
112 return outputKeyMapping;
\r
115 public void setOutputKeyMapping(Map<String, String> outputKeyMapping) {
\r
116 this.outputKeyMapping = outputKeyMapping;
\r
119 public List<String> getDependencies() {
\r
120 return dependencies;
\r
123 public void setDependencies(List<String> dependencies) {
\r
124 this.dependencies = dependencies;
\r