2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights
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
12 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
22 package org.onap.ccsdk.sli.adaptors.aai.data.notify;
24 import java.util.ArrayList;
25 import java.util.HashMap;
26 import java.util.List;
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;
36 @JsonInclude(JsonInclude.Include.NON_NULL)
37 @Generated("org.jsonschema2pojo")
45 public class NotifyEvent {
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;
58 private Map<String, Object> additionalProperties = new HashMap<String, Object>();
65 @JsonProperty("event-id")
66 public String getEventId() {
75 @JsonProperty("event-id")
76 public void setEventId(String eventId) {
77 this.eventId = eventId;
85 @JsonProperty("event-trigger")
86 public String getEventTrigger() {
95 @JsonProperty("event-trigger")
96 public void setEventTrigger(String eventTrigger) {
97 this.eventTrigger = eventTrigger;
105 @JsonProperty("key-data")
106 public List<KeyDatum> getKeyData() {
115 @JsonProperty("key-data")
116 public void setKeyData(List<KeyDatum> keyData) {
117 this.keyData = keyData;
125 @JsonProperty("node-type")
126 public String getNodeType() {
135 @JsonProperty("node-type")
136 public void setNodeType(String nodeType) {
137 this.nodeType = nodeType;
145 @JsonProperty("selflink")
146 public String getSelflink() {
155 @JsonProperty("selflink")
156 public void setSelflink(String selflink) {
157 this.selflink = selflink;
161 public Map<String, Object> getAdditionalProperties() {
162 return this.additionalProperties;
166 public void setAdditionalProperty(String name, Object value) {
167 this.additionalProperties.put(name, value);