This repository has been archived by the owner on Aug 21, 2023. It is now read-only.
/
model_pcf_function_single_all_of_attributes.go
709 lines (605 loc) · 22.3 KB
/
model_pcf_function_single_all_of_attributes.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
/*
Provisioning MnS
OAS 3.0.1 definition of the Provisioning MnS © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
API version: 17.2.0
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package openapi_ProvMnS
import (
"encoding/json"
)
// checks if the PcfFunctionSingleAllOfAttributes type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &PcfFunctionSingleAllOfAttributes{}
// PcfFunctionSingleAllOfAttributes struct for PcfFunctionSingleAllOfAttributes
type PcfFunctionSingleAllOfAttributes struct {
ManagedFunctionAttr
PLMNInfoList []PlmnInfo `json:"pLMNInfoList,omitempty"`
SBIFqdn *string `json:"sBIFqdn,omitempty"`
ManagedNFProfile *ManagedNFProfile `json:"managedNFProfile,omitempty"`
CommModelList []CommModel `json:"commModelList,omitempty"`
GroupId *string `json:"groupId,omitempty"`
DnnList []string `json:"dnnList,omitempty"`
SupiRanges []SupiRange `json:"supiRanges,omitempty"`
GpsiRanges []IdentityRange `json:"gpsiRanges,omitempty"`
RxDiamHost *string `json:"rxDiamHost,omitempty"`
RxDiamRealm *string `json:"rxDiamRealm,omitempty"`
V2xSupportInd *bool `json:"v2xSupportInd,omitempty"`
ProseSupportInd *bool `json:"proseSupportInd,omitempty"`
ProseCapability *ProseCapability `json:"proseCapability,omitempty"`
V2xCapability *V2xCapability `json:"v2xCapability,omitempty"`
Configurable5QISetRef *string `json:"configurable5QISetRef,omitempty"`
Dynamic5QISetRef *string `json:"dynamic5QISetRef,omitempty"`
SupportedBMOList []string `json:"supportedBMOList,omitempty"`
}
// NewPcfFunctionSingleAllOfAttributes instantiates a new PcfFunctionSingleAllOfAttributes 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 NewPcfFunctionSingleAllOfAttributes() *PcfFunctionSingleAllOfAttributes {
this := PcfFunctionSingleAllOfAttributes{}
return &this
}
// NewPcfFunctionSingleAllOfAttributesWithDefaults instantiates a new PcfFunctionSingleAllOfAttributes 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 NewPcfFunctionSingleAllOfAttributesWithDefaults() *PcfFunctionSingleAllOfAttributes {
this := PcfFunctionSingleAllOfAttributes{}
return &this
}
// GetPLMNInfoList returns the PLMNInfoList field value if set, zero value otherwise.
func (o *PcfFunctionSingleAllOfAttributes) GetPLMNInfoList() []PlmnInfo {
if o == nil || IsNil(o.PLMNInfoList) {
var ret []PlmnInfo
return ret
}
return o.PLMNInfoList
}
// GetPLMNInfoListOk returns a tuple with the PLMNInfoList field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PcfFunctionSingleAllOfAttributes) GetPLMNInfoListOk() ([]PlmnInfo, bool) {
if o == nil || IsNil(o.PLMNInfoList) {
return nil, false
}
return o.PLMNInfoList, true
}
// HasPLMNInfoList returns a boolean if a field has been set.
func (o *PcfFunctionSingleAllOfAttributes) HasPLMNInfoList() bool {
if o != nil && !IsNil(o.PLMNInfoList) {
return true
}
return false
}
// SetPLMNInfoList gets a reference to the given []PlmnInfo and assigns it to the PLMNInfoList field.
func (o *PcfFunctionSingleAllOfAttributes) SetPLMNInfoList(v []PlmnInfo) {
o.PLMNInfoList = v
}
// GetSBIFqdn returns the SBIFqdn field value if set, zero value otherwise.
func (o *PcfFunctionSingleAllOfAttributes) GetSBIFqdn() string {
if o == nil || IsNil(o.SBIFqdn) {
var ret string
return ret
}
return *o.SBIFqdn
}
// GetSBIFqdnOk returns a tuple with the SBIFqdn field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PcfFunctionSingleAllOfAttributes) GetSBIFqdnOk() (*string, bool) {
if o == nil || IsNil(o.SBIFqdn) {
return nil, false
}
return o.SBIFqdn, true
}
// HasSBIFqdn returns a boolean if a field has been set.
func (o *PcfFunctionSingleAllOfAttributes) HasSBIFqdn() bool {
if o != nil && !IsNil(o.SBIFqdn) {
return true
}
return false
}
// SetSBIFqdn gets a reference to the given string and assigns it to the SBIFqdn field.
func (o *PcfFunctionSingleAllOfAttributes) SetSBIFqdn(v string) {
o.SBIFqdn = &v
}
// GetManagedNFProfile returns the ManagedNFProfile field value if set, zero value otherwise.
func (o *PcfFunctionSingleAllOfAttributes) GetManagedNFProfile() ManagedNFProfile {
if o == nil || IsNil(o.ManagedNFProfile) {
var ret ManagedNFProfile
return ret
}
return *o.ManagedNFProfile
}
// GetManagedNFProfileOk returns a tuple with the ManagedNFProfile field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PcfFunctionSingleAllOfAttributes) GetManagedNFProfileOk() (*ManagedNFProfile, bool) {
if o == nil || IsNil(o.ManagedNFProfile) {
return nil, false
}
return o.ManagedNFProfile, true
}
// HasManagedNFProfile returns a boolean if a field has been set.
func (o *PcfFunctionSingleAllOfAttributes) HasManagedNFProfile() bool {
if o != nil && !IsNil(o.ManagedNFProfile) {
return true
}
return false
}
// SetManagedNFProfile gets a reference to the given ManagedNFProfile and assigns it to the ManagedNFProfile field.
func (o *PcfFunctionSingleAllOfAttributes) SetManagedNFProfile(v ManagedNFProfile) {
o.ManagedNFProfile = &v
}
// GetCommModelList returns the CommModelList field value if set, zero value otherwise.
func (o *PcfFunctionSingleAllOfAttributes) GetCommModelList() []CommModel {
if o == nil || IsNil(o.CommModelList) {
var ret []CommModel
return ret
}
return o.CommModelList
}
// GetCommModelListOk returns a tuple with the CommModelList field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PcfFunctionSingleAllOfAttributes) GetCommModelListOk() ([]CommModel, bool) {
if o == nil || IsNil(o.CommModelList) {
return nil, false
}
return o.CommModelList, true
}
// HasCommModelList returns a boolean if a field has been set.
func (o *PcfFunctionSingleAllOfAttributes) HasCommModelList() bool {
if o != nil && !IsNil(o.CommModelList) {
return true
}
return false
}
// SetCommModelList gets a reference to the given []CommModel and assigns it to the CommModelList field.
func (o *PcfFunctionSingleAllOfAttributes) SetCommModelList(v []CommModel) {
o.CommModelList = v
}
// GetGroupId returns the GroupId field value if set, zero value otherwise.
func (o *PcfFunctionSingleAllOfAttributes) GetGroupId() string {
if o == nil || IsNil(o.GroupId) {
var ret string
return ret
}
return *o.GroupId
}
// GetGroupIdOk returns a tuple with the GroupId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PcfFunctionSingleAllOfAttributes) GetGroupIdOk() (*string, bool) {
if o == nil || IsNil(o.GroupId) {
return nil, false
}
return o.GroupId, true
}
// HasGroupId returns a boolean if a field has been set.
func (o *PcfFunctionSingleAllOfAttributes) HasGroupId() bool {
if o != nil && !IsNil(o.GroupId) {
return true
}
return false
}
// SetGroupId gets a reference to the given string and assigns it to the GroupId field.
func (o *PcfFunctionSingleAllOfAttributes) SetGroupId(v string) {
o.GroupId = &v
}
// GetDnnList returns the DnnList field value if set, zero value otherwise.
func (o *PcfFunctionSingleAllOfAttributes) GetDnnList() []string {
if o == nil || IsNil(o.DnnList) {
var ret []string
return ret
}
return o.DnnList
}
// GetDnnListOk returns a tuple with the DnnList field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PcfFunctionSingleAllOfAttributes) GetDnnListOk() ([]string, bool) {
if o == nil || IsNil(o.DnnList) {
return nil, false
}
return o.DnnList, true
}
// HasDnnList returns a boolean if a field has been set.
func (o *PcfFunctionSingleAllOfAttributes) HasDnnList() bool {
if o != nil && !IsNil(o.DnnList) {
return true
}
return false
}
// SetDnnList gets a reference to the given []string and assigns it to the DnnList field.
func (o *PcfFunctionSingleAllOfAttributes) SetDnnList(v []string) {
o.DnnList = v
}
// GetSupiRanges returns the SupiRanges field value if set, zero value otherwise.
func (o *PcfFunctionSingleAllOfAttributes) GetSupiRanges() []SupiRange {
if o == nil || IsNil(o.SupiRanges) {
var ret []SupiRange
return ret
}
return o.SupiRanges
}
// GetSupiRangesOk returns a tuple with the SupiRanges field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PcfFunctionSingleAllOfAttributes) GetSupiRangesOk() ([]SupiRange, bool) {
if o == nil || IsNil(o.SupiRanges) {
return nil, false
}
return o.SupiRanges, true
}
// HasSupiRanges returns a boolean if a field has been set.
func (o *PcfFunctionSingleAllOfAttributes) HasSupiRanges() bool {
if o != nil && !IsNil(o.SupiRanges) {
return true
}
return false
}
// SetSupiRanges gets a reference to the given []SupiRange and assigns it to the SupiRanges field.
func (o *PcfFunctionSingleAllOfAttributes) SetSupiRanges(v []SupiRange) {
o.SupiRanges = v
}
// GetGpsiRanges returns the GpsiRanges field value if set, zero value otherwise.
func (o *PcfFunctionSingleAllOfAttributes) GetGpsiRanges() []IdentityRange {
if o == nil || IsNil(o.GpsiRanges) {
var ret []IdentityRange
return ret
}
return o.GpsiRanges
}
// GetGpsiRangesOk returns a tuple with the GpsiRanges field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PcfFunctionSingleAllOfAttributes) GetGpsiRangesOk() ([]IdentityRange, bool) {
if o == nil || IsNil(o.GpsiRanges) {
return nil, false
}
return o.GpsiRanges, true
}
// HasGpsiRanges returns a boolean if a field has been set.
func (o *PcfFunctionSingleAllOfAttributes) HasGpsiRanges() bool {
if o != nil && !IsNil(o.GpsiRanges) {
return true
}
return false
}
// SetGpsiRanges gets a reference to the given []IdentityRange and assigns it to the GpsiRanges field.
func (o *PcfFunctionSingleAllOfAttributes) SetGpsiRanges(v []IdentityRange) {
o.GpsiRanges = v
}
// GetRxDiamHost returns the RxDiamHost field value if set, zero value otherwise.
func (o *PcfFunctionSingleAllOfAttributes) GetRxDiamHost() string {
if o == nil || IsNil(o.RxDiamHost) {
var ret string
return ret
}
return *o.RxDiamHost
}
// GetRxDiamHostOk returns a tuple with the RxDiamHost field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PcfFunctionSingleAllOfAttributes) GetRxDiamHostOk() (*string, bool) {
if o == nil || IsNil(o.RxDiamHost) {
return nil, false
}
return o.RxDiamHost, true
}
// HasRxDiamHost returns a boolean if a field has been set.
func (o *PcfFunctionSingleAllOfAttributes) HasRxDiamHost() bool {
if o != nil && !IsNil(o.RxDiamHost) {
return true
}
return false
}
// SetRxDiamHost gets a reference to the given string and assigns it to the RxDiamHost field.
func (o *PcfFunctionSingleAllOfAttributes) SetRxDiamHost(v string) {
o.RxDiamHost = &v
}
// GetRxDiamRealm returns the RxDiamRealm field value if set, zero value otherwise.
func (o *PcfFunctionSingleAllOfAttributes) GetRxDiamRealm() string {
if o == nil || IsNil(o.RxDiamRealm) {
var ret string
return ret
}
return *o.RxDiamRealm
}
// GetRxDiamRealmOk returns a tuple with the RxDiamRealm field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PcfFunctionSingleAllOfAttributes) GetRxDiamRealmOk() (*string, bool) {
if o == nil || IsNil(o.RxDiamRealm) {
return nil, false
}
return o.RxDiamRealm, true
}
// HasRxDiamRealm returns a boolean if a field has been set.
func (o *PcfFunctionSingleAllOfAttributes) HasRxDiamRealm() bool {
if o != nil && !IsNil(o.RxDiamRealm) {
return true
}
return false
}
// SetRxDiamRealm gets a reference to the given string and assigns it to the RxDiamRealm field.
func (o *PcfFunctionSingleAllOfAttributes) SetRxDiamRealm(v string) {
o.RxDiamRealm = &v
}
// GetV2xSupportInd returns the V2xSupportInd field value if set, zero value otherwise.
func (o *PcfFunctionSingleAllOfAttributes) GetV2xSupportInd() bool {
if o == nil || IsNil(o.V2xSupportInd) {
var ret bool
return ret
}
return *o.V2xSupportInd
}
// GetV2xSupportIndOk returns a tuple with the V2xSupportInd field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PcfFunctionSingleAllOfAttributes) GetV2xSupportIndOk() (*bool, bool) {
if o == nil || IsNil(o.V2xSupportInd) {
return nil, false
}
return o.V2xSupportInd, true
}
// HasV2xSupportInd returns a boolean if a field has been set.
func (o *PcfFunctionSingleAllOfAttributes) HasV2xSupportInd() bool {
if o != nil && !IsNil(o.V2xSupportInd) {
return true
}
return false
}
// SetV2xSupportInd gets a reference to the given bool and assigns it to the V2xSupportInd field.
func (o *PcfFunctionSingleAllOfAttributes) SetV2xSupportInd(v bool) {
o.V2xSupportInd = &v
}
// GetProseSupportInd returns the ProseSupportInd field value if set, zero value otherwise.
func (o *PcfFunctionSingleAllOfAttributes) GetProseSupportInd() bool {
if o == nil || IsNil(o.ProseSupportInd) {
var ret bool
return ret
}
return *o.ProseSupportInd
}
// GetProseSupportIndOk returns a tuple with the ProseSupportInd field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PcfFunctionSingleAllOfAttributes) GetProseSupportIndOk() (*bool, bool) {
if o == nil || IsNil(o.ProseSupportInd) {
return nil, false
}
return o.ProseSupportInd, true
}
// HasProseSupportInd returns a boolean if a field has been set.
func (o *PcfFunctionSingleAllOfAttributes) HasProseSupportInd() bool {
if o != nil && !IsNil(o.ProseSupportInd) {
return true
}
return false
}
// SetProseSupportInd gets a reference to the given bool and assigns it to the ProseSupportInd field.
func (o *PcfFunctionSingleAllOfAttributes) SetProseSupportInd(v bool) {
o.ProseSupportInd = &v
}
// GetProseCapability returns the ProseCapability field value if set, zero value otherwise.
func (o *PcfFunctionSingleAllOfAttributes) GetProseCapability() ProseCapability {
if o == nil || IsNil(o.ProseCapability) {
var ret ProseCapability
return ret
}
return *o.ProseCapability
}
// GetProseCapabilityOk returns a tuple with the ProseCapability field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PcfFunctionSingleAllOfAttributes) GetProseCapabilityOk() (*ProseCapability, bool) {
if o == nil || IsNil(o.ProseCapability) {
return nil, false
}
return o.ProseCapability, true
}
// HasProseCapability returns a boolean if a field has been set.
func (o *PcfFunctionSingleAllOfAttributes) HasProseCapability() bool {
if o != nil && !IsNil(o.ProseCapability) {
return true
}
return false
}
// SetProseCapability gets a reference to the given ProseCapability and assigns it to the ProseCapability field.
func (o *PcfFunctionSingleAllOfAttributes) SetProseCapability(v ProseCapability) {
o.ProseCapability = &v
}
// GetV2xCapability returns the V2xCapability field value if set, zero value otherwise.
func (o *PcfFunctionSingleAllOfAttributes) GetV2xCapability() V2xCapability {
if o == nil || IsNil(o.V2xCapability) {
var ret V2xCapability
return ret
}
return *o.V2xCapability
}
// GetV2xCapabilityOk returns a tuple with the V2xCapability field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PcfFunctionSingleAllOfAttributes) GetV2xCapabilityOk() (*V2xCapability, bool) {
if o == nil || IsNil(o.V2xCapability) {
return nil, false
}
return o.V2xCapability, true
}
// HasV2xCapability returns a boolean if a field has been set.
func (o *PcfFunctionSingleAllOfAttributes) HasV2xCapability() bool {
if o != nil && !IsNil(o.V2xCapability) {
return true
}
return false
}
// SetV2xCapability gets a reference to the given V2xCapability and assigns it to the V2xCapability field.
func (o *PcfFunctionSingleAllOfAttributes) SetV2xCapability(v V2xCapability) {
o.V2xCapability = &v
}
// GetConfigurable5QISetRef returns the Configurable5QISetRef field value if set, zero value otherwise.
func (o *PcfFunctionSingleAllOfAttributes) GetConfigurable5QISetRef() string {
if o == nil || IsNil(o.Configurable5QISetRef) {
var ret string
return ret
}
return *o.Configurable5QISetRef
}
// GetConfigurable5QISetRefOk returns a tuple with the Configurable5QISetRef field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PcfFunctionSingleAllOfAttributes) GetConfigurable5QISetRefOk() (*string, bool) {
if o == nil || IsNil(o.Configurable5QISetRef) {
return nil, false
}
return o.Configurable5QISetRef, true
}
// HasConfigurable5QISetRef returns a boolean if a field has been set.
func (o *PcfFunctionSingleAllOfAttributes) HasConfigurable5QISetRef() bool {
if o != nil && !IsNil(o.Configurable5QISetRef) {
return true
}
return false
}
// SetConfigurable5QISetRef gets a reference to the given string and assigns it to the Configurable5QISetRef field.
func (o *PcfFunctionSingleAllOfAttributes) SetConfigurable5QISetRef(v string) {
o.Configurable5QISetRef = &v
}
// GetDynamic5QISetRef returns the Dynamic5QISetRef field value if set, zero value otherwise.
func (o *PcfFunctionSingleAllOfAttributes) GetDynamic5QISetRef() string {
if o == nil || IsNil(o.Dynamic5QISetRef) {
var ret string
return ret
}
return *o.Dynamic5QISetRef
}
// GetDynamic5QISetRefOk returns a tuple with the Dynamic5QISetRef field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PcfFunctionSingleAllOfAttributes) GetDynamic5QISetRefOk() (*string, bool) {
if o == nil || IsNil(o.Dynamic5QISetRef) {
return nil, false
}
return o.Dynamic5QISetRef, true
}
// HasDynamic5QISetRef returns a boolean if a field has been set.
func (o *PcfFunctionSingleAllOfAttributes) HasDynamic5QISetRef() bool {
if o != nil && !IsNil(o.Dynamic5QISetRef) {
return true
}
return false
}
// SetDynamic5QISetRef gets a reference to the given string and assigns it to the Dynamic5QISetRef field.
func (o *PcfFunctionSingleAllOfAttributes) SetDynamic5QISetRef(v string) {
o.Dynamic5QISetRef = &v
}
// GetSupportedBMOList returns the SupportedBMOList field value if set, zero value otherwise.
func (o *PcfFunctionSingleAllOfAttributes) GetSupportedBMOList() []string {
if o == nil || IsNil(o.SupportedBMOList) {
var ret []string
return ret
}
return o.SupportedBMOList
}
// GetSupportedBMOListOk returns a tuple with the SupportedBMOList field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PcfFunctionSingleAllOfAttributes) GetSupportedBMOListOk() ([]string, bool) {
if o == nil || IsNil(o.SupportedBMOList) {
return nil, false
}
return o.SupportedBMOList, true
}
// HasSupportedBMOList returns a boolean if a field has been set.
func (o *PcfFunctionSingleAllOfAttributes) HasSupportedBMOList() bool {
if o != nil && !IsNil(o.SupportedBMOList) {
return true
}
return false
}
// SetSupportedBMOList gets a reference to the given []string and assigns it to the SupportedBMOList field.
func (o *PcfFunctionSingleAllOfAttributes) SetSupportedBMOList(v []string) {
o.SupportedBMOList = v
}
func (o PcfFunctionSingleAllOfAttributes) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o PcfFunctionSingleAllOfAttributes) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
serializedManagedFunctionAttr, errManagedFunctionAttr := json.Marshal(o.ManagedFunctionAttr)
if errManagedFunctionAttr != nil {
return map[string]interface{}{}, errManagedFunctionAttr
}
errManagedFunctionAttr = json.Unmarshal([]byte(serializedManagedFunctionAttr), &toSerialize)
if errManagedFunctionAttr != nil {
return map[string]interface{}{}, errManagedFunctionAttr
}
if !IsNil(o.PLMNInfoList) {
toSerialize["pLMNInfoList"] = o.PLMNInfoList
}
if !IsNil(o.SBIFqdn) {
toSerialize["sBIFqdn"] = o.SBIFqdn
}
if !IsNil(o.ManagedNFProfile) {
toSerialize["managedNFProfile"] = o.ManagedNFProfile
}
if !IsNil(o.CommModelList) {
toSerialize["commModelList"] = o.CommModelList
}
if !IsNil(o.GroupId) {
toSerialize["groupId"] = o.GroupId
}
if !IsNil(o.DnnList) {
toSerialize["dnnList"] = o.DnnList
}
if !IsNil(o.SupiRanges) {
toSerialize["supiRanges"] = o.SupiRanges
}
if !IsNil(o.GpsiRanges) {
toSerialize["gpsiRanges"] = o.GpsiRanges
}
if !IsNil(o.RxDiamHost) {
toSerialize["rxDiamHost"] = o.RxDiamHost
}
if !IsNil(o.RxDiamRealm) {
toSerialize["rxDiamRealm"] = o.RxDiamRealm
}
if !IsNil(o.V2xSupportInd) {
toSerialize["v2xSupportInd"] = o.V2xSupportInd
}
if !IsNil(o.ProseSupportInd) {
toSerialize["proseSupportInd"] = o.ProseSupportInd
}
if !IsNil(o.ProseCapability) {
toSerialize["proseCapability"] = o.ProseCapability
}
if !IsNil(o.V2xCapability) {
toSerialize["v2xCapability"] = o.V2xCapability
}
if !IsNil(o.Configurable5QISetRef) {
toSerialize["configurable5QISetRef"] = o.Configurable5QISetRef
}
if !IsNil(o.Dynamic5QISetRef) {
toSerialize["dynamic5QISetRef"] = o.Dynamic5QISetRef
}
if !IsNil(o.SupportedBMOList) {
toSerialize["supportedBMOList"] = o.SupportedBMOList
}
return toSerialize, nil
}
type NullablePcfFunctionSingleAllOfAttributes struct {
value *PcfFunctionSingleAllOfAttributes
isSet bool
}
func (v NullablePcfFunctionSingleAllOfAttributes) Get() *PcfFunctionSingleAllOfAttributes {
return v.value
}
func (v *NullablePcfFunctionSingleAllOfAttributes) Set(val *PcfFunctionSingleAllOfAttributes) {
v.value = val
v.isSet = true
}
func (v NullablePcfFunctionSingleAllOfAttributes) IsSet() bool {
return v.isSet
}
func (v *NullablePcfFunctionSingleAllOfAttributes) Unset() {
v.value = nil
v.isSet = false
}
func NewNullablePcfFunctionSingleAllOfAttributes(val *PcfFunctionSingleAllOfAttributes) *NullablePcfFunctionSingleAllOfAttributes {
return &NullablePcfFunctionSingleAllOfAttributes{value: val, isSet: true}
}
func (v NullablePcfFunctionSingleAllOfAttributes) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullablePcfFunctionSingleAllOfAttributes) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}