Replaced all tabs with spaces in java and pom.xml
[so.git] / common / src / main / java / org / onap / so / client / policy / entities / AllowedTreatments.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
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.onap.so.client.policy.entities;
22
23 import com.fasterxml.jackson.annotation.JsonInclude;
24 import com.fasterxml.jackson.annotation.JsonProperty;
25 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
26
27 @JsonInclude(JsonInclude.Include.NON_NULL)
28 @JsonPropertyOrder({"dictionaryJson", "dictionaryData", "responseCode", "responseMessage"})
29 public class AllowedTreatments {
30
31     @JsonProperty("dictionaryJson")
32     private DictionaryJson dictionaryJson;
33     @JsonProperty("dictionaryData")
34     private Object dictionaryData;
35     @JsonProperty("responseCode")
36     private Integer responseCode;
37     @JsonProperty("responseMessage")
38     private String responseMessage;
39
40     @JsonProperty("dictionaryJson")
41     public DictionaryJson getDictionaryJson() {
42         return dictionaryJson;
43     }
44
45     @JsonProperty("dictionaryJson")
46     public void setDictionaryJson(DictionaryJson dictionaryJson) {
47         this.dictionaryJson = dictionaryJson;
48     }
49
50     public AllowedTreatments withDictionaryJson(DictionaryJson dictionaryJson) {
51         this.dictionaryJson = dictionaryJson;
52         return this;
53     }
54
55     @JsonProperty("dictionaryData")
56     public Object getDictionaryData() {
57         return dictionaryData;
58     }
59
60     @JsonProperty("dictionaryData")
61     public void setDictionaryData(Object dictionaryData) {
62         this.dictionaryData = dictionaryData;
63     }
64
65     public AllowedTreatments withDictionaryData(Object dictionaryData) {
66         this.dictionaryData = dictionaryData;
67         return this;
68     }
69
70     @JsonProperty("responseCode")
71     public Integer getResponseCode() {
72         return responseCode;
73     }
74
75     @JsonProperty("responseCode")
76     public void setResponseCode(Integer responseCode) {
77         this.responseCode = responseCode;
78     }
79
80     public AllowedTreatments withResponseCode(Integer responseCode) {
81         this.responseCode = responseCode;
82         return this;
83     }
84
85     @JsonProperty("responseMessage")
86     public String getResponseMessage() {
87         return responseMessage;
88     }
89
90     @JsonProperty("responseMessage")
91     public void setResponseMessage(String responseMessage) {
92         this.responseMessage = responseMessage;
93     }
94
95     public AllowedTreatments withResponseMessage(String responseMessage) {
96         this.responseMessage = responseMessage;
97         return this;
98     }
99
100 }