[POLICY-122] Policy GUI Fixes
[policy/engine.git] / PolicyEngineAPI / src / main / java / org / openecomp / policy / models / APIPolicyConfigResponse.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * PolicyEngineAPI
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.models;
21
22 import java.util.Map;
23
24 import org.openecomp.policy.api.PolicyConfigStatus;
25 import org.openecomp.policy.api.PolicyType;
26
27 public class APIPolicyConfigResponse implements APIConfigResponse {
28     private String policyConfigMessage;
29     private PolicyConfigStatus policyConfigStatus;
30     private PolicyType type;
31     private String config;
32     private String policyName;
33     private String policyVersion;
34     private Map<String, String> matchingConditions;
35     private Map<String, String> responseAttributes;
36     private Map<String, String> property;
37     public String getConfig() {
38         return config;
39     }
40     public void setConfig(String config) {
41         this.config = config;
42     }
43     public PolicyType getType() {
44         return type;
45     }
46     public void setType(PolicyType type) {
47         this.type = type;
48     }
49     public PolicyConfigStatus getPolicyConfigStatus() {
50         return policyConfigStatus;
51     }
52     public void setPolicyConfigStatus(PolicyConfigStatus policyConfigStatus) {
53         this.policyConfigStatus = policyConfigStatus;
54     }
55     public String getPolicyConfigMessage() {
56         return policyConfigMessage;
57     }
58     public void setPolicyConfigMessage(String policyConfigMessage) {
59         this.policyConfigMessage = policyConfigMessage;
60     }
61     public Map<String, String> getProperty() {
62         return property;
63     }
64     public void setProperty(Map<String, String> property) {
65         this.property = property;
66     }
67     public String getPolicyName(){
68         return policyName;
69     }
70     public void setPolicyName(String policyName){
71         this.policyName = policyName;
72     }
73     public String getPolicyVersion(){
74         return policyVersion;
75     }
76     public void setPolicyVersion(String policyVersion){
77         this.policyVersion = policyVersion;
78     }
79     public Map<String, String> getMatchingConditions(){
80         return matchingConditions;
81     }
82     public void setMatchingConditions(Map<String, String> matchingConditions){
83         this.matchingConditions = matchingConditions;
84     }
85     public void setResponseAttributes(Map<String,String> responseAttributes){
86         this.responseAttributes = responseAttributes;
87     }
88     public Map<String,String> getResponseAttributes(){
89         return responseAttributes;
90     }
91 }