c1d0750eae105d3be8f1ee772234b9a97f37d371
[oam/tr069-adapter.git] / ves-agent / src / main / java / org / commscope / tr069adapter / vesagent / model / CommonEventHeader.java
1 /*\r
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
10  *\r
11  * http://www.apache.org/licenses/LICENSE-2.0\r
12  *\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
17  */\r
18 \r
19 package org.commscope.tr069adapter.vesagent.model;\r
20 \r
21 import com.fasterxml.jackson.annotation.JsonInclude;\r
22 import com.fasterxml.jackson.annotation.JsonProperty;\r
23 \r
24 import java.io.Serializable;\r
25 \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
64 \r
65   public String getEventId() {\r
66     return eventId;\r
67   }\r
68 \r
69   public void setEventId(String eventId) {\r
70     this.eventId = eventId;\r
71   }\r
72 \r
73   public String getEventName() {\r
74     return eventName;\r
75   }\r
76 \r
77   public void setEventName(String eventName) {\r
78     this.eventName = eventName;\r
79   }\r
80 \r
81   public String getDomain() {\r
82     return domain;\r
83   }\r
84 \r
85   public void setDomain(String domain) {\r
86     this.domain = domain;\r
87   }\r
88 \r
89   public String getSourceName() {\r
90     return sourceName;\r
91   }\r
92 \r
93   public void setSourceName(String sourceName) {\r
94     this.sourceName = sourceName;\r
95   }\r
96 \r
97   public String getPriority() {\r
98     return priority;\r
99   }\r
100 \r
101   public void setPriority(String priority) {\r
102     this.priority = priority;\r
103   }\r
104 \r
105   public String getVersion() {\r
106     return version;\r
107   }\r
108 \r
109   public void setVersion(String version) {\r
110     this.version = version;\r
111   }\r
112 \r
113   public int getSequence() {\r
114     return sequence;\r
115   }\r
116 \r
117   public void setSequence(int sequence) {\r
118     this.sequence = sequence;\r
119   }\r
120 \r
121   public String getVesEventListenerVersion() {\r
122     return vesEventListenerVersion;\r
123   }\r
124 \r
125   public void setVesEventListenerVersion(String vesEventListenerVersion) {\r
126     this.vesEventListenerVersion = vesEventListenerVersion;\r
127   }\r
128 \r
129   public long getStartEpochMicrosec() {\r
130     return startEpochMicrosec;\r
131   }\r
132 \r
133   public void setStartEpochMicrosec(long startEpochMicrosec) {\r
134     this.startEpochMicrosec = startEpochMicrosec;\r
135   }\r
136 \r
137   public long getLastEpochMicrosec() {\r
138     return lastEpochMicrosec;\r
139   }\r
140 \r
141   public void setLastEpochMicrosec(long lastEpochMicrosec) {\r
142     this.lastEpochMicrosec = lastEpochMicrosec;\r
143   }\r
144 \r
145   public String getReportingEntityName() {\r
146     return reportingEntityName;\r
147   }\r
148 \r
149   public void setReportingEntityName(String reportingEntityName) {\r
150     this.reportingEntityName = reportingEntityName;\r
151   }\r
152 \r
153   public void setSequence(Integer sequence) {\r
154     this.sequence = sequence;\r
155   }\r
156 \r
157   public String getEventType() {\r
158     return eventType;\r
159   }\r
160 \r
161   public void setEventType(String eventType) {\r
162     this.eventType = eventType;\r
163   }\r
164 \r
165   public String getNfNamingCode() {\r
166     return nfNamingCode;\r
167   }\r
168 \r
169   public void setNfNamingCode(String nfNamingCode) {\r
170     this.nfNamingCode = nfNamingCode;\r
171   }\r
172 \r
173   public String getReportingEntityId() {\r
174     return reportingEntityId;\r
175   }\r
176 \r
177   public void setReportingEntityId(String reportingEntityId) {\r
178     this.reportingEntityId = reportingEntityId;\r
179   }\r
180 \r
181   public String getSourceId() {\r
182     return sourceId;\r
183   }\r
184 \r
185   public void setSourceId(String sourceId) {\r
186     this.sourceId = sourceId;\r
187   }\r
188 \r
189   public String getNfVendorName() {\r
190     return nfVendorName;\r
191   }\r
192 \r
193   public void setNfVendorName(String nfVendorName) {\r
194     this.nfVendorName = nfVendorName;\r
195   }\r
196 \r
197   public String getTimeZoneOffset() {\r
198     return timeZoneOffset;\r
199   }\r
200 \r
201   public void setTimeZoneOffset(String timeZoneOffset) {\r
202     this.timeZoneOffset = timeZoneOffset;\r
203   }\r
204 \r
205   public String getNfcNamingCode() {\r
206     return nfcNamingCode;\r
207   }\r
208 \r
209   public void setNfcNamingCode(String nfcNamingCode) {\r
210     this.nfcNamingCode = nfcNamingCode;\r
211   }\r
212 \r
213 }\r