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.JsonProperty;
\r
24 public class SourcesProperties {
\r
26 @JsonProperty(value = "name")
\r
27 private String name;
\r
29 @JsonProperty(value = "base")
\r
30 private String base;
\r
32 @JsonProperty(value = "type")
\r
33 private String type;
\r
35 @JsonProperty(value = "query")
\r
36 private String query;
\r
38 @JsonProperty(value = "url-path")
\r
39 private String urlPath;
\r
41 @JsonProperty(value = "path")
\r
42 private String path;
\r
44 @JsonProperty("input-key-mapping")
\r
45 private Map<String, String> inputKeyMapping;
\r
47 @JsonProperty("output-key-mapping")
\r
48 private Map<String, String> outputKeyMapping;
\r
50 @JsonProperty("key-dependencies")
\r
51 private List<String> dependencies;
\r
53 public String getName() {
\r
57 public void setName(String name) {
\r
61 public String getBase() {
\r
65 public void setBase(String base) {
\r
69 public String getType() {
\r
73 public void setType(String type) {
\r
77 public String getQuery() {
\r
81 public void setQuery(String query) {
\r
85 public String getUrlPath() {
\r
89 public void setUrlPath(String urlPath) {
\r
90 this.urlPath = urlPath;
\r
93 public String getPath() {
\r
97 public void setPath(String path) {
\r
101 public Map<String, String> getInputKeyMapping() {
\r
102 return inputKeyMapping;
\r
105 public void setInputKeyMapping(Map<String, String> inputKeyMapping) {
\r
106 this.inputKeyMapping = inputKeyMapping;
\r
109 public Map<String, String> getOutputKeyMapping() {
\r
110 return outputKeyMapping;
\r
113 public void setOutputKeyMapping(Map<String, String> outputKeyMapping) {
\r
114 this.outputKeyMapping = outputKeyMapping;
\r
117 public List<String> getDependencies() {
\r
118 return dependencies;
\r
121 public void setDependencies(List<String> dependencies) {
\r
122 this.dependencies = dependencies;
\r