Replaced all tabs with spaces in java and pom.xml
[so.git] / common / src / main / java / org / onap / so / client / policy / entities / PolicyConfig.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 - 2018 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.onap.so.client.policy.entities;
22
23 import java.util.HashMap;
24 import java.util.Map;
25 import com.fasterxml.jackson.annotation.JsonInclude;
26 import com.fasterxml.jackson.annotation.JsonProperty;
27 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
28
29 @JsonInclude(JsonInclude.Include.NON_NULL)
30 @JsonPropertyOrder({"policyConfigMessage", "policyConfigStatus", "type", "config", "policyName", "policyType",
31         "policyVersion", "matchingConditions", "responseAttributes", "property"})
32 public class PolicyConfig {
33
34     @JsonProperty("policyConfigMessage")
35     private String policyConfigMessage;
36     @JsonProperty("policyConfigStatus")
37     private String policyConfigStatus;
38     @JsonProperty("type")
39     private String type;
40     @JsonProperty("config")
41     private String config;
42     @JsonProperty("policyName")
43     private String policyName;
44     @JsonProperty("policyType")
45     private String policyType;
46     @JsonProperty("policyVersion")
47     private String policyVersion;
48     @JsonProperty("matchingConditions")
49     private Map<String, String> matchingConditions = new HashMap<>();
50     @JsonProperty("responseAttributes")
51     private Map<String, String> responseAttributes = new HashMap<>();
52     @JsonProperty("property")
53     private Object property;
54
55     @JsonProperty("policyConfigMessage")
56     public String getPolicyConfigMessage() {
57         return policyConfigMessage;
58     }
59
60     @JsonProperty("policyConfigMessage")
61     public void setPolicyConfigMessage(String policyConfigMessage) {
62         this.policyConfigMessage = policyConfigMessage;
63     }
64
65     @JsonProperty("policyConfigStatus")
66     public String getPolicyConfigStatus() {
67         return policyConfigStatus;
68     }
69
70     @JsonProperty("policyConfigStatus")
71     public void setPolicyConfigStatus(String policyConfigStatus) {
72         this.policyConfigStatus = policyConfigStatus;
73     }
74
75     @JsonProperty("type")
76     public String getType() {
77         return type;
78     }
79
80     @JsonProperty("type")
81     public void setType(String type) {
82         this.type = type;
83     }
84
85     @JsonProperty("config")
86     public String getConfig() {
87         return config;
88     }
89
90     @JsonProperty("config")
91     public void setConfig(String config) {
92         this.config = config;
93     }
94
95     @JsonProperty("policyName")
96     public String getPolicyName() {
97         return policyName;
98     }
99
100     @JsonProperty("policyName")
101     public void setPolicyName(String policyName) {
102         this.policyName = policyName;
103     }
104
105     @JsonProperty("policyType")
106     public String getPolicyType() {
107         return policyType;
108     }
109
110     @JsonProperty("policyType")
111     public void setPolicyType(String policyType) {
112         this.policyType = policyType;
113     }
114
115     @JsonProperty("policyVersion")
116     public String getPolicyVersion() {
117         return policyVersion;
118     }
119
120     @JsonProperty("policyVersion")
121     public void setPolicyVersion(String policyVersion) {
122         this.policyVersion = policyVersion;
123     }
124
125     @JsonProperty("matchingConditions")
126     public Map<String, String> getMatchingConditions() {
127         return matchingConditions;
128     }
129
130     @JsonProperty("matchingConditions")
131     public void setMatchingConditions(Map<String, String> matchingConditions) {
132         this.matchingConditions = matchingConditions;
133     }
134
135     @JsonProperty("responseAttributes")
136     public Map<String, String> getResponseAttributes() {
137         return responseAttributes;
138     }
139
140     @JsonProperty("responseAttributes")
141     public void setResponseAttributes(Map<String, String> responseAttributes) {
142         this.responseAttributes = responseAttributes;
143     }
144
145     @JsonProperty("property")
146     public Object getProperty() {
147         return property;
148     }
149
150     @JsonProperty("property")
151     public void setProperty(Object property) {
152         this.property = property;
153     }
154
155 }