Convert tabs to spaces
[ccsdk/sli/adaptors.git] / aai-service / provider / src / main / java / org / onap / sli / adaptors / aai / data / notify / NotifyEvent.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * openECOMP : SDN-C
4  * ================================================================================
5  * Copyright (C) 2017 ONAP Intellectual Property. All rights
6  *                                              reserved.
7  * ================================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  * 
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  * 
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END=========================================================
20  */
21
22 package org.onap.ccsdk.sli.adaptors.aai.data.notify;
23
24 import java.util.ArrayList;
25 import java.util.HashMap;
26 import java.util.List;
27 import java.util.Map;
28 import javax.annotation.Generated;
29 import com.fasterxml.jackson.annotation.JsonAnyGetter;
30 import com.fasterxml.jackson.annotation.JsonAnySetter;
31 import com.fasterxml.jackson.annotation.JsonIgnore;
32 import com.fasterxml.jackson.annotation.JsonInclude;
33 import com.fasterxml.jackson.annotation.JsonProperty;
34 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
35
36 @JsonInclude(JsonInclude.Include.NON_NULL)
37 @Generated("org.jsonschema2pojo")
38 @JsonPropertyOrder({
39     "event-id",
40     "event-trigger",
41     "key-data",
42     "node-type",
43     "selflink"
44 })
45 public class NotifyEvent {
46
47     @JsonProperty("event-id")
48     private String eventId;
49     @JsonProperty("event-trigger")
50     private String eventTrigger;
51     @JsonProperty("key-data")
52     private List<KeyDatum> keyData = new ArrayList<KeyDatum>();
53     @JsonProperty("node-type")
54     private String nodeType;
55     @JsonProperty("selflink")
56     private String selflink;
57     @JsonIgnore
58     private Map<String, Object> additionalProperties = new HashMap<String, Object>();
59
60     /**
61      * 
62      * @return
63      *     The eventId
64      */
65     @JsonProperty("event-id")
66     public String getEventId() {
67         return eventId;
68     }
69
70     /**
71      * 
72      * @param eventId
73      *     The event-id
74      */
75     @JsonProperty("event-id")
76     public void setEventId(String eventId) {
77         this.eventId = eventId;
78     }
79
80     /**
81      * 
82      * @return
83      *     The eventTrigger
84      */
85     @JsonProperty("event-trigger")
86     public String getEventTrigger() {
87         return eventTrigger;
88     }
89
90     /**
91      * 
92      * @param eventTrigger
93      *     The event-trigger
94      */
95     @JsonProperty("event-trigger")
96     public void setEventTrigger(String eventTrigger) {
97         this.eventTrigger = eventTrigger;
98     }
99
100     /**
101      * 
102      * @return
103      *     The keyData
104      */
105     @JsonProperty("key-data")
106     public List<KeyDatum> getKeyData() {
107         return keyData;
108     }
109
110     /**
111      * 
112      * @param keyData
113      *     The key-data
114      */
115     @JsonProperty("key-data")
116     public void setKeyData(List<KeyDatum> keyData) {
117         this.keyData = keyData;
118     }
119
120     /**
121      * 
122      * @return
123      *     The nodeType
124      */
125     @JsonProperty("node-type")
126     public String getNodeType() {
127         return nodeType;
128     }
129
130     /**
131      * 
132      * @param nodeType
133      *     The node-type
134      */
135     @JsonProperty("node-type")
136     public void setNodeType(String nodeType) {
137         this.nodeType = nodeType;
138     }
139
140     /**
141      * 
142      * @return
143      *     The selflink
144      */
145     @JsonProperty("selflink")
146     public String getSelflink() {
147         return selflink;
148     }
149
150     /**
151      * 
152      * @param selflink
153      *     The selflink
154      */
155     @JsonProperty("selflink")
156     public void setSelflink(String selflink) {
157         this.selflink = selflink;
158     }
159
160     @JsonAnyGetter
161     public Map<String, Object> getAdditionalProperties() {
162         return this.additionalProperties;
163     }
164
165     @JsonAnySetter
166     public void setAdditionalProperty(String name, Object value) {
167         this.additionalProperties.put(name, value);
168     }
169
170 }