2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.onap.so.client.policy.entities;
23 import com.fasterxml.jackson.annotation.JsonInclude;
24 import com.fasterxml.jackson.annotation.JsonProperty;
25 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
27 @JsonInclude(JsonInclude.Include.NON_NULL)
28 @JsonPropertyOrder({"dictionaryJson", "dictionaryData", "responseCode", "responseMessage"})
29 public class AllowedTreatments {
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;
40 @JsonProperty("dictionaryJson")
41 public DictionaryJson getDictionaryJson() {
42 return dictionaryJson;
45 @JsonProperty("dictionaryJson")
46 public void setDictionaryJson(DictionaryJson dictionaryJson) {
47 this.dictionaryJson = dictionaryJson;
50 public AllowedTreatments withDictionaryJson(DictionaryJson dictionaryJson) {
51 this.dictionaryJson = dictionaryJson;
55 @JsonProperty("dictionaryData")
56 public Object getDictionaryData() {
57 return dictionaryData;
60 @JsonProperty("dictionaryData")
61 public void setDictionaryData(Object dictionaryData) {
62 this.dictionaryData = dictionaryData;
65 public AllowedTreatments withDictionaryData(Object dictionaryData) {
66 this.dictionaryData = dictionaryData;
70 @JsonProperty("responseCode")
71 public Integer getResponseCode() {
75 @JsonProperty("responseCode")
76 public void setResponseCode(Integer responseCode) {
77 this.responseCode = responseCode;
80 public AllowedTreatments withResponseCode(Integer responseCode) {
81 this.responseCode = responseCode;
85 @JsonProperty("responseMessage")
86 public String getResponseMessage() {
87 return responseMessage;
90 @JsonProperty("responseMessage")
91 public void setResponseMessage(String responseMessage) {
92 this.responseMessage = responseMessage;
95 public AllowedTreatments withResponseMessage(String responseMessage) {
96 this.responseMessage = responseMessage;