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=========================================================
20 package org.openecomp.policy.pdp.rest.api.models;
22 import io.swagger.annotations.ApiModel;
24 import java.io.Serializable;
27 public class ConfigFirewallPolicyAPIRequest implements Serializable{
28 private static final long serialVersionUID = -7460640390070215401L;
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;
38 public String getPolicyName() {
41 public String getPolicyScope() {
44 public String getFirewallJson() {
47 public void setPolicyName(String policyName) {
48 this.policyName = policyName;
50 public void setPolicyScope(String policyScope) {
51 this.policyScope = policyScope;
53 public void setFirewallJson(String firewallJson) {
54 this.firewallJson = firewallJson;
56 public String getRiskType() {
59 public void setRiskType(String riskType) {
60 this.riskType = riskType;
62 public String getRiskLevel() {
65 public void setRiskLevel(String riskLevel) {
66 this.riskLevel = riskLevel;
68 public String getGuard() {
71 public void setGuard(String guard) {
74 public String getTtlDate() {
77 public void setTtlDate(String ttlDate) {
78 this.ttlDate = ttlDate;