696e1516da3182fa2af2f975eb79c7bcb4aafa74
[ccsdk/features.git] /
1 /*\r
2  * Copyright © 2017-2018 AT&T Intellectual Property.\r
3  * Modifications Copyright © 2018 IBM.\r
4  * \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
8  * \r
9  * http://www.apache.org/licenses/LICENSE-2.0\r
10  * \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
16  */\r
17 \r
18 package org.onap.ccsdk.features.model.data.dict;\r
19 \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
24 \r
25 @JsonIgnoreProperties(ignoreUnknown = true)\r
26 public class SourcesProperties {\r
27 \r
28     @JsonProperty(value = "key")\r
29     private String key;\r
30 \r
31     @JsonProperty(value = "type")\r
32     private String type;\r
33 \r
34     @JsonProperty(value = "query")\r
35     private String query;\r
36 \r
37     @JsonProperty(value = "url-path")\r
38     private String urlPath;\r
39 \r
40     @JsonProperty(value = "expression-type")\r
41     private String expressionType;\r
42 \r
43     @JsonProperty(value = "path")\r
44     private String path;\r
45 \r
46     @JsonProperty("input-key-mapping")\r
47     private Map<String, String> inputKeyMapping;\r
48 \r
49     @JsonProperty("output-key-mapping")\r
50     private Map<String, String> outputKeyMapping;\r
51 \r
52     @JsonProperty("key-dependencies")\r
53     private List<String> dependencies;\r
54 \r
55     public String getKey() {\r
56         return key;\r
57     }\r
58 \r
59     public void setKey(String key) {\r
60         this.key = key;\r
61     }\r
62 \r
63     public String getType() {\r
64         return type;\r
65     }\r
66 \r
67     public void setType(String type) {\r
68         this.type = type;\r
69     }\r
70 \r
71     public String getQuery() {\r
72         return query;\r
73     }\r
74 \r
75     public void setQuery(String query) {\r
76         this.query = query;\r
77     }\r
78 \r
79     public String getUrlPath() {\r
80         return urlPath;\r
81     }\r
82 \r
83     public void setUrlPath(String urlPath) {\r
84         this.urlPath = urlPath;\r
85     }\r
86 \r
87     public String getPath() {\r
88         return path;\r
89     }\r
90 \r
91     public void setExpressionType(String expressionType) {\r
92         this.expressionType = expressionType;\r
93     }\r
94 \r
95     public String getExpressionType() {\r
96         return expressionType;\r
97     }\r
98 \r
99     public void setPath(String path) {\r
100         this.path = path;\r
101     }\r
102 \r
103     public Map<String, String> getInputKeyMapping() {\r
104         return inputKeyMapping;\r
105     }\r
106 \r
107     public void setInputKeyMapping(Map<String, String> inputKeyMapping) {\r
108         this.inputKeyMapping = inputKeyMapping;\r
109     }\r
110 \r
111     public Map<String, String> getOutputKeyMapping() {\r
112         return outputKeyMapping;\r
113     }\r
114 \r
115     public void setOutputKeyMapping(Map<String, String> outputKeyMapping) {\r
116         this.outputKeyMapping = outputKeyMapping;\r
117     }\r
118 \r
119     public List<String> getDependencies() {\r
120         return dependencies;\r
121     }\r
122 \r
123     public void setDependencies(List<String> dependencies) {\r
124         this.dependencies = dependencies;\r
125     }\r
126 \r
127 }\r