Initial OpenECOMP policy/engine commit
[policy/engine.git] / PyPDPServer / src / main / java / org / openecomp / policy / pypdp / model_pojo / PyPolicyConfig.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ECOMP Policy Engine
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
21 package org.openecomp.policy.pypdp.model_pojo;
22
23 import io.swagger.annotations.ApiModel;
24
25 import java.util.Map;
26
27 import org.openecomp.policy.api.PolicyConfigStatus;
28 import org.openecomp.policy.api.PolicyType;
29
30 @ApiModel
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() {
42                 return config;
43         }
44         public void setConfig(String config) {
45                 this.config = config;
46         }
47         public PolicyType getType() {
48                 return type;
49         }
50         public void setType(PolicyType type) {
51                 this.type = type;
52         }
53         public PolicyConfigStatus getPolicyConfigStatus() {
54                 return policyConfigStatus;
55         }
56         public void setPolicyConfigStatus(PolicyConfigStatus policyConfigStatus) {
57                 this.policyConfigStatus = policyConfigStatus;
58         }
59         public String getPolicyConfigMessage() {
60                 return policyConfigMessage;
61         }
62         public void setPolicyConfigMessage(String policyConfigMessage) {
63                 this.policyConfigMessage = policyConfigMessage;
64         }
65         public Map<String, String> getProperty() {
66                 return property;
67         }
68         public void setProperty(Map<String, String> property) {
69                 this.property = property;
70         }
71         public String getPolicyName(){
72                 return policyName;
73         }
74         public void setPolicyName(String policyName){
75                 this.policyName = policyName;
76         }
77         public String getPolicyVersion(){
78                 return policyVersion;
79         }
80         public void setPolicyVersion(String policyVersion){
81                 this.policyVersion = policyVersion;
82         }
83         public Map<String, String> getMatchingConditions(){
84                 return matchingConditions;
85         }
86         public void setMatchingConditions(Map<String, String> matchingConditions){
87                 this.matchingConditions = matchingConditions;
88         }
89         public void setResponseAttributes(Map<String,String> responseAttributes){
90                 this.responseAttributes = responseAttributes;
91         }
92         public Map<String,String> getResponseAttributes(){
93                 return responseAttributes;
94         }
95 }