2 * ============LICENSE_START========================================================================
\r
3 * ONAP : tr-069-adapter
\r
4 * =================================================================================================
\r
5 * Copyright (C) 2020 CommScope Inc Intellectual Property.
\r
6 * =================================================================================================
\r
7 * This tr-069-adapter software file is distributed by CommScope Inc under the Apache License,
\r
8 * Version 2.0 (the "License"); you may not use this file except in compliance with the License. You
\r
9 * may obtain a copy of the License at
\r
11 * http://www.apache.org/licenses/LICENSE-2.0
\r
13 * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
\r
14 * either express or implied. See the License for the specific language governing permissions and
\r
15 * limitations under the License.
\r
16 * ===============LICENSE_END=======================================================================
\r
19 package org.commscope.tr069adapter.vesagent.model;
\r
21 import com.fasterxml.jackson.annotation.JsonInclude;
\r
22 import com.fasterxml.jackson.annotation.JsonProperty;
\r
24 import java.io.Serializable;
\r
26 @JsonInclude(JsonInclude.Include.NON_NULL)
\r
27 public class CommonEventHeader implements Serializable {
\r
28 @JsonProperty("version")
\r
29 private String version;
\r
30 @JsonProperty("vesEventListenerVersion")
\r
31 private String vesEventListenerVersion;
\r
32 @JsonProperty("domain")
\r
33 private String domain;
\r
34 @JsonProperty("eventName")
\r
35 private String eventName;
\r
36 @JsonProperty("eventType")
\r
37 private String eventType;
\r
38 @JsonProperty("eventId")
\r
39 private String eventId;
\r
40 @JsonProperty("sequence")
\r
41 private Integer sequence;
\r
42 @JsonProperty("priority")
\r
43 private String priority;
\r
44 @JsonProperty("reportingEntityId")
\r
45 private String reportingEntityId;
\r
46 @JsonProperty("reportingEntityName")
\r
47 private String reportingEntityName;
\r
48 @JsonProperty("sourceId")
\r
49 private String sourceId;
\r
50 @JsonProperty("sourceName")
\r
51 private String sourceName;
\r
52 @JsonProperty("nfVendorName")
\r
53 private String nfVendorName;
\r
54 @JsonProperty("nfNamingCode")
\r
55 private String nfNamingCode;
\r
56 @JsonProperty("nfcNamingCode")
\r
57 private String nfcNamingCode;
\r
58 @JsonProperty("startEpochMicrosec")
\r
59 private long startEpochMicrosec;
\r
60 @JsonProperty("lastEpochMicrosec")
\r
61 private long lastEpochMicrosec;
\r
62 @JsonProperty("timeZoneOffset")
\r
63 private String timeZoneOffset;
\r
65 public String getEventId() {
\r
69 public void setEventId(String eventId) {
\r
70 this.eventId = eventId;
\r
73 public String getEventName() {
\r
77 public void setEventName(String eventName) {
\r
78 this.eventName = eventName;
\r
81 public String getDomain() {
\r
85 public void setDomain(String domain) {
\r
86 this.domain = domain;
\r
89 public String getSourceName() {
\r
93 public void setSourceName(String sourceName) {
\r
94 this.sourceName = sourceName;
\r
97 public String getPriority() {
\r
101 public void setPriority(String priority) {
\r
102 this.priority = priority;
\r
105 public String getVersion() {
\r
109 public void setVersion(String version) {
\r
110 this.version = version;
\r
113 public int getSequence() {
\r
117 public void setSequence(int sequence) {
\r
118 this.sequence = sequence;
\r
121 public String getVesEventListenerVersion() {
\r
122 return vesEventListenerVersion;
\r
125 public void setVesEventListenerVersion(String vesEventListenerVersion) {
\r
126 this.vesEventListenerVersion = vesEventListenerVersion;
\r
129 public long getStartEpochMicrosec() {
\r
130 return startEpochMicrosec;
\r
133 public void setStartEpochMicrosec(long startEpochMicrosec) {
\r
134 this.startEpochMicrosec = startEpochMicrosec;
\r
137 public long getLastEpochMicrosec() {
\r
138 return lastEpochMicrosec;
\r
141 public void setLastEpochMicrosec(long lastEpochMicrosec) {
\r
142 this.lastEpochMicrosec = lastEpochMicrosec;
\r
145 public String getReportingEntityName() {
\r
146 return reportingEntityName;
\r
149 public void setReportingEntityName(String reportingEntityName) {
\r
150 this.reportingEntityName = reportingEntityName;
\r
153 public void setSequence(Integer sequence) {
\r
154 this.sequence = sequence;
\r
157 public String getEventType() {
\r
161 public void setEventType(String eventType) {
\r
162 this.eventType = eventType;
\r
165 public String getNfNamingCode() {
\r
166 return nfNamingCode;
\r
169 public void setNfNamingCode(String nfNamingCode) {
\r
170 this.nfNamingCode = nfNamingCode;
\r
173 public String getReportingEntityId() {
\r
174 return reportingEntityId;
\r
177 public void setReportingEntityId(String reportingEntityId) {
\r
178 this.reportingEntityId = reportingEntityId;
\r
181 public String getSourceId() {
\r
185 public void setSourceId(String sourceId) {
\r
186 this.sourceId = sourceId;
\r
189 public String getNfVendorName() {
\r
190 return nfVendorName;
\r
193 public void setNfVendorName(String nfVendorName) {
\r
194 this.nfVendorName = nfVendorName;
\r
197 public String getTimeZoneOffset() {
\r
198 return timeZoneOffset;
\r
201 public void setTimeZoneOffset(String timeZoneOffset) {
\r
202 this.timeZoneOffset = timeZoneOffset;
\r
205 public String getNfcNamingCode() {
\r
206 return nfcNamingCode;
\r
209 public void setNfcNamingCode(String nfcNamingCode) {
\r
210 this.nfcNamingCode = nfcNamingCode;
\r