Adding SONAR fixes for
[policy/engine.git] / ONAP-REST / src / main / java / org / onap / policy / rest / adapter / ClosedLoopFaultBody.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP Policy Engine
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
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.policy.rest.adapter;
22
23
24
25 public class ClosedLoopFaultBody {
26         
27         private boolean trinity;
28         private boolean vUSP;
29         private boolean mcr;
30         private boolean gamma;
31         private boolean vDNS;
32         
33         private String vnfType;
34         private String vServices;
35         private String ONAPname;
36         
37         private String closedLoopPolicyStatus;
38         private ClosedLoopSignatures triggerSignatures;
39         private String actions;
40         private int timeInterval;
41         private int timeOutvPRO;
42         private int timeOutRuby;
43         private int retrys;
44         private int agingWindow;
45         private String geoLink;
46         private String emailAddress;
47         private ClosedLoopSignatures verificationSignatures;
48         private ClosedLoopPolicyConditions conditions;
49         private ClosedLoopFaultTriggerUISignatures triggerSignaturesUsedForUI;
50         private ClosedLoopFaultTriggerUISignatures verificationSignaturesUsedForUI;
51         private int triggerTimeWindowUsedForUI;
52         private int verificationTimeWindowUsedForUI;
53         private String pepName;
54         private String pepAction;
55         private String templateVersion;
56         private int trapMaxAge;
57         
58         
59         public Integer getTrapMaxAge() {
60                 return trapMaxAge;
61         }
62
63         public void setTrapMaxAge(int trapMaxAge) {
64                 this.trapMaxAge = trapMaxAge;
65         }
66
67         public String getTemplateVersion() {
68                 return templateVersion;
69         }
70
71         public void setTemplateVersion(String templateVersion) {
72                 this.templateVersion = templateVersion;
73         }
74
75         public Integer getTimeOutvPRO() {
76                 return timeOutvPRO;
77         }
78
79         public void setTimeOutvPRO(int timeOutvPRO) {
80                 this.timeOutvPRO = timeOutvPRO;
81         }
82         
83         
84         public Integer getTriggerTimeWindowUsedForUI() {
85                 return triggerTimeWindowUsedForUI;
86         }
87
88         public String getPepName() {
89                 return pepName;
90         }
91
92         public void setPepName(String pepName) {
93                 this.pepName = pepName;
94         }
95
96         public String getPepAction() {
97                 return pepAction;
98         }
99
100         public void setPepAction(String pepAction) {
101                 this.pepAction = pepAction;
102         }
103
104         public void setTriggerTimeWindowUsedForUI(int triggerTimeWindowUsedForUI) {
105                 this.triggerTimeWindowUsedForUI = triggerTimeWindowUsedForUI;
106         }
107
108         public Integer getVerificationTimeWindowUsedForUI() {
109                 return verificationTimeWindowUsedForUI;
110         }
111
112         public void setVerificationTimeWindowUsedForUI(
113                         int verificationTimeWindowUsedForUI) {
114                 this.verificationTimeWindowUsedForUI = verificationTimeWindowUsedForUI;
115         }
116
117         public String getONAPname(){
118                 return ONAPname;
119         }
120         
121         public void setONAPname(String ONAPname){
122                 this.ONAPname = ONAPname;
123         }
124         
125         public String getvServices() {
126                 return vServices;
127         }
128         public void setvServices(String vServices) {
129                 this.vServices = vServices;
130         }
131         
132         public ClosedLoopFaultTriggerUISignatures getVerificationSignaturesUsedForUI() {
133                 return verificationSignaturesUsedForUI;
134         }
135         public void setVerificationSignaturesUsedForUI(
136                         ClosedLoopFaultTriggerUISignatures verificationSignaturesUsedForUI) {
137                 this.verificationSignaturesUsedForUI = verificationSignaturesUsedForUI;
138         }
139         public ClosedLoopFaultTriggerUISignatures getTriggerSignaturesUsedForUI() {
140                 return triggerSignaturesUsedForUI;
141         }
142         public void setTriggerSignaturesUsedForUI(
143                         ClosedLoopFaultTriggerUISignatures triggerSignaturesUsedForUI) {
144                 this.triggerSignaturesUsedForUI = triggerSignaturesUsedForUI;
145         }
146         public ClosedLoopPolicyConditions getConditions() {
147                 return conditions;
148         }
149         public void setConditions(ClosedLoopPolicyConditions conditions) {
150                 this.conditions = conditions;
151         }
152
153         public String getVnfType() {
154                 return vnfType;
155         }
156         public void setVnfType(String vnfType) {
157                 this.vnfType = vnfType;
158         }
159         
160         public Integer getAgingWindow() {
161                 return agingWindow;
162         }
163         public void setAgingWindow(int agingWindow) {
164                 this.agingWindow = agingWindow;
165         }
166
167         public String getClosedLoopPolicyStatus() {
168                 return closedLoopPolicyStatus;
169         }
170         public void setClosedLoopPolicyStatus(
171                         String closedLoopPolicyStatus) {
172                 this.closedLoopPolicyStatus = closedLoopPolicyStatus;
173         }
174         public ClosedLoopSignatures getTriggerSignatures() {
175                 return triggerSignatures;
176         }
177         public void setTriggerSignatures(ClosedLoopSignatures triggerSignatures) {
178                 this.triggerSignatures = triggerSignatures;
179         }
180         public String getActions() {
181                 return actions;
182         }
183         public void setActions(String actions) {
184                 this.actions = actions;
185         }
186         public Integer getTimeInterval() {
187                 return timeInterval;
188         }
189         public void setTimeInterval(int timeInterval) {
190                 this.timeInterval = timeInterval;
191         }
192         public Integer getTimeOutRuby() {
193                 return timeOutRuby;
194         }
195         public void setTimeOutRuby(int timeOutRuby) {
196                 this.timeOutRuby = timeOutRuby;
197         }
198         public Integer getRetrys() {
199                 return retrys;
200         }
201         public void setRetrys(int retrys) {
202                 this.retrys = retrys;
203         }
204         public String getGeoLink() {
205                 return geoLink;
206         }
207         public void setGeoLink(String geoLink) {
208                 this.geoLink = geoLink;
209         }
210         public String getEmailAddress() {
211                 return emailAddress;
212         }
213         public void setEmailAddress(String emailAddress) {
214                 this.emailAddress = emailAddress;
215         }
216         public ClosedLoopSignatures getVerificationSignatures() {
217                 return verificationSignatures;
218         }
219         public void setVerificationSignatures(
220                         ClosedLoopSignatures verificationSignatures) {
221                 this.verificationSignatures = verificationSignatures;
222         }
223         
224         public boolean isvDNS() {
225                 return vDNS;
226         }
227
228         public void setvDNS(boolean vDNS) {
229                 this.vDNS = vDNS;
230         }
231         
232         public boolean isTrinity() {
233                 return trinity;
234         }
235
236         public void setTrinity(boolean trinity) {
237                 this.trinity = trinity;
238         }
239
240         public boolean isvUSP() {
241                 return vUSP;
242         }
243
244         public void setvUSP(boolean vUSP) {
245                 this.vUSP = vUSP;
246         }
247
248         public boolean isMcr() {
249                 return mcr;
250         }
251
252         public void setMcr(boolean mcr) {
253                 this.mcr = mcr;
254         }
255
256         public boolean isGamma() {
257                 return gamma;
258         }
259
260         public void setGamma(boolean gamma) {
261                 this.gamma = gamma;
262         }
263 }
264