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.openecomp.mso.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)
34 public class AllowedTreatments{
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;
45 @JsonProperty("dictionaryJson")
46 public DictionaryJson getDictionaryJson() {
47 return dictionaryJson;
50 @JsonProperty("dictionaryJson")
51 public void setDictionaryJson(DictionaryJson dictionaryJson) {
52 this.dictionaryJson = dictionaryJson;
55 public AllowedTreatments withDictionaryJson(DictionaryJson dictionaryJson) {
56 this.dictionaryJson = dictionaryJson;
60 @JsonProperty("dictionaryData")
61 public Object getDictionaryData() {
62 return dictionaryData;
65 @JsonProperty("dictionaryData")
66 public void setDictionaryData(Object dictionaryData) {
67 this.dictionaryData = dictionaryData;
70 public AllowedTreatments withDictionaryData(Object dictionaryData) {
71 this.dictionaryData = dictionaryData;
75 @JsonProperty("responseCode")
76 public Integer getResponseCode() {
80 @JsonProperty("responseCode")
81 public void setResponseCode(Integer responseCode) {
82 this.responseCode = responseCode;
85 public AllowedTreatments withResponseCode(Integer responseCode) {
86 this.responseCode = responseCode;
90 @JsonProperty("responseMessage")
91 public String getResponseMessage() {
92 return responseMessage;
95 @JsonProperty("responseMessage")
96 public void setResponseMessage(String responseMessage) {
97 this.responseMessage = responseMessage;
100 public AllowedTreatments withResponseMessage(String responseMessage) {
101 this.responseMessage = responseMessage;