1710 Rebase - Second Attempt
[so.git] / bpmn / MSOCommonBPMN / src / main / java / org / openecomp / mso / client / sdno / SDNO.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     "operation",
18     "nodeType",
19     "body"
20 })
21 public class SDNO implements Serializable
22 {
23
24     @JsonProperty("operation")
25     private String operation;
26     @JsonProperty("nodeType")
27     private String nodeType;
28     @JsonProperty("body")
29     private Body body;
30     @JsonIgnore
31     private Map<String, Object> additionalProperties = new HashMap<String, Object>();
32     private final static long serialVersionUID = -5303297382564282650L;
33
34     @JsonProperty("operation")
35     public String getOperation() {
36         return operation;
37     }
38
39     @JsonProperty("operation")
40     public void setOperation(String operation) {
41         this.operation = operation;
42     }
43
44     public SDNO withOperation(String operation) {
45         this.operation = operation;
46         return this;
47     }
48
49     @JsonProperty("nodeType")
50     public String getNodeType() {
51         return nodeType;
52     }
53
54     @JsonProperty("nodeType")
55     public void setNodeType(String nodeType) {
56         this.nodeType = nodeType;
57     }
58
59     public SDNO withNodeType(String nodeType) {
60         this.nodeType = nodeType;
61         return this;
62     }
63
64     @JsonProperty("body")
65     public Body getBody() {
66         return body;
67     }
68
69     @JsonProperty("body")
70     public void setBody(Body body) {
71         this.body = body;
72     }
73
74     public SDNO withBody(Body body) {
75         this.body = body;
76         return this;
77     }
78
79     @JsonAnyGetter
80     public Map<String, Object> getAdditionalProperties() {
81         return this.additionalProperties;
82     }
83
84     @JsonAnySetter
85     public void setAdditionalProperty(String name, Object value) {
86         this.additionalProperties.put(name, value);
87     }
88
89     public SDNO SDNO (String name, Object value) {
90         this.additionalProperties.put(name, value);
91         return this;
92     }
93
94 }