Refactor to provide Common Policy Validation
[policy/engine.git] / ONAP-REST / src / main / java / org / onap / policy / rest / adapter / ClosedLoopPMBody.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 import java.util.Map;
25
26 public class ClosedLoopPMBody {
27         
28         private boolean trinity;
29         private boolean vUSP;
30         private boolean mcr;
31         private boolean gamma;
32         private boolean vDNS;
33         private String geoLink;
34         private String vServices;
35         private String ONAPname;
36         
37         private String emailAddress;
38         
39         private String serviceTypePolicyName;
40         
41         private Map<String, String> attributes;
42         private String templateVersion;
43         
44         public String getTemplateVersion() {
45                 return templateVersion;
46         }
47
48         public void setTemplateVersion(String templateVersion) {
49                 this.templateVersion = templateVersion;
50         }
51         
52         public String getONAPname(){
53                 return ONAPname;
54         }
55         
56         public void setONAPname(String ONAPname){
57                 this.ONAPname = ONAPname;
58         }
59         
60         public String getvServices() {
61                 return vServices;
62         }
63
64         public void setvServices(String vServices) {
65                 this.vServices = vServices;
66         }
67         
68         public Map<String, String> getAttributes() {
69                 return attributes;
70         }
71
72         public void setAttributes(Map<String, String> map) {
73                 this.attributes = map;
74         }
75
76         public String getGeoLink() {
77                 return geoLink;
78         }
79
80         public void setGeoLink(String geoLink) {
81                 this.geoLink = geoLink;
82         }
83
84         public String getEmailAddress() {
85                 return emailAddress;
86         }
87
88         public void setEmailAddress(String emailAddress) {
89                 this.emailAddress = emailAddress;
90         }
91
92         public String getServiceTypePolicyName() {
93                 return serviceTypePolicyName;
94         }
95
96         public void setServiceTypePolicyName(String serviceTypePolicyName) {
97                 this.serviceTypePolicyName = serviceTypePolicyName;
98         }
99         
100         public boolean isGamma() {
101                 return gamma;
102         }
103         public void setGamma(boolean gamma) {
104                 this.gamma = gamma;
105         }
106         public boolean isvDNS() {
107                 return vDNS;
108         }
109         public void setvDNS(boolean vDNS) {
110                 this.vDNS = vDNS;
111         }
112         
113         public boolean isTrinity() {
114                 return trinity;
115         }
116         public void setTrinity(boolean trinity) {
117                 this.trinity = trinity;
118         }
119         public boolean isvUSP() {
120                 return vUSP;
121         }
122         public void setvUSP(boolean vUSP) {
123                 this.vUSP = vUSP;
124         }
125         public boolean isMcr() {
126                 return mcr;
127         }
128         public void setMcr(boolean mcr) {
129                 this.mcr = mcr;
130         }
131
132 }
133