This repository has been archived by the owner on Aug 21, 2023. It is now read-only.
/
model_event_subscription.go
1529 lines (1311 loc) · 45 KB
/
model_event_subscription.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_DataManagement
Nnwdaf_DataManagement API Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
API version: 1.1.0-alpha.1
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package openapi_Nnwdaf_DataManagement
import (
"encoding/json"
)
// checks if the EventSubscription type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &EventSubscription{}
// EventSubscription Represents a subscription to a single event.
type EventSubscription struct {
// FALSE represents not applicable for all slices. TRUE represents applicable for all slices.
AnySlice *bool `json:"anySlice,omitempty"`
// Identification(s) of application to which the subscription applies.
AppIds []string `json:"appIds,omitempty"`
// Identification(s) of DNN to which the subscription applies.
Dnns []string `json:"dnns,omitempty"`
Dnais []string `json:"dnais,omitempty"`
Event NwdafEvent `json:"event"`
ExtraReportReq *EventReportingRequirement `json:"extraReportReq,omitempty"`
// Identification(s) of LADN DNN to indicate the LADN service area as the AOI.
LadnDnns []string `json:"ladnDnns,omitempty"`
// Indicates that the NWDAF shall report the corresponding network slice load level to the NF service consumer where the load level of the network slice identified by snssais is reached.
LoadLevelThreshold *int32 `json:"loadLevelThreshold,omitempty"`
NotificationMethod *NotificationMethod `json:"notificationMethod,omitempty"`
MatchingDir *MatchingDirection `json:"matchingDir,omitempty"`
// Shall be supplied in order to start reporting when an average load level is reached.
NfLoadLvlThds []ThresholdLevel `json:"nfLoadLvlThds,omitempty"`
NfInstanceIds []string `json:"nfInstanceIds,omitempty"`
NfSetIds []string `json:"nfSetIds,omitempty"`
NfTypes []NFType `json:"nfTypes,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"`
NsiIdInfos []NsiIdInfo `json:"nsiIdInfos,omitempty"`
NsiLevelThrds []int32 `json:"nsiLevelThrds,omitempty"`
QosRequ *QosRequirement `json:"qosRequ,omitempty"`
QosFlowRetThds []RetainabilityThreshold `json:"qosFlowRetThds,omitempty"`
RanUeThrouThds []string `json:"ranUeThrouThds,omitempty"`
// indicating a time in seconds.
RepetitionPeriod *int32 `json:"repetitionPeriod,omitempty"`
// Identification(s) of network slice to which the subscription applies. It corresponds to snssais in the data model definition of 3GPP TS 29.520.
Snssaia []Snssai `json:"snssaia,omitempty"`
TgtUe *TargetUeInformation `json:"tgtUe,omitempty"`
CongThresholds []ThresholdLevel `json:"congThresholds,omitempty"`
NwPerfRequs []NetworkPerfRequirement `json:"nwPerfRequs,omitempty"`
BwRequs []BwRequirement `json:"bwRequs,omitempty"`
ExcepRequs []Exception `json:"excepRequs,omitempty"`
ExptAnaType *ExpectedAnalyticsType `json:"exptAnaType,omitempty"`
ExptUeBehav *ExpectedUeBehaviourData `json:"exptUeBehav,omitempty"`
RatFreqs []RatFreqInformation `json:"ratFreqs,omitempty"`
ListOfAnaSubsets []AnalyticsSubset `json:"listOfAnaSubsets,omitempty"`
DisperReqs []DispersionRequirement `json:"disperReqs,omitempty"`
RedTransReqs []RedundantTransmissionExpReq `json:"redTransReqs,omitempty"`
WlanReqs []WlanPerformanceReq `json:"wlanReqs,omitempty"`
UpfInfo *UpfInformation `json:"upfInfo,omitempty"`
AppServerAddrs []AddrFqdn `json:"appServerAddrs,omitempty"`
DnPerfReqs []DnPerformanceReq `json:"dnPerfReqs,omitempty"`
}
// NewEventSubscription instantiates a new EventSubscription 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 NewEventSubscription(event NwdafEvent) *EventSubscription {
this := EventSubscription{}
this.Event = event
return &this
}
// NewEventSubscriptionWithDefaults instantiates a new EventSubscription 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 NewEventSubscriptionWithDefaults() *EventSubscription {
this := EventSubscription{}
return &this
}
// GetAnySlice returns the AnySlice field value if set, zero value otherwise.
func (o *EventSubscription) 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 *EventSubscription) 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 *EventSubscription) 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 *EventSubscription) SetAnySlice(v bool) {
o.AnySlice = &v
}
// GetAppIds returns the AppIds field value if set, zero value otherwise.
func (o *EventSubscription) 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 *EventSubscription) 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 *EventSubscription) 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 *EventSubscription) SetAppIds(v []string) {
o.AppIds = v
}
// GetDnns returns the Dnns field value if set, zero value otherwise.
func (o *EventSubscription) 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 *EventSubscription) 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 *EventSubscription) 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 *EventSubscription) SetDnns(v []string) {
o.Dnns = v
}
// GetDnais returns the Dnais field value if set, zero value otherwise.
func (o *EventSubscription) 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 *EventSubscription) 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 *EventSubscription) 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 *EventSubscription) SetDnais(v []string) {
o.Dnais = v
}
// GetEvent returns the Event field value
func (o *EventSubscription) GetEvent() NwdafEvent {
if o == nil {
var ret NwdafEvent
return ret
}
return o.Event
}
// GetEventOk returns a tuple with the Event field value
// and a boolean to check if the value has been set.
func (o *EventSubscription) GetEventOk() (*NwdafEvent, bool) {
if o == nil {
return nil, false
}
return &o.Event, true
}
// SetEvent sets field value
func (o *EventSubscription) SetEvent(v NwdafEvent) {
o.Event = v
}
// GetExtraReportReq returns the ExtraReportReq field value if set, zero value otherwise.
func (o *EventSubscription) GetExtraReportReq() EventReportingRequirement {
if o == nil || IsNil(o.ExtraReportReq) {
var ret EventReportingRequirement
return ret
}
return *o.ExtraReportReq
}
// GetExtraReportReqOk returns a tuple with the ExtraReportReq field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventSubscription) GetExtraReportReqOk() (*EventReportingRequirement, bool) {
if o == nil || IsNil(o.ExtraReportReq) {
return nil, false
}
return o.ExtraReportReq, true
}
// HasExtraReportReq returns a boolean if a field has been set.
func (o *EventSubscription) HasExtraReportReq() bool {
if o != nil && !IsNil(o.ExtraReportReq) {
return true
}
return false
}
// SetExtraReportReq gets a reference to the given EventReportingRequirement and assigns it to the ExtraReportReq field.
func (o *EventSubscription) SetExtraReportReq(v EventReportingRequirement) {
o.ExtraReportReq = &v
}
// GetLadnDnns returns the LadnDnns field value if set, zero value otherwise.
func (o *EventSubscription) 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 *EventSubscription) 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 *EventSubscription) 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 *EventSubscription) SetLadnDnns(v []string) {
o.LadnDnns = v
}
// GetLoadLevelThreshold returns the LoadLevelThreshold field value if set, zero value otherwise.
func (o *EventSubscription) GetLoadLevelThreshold() int32 {
if o == nil || IsNil(o.LoadLevelThreshold) {
var ret int32
return ret
}
return *o.LoadLevelThreshold
}
// GetLoadLevelThresholdOk returns a tuple with the LoadLevelThreshold field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventSubscription) GetLoadLevelThresholdOk() (*int32, bool) {
if o == nil || IsNil(o.LoadLevelThreshold) {
return nil, false
}
return o.LoadLevelThreshold, true
}
// HasLoadLevelThreshold returns a boolean if a field has been set.
func (o *EventSubscription) HasLoadLevelThreshold() bool {
if o != nil && !IsNil(o.LoadLevelThreshold) {
return true
}
return false
}
// SetLoadLevelThreshold gets a reference to the given int32 and assigns it to the LoadLevelThreshold field.
func (o *EventSubscription) SetLoadLevelThreshold(v int32) {
o.LoadLevelThreshold = &v
}
// GetNotificationMethod returns the NotificationMethod field value if set, zero value otherwise.
func (o *EventSubscription) GetNotificationMethod() NotificationMethod {
if o == nil || IsNil(o.NotificationMethod) {
var ret NotificationMethod
return ret
}
return *o.NotificationMethod
}
// GetNotificationMethodOk returns a tuple with the NotificationMethod field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventSubscription) GetNotificationMethodOk() (*NotificationMethod, bool) {
if o == nil || IsNil(o.NotificationMethod) {
return nil, false
}
return o.NotificationMethod, true
}
// HasNotificationMethod returns a boolean if a field has been set.
func (o *EventSubscription) HasNotificationMethod() bool {
if o != nil && !IsNil(o.NotificationMethod) {
return true
}
return false
}
// SetNotificationMethod gets a reference to the given NotificationMethod and assigns it to the NotificationMethod field.
func (o *EventSubscription) SetNotificationMethod(v NotificationMethod) {
o.NotificationMethod = &v
}
// GetMatchingDir returns the MatchingDir field value if set, zero value otherwise.
func (o *EventSubscription) GetMatchingDir() MatchingDirection {
if o == nil || IsNil(o.MatchingDir) {
var ret MatchingDirection
return ret
}
return *o.MatchingDir
}
// GetMatchingDirOk returns a tuple with the MatchingDir field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventSubscription) GetMatchingDirOk() (*MatchingDirection, bool) {
if o == nil || IsNil(o.MatchingDir) {
return nil, false
}
return o.MatchingDir, true
}
// HasMatchingDir returns a boolean if a field has been set.
func (o *EventSubscription) HasMatchingDir() bool {
if o != nil && !IsNil(o.MatchingDir) {
return true
}
return false
}
// SetMatchingDir gets a reference to the given MatchingDirection and assigns it to the MatchingDir field.
func (o *EventSubscription) SetMatchingDir(v MatchingDirection) {
o.MatchingDir = &v
}
// GetNfLoadLvlThds returns the NfLoadLvlThds field value if set, zero value otherwise.
func (o *EventSubscription) GetNfLoadLvlThds() []ThresholdLevel {
if o == nil || IsNil(o.NfLoadLvlThds) {
var ret []ThresholdLevel
return ret
}
return o.NfLoadLvlThds
}
// GetNfLoadLvlThdsOk returns a tuple with the NfLoadLvlThds field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventSubscription) GetNfLoadLvlThdsOk() ([]ThresholdLevel, bool) {
if o == nil || IsNil(o.NfLoadLvlThds) {
return nil, false
}
return o.NfLoadLvlThds, true
}
// HasNfLoadLvlThds returns a boolean if a field has been set.
func (o *EventSubscription) HasNfLoadLvlThds() bool {
if o != nil && !IsNil(o.NfLoadLvlThds) {
return true
}
return false
}
// SetNfLoadLvlThds gets a reference to the given []ThresholdLevel and assigns it to the NfLoadLvlThds field.
func (o *EventSubscription) SetNfLoadLvlThds(v []ThresholdLevel) {
o.NfLoadLvlThds = v
}
// GetNfInstanceIds returns the NfInstanceIds field value if set, zero value otherwise.
func (o *EventSubscription) 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 *EventSubscription) 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 *EventSubscription) 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 *EventSubscription) SetNfInstanceIds(v []string) {
o.NfInstanceIds = v
}
// GetNfSetIds returns the NfSetIds field value if set, zero value otherwise.
func (o *EventSubscription) 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 *EventSubscription) 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 *EventSubscription) 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 *EventSubscription) SetNfSetIds(v []string) {
o.NfSetIds = v
}
// GetNfTypes returns the NfTypes field value if set, zero value otherwise.
func (o *EventSubscription) 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 *EventSubscription) 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 *EventSubscription) 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 *EventSubscription) SetNfTypes(v []NFType) {
o.NfTypes = v
}
// GetNetworkArea returns the NetworkArea field value if set, zero value otherwise.
func (o *EventSubscription) 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 *EventSubscription) 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 *EventSubscription) 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 *EventSubscription) SetNetworkArea(v NetworkAreaInfo) {
o.NetworkArea = &v
}
// GetVisitedAreas returns the VisitedAreas field value if set, zero value otherwise.
func (o *EventSubscription) 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 *EventSubscription) 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 *EventSubscription) 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 *EventSubscription) SetVisitedAreas(v []NetworkAreaInfo) {
o.VisitedAreas = v
}
// GetMaxTopAppUlNbr returns the MaxTopAppUlNbr field value if set, zero value otherwise.
func (o *EventSubscription) 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 *EventSubscription) 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 *EventSubscription) 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 *EventSubscription) SetMaxTopAppUlNbr(v int32) {
o.MaxTopAppUlNbr = &v
}
// GetMaxTopAppDlNbr returns the MaxTopAppDlNbr field value if set, zero value otherwise.
func (o *EventSubscription) 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 *EventSubscription) 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 *EventSubscription) 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 *EventSubscription) SetMaxTopAppDlNbr(v int32) {
o.MaxTopAppDlNbr = &v
}
// GetNsiIdInfos returns the NsiIdInfos field value if set, zero value otherwise.
func (o *EventSubscription) 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 *EventSubscription) 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 *EventSubscription) 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 *EventSubscription) SetNsiIdInfos(v []NsiIdInfo) {
o.NsiIdInfos = v
}
// GetNsiLevelThrds returns the NsiLevelThrds field value if set, zero value otherwise.
func (o *EventSubscription) GetNsiLevelThrds() []int32 {
if o == nil || IsNil(o.NsiLevelThrds) {
var ret []int32
return ret
}
return o.NsiLevelThrds
}
// GetNsiLevelThrdsOk returns a tuple with the NsiLevelThrds field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventSubscription) GetNsiLevelThrdsOk() ([]int32, bool) {
if o == nil || IsNil(o.NsiLevelThrds) {
return nil, false
}
return o.NsiLevelThrds, true
}
// HasNsiLevelThrds returns a boolean if a field has been set.
func (o *EventSubscription) HasNsiLevelThrds() bool {
if o != nil && !IsNil(o.NsiLevelThrds) {
return true
}
return false
}
// SetNsiLevelThrds gets a reference to the given []int32 and assigns it to the NsiLevelThrds field.
func (o *EventSubscription) SetNsiLevelThrds(v []int32) {
o.NsiLevelThrds = v
}
// GetQosRequ returns the QosRequ field value if set, zero value otherwise.
func (o *EventSubscription) 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 *EventSubscription) 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 *EventSubscription) 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 *EventSubscription) SetQosRequ(v QosRequirement) {
o.QosRequ = &v
}
// GetQosFlowRetThds returns the QosFlowRetThds field value if set, zero value otherwise.
func (o *EventSubscription) GetQosFlowRetThds() []RetainabilityThreshold {
if o == nil || IsNil(o.QosFlowRetThds) {
var ret []RetainabilityThreshold
return ret
}
return o.QosFlowRetThds
}
// GetQosFlowRetThdsOk returns a tuple with the QosFlowRetThds field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventSubscription) GetQosFlowRetThdsOk() ([]RetainabilityThreshold, bool) {
if o == nil || IsNil(o.QosFlowRetThds) {
return nil, false
}
return o.QosFlowRetThds, true
}
// HasQosFlowRetThds returns a boolean if a field has been set.
func (o *EventSubscription) HasQosFlowRetThds() bool {
if o != nil && !IsNil(o.QosFlowRetThds) {
return true
}
return false
}
// SetQosFlowRetThds gets a reference to the given []RetainabilityThreshold and assigns it to the QosFlowRetThds field.
func (o *EventSubscription) SetQosFlowRetThds(v []RetainabilityThreshold) {
o.QosFlowRetThds = v
}
// GetRanUeThrouThds returns the RanUeThrouThds field value if set, zero value otherwise.
func (o *EventSubscription) GetRanUeThrouThds() []string {
if o == nil || IsNil(o.RanUeThrouThds) {
var ret []string
return ret
}
return o.RanUeThrouThds
}
// GetRanUeThrouThdsOk returns a tuple with the RanUeThrouThds field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventSubscription) GetRanUeThrouThdsOk() ([]string, bool) {
if o == nil || IsNil(o.RanUeThrouThds) {
return nil, false
}
return o.RanUeThrouThds, true
}
// HasRanUeThrouThds returns a boolean if a field has been set.
func (o *EventSubscription) HasRanUeThrouThds() bool {
if o != nil && !IsNil(o.RanUeThrouThds) {
return true
}
return false
}
// SetRanUeThrouThds gets a reference to the given []string and assigns it to the RanUeThrouThds field.
func (o *EventSubscription) SetRanUeThrouThds(v []string) {
o.RanUeThrouThds = v
}
// GetRepetitionPeriod returns the RepetitionPeriod field value if set, zero value otherwise.
func (o *EventSubscription) GetRepetitionPeriod() int32 {
if o == nil || IsNil(o.RepetitionPeriod) {
var ret int32
return ret
}
return *o.RepetitionPeriod
}
// GetRepetitionPeriodOk returns a tuple with the RepetitionPeriod field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventSubscription) GetRepetitionPeriodOk() (*int32, bool) {
if o == nil || IsNil(o.RepetitionPeriod) {
return nil, false
}
return o.RepetitionPeriod, true
}
// HasRepetitionPeriod returns a boolean if a field has been set.
func (o *EventSubscription) HasRepetitionPeriod() bool {
if o != nil && !IsNil(o.RepetitionPeriod) {
return true
}
return false
}
// SetRepetitionPeriod gets a reference to the given int32 and assigns it to the RepetitionPeriod field.
func (o *EventSubscription) SetRepetitionPeriod(v int32) {
o.RepetitionPeriod = &v
}
// GetSnssaia returns the Snssaia field value if set, zero value otherwise.
func (o *EventSubscription) GetSnssaia() []Snssai {
if o == nil || IsNil(o.Snssaia) {
var ret []Snssai
return ret
}
return o.Snssaia
}
// GetSnssaiaOk returns a tuple with the Snssaia field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventSubscription) GetSnssaiaOk() ([]Snssai, bool) {
if o == nil || IsNil(o.Snssaia) {
return nil, false
}
return o.Snssaia, true
}
// HasSnssaia returns a boolean if a field has been set.
func (o *EventSubscription) HasSnssaia() bool {
if o != nil && !IsNil(o.Snssaia) {
return true
}
return false
}
// SetSnssaia gets a reference to the given []Snssai and assigns it to the Snssaia field.
func (o *EventSubscription) SetSnssaia(v []Snssai) {
o.Snssaia = v
}
// GetTgtUe returns the TgtUe field value if set, zero value otherwise.
func (o *EventSubscription) GetTgtUe() TargetUeInformation {
if o == nil || IsNil(o.TgtUe) {
var ret TargetUeInformation
return ret
}
return *o.TgtUe
}
// GetTgtUeOk returns a tuple with the TgtUe field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventSubscription) GetTgtUeOk() (*TargetUeInformation, bool) {
if o == nil || IsNil(o.TgtUe) {
return nil, false
}
return o.TgtUe, true
}
// HasTgtUe returns a boolean if a field has been set.
func (o *EventSubscription) HasTgtUe() bool {
if o != nil && !IsNil(o.TgtUe) {
return true
}
return false
}
// SetTgtUe gets a reference to the given TargetUeInformation and assigns it to the TgtUe field.
func (o *EventSubscription) SetTgtUe(v TargetUeInformation) {
o.TgtUe = &v
}
// GetCongThresholds returns the CongThresholds field value if set, zero value otherwise.
func (o *EventSubscription) GetCongThresholds() []ThresholdLevel {
if o == nil || IsNil(o.CongThresholds) {
var ret []ThresholdLevel
return ret
}
return o.CongThresholds
}
// GetCongThresholdsOk returns a tuple with the CongThresholds field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventSubscription) GetCongThresholdsOk() ([]ThresholdLevel, bool) {
if o == nil || IsNil(o.CongThresholds) {
return nil, false
}
return o.CongThresholds, true
}
// HasCongThresholds returns a boolean if a field has been set.
func (o *EventSubscription) HasCongThresholds() bool {
if o != nil && !IsNil(o.CongThresholds) {
return true
}
return false
}
// SetCongThresholds gets a reference to the given []ThresholdLevel and assigns it to the CongThresholds field.
func (o *EventSubscription) SetCongThresholds(v []ThresholdLevel) {
o.CongThresholds = v
}
// GetNwPerfRequs returns the NwPerfRequs field value if set, zero value otherwise.
func (o *EventSubscription) GetNwPerfRequs() []NetworkPerfRequirement {
if o == nil || IsNil(o.NwPerfRequs) {
var ret []NetworkPerfRequirement
return ret
}
return o.NwPerfRequs
}
// GetNwPerfRequsOk returns a tuple with the NwPerfRequs field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *EventSubscription) GetNwPerfRequsOk() ([]NetworkPerfRequirement, bool) {
if o == nil || IsNil(o.NwPerfRequs) {
return nil, false
}
return o.NwPerfRequs, true
}
// HasNwPerfRequs returns a boolean if a field has been set.
func (o *EventSubscription) HasNwPerfRequs() bool {
if o != nil && !IsNil(o.NwPerfRequs) {
return true
}
return false
}
// SetNwPerfRequs gets a reference to the given []NetworkPerfRequirement and assigns it to the NwPerfRequs field.
func (o *EventSubscription) SetNwPerfRequs(v []NetworkPerfRequirement) {
o.NwPerfRequs = v
}
// GetBwRequs returns the BwRequs field value if set, zero value otherwise.
func (o *EventSubscription) 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 *EventSubscription) 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 *EventSubscription) HasBwRequs() bool {
if o != nil && !IsNil(o.BwRequs) {