Containerization feature of SO
[so.git] / common / src / main / java / org / onap / so / client / policy / entities / DictionaryData.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({
29 "id",
30 "bbid",
31 "workstep",
32 "treatments"
33 })
34 public class DictionaryData {
35
36 @JsonProperty("id")
37 private Id id;
38 @JsonProperty("bbid")
39 private Bbid bbid;
40 @JsonProperty("workstep")
41 private Workstep workstep;
42 @JsonProperty("treatments")
43 private Treatments treatments;
44
45 @JsonProperty("id")
46 public Id getId() {
47 return id;
48  }
49
50 @JsonProperty("id")
51 public void setId(Id id) {
52 this.id = id;
53  }
54
55 public DictionaryData withId(Id id) {
56 this.id = id;
57 return this;
58  }
59
60 @JsonProperty("bbid")
61 public Bbid getBbid() {
62 return bbid;
63  }
64
65 @JsonProperty("bbid")
66 public void setBbid(Bbid bbid) {
67 this.bbid = bbid;
68  }
69
70 public DictionaryData withBbid(Bbid bbid) {
71 this.bbid = bbid;
72 return this;
73  }
74
75 @JsonProperty("workstep")
76 public Workstep getWorkstep() {
77 return workstep;
78  }
79
80 @JsonProperty("workstep")
81 public void setWorkstep(Workstep workstep) {
82 this.workstep = workstep;
83  }
84
85 public DictionaryData withWorkstep(Workstep workstep) {
86 this.workstep = workstep;
87 return this;
88  }
89
90 @JsonProperty("treatments")
91 public Treatments getTreatments() {
92 return treatments;
93  }
94
95 @JsonProperty("treatments")
96 public void setTreatments(Treatments treatments) {
97 this.treatments = treatments;
98  }
99
100 public DictionaryData withTreatments(Treatments treatments) {
101 this.treatments = treatments;
102 return this;
103  }
104
105 }