This repository has been archived by the owner on Aug 21, 2023. It is now read-only.
/
model_event_filter.go
1101 lines (942 loc) · 30.7 KB
/
model_event_filter.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
Nnwdaf_AnalyticsInfo
Nnwdaf_AnalyticsInfo Service API. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
API version: 1.3.0-alpha.1
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package openapi_Nnwdaf_AnalyticsInfo
import (
"encoding/json"
)
// checks if the EventFilter type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &EventFilter{}
// EventFilter Represents the event filters used to identify the requested analytics.
type EventFilter struct {
// FALSE represents not applicable for all slices. TRUE represents applicable for all slices.
AnySlice *bool `json:"anySlice,omitempty"`
// Identification(s) of network slice.
Snssais []Snssai `json:"snssais,omitempty"`
AppIds []string `json:"appIds,omitempty"`
Dnns []string `json:"dnns,omitempty"`
Dnais []string `json:"dnais,omitempty"`
// Identification(s) of LADN DNN to indicate the LADN service area as the AOI.
LadnDnns []string `json:"ladnDnns,omitempty"`
NetworkArea *NetworkAreaInfo `json:"networkArea,omitempty"`
VisitedAreas []NetworkAreaInfo `json:"visitedAreas,omitempty"`
// Unsigned Integer, i.e. only value 0 and integers above 0 are permissible.
MaxTopAppUlNbr *int32 `json:"maxTopAppUlNbr,omitempty"`
// Unsigned Integer, i.e. only value 0 and integers above 0 are permissible.
MaxTopAppDlNbr *int32 `json:"maxTopAppDlNbr,omitempty"`
NfInstanceIds []string `json:"nfInstanceIds,omitempty"`
NfSetIds []string `json:"nfSetIds,omitempty"`
NfTypes []NFType `json:"nfTypes,omitempty"`
NsiIdInfos []NsiIdInfo `json:"nsiIdInfos,omitempty"`
QosRequ *QosRequirement `json:"qosRequ,omitempty"`
NwPerfTypes []NetworkPerfType `json:"nwPerfTypes,omitempty"`
BwRequs []BwRequirement `json:"bwRequs,omitempty"`
ExcepIds []ExceptionId `json:"excepIds,omitempty"`
ExptAnaType *ExpectedAnalyticsType `json:"exptAnaType,omitempty"`
ExptUeBehav *ExpectedUeBehaviourData `json:"exptUeBehav,omitempty"`
RatFreqs []RatFreqInformation `json:"ratFreqs,omitempty"`
DisperReqs []DispersionRequirement `json:"disperReqs,omitempty"`
RedTransReqs []RedundantTransmissionExpReq `json:"redTransReqs,omitempty"`
WlanReqs []WlanPerformanceReq `json:"wlanReqs,omitempty"`
ListOfAnaSubsets []AnalyticsSubset `json:"listOfAnaSubsets,omitempty"`
UpfInfo *UpfInformation `json:"upfInfo,omitempty"`
AppServerAddrs []AddrFqdn `json:"appServerAddrs,omitempty"`
DnPerfReqs []DnPerformanceReq `json:"dnPerfReqs,omitempty"`
}
// NewEventFilter instantiates a new EventFilter object
// This constructor will assign default values to properties that have it defined,
// and makes sure properties required by API are set, but the set of arguments
// will change when the set of required properties is changed
func NewEventFilter() *EventFilter {
this := EventFilter{}
return &this
}
// NewEventFilterWithDefaults instantiates a new EventFilter object
// This constructor will only assign default values to properties that have it defined,
// but it doesn't guarantee that properties required by API are set
func NewEventFilterWithDefaults() *EventFilter {
this := EventFilter{}
return &this
}
// GetAnySlice returns the AnySlice field value if set, zero value otherwise.
func (o *EventFilter) GetAnySlice() bool {
if o == nil || IsNil(o.AnySlice) {
var ret bool
return ret
}
return *o.AnySlice
}
// GetAnySliceOk returns a tuple with the AnySlice field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventFilter) GetAnySliceOk() (*bool, bool) {
if o == nil || IsNil(o.AnySlice) {
return nil, false
}
return o.AnySlice, true
}
// HasAnySlice returns a boolean if a field has been set.
func (o *EventFilter) HasAnySlice() bool {
if o != nil && !IsNil(o.AnySlice) {
return true
}
return false
}
// SetAnySlice gets a reference to the given bool and assigns it to the AnySlice field.
func (o *EventFilter) SetAnySlice(v bool) {
o.AnySlice = &v
}
// GetSnssais returns the Snssais field value if set, zero value otherwise.
func (o *EventFilter) GetSnssais() []Snssai {
if o == nil || IsNil(o.Snssais) {
var ret []Snssai
return ret
}
return o.Snssais
}
// GetSnssaisOk returns a tuple with the Snssais field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventFilter) GetSnssaisOk() ([]Snssai, bool) {
if o == nil || IsNil(o.Snssais) {
return nil, false
}
return o.Snssais, true
}
// HasSnssais returns a boolean if a field has been set.
func (o *EventFilter) HasSnssais() bool {
if o != nil && !IsNil(o.Snssais) {
return true
}
return false
}
// SetSnssais gets a reference to the given []Snssai and assigns it to the Snssais field.
func (o *EventFilter) SetSnssais(v []Snssai) {
o.Snssais = v
}
// GetAppIds returns the AppIds field value if set, zero value otherwise.
func (o *EventFilter) GetAppIds() []string {
if o == nil || IsNil(o.AppIds) {
var ret []string
return ret
}
return o.AppIds
}
// GetAppIdsOk returns a tuple with the AppIds field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventFilter) GetAppIdsOk() ([]string, bool) {
if o == nil || IsNil(o.AppIds) {
return nil, false
}
return o.AppIds, true
}
// HasAppIds returns a boolean if a field has been set.
func (o *EventFilter) HasAppIds() bool {
if o != nil && !IsNil(o.AppIds) {
return true
}
return false
}
// SetAppIds gets a reference to the given []string and assigns it to the AppIds field.
func (o *EventFilter) SetAppIds(v []string) {
o.AppIds = v
}
// GetDnns returns the Dnns field value if set, zero value otherwise.
func (o *EventFilter) GetDnns() []string {
if o == nil || IsNil(o.Dnns) {
var ret []string
return ret
}
return o.Dnns
}
// GetDnnsOk returns a tuple with the Dnns field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventFilter) GetDnnsOk() ([]string, bool) {
if o == nil || IsNil(o.Dnns) {
return nil, false
}
return o.Dnns, true
}
// HasDnns returns a boolean if a field has been set.
func (o *EventFilter) HasDnns() bool {
if o != nil && !IsNil(o.Dnns) {
return true
}
return false
}
// SetDnns gets a reference to the given []string and assigns it to the Dnns field.
func (o *EventFilter) SetDnns(v []string) {
o.Dnns = v
}
// GetDnais returns the Dnais field value if set, zero value otherwise.
func (o *EventFilter) GetDnais() []string {
if o == nil || IsNil(o.Dnais) {
var ret []string
return ret
}
return o.Dnais
}
// GetDnaisOk returns a tuple with the Dnais field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventFilter) GetDnaisOk() ([]string, bool) {
if o == nil || IsNil(o.Dnais) {
return nil, false
}
return o.Dnais, true
}
// HasDnais returns a boolean if a field has been set.
func (o *EventFilter) HasDnais() bool {
if o != nil && !IsNil(o.Dnais) {
return true
}
return false
}
// SetDnais gets a reference to the given []string and assigns it to the Dnais field.
func (o *EventFilter) SetDnais(v []string) {
o.Dnais = v
}
// GetLadnDnns returns the LadnDnns field value if set, zero value otherwise.
func (o *EventFilter) GetLadnDnns() []string {
if o == nil || IsNil(o.LadnDnns) {
var ret []string
return ret
}
return o.LadnDnns
}
// GetLadnDnnsOk returns a tuple with the LadnDnns field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventFilter) GetLadnDnnsOk() ([]string, bool) {
if o == nil || IsNil(o.LadnDnns) {
return nil, false
}
return o.LadnDnns, true
}
// HasLadnDnns returns a boolean if a field has been set.
func (o *EventFilter) HasLadnDnns() bool {
if o != nil && !IsNil(o.LadnDnns) {
return true
}
return false
}
// SetLadnDnns gets a reference to the given []string and assigns it to the LadnDnns field.
func (o *EventFilter) SetLadnDnns(v []string) {
o.LadnDnns = v
}
// GetNetworkArea returns the NetworkArea field value if set, zero value otherwise.
func (o *EventFilter) GetNetworkArea() NetworkAreaInfo {
if o == nil || IsNil(o.NetworkArea) {
var ret NetworkAreaInfo
return ret
}
return *o.NetworkArea
}
// GetNetworkAreaOk returns a tuple with the NetworkArea field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventFilter) GetNetworkAreaOk() (*NetworkAreaInfo, bool) {
if o == nil || IsNil(o.NetworkArea) {
return nil, false
}
return o.NetworkArea, true
}
// HasNetworkArea returns a boolean if a field has been set.
func (o *EventFilter) HasNetworkArea() bool {
if o != nil && !IsNil(o.NetworkArea) {
return true
}
return false
}
// SetNetworkArea gets a reference to the given NetworkAreaInfo and assigns it to the NetworkArea field.
func (o *EventFilter) SetNetworkArea(v NetworkAreaInfo) {
o.NetworkArea = &v
}
// GetVisitedAreas returns the VisitedAreas field value if set, zero value otherwise.
func (o *EventFilter) GetVisitedAreas() []NetworkAreaInfo {
if o == nil || IsNil(o.VisitedAreas) {
var ret []NetworkAreaInfo
return ret
}
return o.VisitedAreas
}
// GetVisitedAreasOk returns a tuple with the VisitedAreas field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventFilter) GetVisitedAreasOk() ([]NetworkAreaInfo, bool) {
if o == nil || IsNil(o.VisitedAreas) {
return nil, false
}
return o.VisitedAreas, true
}
// HasVisitedAreas returns a boolean if a field has been set.
func (o *EventFilter) HasVisitedAreas() bool {
if o != nil && !IsNil(o.VisitedAreas) {
return true
}
return false
}
// SetVisitedAreas gets a reference to the given []NetworkAreaInfo and assigns it to the VisitedAreas field.
func (o *EventFilter) SetVisitedAreas(v []NetworkAreaInfo) {
o.VisitedAreas = v
}
// GetMaxTopAppUlNbr returns the MaxTopAppUlNbr field value if set, zero value otherwise.
func (o *EventFilter) GetMaxTopAppUlNbr() int32 {
if o == nil || IsNil(o.MaxTopAppUlNbr) {
var ret int32
return ret
}
return *o.MaxTopAppUlNbr
}
// GetMaxTopAppUlNbrOk returns a tuple with the MaxTopAppUlNbr field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventFilter) GetMaxTopAppUlNbrOk() (*int32, bool) {
if o == nil || IsNil(o.MaxTopAppUlNbr) {
return nil, false
}
return o.MaxTopAppUlNbr, true
}
// HasMaxTopAppUlNbr returns a boolean if a field has been set.
func (o *EventFilter) HasMaxTopAppUlNbr() bool {
if o != nil && !IsNil(o.MaxTopAppUlNbr) {
return true
}
return false
}
// SetMaxTopAppUlNbr gets a reference to the given int32 and assigns it to the MaxTopAppUlNbr field.
func (o *EventFilter) SetMaxTopAppUlNbr(v int32) {
o.MaxTopAppUlNbr = &v
}
// GetMaxTopAppDlNbr returns the MaxTopAppDlNbr field value if set, zero value otherwise.
func (o *EventFilter) GetMaxTopAppDlNbr() int32 {
if o == nil || IsNil(o.MaxTopAppDlNbr) {
var ret int32
return ret
}
return *o.MaxTopAppDlNbr
}
// GetMaxTopAppDlNbrOk returns a tuple with the MaxTopAppDlNbr field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventFilter) GetMaxTopAppDlNbrOk() (*int32, bool) {
if o == nil || IsNil(o.MaxTopAppDlNbr) {
return nil, false
}
return o.MaxTopAppDlNbr, true
}
// HasMaxTopAppDlNbr returns a boolean if a field has been set.
func (o *EventFilter) HasMaxTopAppDlNbr() bool {
if o != nil && !IsNil(o.MaxTopAppDlNbr) {
return true
}
return false
}
// SetMaxTopAppDlNbr gets a reference to the given int32 and assigns it to the MaxTopAppDlNbr field.
func (o *EventFilter) SetMaxTopAppDlNbr(v int32) {
o.MaxTopAppDlNbr = &v
}
// GetNfInstanceIds returns the NfInstanceIds field value if set, zero value otherwise.
func (o *EventFilter) GetNfInstanceIds() []string {
if o == nil || IsNil(o.NfInstanceIds) {
var ret []string
return ret
}
return o.NfInstanceIds
}
// GetNfInstanceIdsOk returns a tuple with the NfInstanceIds field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventFilter) GetNfInstanceIdsOk() ([]string, bool) {
if o == nil || IsNil(o.NfInstanceIds) {
return nil, false
}
return o.NfInstanceIds, true
}
// HasNfInstanceIds returns a boolean if a field has been set.
func (o *EventFilter) HasNfInstanceIds() bool {
if o != nil && !IsNil(o.NfInstanceIds) {
return true
}
return false
}
// SetNfInstanceIds gets a reference to the given []string and assigns it to the NfInstanceIds field.
func (o *EventFilter) SetNfInstanceIds(v []string) {
o.NfInstanceIds = v
}
// GetNfSetIds returns the NfSetIds field value if set, zero value otherwise.
func (o *EventFilter) GetNfSetIds() []string {
if o == nil || IsNil(o.NfSetIds) {
var ret []string
return ret
}
return o.NfSetIds
}
// GetNfSetIdsOk returns a tuple with the NfSetIds field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventFilter) GetNfSetIdsOk() ([]string, bool) {
if o == nil || IsNil(o.NfSetIds) {
return nil, false
}
return o.NfSetIds, true
}
// HasNfSetIds returns a boolean if a field has been set.
func (o *EventFilter) HasNfSetIds() bool {
if o != nil && !IsNil(o.NfSetIds) {
return true
}
return false
}
// SetNfSetIds gets a reference to the given []string and assigns it to the NfSetIds field.
func (o *EventFilter) SetNfSetIds(v []string) {
o.NfSetIds = v
}
// GetNfTypes returns the NfTypes field value if set, zero value otherwise.
func (o *EventFilter) GetNfTypes() []NFType {
if o == nil || IsNil(o.NfTypes) {
var ret []NFType
return ret
}
return o.NfTypes
}
// GetNfTypesOk returns a tuple with the NfTypes field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventFilter) GetNfTypesOk() ([]NFType, bool) {
if o == nil || IsNil(o.NfTypes) {
return nil, false
}
return o.NfTypes, true
}
// HasNfTypes returns a boolean if a field has been set.
func (o *EventFilter) HasNfTypes() bool {
if o != nil && !IsNil(o.NfTypes) {
return true
}
return false
}
// SetNfTypes gets a reference to the given []NFType and assigns it to the NfTypes field.
func (o *EventFilter) SetNfTypes(v []NFType) {
o.NfTypes = v
}
// GetNsiIdInfos returns the NsiIdInfos field value if set, zero value otherwise.
func (o *EventFilter) GetNsiIdInfos() []NsiIdInfo {
if o == nil || IsNil(o.NsiIdInfos) {
var ret []NsiIdInfo
return ret
}
return o.NsiIdInfos
}
// GetNsiIdInfosOk returns a tuple with the NsiIdInfos field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventFilter) GetNsiIdInfosOk() ([]NsiIdInfo, bool) {
if o == nil || IsNil(o.NsiIdInfos) {
return nil, false
}
return o.NsiIdInfos, true
}
// HasNsiIdInfos returns a boolean if a field has been set.
func (o *EventFilter) HasNsiIdInfos() bool {
if o != nil && !IsNil(o.NsiIdInfos) {
return true
}
return false
}
// SetNsiIdInfos gets a reference to the given []NsiIdInfo and assigns it to the NsiIdInfos field.
func (o *EventFilter) SetNsiIdInfos(v []NsiIdInfo) {
o.NsiIdInfos = v
}
// GetQosRequ returns the QosRequ field value if set, zero value otherwise.
func (o *EventFilter) GetQosRequ() QosRequirement {
if o == nil || IsNil(o.QosRequ) {
var ret QosRequirement
return ret
}
return *o.QosRequ
}
// GetQosRequOk returns a tuple with the QosRequ field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventFilter) GetQosRequOk() (*QosRequirement, bool) {
if o == nil || IsNil(o.QosRequ) {
return nil, false
}
return o.QosRequ, true
}
// HasQosRequ returns a boolean if a field has been set.
func (o *EventFilter) HasQosRequ() bool {
if o != nil && !IsNil(o.QosRequ) {
return true
}
return false
}
// SetQosRequ gets a reference to the given QosRequirement and assigns it to the QosRequ field.
func (o *EventFilter) SetQosRequ(v QosRequirement) {
o.QosRequ = &v
}
// GetNwPerfTypes returns the NwPerfTypes field value if set, zero value otherwise.
func (o *EventFilter) GetNwPerfTypes() []NetworkPerfType {
if o == nil || IsNil(o.NwPerfTypes) {
var ret []NetworkPerfType
return ret
}
return o.NwPerfTypes
}
// GetNwPerfTypesOk returns a tuple with the NwPerfTypes field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventFilter) GetNwPerfTypesOk() ([]NetworkPerfType, bool) {
if o == nil || IsNil(o.NwPerfTypes) {
return nil, false
}
return o.NwPerfTypes, true
}
// HasNwPerfTypes returns a boolean if a field has been set.
func (o *EventFilter) HasNwPerfTypes() bool {
if o != nil && !IsNil(o.NwPerfTypes) {
return true
}
return false
}
// SetNwPerfTypes gets a reference to the given []NetworkPerfType and assigns it to the NwPerfTypes field.
func (o *EventFilter) SetNwPerfTypes(v []NetworkPerfType) {
o.NwPerfTypes = v
}
// GetBwRequs returns the BwRequs field value if set, zero value otherwise.
func (o *EventFilter) GetBwRequs() []BwRequirement {
if o == nil || IsNil(o.BwRequs) {
var ret []BwRequirement
return ret
}
return o.BwRequs
}
// GetBwRequsOk returns a tuple with the BwRequs field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventFilter) GetBwRequsOk() ([]BwRequirement, bool) {
if o == nil || IsNil(o.BwRequs) {
return nil, false
}
return o.BwRequs, true
}
// HasBwRequs returns a boolean if a field has been set.
func (o *EventFilter) HasBwRequs() bool {
if o != nil && !IsNil(o.BwRequs) {
return true
}
return false
}
// SetBwRequs gets a reference to the given []BwRequirement and assigns it to the BwRequs field.
func (o *EventFilter) SetBwRequs(v []BwRequirement) {
o.BwRequs = v
}
// GetExcepIds returns the ExcepIds field value if set, zero value otherwise.
func (o *EventFilter) GetExcepIds() []ExceptionId {
if o == nil || IsNil(o.ExcepIds) {
var ret []ExceptionId
return ret
}
return o.ExcepIds
}
// GetExcepIdsOk returns a tuple with the ExcepIds field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventFilter) GetExcepIdsOk() ([]ExceptionId, bool) {
if o == nil || IsNil(o.ExcepIds) {
return nil, false
}
return o.ExcepIds, true
}
// HasExcepIds returns a boolean if a field has been set.
func (o *EventFilter) HasExcepIds() bool {
if o != nil && !IsNil(o.ExcepIds) {
return true
}
return false
}
// SetExcepIds gets a reference to the given []ExceptionId and assigns it to the ExcepIds field.
func (o *EventFilter) SetExcepIds(v []ExceptionId) {
o.ExcepIds = v
}
// GetExptAnaType returns the ExptAnaType field value if set, zero value otherwise.
func (o *EventFilter) GetExptAnaType() ExpectedAnalyticsType {
if o == nil || IsNil(o.ExptAnaType) {
var ret ExpectedAnalyticsType
return ret
}
return *o.ExptAnaType
}
// GetExptAnaTypeOk returns a tuple with the ExptAnaType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventFilter) GetExptAnaTypeOk() (*ExpectedAnalyticsType, bool) {
if o == nil || IsNil(o.ExptAnaType) {
return nil, false
}
return o.ExptAnaType, true
}
// HasExptAnaType returns a boolean if a field has been set.
func (o *EventFilter) HasExptAnaType() bool {
if o != nil && !IsNil(o.ExptAnaType) {
return true
}
return false
}
// SetExptAnaType gets a reference to the given ExpectedAnalyticsType and assigns it to the ExptAnaType field.
func (o *EventFilter) SetExptAnaType(v ExpectedAnalyticsType) {
o.ExptAnaType = &v
}
// GetExptUeBehav returns the ExptUeBehav field value if set, zero value otherwise.
func (o *EventFilter) GetExptUeBehav() ExpectedUeBehaviourData {
if o == nil || IsNil(o.ExptUeBehav) {
var ret ExpectedUeBehaviourData
return ret
}
return *o.ExptUeBehav
}
// GetExptUeBehavOk returns a tuple with the ExptUeBehav field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventFilter) GetExptUeBehavOk() (*ExpectedUeBehaviourData, bool) {
if o == nil || IsNil(o.ExptUeBehav) {
return nil, false
}
return o.ExptUeBehav, true
}
// HasExptUeBehav returns a boolean if a field has been set.
func (o *EventFilter) HasExptUeBehav() bool {
if o != nil && !IsNil(o.ExptUeBehav) {
return true
}
return false
}
// SetExptUeBehav gets a reference to the given ExpectedUeBehaviourData and assigns it to the ExptUeBehav field.
func (o *EventFilter) SetExptUeBehav(v ExpectedUeBehaviourData) {
o.ExptUeBehav = &v
}
// GetRatFreqs returns the RatFreqs field value if set, zero value otherwise.
func (o *EventFilter) GetRatFreqs() []RatFreqInformation {
if o == nil || IsNil(o.RatFreqs) {
var ret []RatFreqInformation
return ret
}
return o.RatFreqs
}
// GetRatFreqsOk returns a tuple with the RatFreqs field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventFilter) GetRatFreqsOk() ([]RatFreqInformation, bool) {
if o == nil || IsNil(o.RatFreqs) {
return nil, false
}
return o.RatFreqs, true
}
// HasRatFreqs returns a boolean if a field has been set.
func (o *EventFilter) HasRatFreqs() bool {
if o != nil && !IsNil(o.RatFreqs) {
return true
}
return false
}
// SetRatFreqs gets a reference to the given []RatFreqInformation and assigns it to the RatFreqs field.
func (o *EventFilter) SetRatFreqs(v []RatFreqInformation) {
o.RatFreqs = v
}
// GetDisperReqs returns the DisperReqs field value if set, zero value otherwise.
func (o *EventFilter) GetDisperReqs() []DispersionRequirement {
if o == nil || IsNil(o.DisperReqs) {
var ret []DispersionRequirement
return ret
}
return o.DisperReqs
}
// GetDisperReqsOk returns a tuple with the DisperReqs field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventFilter) GetDisperReqsOk() ([]DispersionRequirement, bool) {
if o == nil || IsNil(o.DisperReqs) {
return nil, false
}
return o.DisperReqs, true
}
// HasDisperReqs returns a boolean if a field has been set.
func (o *EventFilter) HasDisperReqs() bool {
if o != nil && !IsNil(o.DisperReqs) {
return true
}
return false
}
// SetDisperReqs gets a reference to the given []DispersionRequirement and assigns it to the DisperReqs field.
func (o *EventFilter) SetDisperReqs(v []DispersionRequirement) {
o.DisperReqs = v
}
// GetRedTransReqs returns the RedTransReqs field value if set, zero value otherwise.
func (o *EventFilter) GetRedTransReqs() []RedundantTransmissionExpReq {
if o == nil || IsNil(o.RedTransReqs) {
var ret []RedundantTransmissionExpReq
return ret
}
return o.RedTransReqs
}
// GetRedTransReqsOk returns a tuple with the RedTransReqs field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventFilter) GetRedTransReqsOk() ([]RedundantTransmissionExpReq, bool) {
if o == nil || IsNil(o.RedTransReqs) {
return nil, false
}
return o.RedTransReqs, true
}
// HasRedTransReqs returns a boolean if a field has been set.
func (o *EventFilter) HasRedTransReqs() bool {
if o != nil && !IsNil(o.RedTransReqs) {
return true
}
return false
}
// SetRedTransReqs gets a reference to the given []RedundantTransmissionExpReq and assigns it to the RedTransReqs field.
func (o *EventFilter) SetRedTransReqs(v []RedundantTransmissionExpReq) {
o.RedTransReqs = v
}
// GetWlanReqs returns the WlanReqs field value if set, zero value otherwise.
func (o *EventFilter) GetWlanReqs() []WlanPerformanceReq {
if o == nil || IsNil(o.WlanReqs) {
var ret []WlanPerformanceReq
return ret
}
return o.WlanReqs
}
// GetWlanReqsOk returns a tuple with the WlanReqs field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventFilter) GetWlanReqsOk() ([]WlanPerformanceReq, bool) {
if o == nil || IsNil(o.WlanReqs) {
return nil, false
}
return o.WlanReqs, true
}
// HasWlanReqs returns a boolean if a field has been set.
func (o *EventFilter) HasWlanReqs() bool {
if o != nil && !IsNil(o.WlanReqs) {
return true
}
return false
}
// SetWlanReqs gets a reference to the given []WlanPerformanceReq and assigns it to the WlanReqs field.
func (o *EventFilter) SetWlanReqs(v []WlanPerformanceReq) {
o.WlanReqs = v
}
// GetListOfAnaSubsets returns the ListOfAnaSubsets field value if set, zero value otherwise.
func (o *EventFilter) GetListOfAnaSubsets() []AnalyticsSubset {
if o == nil || IsNil(o.ListOfAnaSubsets) {
var ret []AnalyticsSubset
return ret
}
return o.ListOfAnaSubsets
}
// GetListOfAnaSubsetsOk returns a tuple with the ListOfAnaSubsets field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventFilter) GetListOfAnaSubsetsOk() ([]AnalyticsSubset, bool) {
if o == nil || IsNil(o.ListOfAnaSubsets) {
return nil, false
}
return o.ListOfAnaSubsets, true
}
// HasListOfAnaSubsets returns a boolean if a field has been set.
func (o *EventFilter) HasListOfAnaSubsets() bool {
if o != nil && !IsNil(o.ListOfAnaSubsets) {
return true
}
return false
}
// SetListOfAnaSubsets gets a reference to the given []AnalyticsSubset and assigns it to the ListOfAnaSubsets field.
func (o *EventFilter) SetListOfAnaSubsets(v []AnalyticsSubset) {
o.ListOfAnaSubsets = v
}
// GetUpfInfo returns the UpfInfo field value if set, zero value otherwise.
func (o *EventFilter) GetUpfInfo() UpfInformation {
if o == nil || IsNil(o.UpfInfo) {
var ret UpfInformation
return ret
}
return *o.UpfInfo
}
// GetUpfInfoOk returns a tuple with the UpfInfo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventFilter) GetUpfInfoOk() (*UpfInformation, bool) {
if o == nil || IsNil(o.UpfInfo) {
return nil, false
}
return o.UpfInfo, true
}
// HasUpfInfo returns a boolean if a field has been set.
func (o *EventFilter) HasUpfInfo() bool {
if o != nil && !IsNil(o.UpfInfo) {
return true
}
return false
}
// SetUpfInfo gets a reference to the given UpfInformation and assigns it to the UpfInfo field.
func (o *EventFilter) SetUpfInfo(v UpfInformation) {
o.UpfInfo = &v
}
// GetAppServerAddrs returns the AppServerAddrs field value if set, zero value otherwise.
func (o *EventFilter) GetAppServerAddrs() []AddrFqdn {
if o == nil || IsNil(o.AppServerAddrs) {
var ret []AddrFqdn
return ret
}
return o.AppServerAddrs
}
// GetAppServerAddrsOk returns a tuple with the AppServerAddrs field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventFilter) GetAppServerAddrsOk() ([]AddrFqdn, bool) {
if o == nil || IsNil(o.AppServerAddrs) {
return nil, false
}
return o.AppServerAddrs, true
}
// HasAppServerAddrs returns a boolean if a field has been set.
func (o *EventFilter) HasAppServerAddrs() bool {
if o != nil && !IsNil(o.AppServerAddrs) {
return true
}
return false
}
// SetAppServerAddrs gets a reference to the given []AddrFqdn and assigns it to the AppServerAddrs field.
func (o *EventFilter) SetAppServerAddrs(v []AddrFqdn) {
o.AppServerAddrs = v
}
// GetDnPerfReqs returns the DnPerfReqs field value if set, zero value otherwise.
func (o *EventFilter) GetDnPerfReqs() []DnPerformanceReq {
if o == nil || IsNil(o.DnPerfReqs) {
var ret []DnPerformanceReq
return ret
}
return o.DnPerfReqs
}
// GetDnPerfReqsOk returns a tuple with the DnPerfReqs field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventFilter) GetDnPerfReqsOk() ([]DnPerformanceReq, bool) {
if o == nil || IsNil(o.DnPerfReqs) {
return nil, false
}
return o.DnPerfReqs, true
}
// HasDnPerfReqs returns a boolean if a field has been set.
func (o *EventFilter) HasDnPerfReqs() bool {
if o != nil && !IsNil(o.DnPerfReqs) {
return true
}
return false
}
// SetDnPerfReqs gets a reference to the given []DnPerformanceReq and assigns it to the DnPerfReqs field.
func (o *EventFilter) SetDnPerfReqs(v []DnPerformanceReq) {
o.DnPerfReqs = v
}
func (o EventFilter) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o EventFilter) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
if !IsNil(o.AnySlice) {
toSerialize["anySlice"] = o.AnySlice
}
if !IsNil(o.Snssais) {
toSerialize["snssais"] = o.Snssais
}
if !IsNil(o.AppIds) {
toSerialize["appIds"] = o.AppIds
}
if !IsNil(o.Dnns) {
toSerialize["dnns"] = o.Dnns
}
if !IsNil(o.Dnais) {
toSerialize["dnais"] = o.Dnais
}
if !IsNil(o.LadnDnns) {
toSerialize["ladnDnns"] = o.LadnDnns
}
if !IsNil(o.NetworkArea) {
toSerialize["networkArea"] = o.NetworkArea
}