This repository has been archived by the owner on Aug 21, 2023. It is now read-only.
/
model_pdu_session_context.go
1399 lines (1200 loc) · 47.9 KB
/
model_pdu_session_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
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
/*
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 PduSessionContext type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &PduSessionContext{}
// PduSessionContext Represents a PDU Session Context in UE Context
type PduSessionContext struct {
// Unsigned integer identifying a PDU session, within the range 0 to 255, as specified in clause 11.2.3.1b, bits 1 to 8, of 3GPP TS 24.007. If the PDU Session ID is allocated by the Core Network for UEs not supporting N1 mode, reserved range 64 to 95 is used. PDU Session ID within the reserved range is only visible in the Core Network.
PduSessionId int32 `json:"pduSessionId"`
// String providing an URI formatted according to RFC 3986.
SmContextRef string `json:"smContextRef"`
SNssai Snssai `json:"sNssai"`
// String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\").
Dnn string `json:"dnn"`
// String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\").
SelectedDnn *string `json:"selectedDnn,omitempty"`
AccessType AccessType `json:"accessType"`
AdditionalAccessType *AccessType `json:"additionalAccessType,omitempty"`
AllocatedEbiList []EbiArpMapping `json:"allocatedEbiList,omitempty"`
// String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122.
HsmfId *string `json:"hsmfId,omitempty"`
// NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set<Set ID>.<nftype>set.5gc.mnc<MNC>.mcc<MCC>\", or \"set<SetID>.<NFType>set.5gc.nid<NID>.mnc<MNC>.mcc<MCC>\" with <MCC> encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) <MNC> encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' <NFType> encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters <Set ID> encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit.
HsmfSetId *string `json:"hsmfSetId,omitempty"`
// NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set<Set ID>.sn<Service Name>.nfi<NF Instance ID>.5gc.mnc<MNC>.mcc<MCC>\", or \"set<SetID>.sn<ServiceName>.nfi<NFInstanceID>.5gc.nid<NID>.mnc<MNC>.mcc<MCC>\" with <MCC> encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) <MNC> encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' <NID> encoded as defined in clause 5.4.2 (\"Nid\" data type definition) <NFInstanceId> encoded as defined in clause 5.3.2 <ServiceName> encoded as defined in 3GPP TS 29.510 <Set ID> encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit.
HsmfServiceSetId *string `json:"hsmfServiceSetId,omitempty"`
SmfBinding *SbiBindingLevel `json:"smfBinding,omitempty"`
// String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122.
VsmfId *string `json:"vsmfId,omitempty"`
// NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set<Set ID>.<nftype>set.5gc.mnc<MNC>.mcc<MCC>\", or \"set<SetID>.<NFType>set.5gc.nid<NID>.mnc<MNC>.mcc<MCC>\" with <MCC> encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) <MNC> encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' <NFType> encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters <Set ID> encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit.
VsmfSetId *string `json:"vsmfSetId,omitempty"`
// NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set<Set ID>.sn<Service Name>.nfi<NF Instance ID>.5gc.mnc<MNC>.mcc<MCC>\", or \"set<SetID>.sn<ServiceName>.nfi<NFInstanceID>.5gc.nid<NID>.mnc<MNC>.mcc<MCC>\" with <MCC> encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) <MNC> encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' <NID> encoded as defined in clause 5.4.2 (\"Nid\" data type definition) <NFInstanceId> encoded as defined in clause 5.3.2 <ServiceName> encoded as defined in 3GPP TS 29.510 <Set ID> encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit.
VsmfServiceSetId *string `json:"vsmfServiceSetId,omitempty"`
VsmfBinding *SbiBindingLevel `json:"vsmfBinding,omitempty"`
// String uniquely identifying a NF instance. The format of the NF Instance ID shall be a Universally Unique Identifier (UUID) version 4, as described in IETF RFC 4122.
IsmfId *string `json:"ismfId,omitempty"`
// NF Set Identifier (see clause 28.12 of 3GPP TS 23.003), formatted as the following string \"set<Set ID>.<nftype>set.5gc.mnc<MNC>.mcc<MCC>\", or \"set<SetID>.<NFType>set.5gc.nid<NID>.mnc<MNC>.mcc<MCC>\" with <MCC> encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) <MNC> encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' <NFType> encoded as a value defined in Table 6.1.6.3.3-1 of 3GPP TS 29.510 but with lower case characters <Set ID> encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit.
IsmfSetId *string `json:"ismfSetId,omitempty"`
// NF Service Set Identifier (see clause 28.12 of 3GPP TS 23.003) formatted as the following string \"set<Set ID>.sn<Service Name>.nfi<NF Instance ID>.5gc.mnc<MNC>.mcc<MCC>\", or \"set<SetID>.sn<ServiceName>.nfi<NFInstanceID>.5gc.nid<NID>.mnc<MNC>.mcc<MCC>\" with <MCC> encoded as defined in clause 5.4.2 (\"Mcc\" data type definition) <MNC> encoding the Mobile Network Code part of the PLMN, comprising 3 digits. If there are only 2 significant digits in the MNC, one \"0\" digit shall be inserted at the left side to fill the 3 digits coding of MNC. Pattern: '^[0-9]{3}$' <NID> encoded as defined in clause 5.4.2 (\"Nid\" data type definition) <NFInstanceId> encoded as defined in clause 5.3.2 <ServiceName> encoded as defined in 3GPP TS 29.510 <Set ID> encoded as a string of characters consisting of alphabetic characters (A-Z and a-z), digits (0-9) and/or the hyphen (-) and that shall end with either an alphabetic character or a digit.
IsmfServiceSetId *string `json:"ismfServiceSetId,omitempty"`
IsmfBinding *SbiBindingLevel `json:"ismfBinding,omitempty"`
// Contains the Identifier of the selected Network Slice instance
NsInstance *string `json:"nsInstance,omitempty"`
SmfServiceInstanceId *string `json:"smfServiceInstanceId,omitempty"`
MaPduSession *bool `json:"maPduSession,omitempty"`
CnAssistedRanPara *CnAssistedRanPara `json:"cnAssistedRanPara,omitempty"`
// String providing an URI formatted according to RFC 3986.
NrfManagementUri *string `json:"nrfManagementUri,omitempty"`
// String providing an URI formatted according to RFC 3986.
NrfDiscoveryUri *string `json:"nrfDiscoveryUri,omitempty"`
// String providing an URI formatted according to RFC 3986.
NrfAccessTokenUri *string `json:"nrfAccessTokenUri,omitempty"`
SmfBindingInfo *string `json:"smfBindingInfo,omitempty"`
VsmfBindingInfo *string `json:"vsmfBindingInfo,omitempty"`
IsmfBindingInfo *string `json:"ismfBindingInfo,omitempty"`
AdditionalSnssai *Snssai `json:"additionalSnssai,omitempty"`
// String providing an URI formatted according to RFC 3986.
InterPlmnApiRoot *string `json:"interPlmnApiRoot,omitempty"`
// Fully Qualified Domain Name
PgwFqdn *string `json:"pgwFqdn,omitempty"`
PgwIpAddr *IpAddress `json:"pgwIpAddr,omitempty"`
PlmnId *PlmnId `json:"plmnId,omitempty"`
// A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported.
AnchorSmfSupportedFeatures *string `json:"anchorSmfSupportedFeatures,omitempty"`
AnchorSmfOauth2Required *bool `json:"anchorSmfOauth2Required,omitempty"`
}
// NewPduSessionContext instantiates a new PduSessionContext 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 NewPduSessionContext(pduSessionId int32, smContextRef string, sNssai Snssai, dnn string, accessType AccessType) *PduSessionContext {
this := PduSessionContext{}
this.PduSessionId = pduSessionId
this.SmContextRef = smContextRef
this.SNssai = sNssai
this.Dnn = dnn
this.AccessType = accessType
var maPduSession bool = false
this.MaPduSession = &maPduSession
return &this
}
// NewPduSessionContextWithDefaults instantiates a new PduSessionContext 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 NewPduSessionContextWithDefaults() *PduSessionContext {
this := PduSessionContext{}
var maPduSession bool = false
this.MaPduSession = &maPduSession
return &this
}
// GetPduSessionId returns the PduSessionId field value
func (o *PduSessionContext) GetPduSessionId() int32 {
if o == nil {
var ret int32
return ret
}
return o.PduSessionId
}
// GetPduSessionIdOk returns a tuple with the PduSessionId field value
// and a boolean to check if the value has been set.
func (o *PduSessionContext) GetPduSessionIdOk() (*int32, bool) {
if o == nil {
return nil, false
}
return &o.PduSessionId, true
}
// SetPduSessionId sets field value
func (o *PduSessionContext) SetPduSessionId(v int32) {
o.PduSessionId = v
}
// GetSmContextRef returns the SmContextRef field value
func (o *PduSessionContext) GetSmContextRef() string {
if o == nil {
var ret string
return ret
}
return o.SmContextRef
}
// GetSmContextRefOk returns a tuple with the SmContextRef field value
// and a boolean to check if the value has been set.
func (o *PduSessionContext) GetSmContextRefOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.SmContextRef, true
}
// SetSmContextRef sets field value
func (o *PduSessionContext) SetSmContextRef(v string) {
o.SmContextRef = v
}
// GetSNssai returns the SNssai field value
func (o *PduSessionContext) GetSNssai() Snssai {
if o == nil {
var ret Snssai
return ret
}
return o.SNssai
}
// GetSNssaiOk returns a tuple with the SNssai field value
// and a boolean to check if the value has been set.
func (o *PduSessionContext) GetSNssaiOk() (*Snssai, bool) {
if o == nil {
return nil, false
}
return &o.SNssai, true
}
// SetSNssai sets field value
func (o *PduSessionContext) SetSNssai(v Snssai) {
o.SNssai = v
}
// GetDnn returns the Dnn field value
func (o *PduSessionContext) GetDnn() string {
if o == nil {
var ret string
return ret
}
return o.Dnn
}
// GetDnnOk returns a tuple with the Dnn field value
// and a boolean to check if the value has been set.
func (o *PduSessionContext) GetDnnOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.Dnn, true
}
// SetDnn sets field value
func (o *PduSessionContext) SetDnn(v string) {
o.Dnn = v
}
// GetSelectedDnn returns the SelectedDnn field value if set, zero value otherwise.
func (o *PduSessionContext) GetSelectedDnn() string {
if o == nil || IsNil(o.SelectedDnn) {
var ret string
return ret
}
return *o.SelectedDnn
}
// GetSelectedDnnOk returns a tuple with the SelectedDnn field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionContext) GetSelectedDnnOk() (*string, bool) {
if o == nil || IsNil(o.SelectedDnn) {
return nil, false
}
return o.SelectedDnn, true
}
// HasSelectedDnn returns a boolean if a field has been set.
func (o *PduSessionContext) HasSelectedDnn() bool {
if o != nil && !IsNil(o.SelectedDnn) {
return true
}
return false
}
// SetSelectedDnn gets a reference to the given string and assigns it to the SelectedDnn field.
func (o *PduSessionContext) SetSelectedDnn(v string) {
o.SelectedDnn = &v
}
// GetAccessType returns the AccessType field value
func (o *PduSessionContext) 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 *PduSessionContext) GetAccessTypeOk() (*AccessType, bool) {
if o == nil {
return nil, false
}
return &o.AccessType, true
}
// SetAccessType sets field value
func (o *PduSessionContext) SetAccessType(v AccessType) {
o.AccessType = v
}
// GetAdditionalAccessType returns the AdditionalAccessType field value if set, zero value otherwise.
func (o *PduSessionContext) GetAdditionalAccessType() AccessType {
if o == nil || IsNil(o.AdditionalAccessType) {
var ret AccessType
return ret
}
return *o.AdditionalAccessType
}
// GetAdditionalAccessTypeOk returns a tuple with the AdditionalAccessType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionContext) GetAdditionalAccessTypeOk() (*AccessType, bool) {
if o == nil || IsNil(o.AdditionalAccessType) {
return nil, false
}
return o.AdditionalAccessType, true
}
// HasAdditionalAccessType returns a boolean if a field has been set.
func (o *PduSessionContext) HasAdditionalAccessType() bool {
if o != nil && !IsNil(o.AdditionalAccessType) {
return true
}
return false
}
// SetAdditionalAccessType gets a reference to the given AccessType and assigns it to the AdditionalAccessType field.
func (o *PduSessionContext) SetAdditionalAccessType(v AccessType) {
o.AdditionalAccessType = &v
}
// GetAllocatedEbiList returns the AllocatedEbiList field value if set, zero value otherwise.
func (o *PduSessionContext) GetAllocatedEbiList() []EbiArpMapping {
if o == nil || IsNil(o.AllocatedEbiList) {
var ret []EbiArpMapping
return ret
}
return o.AllocatedEbiList
}
// GetAllocatedEbiListOk returns a tuple with the AllocatedEbiList field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionContext) GetAllocatedEbiListOk() ([]EbiArpMapping, bool) {
if o == nil || IsNil(o.AllocatedEbiList) {
return nil, false
}
return o.AllocatedEbiList, true
}
// HasAllocatedEbiList returns a boolean if a field has been set.
func (o *PduSessionContext) HasAllocatedEbiList() bool {
if o != nil && !IsNil(o.AllocatedEbiList) {
return true
}
return false
}
// SetAllocatedEbiList gets a reference to the given []EbiArpMapping and assigns it to the AllocatedEbiList field.
func (o *PduSessionContext) SetAllocatedEbiList(v []EbiArpMapping) {
o.AllocatedEbiList = v
}
// GetHsmfId returns the HsmfId field value if set, zero value otherwise.
func (o *PduSessionContext) GetHsmfId() string {
if o == nil || IsNil(o.HsmfId) {
var ret string
return ret
}
return *o.HsmfId
}
// GetHsmfIdOk returns a tuple with the HsmfId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionContext) GetHsmfIdOk() (*string, bool) {
if o == nil || IsNil(o.HsmfId) {
return nil, false
}
return o.HsmfId, true
}
// HasHsmfId returns a boolean if a field has been set.
func (o *PduSessionContext) HasHsmfId() bool {
if o != nil && !IsNil(o.HsmfId) {
return true
}
return false
}
// SetHsmfId gets a reference to the given string and assigns it to the HsmfId field.
func (o *PduSessionContext) SetHsmfId(v string) {
o.HsmfId = &v
}
// GetHsmfSetId returns the HsmfSetId field value if set, zero value otherwise.
func (o *PduSessionContext) GetHsmfSetId() string {
if o == nil || IsNil(o.HsmfSetId) {
var ret string
return ret
}
return *o.HsmfSetId
}
// GetHsmfSetIdOk returns a tuple with the HsmfSetId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionContext) GetHsmfSetIdOk() (*string, bool) {
if o == nil || IsNil(o.HsmfSetId) {
return nil, false
}
return o.HsmfSetId, true
}
// HasHsmfSetId returns a boolean if a field has been set.
func (o *PduSessionContext) HasHsmfSetId() bool {
if o != nil && !IsNil(o.HsmfSetId) {
return true
}
return false
}
// SetHsmfSetId gets a reference to the given string and assigns it to the HsmfSetId field.
func (o *PduSessionContext) SetHsmfSetId(v string) {
o.HsmfSetId = &v
}
// GetHsmfServiceSetId returns the HsmfServiceSetId field value if set, zero value otherwise.
func (o *PduSessionContext) GetHsmfServiceSetId() string {
if o == nil || IsNil(o.HsmfServiceSetId) {
var ret string
return ret
}
return *o.HsmfServiceSetId
}
// GetHsmfServiceSetIdOk returns a tuple with the HsmfServiceSetId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionContext) GetHsmfServiceSetIdOk() (*string, bool) {
if o == nil || IsNil(o.HsmfServiceSetId) {
return nil, false
}
return o.HsmfServiceSetId, true
}
// HasHsmfServiceSetId returns a boolean if a field has been set.
func (o *PduSessionContext) HasHsmfServiceSetId() bool {
if o != nil && !IsNil(o.HsmfServiceSetId) {
return true
}
return false
}
// SetHsmfServiceSetId gets a reference to the given string and assigns it to the HsmfServiceSetId field.
func (o *PduSessionContext) SetHsmfServiceSetId(v string) {
o.HsmfServiceSetId = &v
}
// GetSmfBinding returns the SmfBinding field value if set, zero value otherwise.
func (o *PduSessionContext) GetSmfBinding() SbiBindingLevel {
if o == nil || IsNil(o.SmfBinding) {
var ret SbiBindingLevel
return ret
}
return *o.SmfBinding
}
// GetSmfBindingOk returns a tuple with the SmfBinding field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionContext) GetSmfBindingOk() (*SbiBindingLevel, bool) {
if o == nil || IsNil(o.SmfBinding) {
return nil, false
}
return o.SmfBinding, true
}
// HasSmfBinding returns a boolean if a field has been set.
func (o *PduSessionContext) HasSmfBinding() bool {
if o != nil && !IsNil(o.SmfBinding) {
return true
}
return false
}
// SetSmfBinding gets a reference to the given SbiBindingLevel and assigns it to the SmfBinding field.
func (o *PduSessionContext) SetSmfBinding(v SbiBindingLevel) {
o.SmfBinding = &v
}
// GetVsmfId returns the VsmfId field value if set, zero value otherwise.
func (o *PduSessionContext) GetVsmfId() string {
if o == nil || IsNil(o.VsmfId) {
var ret string
return ret
}
return *o.VsmfId
}
// GetVsmfIdOk returns a tuple with the VsmfId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionContext) GetVsmfIdOk() (*string, bool) {
if o == nil || IsNil(o.VsmfId) {
return nil, false
}
return o.VsmfId, true
}
// HasVsmfId returns a boolean if a field has been set.
func (o *PduSessionContext) HasVsmfId() bool {
if o != nil && !IsNil(o.VsmfId) {
return true
}
return false
}
// SetVsmfId gets a reference to the given string and assigns it to the VsmfId field.
func (o *PduSessionContext) SetVsmfId(v string) {
o.VsmfId = &v
}
// GetVsmfSetId returns the VsmfSetId field value if set, zero value otherwise.
func (o *PduSessionContext) GetVsmfSetId() string {
if o == nil || IsNil(o.VsmfSetId) {
var ret string
return ret
}
return *o.VsmfSetId
}
// GetVsmfSetIdOk returns a tuple with the VsmfSetId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionContext) GetVsmfSetIdOk() (*string, bool) {
if o == nil || IsNil(o.VsmfSetId) {
return nil, false
}
return o.VsmfSetId, true
}
// HasVsmfSetId returns a boolean if a field has been set.
func (o *PduSessionContext) HasVsmfSetId() bool {
if o != nil && !IsNil(o.VsmfSetId) {
return true
}
return false
}
// SetVsmfSetId gets a reference to the given string and assigns it to the VsmfSetId field.
func (o *PduSessionContext) SetVsmfSetId(v string) {
o.VsmfSetId = &v
}
// GetVsmfServiceSetId returns the VsmfServiceSetId field value if set, zero value otherwise.
func (o *PduSessionContext) GetVsmfServiceSetId() string {
if o == nil || IsNil(o.VsmfServiceSetId) {
var ret string
return ret
}
return *o.VsmfServiceSetId
}
// GetVsmfServiceSetIdOk returns a tuple with the VsmfServiceSetId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionContext) GetVsmfServiceSetIdOk() (*string, bool) {
if o == nil || IsNil(o.VsmfServiceSetId) {
return nil, false
}
return o.VsmfServiceSetId, true
}
// HasVsmfServiceSetId returns a boolean if a field has been set.
func (o *PduSessionContext) HasVsmfServiceSetId() bool {
if o != nil && !IsNil(o.VsmfServiceSetId) {
return true
}
return false
}
// SetVsmfServiceSetId gets a reference to the given string and assigns it to the VsmfServiceSetId field.
func (o *PduSessionContext) SetVsmfServiceSetId(v string) {
o.VsmfServiceSetId = &v
}
// GetVsmfBinding returns the VsmfBinding field value if set, zero value otherwise.
func (o *PduSessionContext) GetVsmfBinding() SbiBindingLevel {
if o == nil || IsNil(o.VsmfBinding) {
var ret SbiBindingLevel
return ret
}
return *o.VsmfBinding
}
// GetVsmfBindingOk returns a tuple with the VsmfBinding field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionContext) GetVsmfBindingOk() (*SbiBindingLevel, bool) {
if o == nil || IsNil(o.VsmfBinding) {
return nil, false
}
return o.VsmfBinding, true
}
// HasVsmfBinding returns a boolean if a field has been set.
func (o *PduSessionContext) HasVsmfBinding() bool {
if o != nil && !IsNil(o.VsmfBinding) {
return true
}
return false
}
// SetVsmfBinding gets a reference to the given SbiBindingLevel and assigns it to the VsmfBinding field.
func (o *PduSessionContext) SetVsmfBinding(v SbiBindingLevel) {
o.VsmfBinding = &v
}
// GetIsmfId returns the IsmfId field value if set, zero value otherwise.
func (o *PduSessionContext) GetIsmfId() string {
if o == nil || IsNil(o.IsmfId) {
var ret string
return ret
}
return *o.IsmfId
}
// GetIsmfIdOk returns a tuple with the IsmfId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionContext) GetIsmfIdOk() (*string, bool) {
if o == nil || IsNil(o.IsmfId) {
return nil, false
}
return o.IsmfId, true
}
// HasIsmfId returns a boolean if a field has been set.
func (o *PduSessionContext) HasIsmfId() bool {
if o != nil && !IsNil(o.IsmfId) {
return true
}
return false
}
// SetIsmfId gets a reference to the given string and assigns it to the IsmfId field.
func (o *PduSessionContext) SetIsmfId(v string) {
o.IsmfId = &v
}
// GetIsmfSetId returns the IsmfSetId field value if set, zero value otherwise.
func (o *PduSessionContext) GetIsmfSetId() string {
if o == nil || IsNil(o.IsmfSetId) {
var ret string
return ret
}
return *o.IsmfSetId
}
// GetIsmfSetIdOk returns a tuple with the IsmfSetId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionContext) GetIsmfSetIdOk() (*string, bool) {
if o == nil || IsNil(o.IsmfSetId) {
return nil, false
}
return o.IsmfSetId, true
}
// HasIsmfSetId returns a boolean if a field has been set.
func (o *PduSessionContext) HasIsmfSetId() bool {
if o != nil && !IsNil(o.IsmfSetId) {
return true
}
return false
}
// SetIsmfSetId gets a reference to the given string and assigns it to the IsmfSetId field.
func (o *PduSessionContext) SetIsmfSetId(v string) {
o.IsmfSetId = &v
}
// GetIsmfServiceSetId returns the IsmfServiceSetId field value if set, zero value otherwise.
func (o *PduSessionContext) GetIsmfServiceSetId() string {
if o == nil || IsNil(o.IsmfServiceSetId) {
var ret string
return ret
}
return *o.IsmfServiceSetId
}
// GetIsmfServiceSetIdOk returns a tuple with the IsmfServiceSetId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionContext) GetIsmfServiceSetIdOk() (*string, bool) {
if o == nil || IsNil(o.IsmfServiceSetId) {
return nil, false
}
return o.IsmfServiceSetId, true
}
// HasIsmfServiceSetId returns a boolean if a field has been set.
func (o *PduSessionContext) HasIsmfServiceSetId() bool {
if o != nil && !IsNil(o.IsmfServiceSetId) {
return true
}
return false
}
// SetIsmfServiceSetId gets a reference to the given string and assigns it to the IsmfServiceSetId field.
func (o *PduSessionContext) SetIsmfServiceSetId(v string) {
o.IsmfServiceSetId = &v
}
// GetIsmfBinding returns the IsmfBinding field value if set, zero value otherwise.
func (o *PduSessionContext) GetIsmfBinding() SbiBindingLevel {
if o == nil || IsNil(o.IsmfBinding) {
var ret SbiBindingLevel
return ret
}
return *o.IsmfBinding
}
// GetIsmfBindingOk returns a tuple with the IsmfBinding field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionContext) GetIsmfBindingOk() (*SbiBindingLevel, bool) {
if o == nil || IsNil(o.IsmfBinding) {
return nil, false
}
return o.IsmfBinding, true
}
// HasIsmfBinding returns a boolean if a field has been set.
func (o *PduSessionContext) HasIsmfBinding() bool {
if o != nil && !IsNil(o.IsmfBinding) {
return true
}
return false
}
// SetIsmfBinding gets a reference to the given SbiBindingLevel and assigns it to the IsmfBinding field.
func (o *PduSessionContext) SetIsmfBinding(v SbiBindingLevel) {
o.IsmfBinding = &v
}
// GetNsInstance returns the NsInstance field value if set, zero value otherwise.
func (o *PduSessionContext) GetNsInstance() string {
if o == nil || IsNil(o.NsInstance) {
var ret string
return ret
}
return *o.NsInstance
}
// GetNsInstanceOk returns a tuple with the NsInstance field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionContext) GetNsInstanceOk() (*string, bool) {
if o == nil || IsNil(o.NsInstance) {
return nil, false
}
return o.NsInstance, true
}
// HasNsInstance returns a boolean if a field has been set.
func (o *PduSessionContext) HasNsInstance() bool {
if o != nil && !IsNil(o.NsInstance) {
return true
}
return false
}
// SetNsInstance gets a reference to the given string and assigns it to the NsInstance field.
func (o *PduSessionContext) SetNsInstance(v string) {
o.NsInstance = &v
}
// GetSmfServiceInstanceId returns the SmfServiceInstanceId field value if set, zero value otherwise.
func (o *PduSessionContext) GetSmfServiceInstanceId() string {
if o == nil || IsNil(o.SmfServiceInstanceId) {
var ret string
return ret
}
return *o.SmfServiceInstanceId
}
// GetSmfServiceInstanceIdOk returns a tuple with the SmfServiceInstanceId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionContext) GetSmfServiceInstanceIdOk() (*string, bool) {
if o == nil || IsNil(o.SmfServiceInstanceId) {
return nil, false
}
return o.SmfServiceInstanceId, true
}
// HasSmfServiceInstanceId returns a boolean if a field has been set.
func (o *PduSessionContext) HasSmfServiceInstanceId() bool {
if o != nil && !IsNil(o.SmfServiceInstanceId) {
return true
}
return false
}
// SetSmfServiceInstanceId gets a reference to the given string and assigns it to the SmfServiceInstanceId field.
func (o *PduSessionContext) SetSmfServiceInstanceId(v string) {
o.SmfServiceInstanceId = &v
}
// GetMaPduSession returns the MaPduSession field value if set, zero value otherwise.
func (o *PduSessionContext) GetMaPduSession() bool {
if o == nil || IsNil(o.MaPduSession) {
var ret bool
return ret
}
return *o.MaPduSession
}
// GetMaPduSessionOk returns a tuple with the MaPduSession field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionContext) GetMaPduSessionOk() (*bool, bool) {
if o == nil || IsNil(o.MaPduSession) {
return nil, false
}
return o.MaPduSession, true
}
// HasMaPduSession returns a boolean if a field has been set.
func (o *PduSessionContext) HasMaPduSession() bool {
if o != nil && !IsNil(o.MaPduSession) {
return true
}
return false
}
// SetMaPduSession gets a reference to the given bool and assigns it to the MaPduSession field.
func (o *PduSessionContext) SetMaPduSession(v bool) {
o.MaPduSession = &v
}
// GetCnAssistedRanPara returns the CnAssistedRanPara field value if set, zero value otherwise.
func (o *PduSessionContext) GetCnAssistedRanPara() CnAssistedRanPara {
if o == nil || IsNil(o.CnAssistedRanPara) {
var ret CnAssistedRanPara
return ret
}
return *o.CnAssistedRanPara
}
// GetCnAssistedRanParaOk returns a tuple with the CnAssistedRanPara field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionContext) GetCnAssistedRanParaOk() (*CnAssistedRanPara, bool) {
if o == nil || IsNil(o.CnAssistedRanPara) {
return nil, false
}
return o.CnAssistedRanPara, true
}
// HasCnAssistedRanPara returns a boolean if a field has been set.
func (o *PduSessionContext) HasCnAssistedRanPara() bool {
if o != nil && !IsNil(o.CnAssistedRanPara) {
return true
}
return false
}
// SetCnAssistedRanPara gets a reference to the given CnAssistedRanPara and assigns it to the CnAssistedRanPara field.
func (o *PduSessionContext) SetCnAssistedRanPara(v CnAssistedRanPara) {
o.CnAssistedRanPara = &v
}
// GetNrfManagementUri returns the NrfManagementUri field value if set, zero value otherwise.
func (o *PduSessionContext) GetNrfManagementUri() string {
if o == nil || IsNil(o.NrfManagementUri) {
var ret string
return ret
}
return *o.NrfManagementUri
}
// GetNrfManagementUriOk returns a tuple with the NrfManagementUri field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionContext) GetNrfManagementUriOk() (*string, bool) {
if o == nil || IsNil(o.NrfManagementUri) {
return nil, false
}
return o.NrfManagementUri, true
}
// HasNrfManagementUri returns a boolean if a field has been set.
func (o *PduSessionContext) HasNrfManagementUri() bool {
if o != nil && !IsNil(o.NrfManagementUri) {
return true
}
return false
}
// SetNrfManagementUri gets a reference to the given string and assigns it to the NrfManagementUri field.
func (o *PduSessionContext) SetNrfManagementUri(v string) {
o.NrfManagementUri = &v
}
// GetNrfDiscoveryUri returns the NrfDiscoveryUri field value if set, zero value otherwise.
func (o *PduSessionContext) GetNrfDiscoveryUri() string {
if o == nil || IsNil(o.NrfDiscoveryUri) {
var ret string
return ret
}
return *o.NrfDiscoveryUri
}
// GetNrfDiscoveryUriOk returns a tuple with the NrfDiscoveryUri field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionContext) GetNrfDiscoveryUriOk() (*string, bool) {
if o == nil || IsNil(o.NrfDiscoveryUri) {
return nil, false
}
return o.NrfDiscoveryUri, true
}
// HasNrfDiscoveryUri returns a boolean if a field has been set.
func (o *PduSessionContext) HasNrfDiscoveryUri() bool {
if o != nil && !IsNil(o.NrfDiscoveryUri) {
return true
}
return false
}
// SetNrfDiscoveryUri gets a reference to the given string and assigns it to the NrfDiscoveryUri field.
func (o *PduSessionContext) SetNrfDiscoveryUri(v string) {
o.NrfDiscoveryUri = &v
}
// GetNrfAccessTokenUri returns the NrfAccessTokenUri field value if set, zero value otherwise.
func (o *PduSessionContext) GetNrfAccessTokenUri() string {
if o == nil || IsNil(o.NrfAccessTokenUri) {
var ret string
return ret
}
return *o.NrfAccessTokenUri
}
// GetNrfAccessTokenUriOk returns a tuple with the NrfAccessTokenUri field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionContext) GetNrfAccessTokenUriOk() (*string, bool) {
if o == nil || IsNil(o.NrfAccessTokenUri) {
return nil, false
}
return o.NrfAccessTokenUri, true
}
// HasNrfAccessTokenUri returns a boolean if a field has been set.
func (o *PduSessionContext) HasNrfAccessTokenUri() bool {
if o != nil && !IsNil(o.NrfAccessTokenUri) {
return true
}
return false
}
// SetNrfAccessTokenUri gets a reference to the given string and assigns it to the NrfAccessTokenUri field.
func (o *PduSessionContext) SetNrfAccessTokenUri(v string) {
o.NrfAccessTokenUri = &v
}
// GetSmfBindingInfo returns the SmfBindingInfo field value if set, zero value otherwise.
func (o *PduSessionContext) GetSmfBindingInfo() string {
if o == nil || IsNil(o.SmfBindingInfo) {
var ret string
return ret
}
return *o.SmfBindingInfo
}
// GetSmfBindingInfoOk returns a tuple with the SmfBindingInfo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionContext) GetSmfBindingInfoOk() (*string, bool) {
if o == nil || IsNil(o.SmfBindingInfo) {
return nil, false
}
return o.SmfBindingInfo, true
}
// HasSmfBindingInfo returns a boolean if a field has been set.
func (o *PduSessionContext) HasSmfBindingInfo() bool {
if o != nil && !IsNil(o.SmfBindingInfo) {
return true
}
return false
}
// SetSmfBindingInfo gets a reference to the given string and assigns it to the SmfBindingInfo field.
func (o *PduSessionContext) SetSmfBindingInfo(v string) {
o.SmfBindingInfo = &v
}
// GetVsmfBindingInfo returns the VsmfBindingInfo field value if set, zero value otherwise.
func (o *PduSessionContext) GetVsmfBindingInfo() string {
if o == nil || IsNil(o.VsmfBindingInfo) {
var ret string
return ret
}
return *o.VsmfBindingInfo
}
// GetVsmfBindingInfoOk returns a tuple with the VsmfBindingInfo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PduSessionContext) GetVsmfBindingInfoOk() (*string, bool) {
if o == nil || IsNil(o.VsmfBindingInfo) {
return nil, false
}
return o.VsmfBindingInfo, true
}
// HasVsmfBindingInfo returns a boolean if a field has been set.
func (o *PduSessionContext) HasVsmfBindingInfo() bool {
if o != nil && !IsNil(o.VsmfBindingInfo) {
return true
}
return false
}
// SetVsmfBindingInfo gets a reference to the given string and assigns it to the VsmfBindingInfo field.
func (o *PduSessionContext) SetVsmfBindingInfo(v string) {
o.VsmfBindingInfo = &v
}
// GetIsmfBindingInfo returns the IsmfBindingInfo field value if set, zero value otherwise.
func (o *PduSessionContext) GetIsmfBindingInfo() string {
if o == nil || IsNil(o.IsmfBindingInfo) {
var ret string
return ret
}