This repository has been archived by the owner on Aug 21, 2023. It is now read-only.
/
model_mm_context.go
913 lines (780 loc) · 27.3 KB
/
model_mm_context.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
/*
Namf_Communication
AMF Communication Service. © 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_Namf_Communication
import (
"encoding/json"
)
// checks if the MmContext type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &MmContext{}
// MmContext Represents a Mobility Management Context in UE Context
type MmContext struct {
AccessType AccessType `json:"accessType"`
NasSecurityMode *NasSecurityMode `json:"nasSecurityMode,omitempty"`
EpsNasSecurityMode *EpsNasSecurityMode `json:"epsNasSecurityMode,omitempty"`
// Unsigned Integer, i.e. only value 0 and integers above 0 are permissible.
NasDownlinkCount *int32 `json:"nasDownlinkCount,omitempty"`
// Unsigned Integer, i.e. only value 0 and integers above 0 are permissible.
NasUplinkCount *int32 `json:"nasUplinkCount,omitempty"`
// string with format 'bytes' as defined in OpenAPI
UeSecurityCapability *string `json:"ueSecurityCapability,omitempty"`
// string with format 'bytes' as defined in OpenAPI
S1UeNetworkCapability *string `json:"s1UeNetworkCapability,omitempty"`
AllowedNssai []Snssai `json:"allowedNssai,omitempty"`
NssaiMappingList []NssaiMapping `json:"nssaiMappingList,omitempty"`
AllowedHomeNssai []Snssai `json:"allowedHomeNssai,omitempty"`
NsInstanceList []string `json:"nsInstanceList,omitempty"`
ExpectedUEbehavior *ExpectedUeBehavior `json:"expectedUEbehavior,omitempty"`
UeDifferentiationInfo *UeDifferentiationInfo `json:"ueDifferentiationInfo,omitempty"`
// string with format 'bytes' as defined in OpenAPI
PlmnAssiUeRadioCapId *string `json:"plmnAssiUeRadioCapId,omitempty"`
// string with format 'bytes' as defined in OpenAPI
ManAssiUeRadioCapId *string `json:"manAssiUeRadioCapId,omitempty"`
UcmfDicEntryId *string `json:"ucmfDicEntryId,omitempty"`
N3IwfId *GlobalRanNodeId `json:"n3IwfId,omitempty"`
WagfId *GlobalRanNodeId `json:"wagfId,omitempty"`
TngfId *GlobalRanNodeId `json:"tngfId,omitempty"`
AnN2ApId *int32 `json:"anN2ApId,omitempty"`
NssaaStatusList []NssaaStatus `json:"nssaaStatusList,omitempty"`
PendingNssaiMappingList []NssaiMapping `json:"pendingNssaiMappingList,omitempty"`
UuaaMmStatus *UuaaMmStatus `json:"uuaaMmStatus,omitempty"`
}
// NewMmContext instantiates a new MmContext 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 NewMmContext(accessType AccessType) *MmContext {
this := MmContext{}
this.AccessType = accessType
return &this
}
// NewMmContextWithDefaults instantiates a new MmContext 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 NewMmContextWithDefaults() *MmContext {
this := MmContext{}
return &this
}
// GetAccessType returns the AccessType field value
func (o *MmContext) GetAccessType() AccessType {
if o == nil {
var ret AccessType
return ret
}
return o.AccessType
}
// GetAccessTypeOk returns a tuple with the AccessType field value
// and a boolean to check if the value has been set.
func (o *MmContext) GetAccessTypeOk() (*AccessType, bool) {
if o == nil {
return nil, false
}
return &o.AccessType, true
}
// SetAccessType sets field value
func (o *MmContext) SetAccessType(v AccessType) {
o.AccessType = v
}
// GetNasSecurityMode returns the NasSecurityMode field value if set, zero value otherwise.
func (o *MmContext) GetNasSecurityMode() NasSecurityMode {
if o == nil || IsNil(o.NasSecurityMode) {
var ret NasSecurityMode
return ret
}
return *o.NasSecurityMode
}
// GetNasSecurityModeOk returns a tuple with the NasSecurityMode field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MmContext) GetNasSecurityModeOk() (*NasSecurityMode, bool) {
if o == nil || IsNil(o.NasSecurityMode) {
return nil, false
}
return o.NasSecurityMode, true
}
// HasNasSecurityMode returns a boolean if a field has been set.
func (o *MmContext) HasNasSecurityMode() bool {
if o != nil && !IsNil(o.NasSecurityMode) {
return true
}
return false
}
// SetNasSecurityMode gets a reference to the given NasSecurityMode and assigns it to the NasSecurityMode field.
func (o *MmContext) SetNasSecurityMode(v NasSecurityMode) {
o.NasSecurityMode = &v
}
// GetEpsNasSecurityMode returns the EpsNasSecurityMode field value if set, zero value otherwise.
func (o *MmContext) GetEpsNasSecurityMode() EpsNasSecurityMode {
if o == nil || IsNil(o.EpsNasSecurityMode) {
var ret EpsNasSecurityMode
return ret
}
return *o.EpsNasSecurityMode
}
// GetEpsNasSecurityModeOk returns a tuple with the EpsNasSecurityMode field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MmContext) GetEpsNasSecurityModeOk() (*EpsNasSecurityMode, bool) {
if o == nil || IsNil(o.EpsNasSecurityMode) {
return nil, false
}
return o.EpsNasSecurityMode, true
}
// HasEpsNasSecurityMode returns a boolean if a field has been set.
func (o *MmContext) HasEpsNasSecurityMode() bool {
if o != nil && !IsNil(o.EpsNasSecurityMode) {
return true
}
return false
}
// SetEpsNasSecurityMode gets a reference to the given EpsNasSecurityMode and assigns it to the EpsNasSecurityMode field.
func (o *MmContext) SetEpsNasSecurityMode(v EpsNasSecurityMode) {
o.EpsNasSecurityMode = &v
}
// GetNasDownlinkCount returns the NasDownlinkCount field value if set, zero value otherwise.
func (o *MmContext) GetNasDownlinkCount() int32 {
if o == nil || IsNil(o.NasDownlinkCount) {
var ret int32
return ret
}
return *o.NasDownlinkCount
}
// GetNasDownlinkCountOk returns a tuple with the NasDownlinkCount field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MmContext) GetNasDownlinkCountOk() (*int32, bool) {
if o == nil || IsNil(o.NasDownlinkCount) {
return nil, false
}
return o.NasDownlinkCount, true
}
// HasNasDownlinkCount returns a boolean if a field has been set.
func (o *MmContext) HasNasDownlinkCount() bool {
if o != nil && !IsNil(o.NasDownlinkCount) {
return true
}
return false
}
// SetNasDownlinkCount gets a reference to the given int32 and assigns it to the NasDownlinkCount field.
func (o *MmContext) SetNasDownlinkCount(v int32) {
o.NasDownlinkCount = &v
}
// GetNasUplinkCount returns the NasUplinkCount field value if set, zero value otherwise.
func (o *MmContext) GetNasUplinkCount() int32 {
if o == nil || IsNil(o.NasUplinkCount) {
var ret int32
return ret
}
return *o.NasUplinkCount
}
// GetNasUplinkCountOk returns a tuple with the NasUplinkCount field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MmContext) GetNasUplinkCountOk() (*int32, bool) {
if o == nil || IsNil(o.NasUplinkCount) {
return nil, false
}
return o.NasUplinkCount, true
}
// HasNasUplinkCount returns a boolean if a field has been set.
func (o *MmContext) HasNasUplinkCount() bool {
if o != nil && !IsNil(o.NasUplinkCount) {
return true
}
return false
}
// SetNasUplinkCount gets a reference to the given int32 and assigns it to the NasUplinkCount field.
func (o *MmContext) SetNasUplinkCount(v int32) {
o.NasUplinkCount = &v
}
// GetUeSecurityCapability returns the UeSecurityCapability field value if set, zero value otherwise.
func (o *MmContext) GetUeSecurityCapability() string {
if o == nil || IsNil(o.UeSecurityCapability) {
var ret string
return ret
}
return *o.UeSecurityCapability
}
// GetUeSecurityCapabilityOk returns a tuple with the UeSecurityCapability field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MmContext) GetUeSecurityCapabilityOk() (*string, bool) {
if o == nil || IsNil(o.UeSecurityCapability) {
return nil, false
}
return o.UeSecurityCapability, true
}
// HasUeSecurityCapability returns a boolean if a field has been set.
func (o *MmContext) HasUeSecurityCapability() bool {
if o != nil && !IsNil(o.UeSecurityCapability) {
return true
}
return false
}
// SetUeSecurityCapability gets a reference to the given string and assigns it to the UeSecurityCapability field.
func (o *MmContext) SetUeSecurityCapability(v string) {
o.UeSecurityCapability = &v
}
// GetS1UeNetworkCapability returns the S1UeNetworkCapability field value if set, zero value otherwise.
func (o *MmContext) GetS1UeNetworkCapability() string {
if o == nil || IsNil(o.S1UeNetworkCapability) {
var ret string
return ret
}
return *o.S1UeNetworkCapability
}
// GetS1UeNetworkCapabilityOk returns a tuple with the S1UeNetworkCapability field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MmContext) GetS1UeNetworkCapabilityOk() (*string, bool) {
if o == nil || IsNil(o.S1UeNetworkCapability) {
return nil, false
}
return o.S1UeNetworkCapability, true
}
// HasS1UeNetworkCapability returns a boolean if a field has been set.
func (o *MmContext) HasS1UeNetworkCapability() bool {
if o != nil && !IsNil(o.S1UeNetworkCapability) {
return true
}
return false
}
// SetS1UeNetworkCapability gets a reference to the given string and assigns it to the S1UeNetworkCapability field.
func (o *MmContext) SetS1UeNetworkCapability(v string) {
o.S1UeNetworkCapability = &v
}
// GetAllowedNssai returns the AllowedNssai field value if set, zero value otherwise.
func (o *MmContext) GetAllowedNssai() []Snssai {
if o == nil || IsNil(o.AllowedNssai) {
var ret []Snssai
return ret
}
return o.AllowedNssai
}
// GetAllowedNssaiOk returns a tuple with the AllowedNssai field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MmContext) GetAllowedNssaiOk() ([]Snssai, bool) {
if o == nil || IsNil(o.AllowedNssai) {
return nil, false
}
return o.AllowedNssai, true
}
// HasAllowedNssai returns a boolean if a field has been set.
func (o *MmContext) HasAllowedNssai() bool {
if o != nil && !IsNil(o.AllowedNssai) {
return true
}
return false
}
// SetAllowedNssai gets a reference to the given []Snssai and assigns it to the AllowedNssai field.
func (o *MmContext) SetAllowedNssai(v []Snssai) {
o.AllowedNssai = v
}
// GetNssaiMappingList returns the NssaiMappingList field value if set, zero value otherwise.
func (o *MmContext) GetNssaiMappingList() []NssaiMapping {
if o == nil || IsNil(o.NssaiMappingList) {
var ret []NssaiMapping
return ret
}
return o.NssaiMappingList
}
// GetNssaiMappingListOk returns a tuple with the NssaiMappingList field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MmContext) GetNssaiMappingListOk() ([]NssaiMapping, bool) {
if o == nil || IsNil(o.NssaiMappingList) {
return nil, false
}
return o.NssaiMappingList, true
}
// HasNssaiMappingList returns a boolean if a field has been set.
func (o *MmContext) HasNssaiMappingList() bool {
if o != nil && !IsNil(o.NssaiMappingList) {
return true
}
return false
}
// SetNssaiMappingList gets a reference to the given []NssaiMapping and assigns it to the NssaiMappingList field.
func (o *MmContext) SetNssaiMappingList(v []NssaiMapping) {
o.NssaiMappingList = v
}
// GetAllowedHomeNssai returns the AllowedHomeNssai field value if set, zero value otherwise.
func (o *MmContext) GetAllowedHomeNssai() []Snssai {
if o == nil || IsNil(o.AllowedHomeNssai) {
var ret []Snssai
return ret
}
return o.AllowedHomeNssai
}
// GetAllowedHomeNssaiOk returns a tuple with the AllowedHomeNssai field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MmContext) GetAllowedHomeNssaiOk() ([]Snssai, bool) {
if o == nil || IsNil(o.AllowedHomeNssai) {
return nil, false
}
return o.AllowedHomeNssai, true
}
// HasAllowedHomeNssai returns a boolean if a field has been set.
func (o *MmContext) HasAllowedHomeNssai() bool {
if o != nil && !IsNil(o.AllowedHomeNssai) {
return true
}
return false
}
// SetAllowedHomeNssai gets a reference to the given []Snssai and assigns it to the AllowedHomeNssai field.
func (o *MmContext) SetAllowedHomeNssai(v []Snssai) {
o.AllowedHomeNssai = v
}
// GetNsInstanceList returns the NsInstanceList field value if set, zero value otherwise.
func (o *MmContext) GetNsInstanceList() []string {
if o == nil || IsNil(o.NsInstanceList) {
var ret []string
return ret
}
return o.NsInstanceList
}
// GetNsInstanceListOk returns a tuple with the NsInstanceList field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MmContext) GetNsInstanceListOk() ([]string, bool) {
if o == nil || IsNil(o.NsInstanceList) {
return nil, false
}
return o.NsInstanceList, true
}
// HasNsInstanceList returns a boolean if a field has been set.
func (o *MmContext) HasNsInstanceList() bool {
if o != nil && !IsNil(o.NsInstanceList) {
return true
}
return false
}
// SetNsInstanceList gets a reference to the given []string and assigns it to the NsInstanceList field.
func (o *MmContext) SetNsInstanceList(v []string) {
o.NsInstanceList = v
}
// GetExpectedUEbehavior returns the ExpectedUEbehavior field value if set, zero value otherwise.
func (o *MmContext) GetExpectedUEbehavior() ExpectedUeBehavior {
if o == nil || IsNil(o.ExpectedUEbehavior) {
var ret ExpectedUeBehavior
return ret
}
return *o.ExpectedUEbehavior
}
// GetExpectedUEbehaviorOk returns a tuple with the ExpectedUEbehavior field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MmContext) GetExpectedUEbehaviorOk() (*ExpectedUeBehavior, bool) {
if o == nil || IsNil(o.ExpectedUEbehavior) {
return nil, false
}
return o.ExpectedUEbehavior, true
}
// HasExpectedUEbehavior returns a boolean if a field has been set.
func (o *MmContext) HasExpectedUEbehavior() bool {
if o != nil && !IsNil(o.ExpectedUEbehavior) {
return true
}
return false
}
// SetExpectedUEbehavior gets a reference to the given ExpectedUeBehavior and assigns it to the ExpectedUEbehavior field.
func (o *MmContext) SetExpectedUEbehavior(v ExpectedUeBehavior) {
o.ExpectedUEbehavior = &v
}
// GetUeDifferentiationInfo returns the UeDifferentiationInfo field value if set, zero value otherwise.
func (o *MmContext) GetUeDifferentiationInfo() UeDifferentiationInfo {
if o == nil || IsNil(o.UeDifferentiationInfo) {
var ret UeDifferentiationInfo
return ret
}
return *o.UeDifferentiationInfo
}
// GetUeDifferentiationInfoOk returns a tuple with the UeDifferentiationInfo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MmContext) GetUeDifferentiationInfoOk() (*UeDifferentiationInfo, bool) {
if o == nil || IsNil(o.UeDifferentiationInfo) {
return nil, false
}
return o.UeDifferentiationInfo, true
}
// HasUeDifferentiationInfo returns a boolean if a field has been set.
func (o *MmContext) HasUeDifferentiationInfo() bool {
if o != nil && !IsNil(o.UeDifferentiationInfo) {
return true
}
return false
}
// SetUeDifferentiationInfo gets a reference to the given UeDifferentiationInfo and assigns it to the UeDifferentiationInfo field.
func (o *MmContext) SetUeDifferentiationInfo(v UeDifferentiationInfo) {
o.UeDifferentiationInfo = &v
}
// GetPlmnAssiUeRadioCapId returns the PlmnAssiUeRadioCapId field value if set, zero value otherwise.
func (o *MmContext) GetPlmnAssiUeRadioCapId() string {
if o == nil || IsNil(o.PlmnAssiUeRadioCapId) {
var ret string
return ret
}
return *o.PlmnAssiUeRadioCapId
}
// GetPlmnAssiUeRadioCapIdOk returns a tuple with the PlmnAssiUeRadioCapId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MmContext) GetPlmnAssiUeRadioCapIdOk() (*string, bool) {
if o == nil || IsNil(o.PlmnAssiUeRadioCapId) {
return nil, false
}
return o.PlmnAssiUeRadioCapId, true
}
// HasPlmnAssiUeRadioCapId returns a boolean if a field has been set.
func (o *MmContext) HasPlmnAssiUeRadioCapId() bool {
if o != nil && !IsNil(o.PlmnAssiUeRadioCapId) {
return true
}
return false
}
// SetPlmnAssiUeRadioCapId gets a reference to the given string and assigns it to the PlmnAssiUeRadioCapId field.
func (o *MmContext) SetPlmnAssiUeRadioCapId(v string) {
o.PlmnAssiUeRadioCapId = &v
}
// GetManAssiUeRadioCapId returns the ManAssiUeRadioCapId field value if set, zero value otherwise.
func (o *MmContext) GetManAssiUeRadioCapId() string {
if o == nil || IsNil(o.ManAssiUeRadioCapId) {
var ret string
return ret
}
return *o.ManAssiUeRadioCapId
}
// GetManAssiUeRadioCapIdOk returns a tuple with the ManAssiUeRadioCapId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MmContext) GetManAssiUeRadioCapIdOk() (*string, bool) {
if o == nil || IsNil(o.ManAssiUeRadioCapId) {
return nil, false
}
return o.ManAssiUeRadioCapId, true
}
// HasManAssiUeRadioCapId returns a boolean if a field has been set.
func (o *MmContext) HasManAssiUeRadioCapId() bool {
if o != nil && !IsNil(o.ManAssiUeRadioCapId) {
return true
}
return false
}
// SetManAssiUeRadioCapId gets a reference to the given string and assigns it to the ManAssiUeRadioCapId field.
func (o *MmContext) SetManAssiUeRadioCapId(v string) {
o.ManAssiUeRadioCapId = &v
}
// GetUcmfDicEntryId returns the UcmfDicEntryId field value if set, zero value otherwise.
func (o *MmContext) GetUcmfDicEntryId() string {
if o == nil || IsNil(o.UcmfDicEntryId) {
var ret string
return ret
}
return *o.UcmfDicEntryId
}
// GetUcmfDicEntryIdOk returns a tuple with the UcmfDicEntryId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MmContext) GetUcmfDicEntryIdOk() (*string, bool) {
if o == nil || IsNil(o.UcmfDicEntryId) {
return nil, false
}
return o.UcmfDicEntryId, true
}
// HasUcmfDicEntryId returns a boolean if a field has been set.
func (o *MmContext) HasUcmfDicEntryId() bool {
if o != nil && !IsNil(o.UcmfDicEntryId) {
return true
}
return false
}
// SetUcmfDicEntryId gets a reference to the given string and assigns it to the UcmfDicEntryId field.
func (o *MmContext) SetUcmfDicEntryId(v string) {
o.UcmfDicEntryId = &v
}
// GetN3IwfId returns the N3IwfId field value if set, zero value otherwise.
func (o *MmContext) GetN3IwfId() GlobalRanNodeId {
if o == nil || IsNil(o.N3IwfId) {
var ret GlobalRanNodeId
return ret
}
return *o.N3IwfId
}
// GetN3IwfIdOk returns a tuple with the N3IwfId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MmContext) GetN3IwfIdOk() (*GlobalRanNodeId, bool) {
if o == nil || IsNil(o.N3IwfId) {
return nil, false
}
return o.N3IwfId, true
}
// HasN3IwfId returns a boolean if a field has been set.
func (o *MmContext) HasN3IwfId() bool {
if o != nil && !IsNil(o.N3IwfId) {
return true
}
return false
}
// SetN3IwfId gets a reference to the given GlobalRanNodeId and assigns it to the N3IwfId field.
func (o *MmContext) SetN3IwfId(v GlobalRanNodeId) {
o.N3IwfId = &v
}
// GetWagfId returns the WagfId field value if set, zero value otherwise.
func (o *MmContext) GetWagfId() GlobalRanNodeId {
if o == nil || IsNil(o.WagfId) {
var ret GlobalRanNodeId
return ret
}
return *o.WagfId
}
// GetWagfIdOk returns a tuple with the WagfId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MmContext) GetWagfIdOk() (*GlobalRanNodeId, bool) {
if o == nil || IsNil(o.WagfId) {
return nil, false
}
return o.WagfId, true
}
// HasWagfId returns a boolean if a field has been set.
func (o *MmContext) HasWagfId() bool {
if o != nil && !IsNil(o.WagfId) {
return true
}
return false
}
// SetWagfId gets a reference to the given GlobalRanNodeId and assigns it to the WagfId field.
func (o *MmContext) SetWagfId(v GlobalRanNodeId) {
o.WagfId = &v
}
// GetTngfId returns the TngfId field value if set, zero value otherwise.
func (o *MmContext) GetTngfId() GlobalRanNodeId {
if o == nil || IsNil(o.TngfId) {
var ret GlobalRanNodeId
return ret
}
return *o.TngfId
}
// GetTngfIdOk returns a tuple with the TngfId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MmContext) GetTngfIdOk() (*GlobalRanNodeId, bool) {
if o == nil || IsNil(o.TngfId) {
return nil, false
}
return o.TngfId, true
}
// HasTngfId returns a boolean if a field has been set.
func (o *MmContext) HasTngfId() bool {
if o != nil && !IsNil(o.TngfId) {
return true
}
return false
}
// SetTngfId gets a reference to the given GlobalRanNodeId and assigns it to the TngfId field.
func (o *MmContext) SetTngfId(v GlobalRanNodeId) {
o.TngfId = &v
}
// GetAnN2ApId returns the AnN2ApId field value if set, zero value otherwise.
func (o *MmContext) GetAnN2ApId() int32 {
if o == nil || IsNil(o.AnN2ApId) {
var ret int32
return ret
}
return *o.AnN2ApId
}
// GetAnN2ApIdOk returns a tuple with the AnN2ApId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MmContext) GetAnN2ApIdOk() (*int32, bool) {
if o == nil || IsNil(o.AnN2ApId) {
return nil, false
}
return o.AnN2ApId, true
}
// HasAnN2ApId returns a boolean if a field has been set.
func (o *MmContext) HasAnN2ApId() bool {
if o != nil && !IsNil(o.AnN2ApId) {
return true
}
return false
}
// SetAnN2ApId gets a reference to the given int32 and assigns it to the AnN2ApId field.
func (o *MmContext) SetAnN2ApId(v int32) {
o.AnN2ApId = &v
}
// GetNssaaStatusList returns the NssaaStatusList field value if set, zero value otherwise.
func (o *MmContext) GetNssaaStatusList() []NssaaStatus {
if o == nil || IsNil(o.NssaaStatusList) {
var ret []NssaaStatus
return ret
}
return o.NssaaStatusList
}
// GetNssaaStatusListOk returns a tuple with the NssaaStatusList field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MmContext) GetNssaaStatusListOk() ([]NssaaStatus, bool) {
if o == nil || IsNil(o.NssaaStatusList) {
return nil, false
}
return o.NssaaStatusList, true
}
// HasNssaaStatusList returns a boolean if a field has been set.
func (o *MmContext) HasNssaaStatusList() bool {
if o != nil && !IsNil(o.NssaaStatusList) {
return true
}
return false
}
// SetNssaaStatusList gets a reference to the given []NssaaStatus and assigns it to the NssaaStatusList field.
func (o *MmContext) SetNssaaStatusList(v []NssaaStatus) {
o.NssaaStatusList = v
}
// GetPendingNssaiMappingList returns the PendingNssaiMappingList field value if set, zero value otherwise.
func (o *MmContext) GetPendingNssaiMappingList() []NssaiMapping {
if o == nil || IsNil(o.PendingNssaiMappingList) {
var ret []NssaiMapping
return ret
}
return o.PendingNssaiMappingList
}
// GetPendingNssaiMappingListOk returns a tuple with the PendingNssaiMappingList field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MmContext) GetPendingNssaiMappingListOk() ([]NssaiMapping, bool) {
if o == nil || IsNil(o.PendingNssaiMappingList) {
return nil, false
}
return o.PendingNssaiMappingList, true
}
// HasPendingNssaiMappingList returns a boolean if a field has been set.
func (o *MmContext) HasPendingNssaiMappingList() bool {
if o != nil && !IsNil(o.PendingNssaiMappingList) {
return true
}
return false
}
// SetPendingNssaiMappingList gets a reference to the given []NssaiMapping and assigns it to the PendingNssaiMappingList field.
func (o *MmContext) SetPendingNssaiMappingList(v []NssaiMapping) {
o.PendingNssaiMappingList = v
}
// GetUuaaMmStatus returns the UuaaMmStatus field value if set, zero value otherwise.
func (o *MmContext) GetUuaaMmStatus() UuaaMmStatus {
if o == nil || IsNil(o.UuaaMmStatus) {
var ret UuaaMmStatus
return ret
}
return *o.UuaaMmStatus
}
// GetUuaaMmStatusOk returns a tuple with the UuaaMmStatus field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *MmContext) GetUuaaMmStatusOk() (*UuaaMmStatus, bool) {
if o == nil || IsNil(o.UuaaMmStatus) {
return nil, false
}
return o.UuaaMmStatus, true
}
// HasUuaaMmStatus returns a boolean if a field has been set.
func (o *MmContext) HasUuaaMmStatus() bool {
if o != nil && !IsNil(o.UuaaMmStatus) {
return true
}
return false
}
// SetUuaaMmStatus gets a reference to the given UuaaMmStatus and assigns it to the UuaaMmStatus field.
func (o *MmContext) SetUuaaMmStatus(v UuaaMmStatus) {
o.UuaaMmStatus = &v
}
func (o MmContext) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o MmContext) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
toSerialize["accessType"] = o.AccessType
if !IsNil(o.NasSecurityMode) {
toSerialize["nasSecurityMode"] = o.NasSecurityMode
}
if !IsNil(o.EpsNasSecurityMode) {
toSerialize["epsNasSecurityMode"] = o.EpsNasSecurityMode
}
if !IsNil(o.NasDownlinkCount) {
toSerialize["nasDownlinkCount"] = o.NasDownlinkCount
}
if !IsNil(o.NasUplinkCount) {
toSerialize["nasUplinkCount"] = o.NasUplinkCount
}
if !IsNil(o.UeSecurityCapability) {
toSerialize["ueSecurityCapability"] = o.UeSecurityCapability
}
if !IsNil(o.S1UeNetworkCapability) {
toSerialize["s1UeNetworkCapability"] = o.S1UeNetworkCapability
}
if !IsNil(o.AllowedNssai) {
toSerialize["allowedNssai"] = o.AllowedNssai
}
if !IsNil(o.NssaiMappingList) {
toSerialize["nssaiMappingList"] = o.NssaiMappingList
}
if !IsNil(o.AllowedHomeNssai) {
toSerialize["allowedHomeNssai"] = o.AllowedHomeNssai
}
if !IsNil(o.NsInstanceList) {
toSerialize["nsInstanceList"] = o.NsInstanceList
}
if !IsNil(o.ExpectedUEbehavior) {
toSerialize["expectedUEbehavior"] = o.ExpectedUEbehavior
}
if !IsNil(o.UeDifferentiationInfo) {
toSerialize["ueDifferentiationInfo"] = o.UeDifferentiationInfo
}
if !IsNil(o.PlmnAssiUeRadioCapId) {
toSerialize["plmnAssiUeRadioCapId"] = o.PlmnAssiUeRadioCapId
}
if !IsNil(o.ManAssiUeRadioCapId) {
toSerialize["manAssiUeRadioCapId"] = o.ManAssiUeRadioCapId
}
if !IsNil(o.UcmfDicEntryId) {
toSerialize["ucmfDicEntryId"] = o.UcmfDicEntryId
}
if !IsNil(o.N3IwfId) {
toSerialize["n3IwfId"] = o.N3IwfId
}
if !IsNil(o.WagfId) {
toSerialize["wagfId"] = o.WagfId
}
if !IsNil(o.TngfId) {
toSerialize["tngfId"] = o.TngfId
}
if !IsNil(o.AnN2ApId) {
toSerialize["anN2ApId"] = o.AnN2ApId
}
if !IsNil(o.NssaaStatusList) {
toSerialize["nssaaStatusList"] = o.NssaaStatusList
}
if !IsNil(o.PendingNssaiMappingList) {
toSerialize["pendingNssaiMappingList"] = o.PendingNssaiMappingList
}
if !IsNil(o.UuaaMmStatus) {
toSerialize["uuaaMmStatus"] = o.UuaaMmStatus
}
return toSerialize, nil
}
type NullableMmContext struct {
value *MmContext
isSet bool
}
func (v NullableMmContext) Get() *MmContext {
return v.value
}
func (v *NullableMmContext) Set(val *MmContext) {
v.value = val
v.isSet = true
}
func (v NullableMmContext) IsSet() bool {
return v.isSet
}
func (v *NullableMmContext) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableMmContext(val *MmContext) *NullableMmContext {
return &NullableMmContext{value: val, isSet: true}
}
func (v NullableMmContext) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableMmContext) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}