2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.onap.policy.rest.adapter;
25 public class ClosedLoopFaultBody {
27 private boolean trinity;
30 private boolean gamma;
33 private String vnfType;
34 private String vServices;
35 private String ONAPname;
37 private String closedLoopPolicyStatus;
38 private ClosedLoopSignatures triggerSignatures;
39 private String actions;
40 private int timeInterval;
41 private int timeOutvPRO;
42 private int timeOutRuby;
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;
59 public Integer getTrapMaxAge() {
63 public void setTrapMaxAge(int trapMaxAge) {
64 this.trapMaxAge = trapMaxAge;
67 public String getTemplateVersion() {
68 return templateVersion;
71 public void setTemplateVersion(String templateVersion) {
72 this.templateVersion = templateVersion;
75 public Integer getTimeOutvPRO() {
79 public void setTimeOutvPRO(int timeOutvPRO) {
80 this.timeOutvPRO = timeOutvPRO;
84 public Integer getTriggerTimeWindowUsedForUI() {
85 return triggerTimeWindowUsedForUI;
88 public String getPepName() {
92 public void setPepName(String pepName) {
93 this.pepName = pepName;
96 public String getPepAction() {
100 public void setPepAction(String pepAction) {
101 this.pepAction = pepAction;
104 public void setTriggerTimeWindowUsedForUI(int triggerTimeWindowUsedForUI) {
105 this.triggerTimeWindowUsedForUI = triggerTimeWindowUsedForUI;
108 public Integer getVerificationTimeWindowUsedForUI() {
109 return verificationTimeWindowUsedForUI;
112 public void setVerificationTimeWindowUsedForUI(
113 int verificationTimeWindowUsedForUI) {
114 this.verificationTimeWindowUsedForUI = verificationTimeWindowUsedForUI;
117 public String getONAPname(){
121 public void setONAPname(String ONAPname){
122 this.ONAPname = ONAPname;
125 public String getvServices() {
128 public void setvServices(String vServices) {
129 this.vServices = vServices;
132 public ClosedLoopFaultTriggerUISignatures getVerificationSignaturesUsedForUI() {
133 return verificationSignaturesUsedForUI;
135 public void setVerificationSignaturesUsedForUI(
136 ClosedLoopFaultTriggerUISignatures verificationSignaturesUsedForUI) {
137 this.verificationSignaturesUsedForUI = verificationSignaturesUsedForUI;
139 public ClosedLoopFaultTriggerUISignatures getTriggerSignaturesUsedForUI() {
140 return triggerSignaturesUsedForUI;
142 public void setTriggerSignaturesUsedForUI(
143 ClosedLoopFaultTriggerUISignatures triggerSignaturesUsedForUI) {
144 this.triggerSignaturesUsedForUI = triggerSignaturesUsedForUI;
146 public ClosedLoopPolicyConditions getConditions() {
149 public void setConditions(ClosedLoopPolicyConditions conditions) {
150 this.conditions = conditions;
153 public String getVnfType() {
156 public void setVnfType(String vnfType) {
157 this.vnfType = vnfType;
160 public Integer getAgingWindow() {
163 public void setAgingWindow(int agingWindow) {
164 this.agingWindow = agingWindow;
167 public String getClosedLoopPolicyStatus() {
168 return closedLoopPolicyStatus;
170 public void setClosedLoopPolicyStatus(
171 String closedLoopPolicyStatus) {
172 this.closedLoopPolicyStatus = closedLoopPolicyStatus;
174 public ClosedLoopSignatures getTriggerSignatures() {
175 return triggerSignatures;
177 public void setTriggerSignatures(ClosedLoopSignatures triggerSignatures) {
178 this.triggerSignatures = triggerSignatures;
180 public String getActions() {
183 public void setActions(String actions) {
184 this.actions = actions;
186 public Integer getTimeInterval() {
189 public void setTimeInterval(int timeInterval) {
190 this.timeInterval = timeInterval;
192 public Integer getTimeOutRuby() {
195 public void setTimeOutRuby(int timeOutRuby) {
196 this.timeOutRuby = timeOutRuby;
198 public Integer getRetrys() {
201 public void setRetrys(int retrys) {
202 this.retrys = retrys;
204 public String getGeoLink() {
207 public void setGeoLink(String geoLink) {
208 this.geoLink = geoLink;
210 public String getEmailAddress() {
213 public void setEmailAddress(String emailAddress) {
214 this.emailAddress = emailAddress;
216 public ClosedLoopSignatures getVerificationSignatures() {
217 return verificationSignatures;
219 public void setVerificationSignatures(
220 ClosedLoopSignatures verificationSignatures) {
221 this.verificationSignatures = verificationSignatures;
224 public boolean isvDNS() {
228 public void setvDNS(boolean vDNS) {
232 public boolean isTrinity() {
236 public void setTrinity(boolean trinity) {
237 this.trinity = trinity;
240 public boolean isvUSP() {
244 public void setvUSP(boolean vUSP) {
248 public boolean isMcr() {
252 public void setMcr(boolean mcr) {
256 public boolean isGamma() {
260 public void setGamma(boolean gamma) {