Resolving warning reported in build - VES Mapper
[dcaegen2/services/mapper.git] / UniversalVesAdapter / src / main / java / org / onap / dcaegen2 / ves / domain / ves70 / MobileFlowFields.java
1 /*\r
2 * ============LICENSE_START=======================================================\r
3 * ONAP : DCAE\r
4 * ================================================================================\r
5 * Copyright 2019 TechMahindra\r
6 *=================================================================================\r
7 * Licensed under the Apache License, Version 2.0 (the "License");\r
8 * you may not use this file except in compliance with the License.\r
9 * You may obtain a copy of the License at\r
10 *\r
11 *     http://www.apache.org/licenses/LICENSE-2.0\r
12 *\r
13 * Unless required by applicable law or agreed to in writing, software\r
14 * distributed under the License is distributed on an "AS IS" BASIS,\r
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
16 * See the License for the specific language governing permissions and\r
17 * limitations under the License.\r
18 * ============LICENSE_END=========================================================\r
19 */\r
20 package org.onap.dcaegen2.ves.domain.ves70;\r
21 \r
22 import java.util.HashMap;\r
23 import java.util.Map;\r
24 import com.fasterxml.jackson.annotation.JsonCreator;\r
25 import com.fasterxml.jackson.annotation.JsonInclude;\r
26 import com.fasterxml.jackson.annotation.JsonProperty;\r
27 import com.fasterxml.jackson.annotation.JsonPropertyDescription;\r
28 import com.fasterxml.jackson.annotation.JsonPropertyOrder;\r
29 import com.fasterxml.jackson.annotation.JsonValue;\r
30 import org.apache.commons.lang.builder.EqualsBuilder;\r
31 import org.apache.commons.lang.builder.HashCodeBuilder;\r
32 import org.apache.commons.lang.builder.ToStringBuilder;\r
33 \r
34 \r
35 /**\r
36  * mobileFlow fields\r
37  * \r
38  */\r
39 @JsonInclude(JsonInclude.Include.NON_NULL)\r
40 @JsonPropertyOrder({\r
41     "additionalFields",\r
42     "applicationType",\r
43     "appProtocolType",\r
44     "appProtocolVersion",\r
45     "cid",\r
46     "connectionType",\r
47     "ecgi",\r
48     "flowDirection",\r
49     "gtpPerFlowMetrics",\r
50     "gtpProtocolType",\r
51     "gtpVersion",\r
52     "httpHeader",\r
53     "imei",\r
54     "imsi",\r
55     "ipProtocolType",\r
56     "ipVersion",\r
57     "lac",\r
58     "mcc",\r
59     "mnc",\r
60     "mobileFlowFieldsVersion",\r
61     "msisdn",\r
62     "otherEndpointIpAddress",\r
63     "otherEndpointPort",\r
64     "otherFunctionalRole",\r
65     "rac",\r
66     "radioAccessTechnology",\r
67     "reportingEndpointIpAddr",\r
68     "reportingEndpointPort",\r
69     "sac",\r
70     "samplingAlgorithm",\r
71     "tac",\r
72     "tunnelId",\r
73     "vlanId"\r
74 })\r
75 public class MobileFlowFields {\r
76 \r
77     /**\r
78      * an associative array which is an array of key:value pairs\r
79      * \r
80      */\r
81     @JsonProperty("additionalFields")\r
82     @JsonPropertyDescription("an associative array which is an array of key:value pairs")\r
83     private AlarmAdditionalInformation additionalFields;\r
84     /**\r
85      * Application type inferred\r
86      * \r
87      */\r
88     @JsonProperty("applicationType")\r
89     @JsonPropertyDescription("Application type inferred")\r
90     private String applicationType;\r
91     /**\r
92      * application protocol\r
93      * \r
94      */\r
95     @JsonProperty("appProtocolType")\r
96     @JsonPropertyDescription("application protocol")\r
97     private String appProtocolType;\r
98     /**\r
99      * application protocol version\r
100      * \r
101      */\r
102     @JsonProperty("appProtocolVersion")\r
103     @JsonPropertyDescription("application protocol version")\r
104     private String appProtocolVersion;\r
105     /**\r
106      * cell id\r
107      * \r
108      */\r
109     @JsonProperty("cid")\r
110     @JsonPropertyDescription("cell id")\r
111     private String cid;\r
112     /**\r
113      * Abbreviation referencing a 3GPP reference point e.g., S1-U, S11, etc\r
114      * \r
115      */\r
116     @JsonProperty("connectionType")\r
117     @JsonPropertyDescription("Abbreviation referencing a 3GPP reference point e.g., S1-U, S11, etc")\r
118     private String connectionType;\r
119     /**\r
120      * Evolved Cell Global Id\r
121      * \r
122      */\r
123     @JsonProperty("ecgi")\r
124     @JsonPropertyDescription("Evolved Cell Global Id")\r
125     private String ecgi;\r
126     /**\r
127      * Flow direction, indicating if the reporting node is the source of the flow or destination for the flow\r
128      * (Required)\r
129      * \r
130      */\r
131     @JsonProperty("flowDirection")\r
132     @JsonPropertyDescription("Flow direction, indicating if the reporting node is the source of the flow or destination for the flow")\r
133     private String flowDirection;\r
134     /**\r
135      * Mobility GTP Protocol per flow metrics\r
136      * (Required)\r
137      * \r
138      */\r
139     @JsonProperty("gtpPerFlowMetrics")\r
140     @JsonPropertyDescription("Mobility GTP Protocol per flow metrics")\r
141     private GtpPerFlowMetrics gtpPerFlowMetrics;\r
142     /**\r
143      * GTP protocol\r
144      * \r
145      */\r
146     @JsonProperty("gtpProtocolType")\r
147     @JsonPropertyDescription("GTP protocol")\r
148     private String gtpProtocolType;\r
149     /**\r
150      * GTP protocol version\r
151      * \r
152      */\r
153     @JsonProperty("gtpVersion")\r
154     @JsonPropertyDescription("GTP protocol version")\r
155     private String gtpVersion;\r
156     /**\r
157      * HTTP request header, if the flow connects to a node referenced by HTTP\r
158      * \r
159      */\r
160     @JsonProperty("httpHeader")\r
161     @JsonPropertyDescription("HTTP request header, if the flow connects to a node referenced by HTTP")\r
162     private String httpHeader;\r
163     /**\r
164      * IMEI for the subscriber UE used in this flow, if the flow connects to a mobile device\r
165      * \r
166      */\r
167     @JsonProperty("imei")\r
168     @JsonPropertyDescription("IMEI for the subscriber UE used in this flow, if the flow connects to a mobile device")\r
169     private String imei;\r
170     /**\r
171      * IMSI for the subscriber UE used in this flow, if the flow connects to a mobile device\r
172      * \r
173      */\r
174     @JsonProperty("imsi")\r
175     @JsonPropertyDescription("IMSI for the subscriber UE used in this flow, if the flow connects to a mobile device")\r
176     private String imsi;\r
177     /**\r
178      * IP protocol type e.g., TCP, UDP, RTP...\r
179      * (Required)\r
180      * \r
181      */\r
182     @JsonProperty("ipProtocolType")\r
183     @JsonPropertyDescription("IP protocol type e.g., TCP, UDP, RTP...")\r
184     private String ipProtocolType;\r
185     /**\r
186      * IP protocol version e.g., IPv4, IPv6\r
187      * (Required)\r
188      * \r
189      */\r
190     @JsonProperty("ipVersion")\r
191     @JsonPropertyDescription("IP protocol version e.g., IPv4, IPv6")\r
192     private String ipVersion;\r
193     /**\r
194      * location area code\r
195      * \r
196      */\r
197     @JsonProperty("lac")\r
198     @JsonPropertyDescription("location area code")\r
199     private String lac;\r
200     /**\r
201      * mobile country code\r
202      * \r
203      */\r
204     @JsonProperty("mcc")\r
205     @JsonPropertyDescription("mobile country code")\r
206     private String mcc;\r
207     /**\r
208      * mobile network code\r
209      * \r
210      */\r
211     @JsonProperty("mnc")\r
212     @JsonPropertyDescription("mobile network code")\r
213     private String mnc;\r
214     /**\r
215      * version of the mobileFlowFields block\r
216      * (Required)\r
217      * \r
218      */\r
219     @JsonProperty("mobileFlowFieldsVersion")\r
220     @JsonPropertyDescription("version of the mobileFlowFields block")\r
221     private MobileFlowFields.MobileFlowFieldsVersion mobileFlowFieldsVersion;\r
222     /**\r
223      * MSISDN for the subscriber UE used in this flow, as an integer, if the flow connects to a mobile device\r
224      * \r
225      */\r
226     @JsonProperty("msisdn")\r
227     @JsonPropertyDescription("MSISDN for the subscriber UE used in this flow, as an integer, if the flow connects to a mobile device")\r
228     private String msisdn;\r
229     /**\r
230      * IP address for the other endpoint, as used for the flow being reported on\r
231      * (Required)\r
232      * \r
233      */\r
234     @JsonProperty("otherEndpointIpAddress")\r
235     @JsonPropertyDescription("IP address for the other endpoint, as used for the flow being reported on")\r
236     private String otherEndpointIpAddress;\r
237     /**\r
238      * IP Port for the reporting entity, as used for the flow being reported on\r
239      * (Required)\r
240      * \r
241      */\r
242     @JsonProperty("otherEndpointPort")\r
243     @JsonPropertyDescription("IP Port for the reporting entity, as used for the flow being reported on")\r
244     private Integer otherEndpointPort;\r
245     /**\r
246      * Functional role of the other endpoint for the flow being reported on e.g., MME, S-GW, P-GW, PCRF...\r
247      * \r
248      */\r
249     @JsonProperty("otherFunctionalRole")\r
250     @JsonPropertyDescription("Functional role of the other endpoint for the flow being reported on e.g., MME, S-GW, P-GW, PCRF...")\r
251     private String otherFunctionalRole;\r
252     /**\r
253      * routing area code\r
254      * \r
255      */\r
256     @JsonProperty("rac")\r
257     @JsonPropertyDescription("routing area code")\r
258     private String rac;\r
259     /**\r
260      * Radio Access Technology e.g., 2G, 3G, LTE\r
261      * \r
262      */\r
263     @JsonProperty("radioAccessTechnology")\r
264     @JsonPropertyDescription("Radio Access Technology e.g., 2G, 3G, LTE")\r
265     private String radioAccessTechnology;\r
266     /**\r
267      * IP address for the reporting entity, as used for the flow being reported on\r
268      * (Required)\r
269      * \r
270      */\r
271     @JsonProperty("reportingEndpointIpAddr")\r
272     @JsonPropertyDescription("IP address for the reporting entity, as used for the flow being reported on")\r
273     private String reportingEndpointIpAddr;\r
274     /**\r
275      * IP port for the reporting entity, as used for the flow being reported on\r
276      * (Required)\r
277      * \r
278      */\r
279     @JsonProperty("reportingEndpointPort")\r
280     @JsonPropertyDescription("IP port for the reporting entity, as used for the flow being reported on")\r
281     private Integer reportingEndpointPort;\r
282     /**\r
283      * service area code\r
284      * \r
285      */\r
286     @JsonProperty("sac")\r
287     @JsonPropertyDescription("service area code")\r
288     private String sac;\r
289     /**\r
290      * Integer identifier for the sampling algorithm or rule being applied in calculating the flow metrics if metrics are calculated based on a sample of packets, or 0 if no sampling is applied\r
291      * \r
292      */\r
293     @JsonProperty("samplingAlgorithm")\r
294     @JsonPropertyDescription("Integer identifier for the sampling algorithm or rule being applied in calculating the flow metrics if metrics are calculated based on a sample of packets, or 0 if no sampling is applied")\r
295     private Integer samplingAlgorithm;\r
296     /**\r
297      * transport area code\r
298      * \r
299      */\r
300     @JsonProperty("tac")\r
301     @JsonPropertyDescription("transport area code")\r
302     private String tac;\r
303     /**\r
304      * tunnel identifier\r
305      * \r
306      */\r
307     @JsonProperty("tunnelId")\r
308     @JsonPropertyDescription("tunnel identifier")\r
309     private String tunnelId;\r
310     /**\r
311      * VLAN identifier used by this flow\r
312      * \r
313      */\r
314     @JsonProperty("vlanId")\r
315     @JsonPropertyDescription("VLAN identifier used by this flow")\r
316     private String vlanId;\r
317 \r
318     /**\r
319      * an associative array which is an array of key:value pairs\r
320      * \r
321      */\r
322     @JsonProperty("additionalFields")\r
323     public AlarmAdditionalInformation getAdditionalFields() {\r
324         return additionalFields;\r
325     }\r
326 \r
327     /**\r
328      * an associative array which is an array of key:value pairs\r
329      * \r
330      */\r
331     @JsonProperty("additionalFields")\r
332     public void setAdditionalFields(AlarmAdditionalInformation additionalFields) {\r
333         this.additionalFields = additionalFields;\r
334     }\r
335 \r
336     /**\r
337      * Application type inferred\r
338      * \r
339      */\r
340     @JsonProperty("applicationType")\r
341     public String getApplicationType() {\r
342         return applicationType;\r
343     }\r
344 \r
345     /**\r
346      * Application type inferred\r
347      * \r
348      */\r
349     @JsonProperty("applicationType")\r
350     public void setApplicationType(String applicationType) {\r
351         this.applicationType = applicationType;\r
352     }\r
353 \r
354     /**\r
355      * application protocol\r
356      * \r
357      */\r
358     @JsonProperty("appProtocolType")\r
359     public String getAppProtocolType() {\r
360         return appProtocolType;\r
361     }\r
362 \r
363     /**\r
364      * application protocol\r
365      * \r
366      */\r
367     @JsonProperty("appProtocolType")\r
368     public void setAppProtocolType(String appProtocolType) {\r
369         this.appProtocolType = appProtocolType;\r
370     }\r
371 \r
372     /**\r
373      * application protocol version\r
374      * \r
375      */\r
376     @JsonProperty("appProtocolVersion")\r
377     public String getAppProtocolVersion() {\r
378         return appProtocolVersion;\r
379     }\r
380 \r
381     /**\r
382      * application protocol version\r
383      * \r
384      */\r
385     @JsonProperty("appProtocolVersion")\r
386     public void setAppProtocolVersion(String appProtocolVersion) {\r
387         this.appProtocolVersion = appProtocolVersion;\r
388     }\r
389 \r
390     /**\r
391      * cell id\r
392      * \r
393      */\r
394     @JsonProperty("cid")\r
395     public String getCid() {\r
396         return cid;\r
397     }\r
398 \r
399     /**\r
400      * cell id\r
401      * \r
402      */\r
403     @JsonProperty("cid")\r
404     public void setCid(String cid) {\r
405         this.cid = cid;\r
406     }\r
407 \r
408     /**\r
409      * Abbreviation referencing a 3GPP reference point e.g., S1-U, S11, etc\r
410      * \r
411      */\r
412     @JsonProperty("connectionType")\r
413     public String getConnectionType() {\r
414         return connectionType;\r
415     }\r
416 \r
417     /**\r
418      * Abbreviation referencing a 3GPP reference point e.g., S1-U, S11, etc\r
419      * \r
420      */\r
421     @JsonProperty("connectionType")\r
422     public void setConnectionType(String connectionType) {\r
423         this.connectionType = connectionType;\r
424     }\r
425 \r
426     /**\r
427      * Evolved Cell Global Id\r
428      * \r
429      */\r
430     @JsonProperty("ecgi")\r
431     public String getEcgi() {\r
432         return ecgi;\r
433     }\r
434 \r
435     /**\r
436      * Evolved Cell Global Id\r
437      * \r
438      */\r
439     @JsonProperty("ecgi")\r
440     public void setEcgi(String ecgi) {\r
441         this.ecgi = ecgi;\r
442     }\r
443 \r
444     /**\r
445      * Flow direction, indicating if the reporting node is the source of the flow or destination for the flow\r
446      * (Required)\r
447      * \r
448      */\r
449     @JsonProperty("flowDirection")\r
450     public String getFlowDirection() {\r
451         return flowDirection;\r
452     }\r
453 \r
454     /**\r
455      * Flow direction, indicating if the reporting node is the source of the flow or destination for the flow\r
456      * (Required)\r
457      * \r
458      */\r
459     @JsonProperty("flowDirection")\r
460     public void setFlowDirection(String flowDirection) {\r
461         this.flowDirection = flowDirection;\r
462     }\r
463 \r
464     /**\r
465      * Mobility GTP Protocol per flow metrics\r
466      * (Required)\r
467      * \r
468      */\r
469     @JsonProperty("gtpPerFlowMetrics")\r
470     public GtpPerFlowMetrics getGtpPerFlowMetrics() {\r
471         return gtpPerFlowMetrics;\r
472     }\r
473 \r
474     /**\r
475      * Mobility GTP Protocol per flow metrics\r
476      * (Required)\r
477      * \r
478      */\r
479     @JsonProperty("gtpPerFlowMetrics")\r
480     public void setGtpPerFlowMetrics(GtpPerFlowMetrics gtpPerFlowMetrics) {\r
481         this.gtpPerFlowMetrics = gtpPerFlowMetrics;\r
482     }\r
483 \r
484     /**\r
485      * GTP protocol\r
486      * \r
487      */\r
488     @JsonProperty("gtpProtocolType")\r
489     public String getGtpProtocolType() {\r
490         return gtpProtocolType;\r
491     }\r
492 \r
493     /**\r
494      * GTP protocol\r
495      * \r
496      */\r
497     @JsonProperty("gtpProtocolType")\r
498     public void setGtpProtocolType(String gtpProtocolType) {\r
499         this.gtpProtocolType = gtpProtocolType;\r
500     }\r
501 \r
502     /**\r
503      * GTP protocol version\r
504      * \r
505      */\r
506     @JsonProperty("gtpVersion")\r
507     public String getGtpVersion() {\r
508         return gtpVersion;\r
509     }\r
510 \r
511     /**\r
512      * GTP protocol version\r
513      * \r
514      */\r
515     @JsonProperty("gtpVersion")\r
516     public void setGtpVersion(String gtpVersion) {\r
517         this.gtpVersion = gtpVersion;\r
518     }\r
519 \r
520     /**\r
521      * HTTP request header, if the flow connects to a node referenced by HTTP\r
522      * \r
523      */\r
524     @JsonProperty("httpHeader")\r
525     public String getHttpHeader() {\r
526         return httpHeader;\r
527     }\r
528 \r
529     /**\r
530      * HTTP request header, if the flow connects to a node referenced by HTTP\r
531      * \r
532      */\r
533     @JsonProperty("httpHeader")\r
534     public void setHttpHeader(String httpHeader) {\r
535         this.httpHeader = httpHeader;\r
536     }\r
537 \r
538     /**\r
539      * IMEI for the subscriber UE used in this flow, if the flow connects to a mobile device\r
540      * \r
541      */\r
542     @JsonProperty("imei")\r
543     public String getImei() {\r
544         return imei;\r
545     }\r
546 \r
547     /**\r
548      * IMEI for the subscriber UE used in this flow, if the flow connects to a mobile device\r
549      * \r
550      */\r
551     @JsonProperty("imei")\r
552     public void setImei(String imei) {\r
553         this.imei = imei;\r
554     }\r
555 \r
556     /**\r
557      * IMSI for the subscriber UE used in this flow, if the flow connects to a mobile device\r
558      * \r
559      */\r
560     @JsonProperty("imsi")\r
561     public String getImsi() {\r
562         return imsi;\r
563     }\r
564 \r
565     /**\r
566      * IMSI for the subscriber UE used in this flow, if the flow connects to a mobile device\r
567      * \r
568      */\r
569     @JsonProperty("imsi")\r
570     public void setImsi(String imsi) {\r
571         this.imsi = imsi;\r
572     }\r
573 \r
574     /**\r
575      * IP protocol type e.g., TCP, UDP, RTP...\r
576      * (Required)\r
577      * \r
578      */\r
579     @JsonProperty("ipProtocolType")\r
580     public String getIpProtocolType() {\r
581         return ipProtocolType;\r
582     }\r
583 \r
584     /**\r
585      * IP protocol type e.g., TCP, UDP, RTP...\r
586      * (Required)\r
587      * \r
588      */\r
589     @JsonProperty("ipProtocolType")\r
590     public void setIpProtocolType(String ipProtocolType) {\r
591         this.ipProtocolType = ipProtocolType;\r
592     }\r
593 \r
594     /**\r
595      * IP protocol version e.g., IPv4, IPv6\r
596      * (Required)\r
597      * \r
598      */\r
599     @JsonProperty("ipVersion")\r
600     public String getIpVersion() {\r
601         return ipVersion;\r
602     }\r
603 \r
604     /**\r
605      * IP protocol version e.g., IPv4, IPv6\r
606      * (Required)\r
607      * \r
608      */\r
609     @JsonProperty("ipVersion")\r
610     public void setIpVersion(String ipVersion) {\r
611         this.ipVersion = ipVersion;\r
612     }\r
613 \r
614     /**\r
615      * location area code\r
616      * \r
617      */\r
618     @JsonProperty("lac")\r
619     public String getLac() {\r
620         return lac;\r
621     }\r
622 \r
623     /**\r
624      * location area code\r
625      * \r
626      */\r
627     @JsonProperty("lac")\r
628     public void setLac(String lac) {\r
629         this.lac = lac;\r
630     }\r
631 \r
632     /**\r
633      * mobile country code\r
634      * \r
635      */\r
636     @JsonProperty("mcc")\r
637     public String getMcc() {\r
638         return mcc;\r
639     }\r
640 \r
641     /**\r
642      * mobile country code\r
643      * \r
644      */\r
645     @JsonProperty("mcc")\r
646     public void setMcc(String mcc) {\r
647         this.mcc = mcc;\r
648     }\r
649 \r
650     /**\r
651      * mobile network code\r
652      * \r
653      */\r
654     @JsonProperty("mnc")\r
655     public String getMnc() {\r
656         return mnc;\r
657     }\r
658 \r
659     /**\r
660      * mobile network code\r
661      * \r
662      */\r
663     @JsonProperty("mnc")\r
664     public void setMnc(String mnc) {\r
665         this.mnc = mnc;\r
666     }\r
667 \r
668     /**\r
669      * version of the mobileFlowFields block\r
670      * (Required)\r
671      * \r
672      */\r
673     @JsonProperty("mobileFlowFieldsVersion")\r
674     public MobileFlowFields.MobileFlowFieldsVersion getMobileFlowFieldsVersion() {\r
675         return mobileFlowFieldsVersion;\r
676     }\r
677 \r
678     /**\r
679      * version of the mobileFlowFields block\r
680      * (Required)\r
681      * \r
682      */\r
683     @JsonProperty("mobileFlowFieldsVersion")\r
684     public void setMobileFlowFieldsVersion(MobileFlowFields.MobileFlowFieldsVersion mobileFlowFieldsVersion) {\r
685         this.mobileFlowFieldsVersion = mobileFlowFieldsVersion;\r
686     }\r
687 \r
688     /**\r
689      * MSISDN for the subscriber UE used in this flow, as an integer, if the flow connects to a mobile device\r
690      * \r
691      */\r
692     @JsonProperty("msisdn")\r
693     public String getMsisdn() {\r
694         return msisdn;\r
695     }\r
696 \r
697     /**\r
698      * MSISDN for the subscriber UE used in this flow, as an integer, if the flow connects to a mobile device\r
699      * \r
700      */\r
701     @JsonProperty("msisdn")\r
702     public void setMsisdn(String msisdn) {\r
703         this.msisdn = msisdn;\r
704     }\r
705 \r
706     /**\r
707      * IP address for the other endpoint, as used for the flow being reported on\r
708      * (Required)\r
709      * \r
710      */\r
711     @JsonProperty("otherEndpointIpAddress")\r
712     public String getOtherEndpointIpAddress() {\r
713         return otherEndpointIpAddress;\r
714     }\r
715 \r
716     /**\r
717      * IP address for the other endpoint, as used for the flow being reported on\r
718      * (Required)\r
719      * \r
720      */\r
721     @JsonProperty("otherEndpointIpAddress")\r
722     public void setOtherEndpointIpAddress(String otherEndpointIpAddress) {\r
723         this.otherEndpointIpAddress = otherEndpointIpAddress;\r
724     }\r
725 \r
726     /**\r
727      * IP Port for the reporting entity, as used for the flow being reported on\r
728      * (Required)\r
729      * \r
730      */\r
731     @JsonProperty("otherEndpointPort")\r
732     public Integer getOtherEndpointPort() {\r
733         return otherEndpointPort;\r
734     }\r
735 \r
736     /**\r
737      * IP Port for the reporting entity, as used for the flow being reported on\r
738      * (Required)\r
739      * \r
740      */\r
741     @JsonProperty("otherEndpointPort")\r
742     public void setOtherEndpointPort(Integer otherEndpointPort) {\r
743         this.otherEndpointPort = otherEndpointPort;\r
744     }\r
745 \r
746     /**\r
747      * Functional role of the other endpoint for the flow being reported on e.g., MME, S-GW, P-GW, PCRF...\r
748      * \r
749      */\r
750     @JsonProperty("otherFunctionalRole")\r
751     public String getOtherFunctionalRole() {\r
752         return otherFunctionalRole;\r
753     }\r
754 \r
755     /**\r
756      * Functional role of the other endpoint for the flow being reported on e.g., MME, S-GW, P-GW, PCRF...\r
757      * \r
758      */\r
759     @JsonProperty("otherFunctionalRole")\r
760     public void setOtherFunctionalRole(String otherFunctionalRole) {\r
761         this.otherFunctionalRole = otherFunctionalRole;\r
762     }\r
763 \r
764     /**\r
765      * routing area code\r
766      * \r
767      */\r
768     @JsonProperty("rac")\r
769     public String getRac() {\r
770         return rac;\r
771     }\r
772 \r
773     /**\r
774      * routing area code\r
775      * \r
776      */\r
777     @JsonProperty("rac")\r
778     public void setRac(String rac) {\r
779         this.rac = rac;\r
780     }\r
781 \r
782     /**\r
783      * Radio Access Technology e.g., 2G, 3G, LTE\r
784      * \r
785      */\r
786     @JsonProperty("radioAccessTechnology")\r
787     public String getRadioAccessTechnology() {\r
788         return radioAccessTechnology;\r
789     }\r
790 \r
791     /**\r
792      * Radio Access Technology e.g., 2G, 3G, LTE\r
793      * \r
794      */\r
795     @JsonProperty("radioAccessTechnology")\r
796     public void setRadioAccessTechnology(String radioAccessTechnology) {\r
797         this.radioAccessTechnology = radioAccessTechnology;\r
798     }\r
799 \r
800     /**\r
801      * IP address for the reporting entity, as used for the flow being reported on\r
802      * (Required)\r
803      * \r
804      */\r
805     @JsonProperty("reportingEndpointIpAddr")\r
806     public String getReportingEndpointIpAddr() {\r
807         return reportingEndpointIpAddr;\r
808     }\r
809 \r
810     /**\r
811      * IP address for the reporting entity, as used for the flow being reported on\r
812      * (Required)\r
813      * \r
814      */\r
815     @JsonProperty("reportingEndpointIpAddr")\r
816     public void setReportingEndpointIpAddr(String reportingEndpointIpAddr) {\r
817         this.reportingEndpointIpAddr = reportingEndpointIpAddr;\r
818     }\r
819 \r
820     /**\r
821      * IP port for the reporting entity, as used for the flow being reported on\r
822      * (Required)\r
823      * \r
824      */\r
825     @JsonProperty("reportingEndpointPort")\r
826     public Integer getReportingEndpointPort() {\r
827         return reportingEndpointPort;\r
828     }\r
829 \r
830     /**\r
831      * IP port for the reporting entity, as used for the flow being reported on\r
832      * (Required)\r
833      * \r
834      */\r
835     @JsonProperty("reportingEndpointPort")\r
836     public void setReportingEndpointPort(Integer reportingEndpointPort) {\r
837         this.reportingEndpointPort = reportingEndpointPort;\r
838     }\r
839 \r
840     /**\r
841      * service area code\r
842      * \r
843      */\r
844     @JsonProperty("sac")\r
845     public String getSac() {\r
846         return sac;\r
847     }\r
848 \r
849     /**\r
850      * service area code\r
851      * \r
852      */\r
853     @JsonProperty("sac")\r
854     public void setSac(String sac) {\r
855         this.sac = sac;\r
856     }\r
857 \r
858     /**\r
859      * Integer identifier for the sampling algorithm or rule being applied in calculating the flow metrics if metrics are calculated based on a sample of packets, or 0 if no sampling is applied\r
860      * \r
861      */\r
862     @JsonProperty("samplingAlgorithm")\r
863     public Integer getSamplingAlgorithm() {\r
864         return samplingAlgorithm;\r
865     }\r
866 \r
867     /**\r
868      * Integer identifier for the sampling algorithm or rule being applied in calculating the flow metrics if metrics are calculated based on a sample of packets, or 0 if no sampling is applied\r
869      * \r
870      */\r
871     @JsonProperty("samplingAlgorithm")\r
872     public void setSamplingAlgorithm(Integer samplingAlgorithm) {\r
873         this.samplingAlgorithm = samplingAlgorithm;\r
874     }\r
875 \r
876     /**\r
877      * transport area code\r
878      * \r
879      */\r
880     @JsonProperty("tac")\r
881     public String getTac() {\r
882         return tac;\r
883     }\r
884 \r
885     /**\r
886      * transport area code\r
887      * \r
888      */\r
889     @JsonProperty("tac")\r
890     public void setTac(String tac) {\r
891         this.tac = tac;\r
892     }\r
893 \r
894     /**\r
895      * tunnel identifier\r
896      * \r
897      */\r
898     @JsonProperty("tunnelId")\r
899     public String getTunnelId() {\r
900         return tunnelId;\r
901     }\r
902 \r
903     /**\r
904      * tunnel identifier\r
905      * \r
906      */\r
907     @JsonProperty("tunnelId")\r
908     public void setTunnelId(String tunnelId) {\r
909         this.tunnelId = tunnelId;\r
910     }\r
911 \r
912     /**\r
913      * VLAN identifier used by this flow\r
914      * \r
915      */\r
916     @JsonProperty("vlanId")\r
917     public String getVlanId() {\r
918         return vlanId;\r
919     }\r
920 \r
921     /**\r
922      * VLAN identifier used by this flow\r
923      * \r
924      */\r
925     @JsonProperty("vlanId")\r
926     public void setVlanId(String vlanId) {\r
927         this.vlanId = vlanId;\r
928     }\r
929 \r
930     @Override\r
931     public String toString() {\r
932         return ToStringBuilder.reflectionToString(this);\r
933     }\r
934 \r
935     @Override\r
936     public int hashCode() {\r
937         return new HashCodeBuilder().append(additionalFields).append(applicationType).append(appProtocolType).append(appProtocolVersion).append(cid).append(connectionType).append(ecgi).append(flowDirection).append(gtpPerFlowMetrics).append(gtpProtocolType).append(gtpVersion).append(httpHeader).append(imei).append(imsi).append(ipProtocolType).append(ipVersion).append(lac).append(mcc).append(mnc).append(mobileFlowFieldsVersion).append(msisdn).append(otherEndpointIpAddress).append(otherEndpointPort).append(otherFunctionalRole).append(rac).append(radioAccessTechnology).append(reportingEndpointIpAddr).append(reportingEndpointPort).append(sac).append(samplingAlgorithm).append(tac).append(tunnelId).append(vlanId).toHashCode();\r
938     }\r
939 \r
940     @Override\r
941     public boolean equals(Object other) {\r
942         if (other == this) {\r
943             return true;\r
944         }\r
945         if ((other instanceof MobileFlowFields) == false) {\r
946             return false;\r
947         }\r
948         MobileFlowFields rhs = ((MobileFlowFields) other);\r
949         return new EqualsBuilder().append(additionalFields, rhs.additionalFields).append(applicationType, rhs.applicationType).append(appProtocolType, rhs.appProtocolType).append(appProtocolVersion, rhs.appProtocolVersion).append(cid, rhs.cid).append(connectionType, rhs.connectionType).append(ecgi, rhs.ecgi).append(flowDirection, rhs.flowDirection).append(gtpPerFlowMetrics, rhs.gtpPerFlowMetrics).append(gtpProtocolType, rhs.gtpProtocolType).append(gtpVersion, rhs.gtpVersion).append(httpHeader, rhs.httpHeader).append(imei, rhs.imei).append(imsi, rhs.imsi).append(ipProtocolType, rhs.ipProtocolType).append(ipVersion, rhs.ipVersion).append(lac, rhs.lac).append(mcc, rhs.mcc).append(mnc, rhs.mnc).append(mobileFlowFieldsVersion, rhs.mobileFlowFieldsVersion).append(msisdn, rhs.msisdn).append(otherEndpointIpAddress, rhs.otherEndpointIpAddress).append(otherEndpointPort, rhs.otherEndpointPort).append(otherFunctionalRole, rhs.otherFunctionalRole).append(rac, rhs.rac).append(radioAccessTechnology, rhs.radioAccessTechnology).append(reportingEndpointIpAddr, rhs.reportingEndpointIpAddr).append(reportingEndpointPort, rhs.reportingEndpointPort).append(sac, rhs.sac).append(samplingAlgorithm, rhs.samplingAlgorithm).append(tac, rhs.tac).append(tunnelId, rhs.tunnelId).append(vlanId, rhs.vlanId).isEquals();\r
950     }\r
951 \r
952     public enum MobileFlowFieldsVersion {\r
953 \r
954         _4_0("4.0");\r
955         private final String value;\r
956         private final static Map<String, MobileFlowFields.MobileFlowFieldsVersion> CONSTANTS = new HashMap<String, MobileFlowFields.MobileFlowFieldsVersion>();\r
957 \r
958         static {\r
959             for (MobileFlowFields.MobileFlowFieldsVersion c: values()) {\r
960                 CONSTANTS.put(c.value, c);\r
961             }\r
962         }\r
963 \r
964         private MobileFlowFieldsVersion(String value) {\r
965             this.value = value;\r
966         }\r
967 \r
968         @Override\r
969         public String toString() {\r
970             return this.value;\r
971         }\r
972 \r
973         @JsonValue\r
974         public String value() {\r
975             return this.value;\r
976         }\r
977 \r
978         @JsonCreator\r
979         public static MobileFlowFields.MobileFlowFieldsVersion fromValue(String value) {\r
980             MobileFlowFields.MobileFlowFieldsVersion constant = CONSTANTS.get(value);\r
981             if (constant == null) {\r
982                 throw new IllegalArgumentException(value);\r
983             } else {\r
984                 return constant;\r
985             }\r
986         }\r
987 \r
988     }\r
989 \r
990 }\r