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 io.swagger.annotations.ApiModel;
27 import org.openecomp.policy.api.PolicyConfigStatus;
28 import org.openecomp.policy.api.PolicyType;
31 public class PyPolicyConfig{
32 private String policyConfigMessage;
33 private PolicyConfigStatus policyConfigStatus;
34 private PolicyType type;
35 private String config;
36 private String policyName;
37 private String policyVersion;
38 private Map<String, String> matchingConditions;
39 private Map<String, String> responseAttributes;
40 private Map<String, String> property;
41 public String getConfig() {
44 public void setConfig(String config) {
47 public PolicyType getType() {
50 public void setType(PolicyType type) {
53 public PolicyConfigStatus getPolicyConfigStatus() {
54 return policyConfigStatus;
56 public void setPolicyConfigStatus(PolicyConfigStatus policyConfigStatus) {
57 this.policyConfigStatus = policyConfigStatus;
59 public String getPolicyConfigMessage() {
60 return policyConfigMessage;
62 public void setPolicyConfigMessage(String policyConfigMessage) {
63 this.policyConfigMessage = policyConfigMessage;
65 public Map<String, String> getProperty() {
68 public void setProperty(Map<String, String> property) {
69 this.property = property;
71 public String getPolicyName(){
74 public void setPolicyName(String policyName){
75 this.policyName = policyName;
77 public String getPolicyVersion(){
80 public void setPolicyVersion(String policyVersion){
81 this.policyVersion = policyVersion;
83 public Map<String, String> getMatchingConditions(){
84 return matchingConditions;
86 public void setMatchingConditions(Map<String, String> matchingConditions){
87 this.matchingConditions = matchingConditions;
89 public void setResponseAttributes(Map<String,String> responseAttributes){
90 this.responseAttributes = responseAttributes;
92 public Map<String,String> getResponseAttributes(){
93 return responseAttributes;