Merge "Reorder modifiers"
[so.git] / common / src / main / java / org / openecomp / mso / 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.openecomp.mso.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({
29 "dictionaryJson",
30 "dictionaryData",
31 "responseCode",
32 "responseMessage"
33 })
34 public class  AllowedTreatments{
35
36 @JsonProperty("dictionaryJson")
37 private DictionaryJson dictionaryJson;
38 @JsonProperty("dictionaryData")
39 private Object dictionaryData;
40 @JsonProperty("responseCode")
41 private Integer responseCode;
42 @JsonProperty("responseMessage")
43 private String responseMessage;
44
45 @JsonProperty("dictionaryJson")
46 public DictionaryJson getDictionaryJson() {
47 return dictionaryJson;
48  }
49
50 @JsonProperty("dictionaryJson")
51 public void setDictionaryJson(DictionaryJson dictionaryJson) {
52 this.dictionaryJson = dictionaryJson;
53  }
54
55 public AllowedTreatments withDictionaryJson(DictionaryJson dictionaryJson) {
56 this.dictionaryJson = dictionaryJson;
57 return this;
58  }
59
60 @JsonProperty("dictionaryData")
61 public Object getDictionaryData() {
62 return dictionaryData;
63  }
64
65 @JsonProperty("dictionaryData")
66 public void setDictionaryData(Object dictionaryData) {
67 this.dictionaryData = dictionaryData;
68  }
69
70 public AllowedTreatments withDictionaryData(Object dictionaryData) {
71 this.dictionaryData = dictionaryData;
72 return this;
73  }
74
75 @JsonProperty("responseCode")
76 public Integer getResponseCode() {
77 return responseCode;
78  }
79
80 @JsonProperty("responseCode")
81 public void setResponseCode(Integer responseCode) {
82 this.responseCode = responseCode;
83  }
84
85 public AllowedTreatments withResponseCode(Integer responseCode) {
86 this.responseCode = responseCode;
87 return this;
88  }
89
90 @JsonProperty("responseMessage")
91 public String getResponseMessage() {
92 return responseMessage;
93  }
94
95 @JsonProperty("responseMessage")
96 public void setResponseMessage(String responseMessage) {
97 this.responseMessage = responseMessage;
98  }
99
100 public AllowedTreatments withResponseMessage(String responseMessage) {
101 this.responseMessage = responseMessage;
102 return this;
103  }
104
105 }