Include missing mapping of O-RAN fault fields
[ccsdk/features.git] / sdnr / wt / devicemanager-core / model / src / main / java / org / onap / ccsdk / features / sdnr / wt / devicemanager / types / VESCommonEventHeaderPOJO.java
1 /*
2  * ============LICENSE_START=======================================================
3  * ONAP : ccsdk features
4  * ================================================================================
5  * Copyright (C) 2020 highstreet technologies GmbH Intellectual Property.
6  * All rights 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.features.sdnr.wt.devicemanager.types;
23
24 import com.fasterxml.jackson.annotation.JsonIgnore;
25 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
26
27 @JsonPropertyOrder({"domain", "eventId", "eventName", "eventType", "lastEpochMicrosec", "nfcNamingCode", "nfNamingCode",
28         "nfVendorName", "priority", "reportingEntityId", "reportingEntityName", "sequence", "sourceId", "sourceName",
29         "startEpochMicrosec", "timeZoneOffset", "version", "vesEventListenerVersion"})
30
31 public class VESCommonEventHeaderPOJO {
32
33     private String domain = "";
34     private String eventId = "";
35     private String eventName = "";
36     private String eventType = "";
37     private long sequence = 0L;
38     private String priority = "";
39     @JsonIgnore
40     private String reportingEntityId = "";
41     private String reportingEntityName = "";
42     private String sourceId = "";
43     private String sourceName = "";
44     private long startEpochMicrosec = 0L;
45     private long lastEpochMicrosec = 0L;
46     private String nfcNamingCode = "";
47     private String nfNamingCode = "";
48     private String nfVendorName = "";
49     private String timeZoneOffset = "+00:00";
50     private String version = "4.1";
51     private String vesEventListenerVersion = "7.2.1";
52
53     public String getDomain() {
54         return domain;
55     }
56
57     public void setDomain(String domain) {
58         this.domain = domain;
59     }
60
61     public String getEventId() {
62         return eventId;
63     }
64
65     public void setEventId(String eventId) {
66         this.eventId = eventId;
67     }
68
69     public String getEventName() {
70         return eventName;
71     }
72
73     public void setEventName(String eventName) {
74         this.eventName = eventName;
75     }
76
77     public String getEventType() {
78         return eventType;
79     }
80
81     public void setEventType(String eventType) {
82         this.eventType = eventType;
83     }
84
85     public Long getSequence() {
86         return sequence;
87     }
88
89     public void setSequence(long sequenceNo) {
90         this.sequence = sequenceNo;
91     }
92
93     public String getPriority() {
94         return priority;
95     }
96
97     public void setPriority(String priority) {
98         this.priority = priority;
99     }
100
101     public String getReportingEntityId() {
102         return reportingEntityId;
103     }
104
105     public void setReportingEntityId(String reportingEntityId) {
106         this.reportingEntityId = reportingEntityId;
107     }
108
109     public String getReportingEntityName() {
110         return reportingEntityName;
111     }
112
113     public void setReportingEntityName(String reportingEntityName) {
114         this.reportingEntityName = reportingEntityName;
115     }
116
117     public String getSourceId() {
118         return sourceId;
119     }
120
121     public void setSourceId(String sourceId) {
122         this.sourceId = sourceId;
123     }
124
125     public String getSourceName() {
126         return sourceName;
127     }
128
129     public void setSourceName(String sourceName) {
130         this.sourceName = sourceName;
131     }
132
133     public long getStartEpochMicrosec() {
134         return startEpochMicrosec;
135     }
136
137     public void setStartEpochMicrosec(long startEpochMicrosec) {
138         this.startEpochMicrosec = startEpochMicrosec;
139     }
140
141     public long getLastEpochMicrosec() {
142         return lastEpochMicrosec;
143     }
144
145     public void setLastEpochMicrosec(long lastEpochMicrosec) {
146         this.lastEpochMicrosec = lastEpochMicrosec;
147     }
148
149     public String getNfcNamingCode() {
150         return nfcNamingCode;
151     }
152
153     public void setNfcNamingCode(String nfcNamingCode) {
154         this.nfcNamingCode = nfcNamingCode;
155     }
156
157     public String getNfNamingCode() {
158         return nfNamingCode;
159     }
160
161     public void setNfNamingCode(String nfNamingCode) {
162         this.nfNamingCode = nfNamingCode;
163     }
164
165     public String getNfVendorName() {
166         return nfVendorName;
167     }
168
169     public void setNfVendorName(String nfVendorName) {
170         this.nfVendorName = nfVendorName;
171     }
172
173     public String getTimeZoneOffset() {
174         return timeZoneOffset;
175     }
176
177     public void setTimeZoneOffset(String timeZoneOffset) {
178         this.timeZoneOffset = timeZoneOffset;
179     }
180
181     public String getVersion() {
182         return version;
183     }
184
185     public void setVersion(String version) {
186         this.version = version;
187     }
188
189     public String getVesEventListenerVersion() {
190         return vesEventListenerVersion;
191     }
192
193     public void setVesEventListenerVersion(String vesEventListenerVersion) {
194         this.vesEventListenerVersion = vesEventListenerVersion;
195     }
196 }