Merge from ECOMP's repository
[vid.git] / vid-app-common / src / main / java / org / onap / vid / changeManagement / RequestInfo.java
1 package org.onap.vid.changeManagement;
2
3 import com.fasterxml.jackson.annotation.*;
4
5 import java.util.HashMap;
6 import java.util.Map;
7
8 @JsonInclude(JsonInclude.Include.NON_NULL)
9 @JsonPropertyOrder({
10 "source",
11 "suppressRollback",
12 "requestorId"
13 })
14 public class RequestInfo {
15         @JsonProperty("source")
16         private String source;
17         @JsonProperty("suppressRollback")
18         private Boolean suppressRollback;
19         @JsonProperty("requestorId")
20         private String requestorId;
21         @JsonIgnore
22         private Map<String, Object> additionalProperties = new HashMap<>();
23
24         @JsonProperty("source")
25         public String getSource() {
26         return source;
27         }
28
29         @JsonProperty("source")
30         public void setSource(String source) {
31         this.source = source;
32         }
33
34         @JsonProperty("suppressRollback")
35         public Boolean getSuppressRollback() {
36         return suppressRollback;
37         }
38
39         @JsonProperty("suppressRollback")
40         public void setSuppressRollback(Boolean suppressRollback) {
41         this.suppressRollback = suppressRollback;
42         }
43
44         @JsonProperty("requestorId")
45         public String getRequestorId() {
46         return requestorId;
47         }
48
49         @JsonProperty("requestorId")
50         public void setRequestorId(String requestorId) {
51         this.requestorId = requestorId;
52         }
53
54         @JsonAnyGetter
55         public Map<String, Object> getAdditionalProperties() {
56         return this.additionalProperties;
57         }
58
59         @JsonAnySetter
60         public void setAdditionalProperty(String name, Object value) {
61         this.additionalProperties.put(name, value);
62         }
63
64
65 }