2 * ============LICENSE_START=======================================================
3 * Copyright (C) 2018 Ericsson. All rights reserved.
4 * ================================================================================
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
17 * SPDX-License-Identifier: Apache-2.0
18 * ============LICENSE_END=========================================================
21 package org.onap.policy.distribution.reception.decoding.pdpx;
23 public class ConfigBody {
25 private String service;
26 private String policyName;
27 private String description;
28 private String templateVersion;
29 private String version;
30 private String priority;
31 private String riskType;
32 private String riskLevel;
34 private Content content;
36 public String getService() {
40 public void setService(String service) {
41 this.service = service;
44 public String getPolicyName() {
48 public void setPolicyName(String policyName) {
49 this.policyName = policyName;
52 public String getDescription() {
56 public void setDescription(String description) {
57 this.description = description;
60 public String getTemplateVersion() {
61 return templateVersion;
64 public void setTemplateVersion(String templateVersion) {
65 this.templateVersion = templateVersion;
68 public String getVersion() {
72 public void setVersion(String version) {
73 this.version = version;
76 public String getPriority() {
80 public void setPriority(String priority) {
81 this.priority = priority;
84 public String getRiskType() {
88 public void setRiskType(String riskType) {
89 this.riskType = riskType;
92 public String getRiskLevel() {
96 public void setRiskLevel(String riskLevel) {
97 this.riskLevel = riskLevel;
100 public String getGuard() {
104 public void setGuard(String guard) {
108 public Content getContent() {
112 public void setContent(Content content) {
113 this.content = content;