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({"id", "bbid", "workstep", "treatments"})
29 public class DictionaryData {
35 @JsonProperty("workstep")
36 private Workstep workstep;
37 @JsonProperty("treatments")
38 private Treatments treatments;
46 public void setId(Id id) {
50 public DictionaryData withId(Id id) {
56 public Bbid getBbid() {
61 public void setBbid(Bbid bbid) {
65 public DictionaryData withBbid(Bbid bbid) {
70 @JsonProperty("workstep")
71 public Workstep getWorkstep() {
75 @JsonProperty("workstep")
76 public void setWorkstep(Workstep workstep) {
77 this.workstep = workstep;
80 public DictionaryData withWorkstep(Workstep workstep) {
81 this.workstep = workstep;
85 @JsonProperty("treatments")
86 public Treatments getTreatments() {
90 @JsonProperty("treatments")
91 public void setTreatments(Treatments treatments) {
92 this.treatments = treatments;
95 public DictionaryData withTreatments(Treatments treatments) {
96 this.treatments = treatments;