This repository has been archived by the owner on Aug 21, 2023. It is now read-only.
/
model_nf_service.go
1173 lines (1004 loc) · 36.5 KB
/
model_nf_service.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
Nnwdaf_AnalyticsInfo
Nnwdaf_AnalyticsInfo Service API. © 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_Nnwdaf_AnalyticsInfo
import (
"encoding/json"
"time"
)
// checks if the NFService type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &NFService{}
// NFService Information of a given NF Service Instance; it is part of the NFProfile of an NF Instance
type NFService struct {
ServiceInstanceId string `json:"serviceInstanceId"`
ServiceName ServiceName `json:"serviceName"`
Versions []NFServiceVersion `json:"versions"`
Scheme UriScheme `json:"scheme"`
NfServiceStatus NFServiceStatus `json:"nfServiceStatus"`
// Fully Qualified Domain Name
Fqdn *string `json:"fqdn,omitempty"`
// Fully Qualified Domain Name
InterPlmnFqdn *string `json:"interPlmnFqdn,omitempty"`
IpEndPoints []IpEndPoint `json:"ipEndPoints,omitempty"`
ApiPrefix *string `json:"apiPrefix,omitempty"`
DefaultNotificationSubscriptions []DefaultNotificationSubscription `json:"defaultNotificationSubscriptions,omitempty"`
AllowedPlmns []PlmnId `json:"allowedPlmns,omitempty"`
AllowedSnpns []PlmnIdNid `json:"allowedSnpns,omitempty"`
AllowedNfTypes []NFType `json:"allowedNfTypes,omitempty"`
AllowedNfDomains []string `json:"allowedNfDomains,omitempty"`
AllowedNssais []ExtSnssai `json:"allowedNssais,omitempty"`
// A map (list of key-value pairs) where NF Type serves as key
AllowedOperationsPerNfType *map[string][]string `json:"allowedOperationsPerNfType,omitempty"`
// A map (list of key-value pairs) where NF Instance Id serves as key
AllowedOperationsPerNfInstance *map[string][]string `json:"allowedOperationsPerNfInstance,omitempty"`
AllowedOperationsPerNfInstanceOverrides *bool `json:"allowedOperationsPerNfInstanceOverrides,omitempty"`
Priority *int32 `json:"priority,omitempty"`
Capacity *int32 `json:"capacity,omitempty"`
Load *int32 `json:"load,omitempty"`
// string with format 'date-time' as defined in OpenAPI.
LoadTimeStamp *time.Time `json:"loadTimeStamp,omitempty"`
// string with format 'date-time' as defined in OpenAPI.
RecoveryTime *time.Time `json:"recoveryTime,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.
SupportedFeatures *string `json:"supportedFeatures,omitempty"`
NfServiceSetIdList []string `json:"nfServiceSetIdList,omitempty"`
SNssais []ExtSnssai `json:"sNssais,omitempty"`
PerPlmnSnssaiList []PlmnSnssai `json:"perPlmnSnssaiList,omitempty"`
// Vendor ID of the NF Service instance (Private Enterprise Number assigned by IANA)
VendorId *string `json:"vendorId,omitempty"`
// A map (list of key-value pairs) where IANA-assigned SMI Network Management Private Enterprise Codes serves as key
SupportedVendorSpecificFeatures *map[string][]VendorSpecificFeature `json:"supportedVendorSpecificFeatures,omitempty"`
Oauth2Required *bool `json:"oauth2Required,omitempty"`
PerPlmnOauth2ReqList *PlmnOauth2 `json:"perPlmnOauth2ReqList,omitempty"`
}
// NewNFService instantiates a new NFService 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 NewNFService(serviceInstanceId string, serviceName ServiceName, versions []NFServiceVersion, scheme UriScheme, nfServiceStatus NFServiceStatus) *NFService {
this := NFService{}
this.ServiceInstanceId = serviceInstanceId
this.ServiceName = serviceName
this.Versions = versions
this.Scheme = scheme
this.NfServiceStatus = nfServiceStatus
var allowedOperationsPerNfInstanceOverrides bool = false
this.AllowedOperationsPerNfInstanceOverrides = &allowedOperationsPerNfInstanceOverrides
return &this
}
// NewNFServiceWithDefaults instantiates a new NFService 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 NewNFServiceWithDefaults() *NFService {
this := NFService{}
var allowedOperationsPerNfInstanceOverrides bool = false
this.AllowedOperationsPerNfInstanceOverrides = &allowedOperationsPerNfInstanceOverrides
return &this
}
// GetServiceInstanceId returns the ServiceInstanceId field value
func (o *NFService) GetServiceInstanceId() string {
if o == nil {
var ret string
return ret
}
return o.ServiceInstanceId
}
// GetServiceInstanceIdOk returns a tuple with the ServiceInstanceId field value
// and a boolean to check if the value has been set.
func (o *NFService) GetServiceInstanceIdOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.ServiceInstanceId, true
}
// SetServiceInstanceId sets field value
func (o *NFService) SetServiceInstanceId(v string) {
o.ServiceInstanceId = v
}
// GetServiceName returns the ServiceName field value
func (o *NFService) GetServiceName() ServiceName {
if o == nil {
var ret ServiceName
return ret
}
return o.ServiceName
}
// GetServiceNameOk returns a tuple with the ServiceName field value
// and a boolean to check if the value has been set.
func (o *NFService) GetServiceNameOk() (*ServiceName, bool) {
if o == nil {
return nil, false
}
return &o.ServiceName, true
}
// SetServiceName sets field value
func (o *NFService) SetServiceName(v ServiceName) {
o.ServiceName = v
}
// GetVersions returns the Versions field value
func (o *NFService) GetVersions() []NFServiceVersion {
if o == nil {
var ret []NFServiceVersion
return ret
}
return o.Versions
}
// GetVersionsOk returns a tuple with the Versions field value
// and a boolean to check if the value has been set.
func (o *NFService) GetVersionsOk() ([]NFServiceVersion, bool) {
if o == nil {
return nil, false
}
return o.Versions, true
}
// SetVersions sets field value
func (o *NFService) SetVersions(v []NFServiceVersion) {
o.Versions = v
}
// GetScheme returns the Scheme field value
func (o *NFService) GetScheme() UriScheme {
if o == nil {
var ret UriScheme
return ret
}
return o.Scheme
}
// GetSchemeOk returns a tuple with the Scheme field value
// and a boolean to check if the value has been set.
func (o *NFService) GetSchemeOk() (*UriScheme, bool) {
if o == nil {
return nil, false
}
return &o.Scheme, true
}
// SetScheme sets field value
func (o *NFService) SetScheme(v UriScheme) {
o.Scheme = v
}
// GetNfServiceStatus returns the NfServiceStatus field value
func (o *NFService) GetNfServiceStatus() NFServiceStatus {
if o == nil {
var ret NFServiceStatus
return ret
}
return o.NfServiceStatus
}
// GetNfServiceStatusOk returns a tuple with the NfServiceStatus field value
// and a boolean to check if the value has been set.
func (o *NFService) GetNfServiceStatusOk() (*NFServiceStatus, bool) {
if o == nil {
return nil, false
}
return &o.NfServiceStatus, true
}
// SetNfServiceStatus sets field value
func (o *NFService) SetNfServiceStatus(v NFServiceStatus) {
o.NfServiceStatus = v
}
// GetFqdn returns the Fqdn field value if set, zero value otherwise.
func (o *NFService) GetFqdn() string {
if o == nil || IsNil(o.Fqdn) {
var ret string
return ret
}
return *o.Fqdn
}
// GetFqdnOk returns a tuple with the Fqdn field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *NFService) GetFqdnOk() (*string, bool) {
if o == nil || IsNil(o.Fqdn) {
return nil, false
}
return o.Fqdn, true
}
// HasFqdn returns a boolean if a field has been set.
func (o *NFService) HasFqdn() bool {
if o != nil && !IsNil(o.Fqdn) {
return true
}
return false
}
// SetFqdn gets a reference to the given string and assigns it to the Fqdn field.
func (o *NFService) SetFqdn(v string) {
o.Fqdn = &v
}
// GetInterPlmnFqdn returns the InterPlmnFqdn field value if set, zero value otherwise.
func (o *NFService) GetInterPlmnFqdn() string {
if o == nil || IsNil(o.InterPlmnFqdn) {
var ret string
return ret
}
return *o.InterPlmnFqdn
}
// GetInterPlmnFqdnOk returns a tuple with the InterPlmnFqdn field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *NFService) GetInterPlmnFqdnOk() (*string, bool) {
if o == nil || IsNil(o.InterPlmnFqdn) {
return nil, false
}
return o.InterPlmnFqdn, true
}
// HasInterPlmnFqdn returns a boolean if a field has been set.
func (o *NFService) HasInterPlmnFqdn() bool {
if o != nil && !IsNil(o.InterPlmnFqdn) {
return true
}
return false
}
// SetInterPlmnFqdn gets a reference to the given string and assigns it to the InterPlmnFqdn field.
func (o *NFService) SetInterPlmnFqdn(v string) {
o.InterPlmnFqdn = &v
}
// GetIpEndPoints returns the IpEndPoints field value if set, zero value otherwise.
func (o *NFService) GetIpEndPoints() []IpEndPoint {
if o == nil || IsNil(o.IpEndPoints) {
var ret []IpEndPoint
return ret
}
return o.IpEndPoints
}
// GetIpEndPointsOk returns a tuple with the IpEndPoints field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *NFService) GetIpEndPointsOk() ([]IpEndPoint, bool) {
if o == nil || IsNil(o.IpEndPoints) {
return nil, false
}
return o.IpEndPoints, true
}
// HasIpEndPoints returns a boolean if a field has been set.
func (o *NFService) HasIpEndPoints() bool {
if o != nil && !IsNil(o.IpEndPoints) {
return true
}
return false
}
// SetIpEndPoints gets a reference to the given []IpEndPoint and assigns it to the IpEndPoints field.
func (o *NFService) SetIpEndPoints(v []IpEndPoint) {
o.IpEndPoints = v
}
// GetApiPrefix returns the ApiPrefix field value if set, zero value otherwise.
func (o *NFService) GetApiPrefix() string {
if o == nil || IsNil(o.ApiPrefix) {
var ret string
return ret
}
return *o.ApiPrefix
}
// GetApiPrefixOk returns a tuple with the ApiPrefix field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *NFService) GetApiPrefixOk() (*string, bool) {
if o == nil || IsNil(o.ApiPrefix) {
return nil, false
}
return o.ApiPrefix, true
}
// HasApiPrefix returns a boolean if a field has been set.
func (o *NFService) HasApiPrefix() bool {
if o != nil && !IsNil(o.ApiPrefix) {
return true
}
return false
}
// SetApiPrefix gets a reference to the given string and assigns it to the ApiPrefix field.
func (o *NFService) SetApiPrefix(v string) {
o.ApiPrefix = &v
}
// GetDefaultNotificationSubscriptions returns the DefaultNotificationSubscriptions field value if set, zero value otherwise.
func (o *NFService) GetDefaultNotificationSubscriptions() []DefaultNotificationSubscription {
if o == nil || IsNil(o.DefaultNotificationSubscriptions) {
var ret []DefaultNotificationSubscription
return ret
}
return o.DefaultNotificationSubscriptions
}
// GetDefaultNotificationSubscriptionsOk returns a tuple with the DefaultNotificationSubscriptions field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *NFService) GetDefaultNotificationSubscriptionsOk() ([]DefaultNotificationSubscription, bool) {
if o == nil || IsNil(o.DefaultNotificationSubscriptions) {
return nil, false
}
return o.DefaultNotificationSubscriptions, true
}
// HasDefaultNotificationSubscriptions returns a boolean if a field has been set.
func (o *NFService) HasDefaultNotificationSubscriptions() bool {
if o != nil && !IsNil(o.DefaultNotificationSubscriptions) {
return true
}
return false
}
// SetDefaultNotificationSubscriptions gets a reference to the given []DefaultNotificationSubscription and assigns it to the DefaultNotificationSubscriptions field.
func (o *NFService) SetDefaultNotificationSubscriptions(v []DefaultNotificationSubscription) {
o.DefaultNotificationSubscriptions = v
}
// GetAllowedPlmns returns the AllowedPlmns field value if set, zero value otherwise.
func (o *NFService) GetAllowedPlmns() []PlmnId {
if o == nil || IsNil(o.AllowedPlmns) {
var ret []PlmnId
return ret
}
return o.AllowedPlmns
}
// GetAllowedPlmnsOk returns a tuple with the AllowedPlmns field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *NFService) GetAllowedPlmnsOk() ([]PlmnId, bool) {
if o == nil || IsNil(o.AllowedPlmns) {
return nil, false
}
return o.AllowedPlmns, true
}
// HasAllowedPlmns returns a boolean if a field has been set.
func (o *NFService) HasAllowedPlmns() bool {
if o != nil && !IsNil(o.AllowedPlmns) {
return true
}
return false
}
// SetAllowedPlmns gets a reference to the given []PlmnId and assigns it to the AllowedPlmns field.
func (o *NFService) SetAllowedPlmns(v []PlmnId) {
o.AllowedPlmns = v
}
// GetAllowedSnpns returns the AllowedSnpns field value if set, zero value otherwise.
func (o *NFService) GetAllowedSnpns() []PlmnIdNid {
if o == nil || IsNil(o.AllowedSnpns) {
var ret []PlmnIdNid
return ret
}
return o.AllowedSnpns
}
// GetAllowedSnpnsOk returns a tuple with the AllowedSnpns field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *NFService) GetAllowedSnpnsOk() ([]PlmnIdNid, bool) {
if o == nil || IsNil(o.AllowedSnpns) {
return nil, false
}
return o.AllowedSnpns, true
}
// HasAllowedSnpns returns a boolean if a field has been set.
func (o *NFService) HasAllowedSnpns() bool {
if o != nil && !IsNil(o.AllowedSnpns) {
return true
}
return false
}
// SetAllowedSnpns gets a reference to the given []PlmnIdNid and assigns it to the AllowedSnpns field.
func (o *NFService) SetAllowedSnpns(v []PlmnIdNid) {
o.AllowedSnpns = v
}
// GetAllowedNfTypes returns the AllowedNfTypes field value if set, zero value otherwise.
func (o *NFService) GetAllowedNfTypes() []NFType {
if o == nil || IsNil(o.AllowedNfTypes) {
var ret []NFType
return ret
}
return o.AllowedNfTypes
}
// GetAllowedNfTypesOk returns a tuple with the AllowedNfTypes field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *NFService) GetAllowedNfTypesOk() ([]NFType, bool) {
if o == nil || IsNil(o.AllowedNfTypes) {
return nil, false
}
return o.AllowedNfTypes, true
}
// HasAllowedNfTypes returns a boolean if a field has been set.
func (o *NFService) HasAllowedNfTypes() bool {
if o != nil && !IsNil(o.AllowedNfTypes) {
return true
}
return false
}
// SetAllowedNfTypes gets a reference to the given []NFType and assigns it to the AllowedNfTypes field.
func (o *NFService) SetAllowedNfTypes(v []NFType) {
o.AllowedNfTypes = v
}
// GetAllowedNfDomains returns the AllowedNfDomains field value if set, zero value otherwise.
func (o *NFService) GetAllowedNfDomains() []string {
if o == nil || IsNil(o.AllowedNfDomains) {
var ret []string
return ret
}
return o.AllowedNfDomains
}
// GetAllowedNfDomainsOk returns a tuple with the AllowedNfDomains field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *NFService) GetAllowedNfDomainsOk() ([]string, bool) {
if o == nil || IsNil(o.AllowedNfDomains) {
return nil, false
}
return o.AllowedNfDomains, true
}
// HasAllowedNfDomains returns a boolean if a field has been set.
func (o *NFService) HasAllowedNfDomains() bool {
if o != nil && !IsNil(o.AllowedNfDomains) {
return true
}
return false
}
// SetAllowedNfDomains gets a reference to the given []string and assigns it to the AllowedNfDomains field.
func (o *NFService) SetAllowedNfDomains(v []string) {
o.AllowedNfDomains = v
}
// GetAllowedNssais returns the AllowedNssais field value if set, zero value otherwise.
func (o *NFService) GetAllowedNssais() []ExtSnssai {
if o == nil || IsNil(o.AllowedNssais) {
var ret []ExtSnssai
return ret
}
return o.AllowedNssais
}
// GetAllowedNssaisOk returns a tuple with the AllowedNssais field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *NFService) GetAllowedNssaisOk() ([]ExtSnssai, bool) {
if o == nil || IsNil(o.AllowedNssais) {
return nil, false
}
return o.AllowedNssais, true
}
// HasAllowedNssais returns a boolean if a field has been set.
func (o *NFService) HasAllowedNssais() bool {
if o != nil && !IsNil(o.AllowedNssais) {
return true
}
return false
}
// SetAllowedNssais gets a reference to the given []ExtSnssai and assigns it to the AllowedNssais field.
func (o *NFService) SetAllowedNssais(v []ExtSnssai) {
o.AllowedNssais = v
}
// GetAllowedOperationsPerNfType returns the AllowedOperationsPerNfType field value if set, zero value otherwise.
func (o *NFService) GetAllowedOperationsPerNfType() map[string][]string {
if o == nil || IsNil(o.AllowedOperationsPerNfType) {
var ret map[string][]string
return ret
}
return *o.AllowedOperationsPerNfType
}
// GetAllowedOperationsPerNfTypeOk returns a tuple with the AllowedOperationsPerNfType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *NFService) GetAllowedOperationsPerNfTypeOk() (*map[string][]string, bool) {
if o == nil || IsNil(o.AllowedOperationsPerNfType) {
return nil, false
}
return o.AllowedOperationsPerNfType, true
}
// HasAllowedOperationsPerNfType returns a boolean if a field has been set.
func (o *NFService) HasAllowedOperationsPerNfType() bool {
if o != nil && !IsNil(o.AllowedOperationsPerNfType) {
return true
}
return false
}
// SetAllowedOperationsPerNfType gets a reference to the given map[string][]string and assigns it to the AllowedOperationsPerNfType field.
func (o *NFService) SetAllowedOperationsPerNfType(v map[string][]string) {
o.AllowedOperationsPerNfType = &v
}
// GetAllowedOperationsPerNfInstance returns the AllowedOperationsPerNfInstance field value if set, zero value otherwise.
func (o *NFService) GetAllowedOperationsPerNfInstance() map[string][]string {
if o == nil || IsNil(o.AllowedOperationsPerNfInstance) {
var ret map[string][]string
return ret
}
return *o.AllowedOperationsPerNfInstance
}
// GetAllowedOperationsPerNfInstanceOk returns a tuple with the AllowedOperationsPerNfInstance field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *NFService) GetAllowedOperationsPerNfInstanceOk() (*map[string][]string, bool) {
if o == nil || IsNil(o.AllowedOperationsPerNfInstance) {
return nil, false
}
return o.AllowedOperationsPerNfInstance, true
}
// HasAllowedOperationsPerNfInstance returns a boolean if a field has been set.
func (o *NFService) HasAllowedOperationsPerNfInstance() bool {
if o != nil && !IsNil(o.AllowedOperationsPerNfInstance) {
return true
}
return false
}
// SetAllowedOperationsPerNfInstance gets a reference to the given map[string][]string and assigns it to the AllowedOperationsPerNfInstance field.
func (o *NFService) SetAllowedOperationsPerNfInstance(v map[string][]string) {
o.AllowedOperationsPerNfInstance = &v
}
// GetAllowedOperationsPerNfInstanceOverrides returns the AllowedOperationsPerNfInstanceOverrides field value if set, zero value otherwise.
func (o *NFService) GetAllowedOperationsPerNfInstanceOverrides() bool {
if o == nil || IsNil(o.AllowedOperationsPerNfInstanceOverrides) {
var ret bool
return ret
}
return *o.AllowedOperationsPerNfInstanceOverrides
}
// GetAllowedOperationsPerNfInstanceOverridesOk returns a tuple with the AllowedOperationsPerNfInstanceOverrides field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *NFService) GetAllowedOperationsPerNfInstanceOverridesOk() (*bool, bool) {
if o == nil || IsNil(o.AllowedOperationsPerNfInstanceOverrides) {
return nil, false
}
return o.AllowedOperationsPerNfInstanceOverrides, true
}
// HasAllowedOperationsPerNfInstanceOverrides returns a boolean if a field has been set.
func (o *NFService) HasAllowedOperationsPerNfInstanceOverrides() bool {
if o != nil && !IsNil(o.AllowedOperationsPerNfInstanceOverrides) {
return true
}
return false
}
// SetAllowedOperationsPerNfInstanceOverrides gets a reference to the given bool and assigns it to the AllowedOperationsPerNfInstanceOverrides field.
func (o *NFService) SetAllowedOperationsPerNfInstanceOverrides(v bool) {
o.AllowedOperationsPerNfInstanceOverrides = &v
}
// GetPriority returns the Priority field value if set, zero value otherwise.
func (o *NFService) GetPriority() int32 {
if o == nil || IsNil(o.Priority) {
var ret int32
return ret
}
return *o.Priority
}
// GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *NFService) GetPriorityOk() (*int32, bool) {
if o == nil || IsNil(o.Priority) {
return nil, false
}
return o.Priority, true
}
// HasPriority returns a boolean if a field has been set.
func (o *NFService) HasPriority() bool {
if o != nil && !IsNil(o.Priority) {
return true
}
return false
}
// SetPriority gets a reference to the given int32 and assigns it to the Priority field.
func (o *NFService) SetPriority(v int32) {
o.Priority = &v
}
// GetCapacity returns the Capacity field value if set, zero value otherwise.
func (o *NFService) GetCapacity() int32 {
if o == nil || IsNil(o.Capacity) {
var ret int32
return ret
}
return *o.Capacity
}
// GetCapacityOk returns a tuple with the Capacity field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *NFService) GetCapacityOk() (*int32, bool) {
if o == nil || IsNil(o.Capacity) {
return nil, false
}
return o.Capacity, true
}
// HasCapacity returns a boolean if a field has been set.
func (o *NFService) HasCapacity() bool {
if o != nil && !IsNil(o.Capacity) {
return true
}
return false
}
// SetCapacity gets a reference to the given int32 and assigns it to the Capacity field.
func (o *NFService) SetCapacity(v int32) {
o.Capacity = &v
}
// GetLoad returns the Load field value if set, zero value otherwise.
func (o *NFService) GetLoad() int32 {
if o == nil || IsNil(o.Load) {
var ret int32
return ret
}
return *o.Load
}
// GetLoadOk returns a tuple with the Load field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *NFService) GetLoadOk() (*int32, bool) {
if o == nil || IsNil(o.Load) {
return nil, false
}
return o.Load, true
}
// HasLoad returns a boolean if a field has been set.
func (o *NFService) HasLoad() bool {
if o != nil && !IsNil(o.Load) {
return true
}
return false
}
// SetLoad gets a reference to the given int32 and assigns it to the Load field.
func (o *NFService) SetLoad(v int32) {
o.Load = &v
}
// GetLoadTimeStamp returns the LoadTimeStamp field value if set, zero value otherwise.
func (o *NFService) GetLoadTimeStamp() time.Time {
if o == nil || IsNil(o.LoadTimeStamp) {
var ret time.Time
return ret
}
return *o.LoadTimeStamp
}
// GetLoadTimeStampOk returns a tuple with the LoadTimeStamp field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *NFService) GetLoadTimeStampOk() (*time.Time, bool) {
if o == nil || IsNil(o.LoadTimeStamp) {
return nil, false
}
return o.LoadTimeStamp, true
}
// HasLoadTimeStamp returns a boolean if a field has been set.
func (o *NFService) HasLoadTimeStamp() bool {
if o != nil && !IsNil(o.LoadTimeStamp) {
return true
}
return false
}
// SetLoadTimeStamp gets a reference to the given time.Time and assigns it to the LoadTimeStamp field.
func (o *NFService) SetLoadTimeStamp(v time.Time) {
o.LoadTimeStamp = &v
}
// GetRecoveryTime returns the RecoveryTime field value if set, zero value otherwise.
func (o *NFService) GetRecoveryTime() time.Time {
if o == nil || IsNil(o.RecoveryTime) {
var ret time.Time
return ret
}
return *o.RecoveryTime
}
// GetRecoveryTimeOk returns a tuple with the RecoveryTime field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *NFService) GetRecoveryTimeOk() (*time.Time, bool) {
if o == nil || IsNil(o.RecoveryTime) {
return nil, false
}
return o.RecoveryTime, true
}
// HasRecoveryTime returns a boolean if a field has been set.
func (o *NFService) HasRecoveryTime() bool {
if o != nil && !IsNil(o.RecoveryTime) {
return true
}
return false
}
// SetRecoveryTime gets a reference to the given time.Time and assigns it to the RecoveryTime field.
func (o *NFService) SetRecoveryTime(v time.Time) {
o.RecoveryTime = &v
}
// GetSupportedFeatures returns the SupportedFeatures field value if set, zero value otherwise.
func (o *NFService) GetSupportedFeatures() string {
if o == nil || IsNil(o.SupportedFeatures) {
var ret string
return ret
}
return *o.SupportedFeatures
}
// GetSupportedFeaturesOk returns a tuple with the SupportedFeatures field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *NFService) GetSupportedFeaturesOk() (*string, bool) {
if o == nil || IsNil(o.SupportedFeatures) {
return nil, false
}
return o.SupportedFeatures, true
}
// HasSupportedFeatures returns a boolean if a field has been set.
func (o *NFService) HasSupportedFeatures() bool {
if o != nil && !IsNil(o.SupportedFeatures) {
return true
}
return false
}
// SetSupportedFeatures gets a reference to the given string and assigns it to the SupportedFeatures field.
func (o *NFService) SetSupportedFeatures(v string) {
o.SupportedFeatures = &v
}
// GetNfServiceSetIdList returns the NfServiceSetIdList field value if set, zero value otherwise.
func (o *NFService) GetNfServiceSetIdList() []string {
if o == nil || IsNil(o.NfServiceSetIdList) {
var ret []string
return ret
}
return o.NfServiceSetIdList
}
// GetNfServiceSetIdListOk returns a tuple with the NfServiceSetIdList field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *NFService) GetNfServiceSetIdListOk() ([]string, bool) {
if o == nil || IsNil(o.NfServiceSetIdList) {
return nil, false
}
return o.NfServiceSetIdList, true
}
// HasNfServiceSetIdList returns a boolean if a field has been set.
func (o *NFService) HasNfServiceSetIdList() bool {
if o != nil && !IsNil(o.NfServiceSetIdList) {
return true
}
return false
}
// SetNfServiceSetIdList gets a reference to the given []string and assigns it to the NfServiceSetIdList field.
func (o *NFService) SetNfServiceSetIdList(v []string) {
o.NfServiceSetIdList = v
}
// GetSNssais returns the SNssais field value if set, zero value otherwise.
func (o *NFService) GetSNssais() []ExtSnssai {
if o == nil || IsNil(o.SNssais) {
var ret []ExtSnssai
return ret
}
return o.SNssais
}
// GetSNssaisOk returns a tuple with the SNssais field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *NFService) GetSNssaisOk() ([]ExtSnssai, bool) {
if o == nil || IsNil(o.SNssais) {
return nil, false
}
return o.SNssais, true
}
// HasSNssais returns a boolean if a field has been set.
func (o *NFService) HasSNssais() bool {
if o != nil && !IsNil(o.SNssais) {
return true
}
return false
}
// SetSNssais gets a reference to the given []ExtSnssai and assigns it to the SNssais field.
func (o *NFService) SetSNssais(v []ExtSnssai) {
o.SNssais = v
}
// GetPerPlmnSnssaiList returns the PerPlmnSnssaiList field value if set, zero value otherwise.
func (o *NFService) GetPerPlmnSnssaiList() []PlmnSnssai {
if o == nil || IsNil(o.PerPlmnSnssaiList) {
var ret []PlmnSnssai
return ret
}
return o.PerPlmnSnssaiList
}
// GetPerPlmnSnssaiListOk returns a tuple with the PerPlmnSnssaiList field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *NFService) GetPerPlmnSnssaiListOk() ([]PlmnSnssai, bool) {
if o == nil || IsNil(o.PerPlmnSnssaiList) {
return nil, false
}
return o.PerPlmnSnssaiList, true
}
// HasPerPlmnSnssaiList returns a boolean if a field has been set.
func (o *NFService) HasPerPlmnSnssaiList() bool {
if o != nil && !IsNil(o.PerPlmnSnssaiList) {
return true
}
return false
}
// SetPerPlmnSnssaiList gets a reference to the given []PlmnSnssai and assigns it to the PerPlmnSnssaiList field.
func (o *NFService) SetPerPlmnSnssaiList(v []PlmnSnssai) {
o.PerPlmnSnssaiList = v
}
// GetVendorId returns the VendorId field value if set, zero value otherwise.
func (o *NFService) GetVendorId() string {
if o == nil || IsNil(o.VendorId) {
var ret string
return ret
}
return *o.VendorId
}
// GetVendorIdOk returns a tuple with the VendorId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *NFService) GetVendorIdOk() (*string, bool) {
if o == nil || IsNil(o.VendorId) {
return nil, false
}
return o.VendorId, true
}
// HasVendorId returns a boolean if a field has been set.
func (o *NFService) HasVendorId() bool {
if o != nil && !IsNil(o.VendorId) {
return true
}
return false
}
// SetVendorId gets a reference to the given string and assigns it to the VendorId field.
func (o *NFService) SetVendorId(v string) {
o.VendorId = &v
}
// GetSupportedVendorSpecificFeatures returns the SupportedVendorSpecificFeatures field value if set, zero value otherwise.
func (o *NFService) GetSupportedVendorSpecificFeatures() map[string][]VendorSpecificFeature {
if o == nil || IsNil(o.SupportedVendorSpecificFeatures) {
var ret map[string][]VendorSpecificFeature
return ret
}
return *o.SupportedVendorSpecificFeatures
}
// GetSupportedVendorSpecificFeaturesOk returns a tuple with the SupportedVendorSpecificFeatures field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *NFService) GetSupportedVendorSpecificFeaturesOk() (*map[string][]VendorSpecificFeature, bool) {
if o == nil || IsNil(o.SupportedVendorSpecificFeatures) {
return nil, false
}
return o.SupportedVendorSpecificFeatures, true
}
// HasSupportedVendorSpecificFeatures returns a boolean if a field has been set.
func (o *NFService) HasSupportedVendorSpecificFeatures() bool {
if o != nil && !IsNil(o.SupportedVendorSpecificFeatures) {
return true
}
return false
}
// SetSupportedVendorSpecificFeatures gets a reference to the given map[string][]VendorSpecificFeature and assigns it to the SupportedVendorSpecificFeatures field.
func (o *NFService) SetSupportedVendorSpecificFeatures(v map[string][]VendorSpecificFeature) {
o.SupportedVendorSpecificFeatures = &v
}
// GetOauth2Required returns the Oauth2Required field value if set, zero value otherwise.
func (o *NFService) GetOauth2Required() bool {
if o == nil || IsNil(o.Oauth2Required) {
var ret bool
return ret
}
return *o.Oauth2Required
}
// GetOauth2RequiredOk returns a tuple with the Oauth2Required field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *NFService) GetOauth2RequiredOk() (*bool, bool) {
if o == nil || IsNil(o.Oauth2Required) {
return nil, false
}
return o.Oauth2Required, true
}
// HasOauth2Required returns a boolean if a field has been set.
func (o *NFService) HasOauth2Required() bool {
if o != nil && !IsNil(o.Oauth2Required) {
return true