This repository has been archived by the owner on Aug 21, 2023. It is now read-only.
/
model_registration_context_container.go
841 lines (718 loc) · 26 KB
/
model_registration_context_container.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
/*
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 RegistrationContextContainer type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &RegistrationContextContainer{}
// RegistrationContextContainer Registration Context Container used to send the UE context information, N1 message from UE, AN address etc during Registration with AMF re-allocation procedure
type RegistrationContextContainer struct {
UeContext UeContext `json:"ueContext"`
// String with format \"time-numoffset\" optionally appended by \"daylightSavingTime\", where - \"time-numoffset\" shall represent the time zone adjusted for daylight saving time and be encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339; - \"daylightSavingTime\" shall represent the adjustment that has been made and shall be encoded as \"+1\" or \"+2\" for a +1 or +2 hours adjustment. The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time.
LocalTimeZone *string `json:"localTimeZone,omitempty"`
AnType AccessType `json:"anType"`
AnN2ApId int32 `json:"anN2ApId"`
RanNodeId GlobalRanNodeId `json:"ranNodeId"`
// Fully Qualified Domain Name
InitialAmfName string `json:"initialAmfName"`
UserLocation UserLocation `json:"userLocation"`
RrcEstCause *string `json:"rrcEstCause,omitempty"`
UeContextRequest *bool `json:"ueContextRequest,omitempty"`
InitialAmfN2ApId *int32 `json:"initialAmfN2ApId,omitempty"`
// String identifying a IPv4 address formatted in the 'dotted decimal' notation as defined in RFC 1166.
AnN2IPv4Addr *string `json:"anN2IPv4Addr,omitempty"`
AnN2IPv6Addr *Ipv6Addr `json:"anN2IPv6Addr,omitempty"`
AllowedNssai *AllowedNssai `json:"allowedNssai,omitempty"`
ConfiguredNssai []ConfiguredSnssai `json:"configuredNssai,omitempty"`
RejectedNssaiInPlmn []Snssai `json:"rejectedNssaiInPlmn,omitempty"`
RejectedNssaiInTa []Snssai `json:"rejectedNssaiInTa,omitempty"`
SelectedPlmnId *PlmnId `json:"selectedPlmnId,omitempty"`
IabNodeInd *bool `json:"iabNodeInd,omitempty"`
CeModeBInd *CeModeBInd `json:"ceModeBInd,omitempty"`
LteMInd *LteMInd `json:"lteMInd,omitempty"`
AuthenticatedInd *bool `json:"authenticatedInd,omitempty"`
NpnAccessInfo *NpnAccessInfo `json:"npnAccessInfo,omitempty"`
}
// NewRegistrationContextContainer instantiates a new RegistrationContextContainer 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 NewRegistrationContextContainer(ueContext UeContext, anType AccessType, anN2ApId int32, ranNodeId GlobalRanNodeId, initialAmfName string, userLocation UserLocation) *RegistrationContextContainer {
this := RegistrationContextContainer{}
this.UeContext = ueContext
this.AnType = anType
this.AnN2ApId = anN2ApId
this.RanNodeId = ranNodeId
this.InitialAmfName = initialAmfName
this.UserLocation = userLocation
var ueContextRequest bool = false
this.UeContextRequest = &ueContextRequest
var iabNodeInd bool = false
this.IabNodeInd = &iabNodeInd
var authenticatedInd bool = false
this.AuthenticatedInd = &authenticatedInd
return &this
}
// NewRegistrationContextContainerWithDefaults instantiates a new RegistrationContextContainer 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 NewRegistrationContextContainerWithDefaults() *RegistrationContextContainer {
this := RegistrationContextContainer{}
var ueContextRequest bool = false
this.UeContextRequest = &ueContextRequest
var iabNodeInd bool = false
this.IabNodeInd = &iabNodeInd
var authenticatedInd bool = false
this.AuthenticatedInd = &authenticatedInd
return &this
}
// GetUeContext returns the UeContext field value
func (o *RegistrationContextContainer) GetUeContext() UeContext {
if o == nil {
var ret UeContext
return ret
}
return o.UeContext
}
// GetUeContextOk returns a tuple with the UeContext field value
// and a boolean to check if the value has been set.
func (o *RegistrationContextContainer) GetUeContextOk() (*UeContext, bool) {
if o == nil {
return nil, false
}
return &o.UeContext, true
}
// SetUeContext sets field value
func (o *RegistrationContextContainer) SetUeContext(v UeContext) {
o.UeContext = v
}
// GetLocalTimeZone returns the LocalTimeZone field value if set, zero value otherwise.
func (o *RegistrationContextContainer) GetLocalTimeZone() string {
if o == nil || IsNil(o.LocalTimeZone) {
var ret string
return ret
}
return *o.LocalTimeZone
}
// GetLocalTimeZoneOk returns a tuple with the LocalTimeZone field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RegistrationContextContainer) GetLocalTimeZoneOk() (*string, bool) {
if o == nil || IsNil(o.LocalTimeZone) {
return nil, false
}
return o.LocalTimeZone, true
}
// HasLocalTimeZone returns a boolean if a field has been set.
func (o *RegistrationContextContainer) HasLocalTimeZone() bool {
if o != nil && !IsNil(o.LocalTimeZone) {
return true
}
return false
}
// SetLocalTimeZone gets a reference to the given string and assigns it to the LocalTimeZone field.
func (o *RegistrationContextContainer) SetLocalTimeZone(v string) {
o.LocalTimeZone = &v
}
// GetAnType returns the AnType field value
func (o *RegistrationContextContainer) GetAnType() AccessType {
if o == nil {
var ret AccessType
return ret
}
return o.AnType
}
// GetAnTypeOk returns a tuple with the AnType field value
// and a boolean to check if the value has been set.
func (o *RegistrationContextContainer) GetAnTypeOk() (*AccessType, bool) {
if o == nil {
return nil, false
}
return &o.AnType, true
}
// SetAnType sets field value
func (o *RegistrationContextContainer) SetAnType(v AccessType) {
o.AnType = v
}
// GetAnN2ApId returns the AnN2ApId field value
func (o *RegistrationContextContainer) GetAnN2ApId() int32 {
if o == nil {
var ret int32
return ret
}
return o.AnN2ApId
}
// GetAnN2ApIdOk returns a tuple with the AnN2ApId field value
// and a boolean to check if the value has been set.
func (o *RegistrationContextContainer) GetAnN2ApIdOk() (*int32, bool) {
if o == nil {
return nil, false
}
return &o.AnN2ApId, true
}
// SetAnN2ApId sets field value
func (o *RegistrationContextContainer) SetAnN2ApId(v int32) {
o.AnN2ApId = v
}
// GetRanNodeId returns the RanNodeId field value
func (o *RegistrationContextContainer) GetRanNodeId() GlobalRanNodeId {
if o == nil {
var ret GlobalRanNodeId
return ret
}
return o.RanNodeId
}
// GetRanNodeIdOk returns a tuple with the RanNodeId field value
// and a boolean to check if the value has been set.
func (o *RegistrationContextContainer) GetRanNodeIdOk() (*GlobalRanNodeId, bool) {
if o == nil {
return nil, false
}
return &o.RanNodeId, true
}
// SetRanNodeId sets field value
func (o *RegistrationContextContainer) SetRanNodeId(v GlobalRanNodeId) {
o.RanNodeId = v
}
// GetInitialAmfName returns the InitialAmfName field value
func (o *RegistrationContextContainer) GetInitialAmfName() string {
if o == nil {
var ret string
return ret
}
return o.InitialAmfName
}
// GetInitialAmfNameOk returns a tuple with the InitialAmfName field value
// and a boolean to check if the value has been set.
func (o *RegistrationContextContainer) GetInitialAmfNameOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.InitialAmfName, true
}
// SetInitialAmfName sets field value
func (o *RegistrationContextContainer) SetInitialAmfName(v string) {
o.InitialAmfName = v
}
// GetUserLocation returns the UserLocation field value
func (o *RegistrationContextContainer) GetUserLocation() UserLocation {
if o == nil {
var ret UserLocation
return ret
}
return o.UserLocation
}
// GetUserLocationOk returns a tuple with the UserLocation field value
// and a boolean to check if the value has been set.
func (o *RegistrationContextContainer) GetUserLocationOk() (*UserLocation, bool) {
if o == nil {
return nil, false
}
return &o.UserLocation, true
}
// SetUserLocation sets field value
func (o *RegistrationContextContainer) SetUserLocation(v UserLocation) {
o.UserLocation = v
}
// GetRrcEstCause returns the RrcEstCause field value if set, zero value otherwise.
func (o *RegistrationContextContainer) GetRrcEstCause() string {
if o == nil || IsNil(o.RrcEstCause) {
var ret string
return ret
}
return *o.RrcEstCause
}
// GetRrcEstCauseOk returns a tuple with the RrcEstCause field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RegistrationContextContainer) GetRrcEstCauseOk() (*string, bool) {
if o == nil || IsNil(o.RrcEstCause) {
return nil, false
}
return o.RrcEstCause, true
}
// HasRrcEstCause returns a boolean if a field has been set.
func (o *RegistrationContextContainer) HasRrcEstCause() bool {
if o != nil && !IsNil(o.RrcEstCause) {
return true
}
return false
}
// SetRrcEstCause gets a reference to the given string and assigns it to the RrcEstCause field.
func (o *RegistrationContextContainer) SetRrcEstCause(v string) {
o.RrcEstCause = &v
}
// GetUeContextRequest returns the UeContextRequest field value if set, zero value otherwise.
func (o *RegistrationContextContainer) GetUeContextRequest() bool {
if o == nil || IsNil(o.UeContextRequest) {
var ret bool
return ret
}
return *o.UeContextRequest
}
// GetUeContextRequestOk returns a tuple with the UeContextRequest field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RegistrationContextContainer) GetUeContextRequestOk() (*bool, bool) {
if o == nil || IsNil(o.UeContextRequest) {
return nil, false
}
return o.UeContextRequest, true
}
// HasUeContextRequest returns a boolean if a field has been set.
func (o *RegistrationContextContainer) HasUeContextRequest() bool {
if o != nil && !IsNil(o.UeContextRequest) {
return true
}
return false
}
// SetUeContextRequest gets a reference to the given bool and assigns it to the UeContextRequest field.
func (o *RegistrationContextContainer) SetUeContextRequest(v bool) {
o.UeContextRequest = &v
}
// GetInitialAmfN2ApId returns the InitialAmfN2ApId field value if set, zero value otherwise.
func (o *RegistrationContextContainer) GetInitialAmfN2ApId() int32 {
if o == nil || IsNil(o.InitialAmfN2ApId) {
var ret int32
return ret
}
return *o.InitialAmfN2ApId
}
// GetInitialAmfN2ApIdOk returns a tuple with the InitialAmfN2ApId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RegistrationContextContainer) GetInitialAmfN2ApIdOk() (*int32, bool) {
if o == nil || IsNil(o.InitialAmfN2ApId) {
return nil, false
}
return o.InitialAmfN2ApId, true
}
// HasInitialAmfN2ApId returns a boolean if a field has been set.
func (o *RegistrationContextContainer) HasInitialAmfN2ApId() bool {
if o != nil && !IsNil(o.InitialAmfN2ApId) {
return true
}
return false
}
// SetInitialAmfN2ApId gets a reference to the given int32 and assigns it to the InitialAmfN2ApId field.
func (o *RegistrationContextContainer) SetInitialAmfN2ApId(v int32) {
o.InitialAmfN2ApId = &v
}
// GetAnN2IPv4Addr returns the AnN2IPv4Addr field value if set, zero value otherwise.
func (o *RegistrationContextContainer) GetAnN2IPv4Addr() string {
if o == nil || IsNil(o.AnN2IPv4Addr) {
var ret string
return ret
}
return *o.AnN2IPv4Addr
}
// GetAnN2IPv4AddrOk returns a tuple with the AnN2IPv4Addr field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RegistrationContextContainer) GetAnN2IPv4AddrOk() (*string, bool) {
if o == nil || IsNil(o.AnN2IPv4Addr) {
return nil, false
}
return o.AnN2IPv4Addr, true
}
// HasAnN2IPv4Addr returns a boolean if a field has been set.
func (o *RegistrationContextContainer) HasAnN2IPv4Addr() bool {
if o != nil && !IsNil(o.AnN2IPv4Addr) {
return true
}
return false
}
// SetAnN2IPv4Addr gets a reference to the given string and assigns it to the AnN2IPv4Addr field.
func (o *RegistrationContextContainer) SetAnN2IPv4Addr(v string) {
o.AnN2IPv4Addr = &v
}
// GetAnN2IPv6Addr returns the AnN2IPv6Addr field value if set, zero value otherwise.
func (o *RegistrationContextContainer) GetAnN2IPv6Addr() Ipv6Addr {
if o == nil || IsNil(o.AnN2IPv6Addr) {
var ret Ipv6Addr
return ret
}
return *o.AnN2IPv6Addr
}
// GetAnN2IPv6AddrOk returns a tuple with the AnN2IPv6Addr field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RegistrationContextContainer) GetAnN2IPv6AddrOk() (*Ipv6Addr, bool) {
if o == nil || IsNil(o.AnN2IPv6Addr) {
return nil, false
}
return o.AnN2IPv6Addr, true
}
// HasAnN2IPv6Addr returns a boolean if a field has been set.
func (o *RegistrationContextContainer) HasAnN2IPv6Addr() bool {
if o != nil && !IsNil(o.AnN2IPv6Addr) {
return true
}
return false
}
// SetAnN2IPv6Addr gets a reference to the given Ipv6Addr and assigns it to the AnN2IPv6Addr field.
func (o *RegistrationContextContainer) SetAnN2IPv6Addr(v Ipv6Addr) {
o.AnN2IPv6Addr = &v
}
// GetAllowedNssai returns the AllowedNssai field value if set, zero value otherwise.
func (o *RegistrationContextContainer) GetAllowedNssai() AllowedNssai {
if o == nil || IsNil(o.AllowedNssai) {
var ret AllowedNssai
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 *RegistrationContextContainer) GetAllowedNssaiOk() (*AllowedNssai, 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 *RegistrationContextContainer) HasAllowedNssai() bool {
if o != nil && !IsNil(o.AllowedNssai) {
return true
}
return false
}
// SetAllowedNssai gets a reference to the given AllowedNssai and assigns it to the AllowedNssai field.
func (o *RegistrationContextContainer) SetAllowedNssai(v AllowedNssai) {
o.AllowedNssai = &v
}
// GetConfiguredNssai returns the ConfiguredNssai field value if set, zero value otherwise.
func (o *RegistrationContextContainer) GetConfiguredNssai() []ConfiguredSnssai {
if o == nil || IsNil(o.ConfiguredNssai) {
var ret []ConfiguredSnssai
return ret
}
return o.ConfiguredNssai
}
// GetConfiguredNssaiOk returns a tuple with the ConfiguredNssai field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RegistrationContextContainer) GetConfiguredNssaiOk() ([]ConfiguredSnssai, bool) {
if o == nil || IsNil(o.ConfiguredNssai) {
return nil, false
}
return o.ConfiguredNssai, true
}
// HasConfiguredNssai returns a boolean if a field has been set.
func (o *RegistrationContextContainer) HasConfiguredNssai() bool {
if o != nil && !IsNil(o.ConfiguredNssai) {
return true
}
return false
}
// SetConfiguredNssai gets a reference to the given []ConfiguredSnssai and assigns it to the ConfiguredNssai field.
func (o *RegistrationContextContainer) SetConfiguredNssai(v []ConfiguredSnssai) {
o.ConfiguredNssai = v
}
// GetRejectedNssaiInPlmn returns the RejectedNssaiInPlmn field value if set, zero value otherwise.
func (o *RegistrationContextContainer) GetRejectedNssaiInPlmn() []Snssai {
if o == nil || IsNil(o.RejectedNssaiInPlmn) {
var ret []Snssai
return ret
}
return o.RejectedNssaiInPlmn
}
// GetRejectedNssaiInPlmnOk returns a tuple with the RejectedNssaiInPlmn field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RegistrationContextContainer) GetRejectedNssaiInPlmnOk() ([]Snssai, bool) {
if o == nil || IsNil(o.RejectedNssaiInPlmn) {
return nil, false
}
return o.RejectedNssaiInPlmn, true
}
// HasRejectedNssaiInPlmn returns a boolean if a field has been set.
func (o *RegistrationContextContainer) HasRejectedNssaiInPlmn() bool {
if o != nil && !IsNil(o.RejectedNssaiInPlmn) {
return true
}
return false
}
// SetRejectedNssaiInPlmn gets a reference to the given []Snssai and assigns it to the RejectedNssaiInPlmn field.
func (o *RegistrationContextContainer) SetRejectedNssaiInPlmn(v []Snssai) {
o.RejectedNssaiInPlmn = v
}
// GetRejectedNssaiInTa returns the RejectedNssaiInTa field value if set, zero value otherwise.
func (o *RegistrationContextContainer) GetRejectedNssaiInTa() []Snssai {
if o == nil || IsNil(o.RejectedNssaiInTa) {
var ret []Snssai
return ret
}
return o.RejectedNssaiInTa
}
// GetRejectedNssaiInTaOk returns a tuple with the RejectedNssaiInTa field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RegistrationContextContainer) GetRejectedNssaiInTaOk() ([]Snssai, bool) {
if o == nil || IsNil(o.RejectedNssaiInTa) {
return nil, false
}
return o.RejectedNssaiInTa, true
}
// HasRejectedNssaiInTa returns a boolean if a field has been set.
func (o *RegistrationContextContainer) HasRejectedNssaiInTa() bool {
if o != nil && !IsNil(o.RejectedNssaiInTa) {
return true
}
return false
}
// SetRejectedNssaiInTa gets a reference to the given []Snssai and assigns it to the RejectedNssaiInTa field.
func (o *RegistrationContextContainer) SetRejectedNssaiInTa(v []Snssai) {
o.RejectedNssaiInTa = v
}
// GetSelectedPlmnId returns the SelectedPlmnId field value if set, zero value otherwise.
func (o *RegistrationContextContainer) GetSelectedPlmnId() PlmnId {
if o == nil || IsNil(o.SelectedPlmnId) {
var ret PlmnId
return ret
}
return *o.SelectedPlmnId
}
// GetSelectedPlmnIdOk returns a tuple with the SelectedPlmnId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RegistrationContextContainer) GetSelectedPlmnIdOk() (*PlmnId, bool) {
if o == nil || IsNil(o.SelectedPlmnId) {
return nil, false
}
return o.SelectedPlmnId, true
}
// HasSelectedPlmnId returns a boolean if a field has been set.
func (o *RegistrationContextContainer) HasSelectedPlmnId() bool {
if o != nil && !IsNil(o.SelectedPlmnId) {
return true
}
return false
}
// SetSelectedPlmnId gets a reference to the given PlmnId and assigns it to the SelectedPlmnId field.
func (o *RegistrationContextContainer) SetSelectedPlmnId(v PlmnId) {
o.SelectedPlmnId = &v
}
// GetIabNodeInd returns the IabNodeInd field value if set, zero value otherwise.
func (o *RegistrationContextContainer) GetIabNodeInd() bool {
if o == nil || IsNil(o.IabNodeInd) {
var ret bool
return ret
}
return *o.IabNodeInd
}
// GetIabNodeIndOk returns a tuple with the IabNodeInd field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RegistrationContextContainer) GetIabNodeIndOk() (*bool, bool) {
if o == nil || IsNil(o.IabNodeInd) {
return nil, false
}
return o.IabNodeInd, true
}
// HasIabNodeInd returns a boolean if a field has been set.
func (o *RegistrationContextContainer) HasIabNodeInd() bool {
if o != nil && !IsNil(o.IabNodeInd) {
return true
}
return false
}
// SetIabNodeInd gets a reference to the given bool and assigns it to the IabNodeInd field.
func (o *RegistrationContextContainer) SetIabNodeInd(v bool) {
o.IabNodeInd = &v
}
// GetCeModeBInd returns the CeModeBInd field value if set, zero value otherwise.
func (o *RegistrationContextContainer) GetCeModeBInd() CeModeBInd {
if o == nil || IsNil(o.CeModeBInd) {
var ret CeModeBInd
return ret
}
return *o.CeModeBInd
}
// GetCeModeBIndOk returns a tuple with the CeModeBInd field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RegistrationContextContainer) GetCeModeBIndOk() (*CeModeBInd, bool) {
if o == nil || IsNil(o.CeModeBInd) {
return nil, false
}
return o.CeModeBInd, true
}
// HasCeModeBInd returns a boolean if a field has been set.
func (o *RegistrationContextContainer) HasCeModeBInd() bool {
if o != nil && !IsNil(o.CeModeBInd) {
return true
}
return false
}
// SetCeModeBInd gets a reference to the given CeModeBInd and assigns it to the CeModeBInd field.
func (o *RegistrationContextContainer) SetCeModeBInd(v CeModeBInd) {
o.CeModeBInd = &v
}
// GetLteMInd returns the LteMInd field value if set, zero value otherwise.
func (o *RegistrationContextContainer) GetLteMInd() LteMInd {
if o == nil || IsNil(o.LteMInd) {
var ret LteMInd
return ret
}
return *o.LteMInd
}
// GetLteMIndOk returns a tuple with the LteMInd field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RegistrationContextContainer) GetLteMIndOk() (*LteMInd, bool) {
if o == nil || IsNil(o.LteMInd) {
return nil, false
}
return o.LteMInd, true
}
// HasLteMInd returns a boolean if a field has been set.
func (o *RegistrationContextContainer) HasLteMInd() bool {
if o != nil && !IsNil(o.LteMInd) {
return true
}
return false
}
// SetLteMInd gets a reference to the given LteMInd and assigns it to the LteMInd field.
func (o *RegistrationContextContainer) SetLteMInd(v LteMInd) {
o.LteMInd = &v
}
// GetAuthenticatedInd returns the AuthenticatedInd field value if set, zero value otherwise.
func (o *RegistrationContextContainer) GetAuthenticatedInd() bool {
if o == nil || IsNil(o.AuthenticatedInd) {
var ret bool
return ret
}
return *o.AuthenticatedInd
}
// GetAuthenticatedIndOk returns a tuple with the AuthenticatedInd field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RegistrationContextContainer) GetAuthenticatedIndOk() (*bool, bool) {
if o == nil || IsNil(o.AuthenticatedInd) {
return nil, false
}
return o.AuthenticatedInd, true
}
// HasAuthenticatedInd returns a boolean if a field has been set.
func (o *RegistrationContextContainer) HasAuthenticatedInd() bool {
if o != nil && !IsNil(o.AuthenticatedInd) {
return true
}
return false
}
// SetAuthenticatedInd gets a reference to the given bool and assigns it to the AuthenticatedInd field.
func (o *RegistrationContextContainer) SetAuthenticatedInd(v bool) {
o.AuthenticatedInd = &v
}
// GetNpnAccessInfo returns the NpnAccessInfo field value if set, zero value otherwise.
func (o *RegistrationContextContainer) GetNpnAccessInfo() NpnAccessInfo {
if o == nil || IsNil(o.NpnAccessInfo) {
var ret NpnAccessInfo
return ret
}
return *o.NpnAccessInfo
}
// GetNpnAccessInfoOk returns a tuple with the NpnAccessInfo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *RegistrationContextContainer) GetNpnAccessInfoOk() (*NpnAccessInfo, bool) {
if o == nil || IsNil(o.NpnAccessInfo) {
return nil, false
}
return o.NpnAccessInfo, true
}
// HasNpnAccessInfo returns a boolean if a field has been set.
func (o *RegistrationContextContainer) HasNpnAccessInfo() bool {
if o != nil && !IsNil(o.NpnAccessInfo) {
return true
}
return false
}
// SetNpnAccessInfo gets a reference to the given NpnAccessInfo and assigns it to the NpnAccessInfo field.
func (o *RegistrationContextContainer) SetNpnAccessInfo(v NpnAccessInfo) {
o.NpnAccessInfo = &v
}
func (o RegistrationContextContainer) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o RegistrationContextContainer) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
toSerialize["ueContext"] = o.UeContext
if !IsNil(o.LocalTimeZone) {
toSerialize["localTimeZone"] = o.LocalTimeZone
}
toSerialize["anType"] = o.AnType
toSerialize["anN2ApId"] = o.AnN2ApId
toSerialize["ranNodeId"] = o.RanNodeId
toSerialize["initialAmfName"] = o.InitialAmfName
toSerialize["userLocation"] = o.UserLocation
if !IsNil(o.RrcEstCause) {
toSerialize["rrcEstCause"] = o.RrcEstCause
}
if !IsNil(o.UeContextRequest) {
toSerialize["ueContextRequest"] = o.UeContextRequest
}
if !IsNil(o.InitialAmfN2ApId) {
toSerialize["initialAmfN2ApId"] = o.InitialAmfN2ApId
}
if !IsNil(o.AnN2IPv4Addr) {
toSerialize["anN2IPv4Addr"] = o.AnN2IPv4Addr
}
if !IsNil(o.AnN2IPv6Addr) {
toSerialize["anN2IPv6Addr"] = o.AnN2IPv6Addr
}
if !IsNil(o.AllowedNssai) {
toSerialize["allowedNssai"] = o.AllowedNssai
}
if !IsNil(o.ConfiguredNssai) {
toSerialize["configuredNssai"] = o.ConfiguredNssai
}
if !IsNil(o.RejectedNssaiInPlmn) {
toSerialize["rejectedNssaiInPlmn"] = o.RejectedNssaiInPlmn
}
if !IsNil(o.RejectedNssaiInTa) {
toSerialize["rejectedNssaiInTa"] = o.RejectedNssaiInTa
}
if !IsNil(o.SelectedPlmnId) {
toSerialize["selectedPlmnId"] = o.SelectedPlmnId
}
if !IsNil(o.IabNodeInd) {
toSerialize["iabNodeInd"] = o.IabNodeInd
}
if !IsNil(o.CeModeBInd) {
toSerialize["ceModeBInd"] = o.CeModeBInd
}
if !IsNil(o.LteMInd) {
toSerialize["lteMInd"] = o.LteMInd
}
if !IsNil(o.AuthenticatedInd) {
toSerialize["authenticatedInd"] = o.AuthenticatedInd
}
if !IsNil(o.NpnAccessInfo) {
toSerialize["npnAccessInfo"] = o.NpnAccessInfo
}
return toSerialize, nil
}
type NullableRegistrationContextContainer struct {
value *RegistrationContextContainer
isSet bool
}
func (v NullableRegistrationContextContainer) Get() *RegistrationContextContainer {
return v.value
}
func (v *NullableRegistrationContextContainer) Set(val *RegistrationContextContainer) {
v.value = val
v.isSet = true
}
func (v NullableRegistrationContextContainer) IsSet() bool {
return v.isSet
}
func (v *NullableRegistrationContextContainer) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableRegistrationContextContainer(val *RegistrationContextContainer) *NullableRegistrationContextContainer {
return &NullableRegistrationContextContainer{value: val, isSet: true}
}
func (v NullableRegistrationContextContainer) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableRegistrationContextContainer) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}