6c9c0759d6931aaa5eff8063a75df67778abc932
[so.git] / common / src / main / java / org / onap / so / client / policy / entities / Config.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 - 2018 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  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.so.client.policy.entities;
22
23 import com.fasterxml.jackson.annotation.JsonInclude;
24 import com.fasterxml.jackson.annotation.JsonProperty;
25 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
26 import com.fasterxml.jackson.annotation.JsonRootName;
27
28 @JsonInclude(JsonInclude.Include.NON_NULL)
29 @JsonPropertyOrder({
30     "configName",
31     "riskLevel",
32     "policyName",
33     "policyScope",
34     "guard",
35     "description",
36     "priority",
37     "uuid",
38     "version",
39     "content",
40     "riskType",
41     "service",
42     "location",
43     "templateVersion"
44 })
45 @JsonRootName(value = "config")
46 public class Config {
47
48     @JsonProperty("configName")
49     private String configName;
50     @JsonProperty("riskLevel")
51     private String riskLevel;
52     @JsonProperty("policyName")
53     private String policyName;
54     @JsonProperty("policyScope")
55     private String policyScope;
56     @JsonProperty("guard")
57     private String guard;
58     @JsonProperty("description")
59     private String description;
60     @JsonProperty("priority")
61     private String priority;
62     @JsonProperty("uuid")
63     private String uuid;
64     @JsonProperty("version")
65     private String version;
66     @JsonProperty("content")
67     private Content content;
68     @JsonProperty("riskType")
69     private String riskType;
70     @JsonProperty("service")
71     private String service;
72     @JsonProperty("location")
73     private String location;
74     @JsonProperty("templateVersion")
75     private String templateVersion;
76
77     @JsonProperty("configName")
78     public String getConfigName() {
79         return configName;
80     }
81
82     @JsonProperty("configName")
83     public void setConfigName(String configName) {
84         this.configName = configName;
85     }
86
87     @JsonProperty("riskLevel")
88     public String getRiskLevel() {
89         return riskLevel;
90     }
91
92     @JsonProperty("riskLevel")
93     public void setRiskLevel(String riskLevel) {
94         this.riskLevel = riskLevel;
95     }
96
97     @JsonProperty("policyName")
98     public String getPolicyName() {
99         return policyName;
100     }
101
102     @JsonProperty("policyName")
103     public void setPolicyName(String policyName) {
104         this.policyName = policyName;
105     }
106
107     @JsonProperty("policyScope")
108     public String getPolicyScope() {
109         return policyScope;
110     }
111
112     @JsonProperty("policyScope")
113     public void setPolicyScope(String policyScope) {
114         this.policyScope = policyScope;
115     }
116
117     @JsonProperty("guard")
118     public String getGuard() {
119         return guard;
120     }
121
122     @JsonProperty("guard")
123     public void setGuard(String guard) {
124         this.guard = guard;
125     }
126
127     @JsonProperty("description")
128     public String getDescription() {
129         return description;
130     }
131
132     @JsonProperty("description")
133     public void setDescription(String description) {
134         this.description = description;
135     }
136
137     @JsonProperty("priority")
138     public String getPriority() {
139         return priority;
140     }
141
142     @JsonProperty("priority")
143     public void setPriority(String priority) {
144         this.priority = priority;
145     }
146
147     @JsonProperty("uuid")
148     public String getUuid() {
149         return uuid;
150     }
151
152     @JsonProperty("uuid")
153     public void setUuid(String uuid) {
154         this.uuid = uuid;
155     }
156
157     @JsonProperty("version")
158     public String getVersion() {
159         return version;
160     }
161
162     @JsonProperty("version")
163     public void setVersion(String version) {
164         this.version = version;
165     }
166
167     @JsonProperty("content")
168     public Content getContent() {
169         return content;
170     }
171
172     @JsonProperty("content")
173     public void setContent(Content content) {
174         this.content = content;
175     }
176
177     @JsonProperty("riskType")
178     public String getRiskType() {
179         return riskType;
180     }
181
182     @JsonProperty("riskType")
183     public void setRiskType(String riskType) {
184         this.riskType = riskType;
185     }
186
187     @JsonProperty("service")
188     public String getService() {
189         return service;
190     }
191
192     @JsonProperty("service")
193     public void setService(String service) {
194         this.service = service;
195     }
196
197     @JsonProperty("location")
198     public String getLocation() {
199         return location;
200     }
201
202     @JsonProperty("location")
203     public void setLocation(String location) {
204         this.location = location;
205     }
206
207     @JsonProperty("templateVersion")
208     public String getTemplateVersion() {
209         return templateVersion;
210     }
211
212     @JsonProperty("templateVersion")
213     public void setTemplateVersion(String templateVersion) {
214         this.templateVersion = templateVersion;
215     }
216
217 }