Initial OpenECOMP policy/engine commit
[policy/engine.git] / PyPDPServer / src / main / java / org / openecomp / policy / pypdp / model_pojo / PepConfigPolicyRequest.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ECOMP 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.openecomp.policy.pypdp.model_pojo;
22
23 import java.io.Serializable;
24 import java.util.Map;
25
26 public class PepConfigPolicyRequest implements Serializable {
27
28         private static final long serialVersionUID = 7946941587312347282L;
29         
30         private String policyScope = null;
31         private String policyName = null;
32         private String policyDescription = null;
33         private String ecompName = null;
34         private String configName = null;
35         private Map<String,String> configAttributes = null;
36         private String configType = null;
37         private String body = null;
38         private String riskType = "defualt";
39         private String riskLevel = "5";
40         private String guard = "false";
41         private String ttlDate = null;
42         
43         /**
44          * @return the policyScope
45          */
46         public String getPolicyScope() {
47                 return policyScope;
48         }
49         /**
50          * @return the policyName
51          */
52         public String getPolicyName() {
53                 return policyName;
54         }
55         /**
56          * @return the policyDescription
57          */
58         public String getPolicyDescription() {
59                 return policyDescription;
60         }
61         /**
62          * @return the ecompName
63          */
64         public String getEcompName() {
65                 return ecompName;
66         }
67         /**
68          * @return the configName
69          */
70         public String getConfigName() {
71                 return configName;
72         }
73         /**
74          * @return the configAttributes
75          */
76         public Map<String, String> getConfigAttributes() {
77                 return configAttributes;
78         }
79         /**
80          * @return the configType
81          */
82         public String getConfigType() {
83                 return configType;
84         }
85         /**
86          * @return the body
87          */
88         public String getBody() {
89                 return body;
90         }
91         /**
92          * @param policyScope the policyScope to set
93          */
94         public void setPolicyScope(String policyScope) {
95                 this.policyScope = policyScope;
96         }
97         /**
98          * @param policyName the policyName to set
99          */
100         public void setPolicyName(String policyName) {
101                 this.policyName = policyName;
102         }
103         /**
104          * @param policyDescription the policyDescription to set
105          */
106         public void setPolicyDescription(String policyDescription) {
107                 this.policyDescription = policyDescription;
108         }
109         /**
110          * @param ecompName the ecompName to set
111          */
112         public void setEcompName(String ecompName) {
113                 this.ecompName = ecompName;
114         }
115         /**
116          * @param configName the configName to set
117          */
118         public void setConfigName(String configName) {
119                 this.configName = configName;
120         }
121         /**
122          * @param configAttributes the configAttributes to set
123          */
124         public void setConfigAttributes(Map<String, String> configAttributes) {
125                 this.configAttributes = configAttributes;
126         }
127         /**
128          * @param configType the configType to set
129          */
130         public void setConfigType(String configType) {
131                 this.configType = configType;
132         }
133         /**
134          * @param body the body to set
135          */
136         public void setBody(String body) {
137                 this.body = body;
138         }
139         /**
140          * @return the guard
141          */
142         public String getGuard() {
143                 return guard;
144         }
145         /**
146          * @param guard the guard to set
147          */
148         public void setGuard(String guard) {
149                 this.guard = guard;
150         }
151         /**
152          * @return the riskLevel
153          */
154         public String getRiskLevel() {
155                 return riskLevel;
156         }
157         /**
158          * @param riskLevel the riskLevel to set
159          */
160         public void setRiskLevel(String riskLevel) {
161                 this.riskLevel = riskLevel;
162         }
163         /**
164          * @return the ttlDate
165          */
166         public String getTtlDate() {
167                 return ttlDate;
168         }
169         /**
170          * @param ttlDate the ttlDate to set
171          */
172         public void setTtlDate(String ttlDate) {
173                 this.ttlDate = ttlDate;
174         }
175         /**
176          * @return the riskType
177          */
178         public String getRiskType() {
179                 return riskType;
180         }
181         /**
182          * @param riskType the riskType to set
183          */
184         public void setRiskType(String riskType) {
185                 this.riskType = riskType;
186         }
187 }