[POLICY-122] Policy GUI Fixes
[policy/engine.git] / ECOMP-PDP-REST / src / main / java / org / openecomp / policy / pdp / rest / api / models / ConfigFirewallPolicyAPIRequest.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ECOMP-PDP-REST
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 package org.openecomp.policy.pdp.rest.api.models;
21
22 import io.swagger.annotations.ApiModel;
23
24 import java.io.Serializable;
25
26 @ApiModel
27 public class ConfigFirewallPolicyAPIRequest implements Serializable{
28     private static final long serialVersionUID = -7460640390070215401L;
29     
30     private String policyName = null;
31     private String policyScope = null;
32     private String firewallJson = null;
33     private String riskType = "default";
34     private String riskLevel = "5";
35     private String guard = "false";
36     private String ttlDate = null;
37     
38     public String getPolicyName() {
39         return policyName;
40     }
41     public String getPolicyScope() {
42         return policyScope;
43     }
44     public String getFirewallJson() {
45         return firewallJson;
46     }
47     public void setPolicyName(String policyName) {
48         this.policyName = policyName;
49     }
50     public void setPolicyScope(String policyScope) {
51         this.policyScope = policyScope;
52     }
53     public void setFirewallJson(String firewallJson) {
54         this.firewallJson = firewallJson;
55     }
56     public String getRiskType() {
57         return riskType;
58     }
59     public void setRiskType(String riskType) {
60         this.riskType = riskType;
61     }
62     public String getRiskLevel() {
63         return riskLevel;
64     }
65     public void setRiskLevel(String riskLevel) {
66         this.riskLevel = riskLevel;
67     }
68     public String getGuard() {
69         return guard;
70     }
71     public void setGuard(String guard) {
72         this.guard = guard;
73     }
74     public String getTtlDate() {
75         return ttlDate;
76     }
77     public void setTtlDate(String ttlDate) {
78         this.ttlDate = ttlDate;
79     }   
80 }