1710 Rebase - Second Attempt
[so.git] / bpmn / MSOCommonBPMN / src / main / java / org / openecomp / mso / client / sdno / Body.java
1
2 package org.openecomp.mso.client.sdno;
3
4 import java.io.Serializable;
5 import java.util.HashMap;
6 import java.util.Map;
7
8 import com.fasterxml.jackson.annotation.JsonAnyGetter;
9 import com.fasterxml.jackson.annotation.JsonAnySetter;
10 import com.fasterxml.jackson.annotation.JsonIgnore;
11 import com.fasterxml.jackson.annotation.JsonInclude;
12 import com.fasterxml.jackson.annotation.JsonProperty;
13 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
14
15 @JsonInclude(JsonInclude.Include.NON_NULL)
16 @JsonPropertyOrder({
17     "input"
18 })
19 public class Body implements Serializable
20 {
21
22     @JsonProperty("input")
23     private Input input;
24     @JsonIgnore
25     private Map<String, Object> additionalProperties = new HashMap<String, Object>();
26     private final static long serialVersionUID = 9101706044452851559L;
27
28     @JsonProperty("input")
29     public Input getInput() {
30         return input;
31     }
32
33     @JsonProperty("input")
34     public void setInput(Input input) {
35         this.input = input;
36     }
37
38     public Body withInput(Input input) {
39         this.input = input;
40         return this;
41     }
42
43     @JsonAnyGetter
44     public Map<String, Object> getAdditionalProperties() {
45         return this.additionalProperties;
46     }
47
48     @JsonAnySetter
49     public void setAdditionalProperty(String name, Object value) {
50         this.additionalProperties.put(name, value);
51     }
52
53     public Body withAdditionalProperty(String name, Object value) {
54         this.additionalProperties.put(name, value);
55         return this;
56     }
57
58 }