Initial OpenECOMP policy/engine commit
[policy/engine.git] / PyPDPServer / src / main / java / org / openecomp / policy / pypdp / model_pojo / PepConfigFirewallPolicyRequest.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 import javax.json.JsonObject;
27
28 public class PepConfigFirewallPolicyRequest implements Serializable {
29
30         private static final long serialVersionUID = 1L;
31         
32         private String policyName = null;
33         private String policyScope = null;
34         private String firewallJson = null;
35         private String riskType = "defualt";
36         private String riskLevel = "5";
37         private String guard = "false";
38         private String ttlDate = null;
39         
40         public String getPolicyName() {
41                 return policyName;
42         }
43         public String getPolicyScope() {
44                 return policyScope;
45         }
46         public String getFirewallJson() {
47                 return firewallJson;
48         }
49         public void setPolicyName(String policyName) {
50                 this.policyName = policyName;
51         }
52         public void setPolicyScope(String policyScope) {
53                 this.policyScope = policyScope;
54         }
55         public void setFirewallJson(String firewallJson) {
56                 this.firewallJson = firewallJson;
57         }
58         public String getRiskType() {
59                 return riskType;
60         }
61         public void setRiskType(String riskType) {
62                 this.riskType = riskType;
63         }
64         public String getRiskLevel() {
65                 return riskLevel;
66         }
67         public void setRiskLevel(String riskLevel) {
68                 this.riskLevel = riskLevel;
69         }
70         public String getGuard() {
71                 return guard;
72         }
73         public void setGuard(String guard) {
74                 this.guard = guard;
75         }
76         public String getTtlDate() {
77                 return ttlDate;
78         }
79         public void setTtlDate(String ttlDate) {
80                 this.ttlDate = ttlDate;
81         }       
82 }