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=========================================================
21 package org.openecomp.policy.pypdp.model_pojo;
23 import java.io.Serializable;
26 public class PepConfigPolicyRequest implements Serializable {
28 private static final long serialVersionUID = 7946941587312347282L;
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;
44 * @return the policyScope
46 public String getPolicyScope() {
50 * @return the policyName
52 public String getPolicyName() {
56 * @return the policyDescription
58 public String getPolicyDescription() {
59 return policyDescription;
62 * @return the ecompName
64 public String getEcompName() {
68 * @return the configName
70 public String getConfigName() {
74 * @return the configAttributes
76 public Map<String, String> getConfigAttributes() {
77 return configAttributes;
80 * @return the configType
82 public String getConfigType() {
88 public String getBody() {
92 * @param policyScope the policyScope to set
94 public void setPolicyScope(String policyScope) {
95 this.policyScope = policyScope;
98 * @param policyName the policyName to set
100 public void setPolicyName(String policyName) {
101 this.policyName = policyName;
104 * @param policyDescription the policyDescription to set
106 public void setPolicyDescription(String policyDescription) {
107 this.policyDescription = policyDescription;
110 * @param ecompName the ecompName to set
112 public void setEcompName(String ecompName) {
113 this.ecompName = ecompName;
116 * @param configName the configName to set
118 public void setConfigName(String configName) {
119 this.configName = configName;
122 * @param configAttributes the configAttributes to set
124 public void setConfigAttributes(Map<String, String> configAttributes) {
125 this.configAttributes = configAttributes;
128 * @param configType the configType to set
130 public void setConfigType(String configType) {
131 this.configType = configType;
134 * @param body the body to set
136 public void setBody(String body) {
142 public String getGuard() {
146 * @param guard the guard to set
148 public void setGuard(String guard) {
152 * @return the riskLevel
154 public String getRiskLevel() {
158 * @param riskLevel the riskLevel to set
160 public void setRiskLevel(String riskLevel) {
161 this.riskLevel = riskLevel;
164 * @return the ttlDate
166 public String getTtlDate() {
170 * @param ttlDate the ttlDate to set
172 public void setTtlDate(String ttlDate) {
173 this.ttlDate = ttlDate;
176 * @return the riskType
178 public String getRiskType() {
182 * @param riskType the riskType to set
184 public void setRiskType(String riskType) {
185 this.riskType = riskType;