This repository has been archived by the owner on Aug 21, 2023. It is now read-only.
/
model_amf_function_single_all_of_attributes.go
601 lines (512 loc) · 18.9 KB
/
model_amf_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
/*
3GPP 5GC NRM
OAS 3.0.1 specification of the 5GC NRM © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
API version: 18.2.0
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package openapi_5GcNrm
import (
"encoding/json"
)
// checks if the AmfFunctionSingleAllOfAttributes type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &AmfFunctionSingleAllOfAttributes{}
// AmfFunctionSingleAllOfAttributes struct for AmfFunctionSingleAllOfAttributes
type AmfFunctionSingleAllOfAttributes struct {
ManagedFunctionAttr
PLMNInfoList []PlmnInfo `json:"pLMNInfoList,omitempty"`
AmfIdentifier *AmfIdentifier `json:"amfIdentifier,omitempty"`
SBIFqdn *string `json:"sBIFqdn,omitempty"`
InterPlmnFQDN *string `json:"interPlmnFQDN,omitempty"`
TaiList []Tai `json:"taiList,omitempty"`
TaiRangeList []TaiRange `json:"taiRangeList,omitempty"`
WeightFactor *int32 `json:"weightFactor,omitempty"`
CNSIIdList []string `json:"cNSIIdList,omitempty"`
GUAMIdList []GUAMInfo `json:"gUAMIdList,omitempty"`
BackupInfoAmfFailure []GUAMInfo `json:"backupInfoAmfFailure,omitempty"`
BackupInfoAmfRemoval []GUAMInfo `json:"backupInfoAmfRemoval,omitempty"`
AmfSetRef *string `json:"amfSetRef,omitempty"`
ManagedNFProfile *ManagedNFProfile `json:"managedNFProfile,omitempty"`
CommModelList []CommModel `json:"commModelList,omitempty"`
}
// NewAmfFunctionSingleAllOfAttributes instantiates a new AmfFunctionSingleAllOfAttributes 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 NewAmfFunctionSingleAllOfAttributes() *AmfFunctionSingleAllOfAttributes {
this := AmfFunctionSingleAllOfAttributes{}
return &this
}
// NewAmfFunctionSingleAllOfAttributesWithDefaults instantiates a new AmfFunctionSingleAllOfAttributes 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 NewAmfFunctionSingleAllOfAttributesWithDefaults() *AmfFunctionSingleAllOfAttributes {
this := AmfFunctionSingleAllOfAttributes{}
return &this
}
// GetPLMNInfoList returns the PLMNInfoList field value if set, zero value otherwise.
func (o *AmfFunctionSingleAllOfAttributes) 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 *AmfFunctionSingleAllOfAttributes) 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 *AmfFunctionSingleAllOfAttributes) 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 *AmfFunctionSingleAllOfAttributes) SetPLMNInfoList(v []PlmnInfo) {
o.PLMNInfoList = v
}
// GetAmfIdentifier returns the AmfIdentifier field value if set, zero value otherwise.
func (o *AmfFunctionSingleAllOfAttributes) GetAmfIdentifier() AmfIdentifier {
if o == nil || IsNil(o.AmfIdentifier) {
var ret AmfIdentifier
return ret
}
return *o.AmfIdentifier
}
// GetAmfIdentifierOk returns a tuple with the AmfIdentifier field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *AmfFunctionSingleAllOfAttributes) GetAmfIdentifierOk() (*AmfIdentifier, bool) {
if o == nil || IsNil(o.AmfIdentifier) {
return nil, false
}
return o.AmfIdentifier, true
}
// HasAmfIdentifier returns a boolean if a field has been set.
func (o *AmfFunctionSingleAllOfAttributes) HasAmfIdentifier() bool {
if o != nil && !IsNil(o.AmfIdentifier) {
return true
}
return false
}
// SetAmfIdentifier gets a reference to the given AmfIdentifier and assigns it to the AmfIdentifier field.
func (o *AmfFunctionSingleAllOfAttributes) SetAmfIdentifier(v AmfIdentifier) {
o.AmfIdentifier = &v
}
// GetSBIFqdn returns the SBIFqdn field value if set, zero value otherwise.
func (o *AmfFunctionSingleAllOfAttributes) 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 *AmfFunctionSingleAllOfAttributes) 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 *AmfFunctionSingleAllOfAttributes) 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 *AmfFunctionSingleAllOfAttributes) SetSBIFqdn(v string) {
o.SBIFqdn = &v
}
// GetInterPlmnFQDN returns the InterPlmnFQDN field value if set, zero value otherwise.
func (o *AmfFunctionSingleAllOfAttributes) 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 *AmfFunctionSingleAllOfAttributes) 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 *AmfFunctionSingleAllOfAttributes) 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 *AmfFunctionSingleAllOfAttributes) SetInterPlmnFQDN(v string) {
o.InterPlmnFQDN = &v
}
// GetTaiList returns the TaiList field value if set, zero value otherwise.
func (o *AmfFunctionSingleAllOfAttributes) GetTaiList() []Tai {
if o == nil || IsNil(o.TaiList) {
var ret []Tai
return ret
}
return o.TaiList
}
// GetTaiListOk returns a tuple with the TaiList field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *AmfFunctionSingleAllOfAttributes) GetTaiListOk() ([]Tai, bool) {
if o == nil || IsNil(o.TaiList) {
return nil, false
}
return o.TaiList, true
}
// HasTaiList returns a boolean if a field has been set.
func (o *AmfFunctionSingleAllOfAttributes) HasTaiList() bool {
if o != nil && !IsNil(o.TaiList) {
return true
}
return false
}
// SetTaiList gets a reference to the given []Tai and assigns it to the TaiList field.
func (o *AmfFunctionSingleAllOfAttributes) SetTaiList(v []Tai) {
o.TaiList = v
}
// GetTaiRangeList returns the TaiRangeList field value if set, zero value otherwise.
func (o *AmfFunctionSingleAllOfAttributes) GetTaiRangeList() []TaiRange {
if o == nil || IsNil(o.TaiRangeList) {
var ret []TaiRange
return ret
}
return o.TaiRangeList
}
// GetTaiRangeListOk returns a tuple with the TaiRangeList field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *AmfFunctionSingleAllOfAttributes) GetTaiRangeListOk() ([]TaiRange, bool) {
if o == nil || IsNil(o.TaiRangeList) {
return nil, false
}
return o.TaiRangeList, true
}
// HasTaiRangeList returns a boolean if a field has been set.
func (o *AmfFunctionSingleAllOfAttributes) HasTaiRangeList() bool {
if o != nil && !IsNil(o.TaiRangeList) {
return true
}
return false
}
// SetTaiRangeList gets a reference to the given []TaiRange and assigns it to the TaiRangeList field.
func (o *AmfFunctionSingleAllOfAttributes) SetTaiRangeList(v []TaiRange) {
o.TaiRangeList = v
}
// GetWeightFactor returns the WeightFactor field value if set, zero value otherwise.
func (o *AmfFunctionSingleAllOfAttributes) GetWeightFactor() int32 {
if o == nil || IsNil(o.WeightFactor) {
var ret int32
return ret
}
return *o.WeightFactor
}
// GetWeightFactorOk returns a tuple with the WeightFactor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *AmfFunctionSingleAllOfAttributes) GetWeightFactorOk() (*int32, bool) {
if o == nil || IsNil(o.WeightFactor) {
return nil, false
}
return o.WeightFactor, true
}
// HasWeightFactor returns a boolean if a field has been set.
func (o *AmfFunctionSingleAllOfAttributes) HasWeightFactor() bool {
if o != nil && !IsNil(o.WeightFactor) {
return true
}
return false
}
// SetWeightFactor gets a reference to the given int32 and assigns it to the WeightFactor field.
func (o *AmfFunctionSingleAllOfAttributes) SetWeightFactor(v int32) {
o.WeightFactor = &v
}
// GetCNSIIdList returns the CNSIIdList field value if set, zero value otherwise.
func (o *AmfFunctionSingleAllOfAttributes) GetCNSIIdList() []string {
if o == nil || IsNil(o.CNSIIdList) {
var ret []string
return ret
}
return o.CNSIIdList
}
// GetCNSIIdListOk returns a tuple with the CNSIIdList field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *AmfFunctionSingleAllOfAttributes) GetCNSIIdListOk() ([]string, bool) {
if o == nil || IsNil(o.CNSIIdList) {
return nil, false
}
return o.CNSIIdList, true
}
// HasCNSIIdList returns a boolean if a field has been set.
func (o *AmfFunctionSingleAllOfAttributes) HasCNSIIdList() bool {
if o != nil && !IsNil(o.CNSIIdList) {
return true
}
return false
}
// SetCNSIIdList gets a reference to the given []string and assigns it to the CNSIIdList field.
func (o *AmfFunctionSingleAllOfAttributes) SetCNSIIdList(v []string) {
o.CNSIIdList = v
}
// GetGUAMIdList returns the GUAMIdList field value if set, zero value otherwise.
func (o *AmfFunctionSingleAllOfAttributes) GetGUAMIdList() []GUAMInfo {
if o == nil || IsNil(o.GUAMIdList) {
var ret []GUAMInfo
return ret
}
return o.GUAMIdList
}
// GetGUAMIdListOk returns a tuple with the GUAMIdList field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *AmfFunctionSingleAllOfAttributes) GetGUAMIdListOk() ([]GUAMInfo, bool) {
if o == nil || IsNil(o.GUAMIdList) {
return nil, false
}
return o.GUAMIdList, true
}
// HasGUAMIdList returns a boolean if a field has been set.
func (o *AmfFunctionSingleAllOfAttributes) HasGUAMIdList() bool {
if o != nil && !IsNil(o.GUAMIdList) {
return true
}
return false
}
// SetGUAMIdList gets a reference to the given []GUAMInfo and assigns it to the GUAMIdList field.
func (o *AmfFunctionSingleAllOfAttributes) SetGUAMIdList(v []GUAMInfo) {
o.GUAMIdList = v
}
// GetBackupInfoAmfFailure returns the BackupInfoAmfFailure field value if set, zero value otherwise.
func (o *AmfFunctionSingleAllOfAttributes) GetBackupInfoAmfFailure() []GUAMInfo {
if o == nil || IsNil(o.BackupInfoAmfFailure) {
var ret []GUAMInfo
return ret
}
return o.BackupInfoAmfFailure
}
// GetBackupInfoAmfFailureOk returns a tuple with the BackupInfoAmfFailure field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *AmfFunctionSingleAllOfAttributes) GetBackupInfoAmfFailureOk() ([]GUAMInfo, bool) {
if o == nil || IsNil(o.BackupInfoAmfFailure) {
return nil, false
}
return o.BackupInfoAmfFailure, true
}
// HasBackupInfoAmfFailure returns a boolean if a field has been set.
func (o *AmfFunctionSingleAllOfAttributes) HasBackupInfoAmfFailure() bool {
if o != nil && !IsNil(o.BackupInfoAmfFailure) {
return true
}
return false
}
// SetBackupInfoAmfFailure gets a reference to the given []GUAMInfo and assigns it to the BackupInfoAmfFailure field.
func (o *AmfFunctionSingleAllOfAttributes) SetBackupInfoAmfFailure(v []GUAMInfo) {
o.BackupInfoAmfFailure = v
}
// GetBackupInfoAmfRemoval returns the BackupInfoAmfRemoval field value if set, zero value otherwise.
func (o *AmfFunctionSingleAllOfAttributes) GetBackupInfoAmfRemoval() []GUAMInfo {
if o == nil || IsNil(o.BackupInfoAmfRemoval) {
var ret []GUAMInfo
return ret
}
return o.BackupInfoAmfRemoval
}
// GetBackupInfoAmfRemovalOk returns a tuple with the BackupInfoAmfRemoval field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *AmfFunctionSingleAllOfAttributes) GetBackupInfoAmfRemovalOk() ([]GUAMInfo, bool) {
if o == nil || IsNil(o.BackupInfoAmfRemoval) {
return nil, false
}
return o.BackupInfoAmfRemoval, true
}
// HasBackupInfoAmfRemoval returns a boolean if a field has been set.
func (o *AmfFunctionSingleAllOfAttributes) HasBackupInfoAmfRemoval() bool {
if o != nil && !IsNil(o.BackupInfoAmfRemoval) {
return true
}
return false
}
// SetBackupInfoAmfRemoval gets a reference to the given []GUAMInfo and assigns it to the BackupInfoAmfRemoval field.
func (o *AmfFunctionSingleAllOfAttributes) SetBackupInfoAmfRemoval(v []GUAMInfo) {
o.BackupInfoAmfRemoval = v
}
// GetAmfSetRef returns the AmfSetRef field value if set, zero value otherwise.
func (o *AmfFunctionSingleAllOfAttributes) GetAmfSetRef() string {
if o == nil || IsNil(o.AmfSetRef) {
var ret string
return ret
}
return *o.AmfSetRef
}
// GetAmfSetRefOk returns a tuple with the AmfSetRef field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *AmfFunctionSingleAllOfAttributes) GetAmfSetRefOk() (*string, bool) {
if o == nil || IsNil(o.AmfSetRef) {
return nil, false
}
return o.AmfSetRef, true
}
// HasAmfSetRef returns a boolean if a field has been set.
func (o *AmfFunctionSingleAllOfAttributes) HasAmfSetRef() bool {
if o != nil && !IsNil(o.AmfSetRef) {
return true
}
return false
}
// SetAmfSetRef gets a reference to the given string and assigns it to the AmfSetRef field.
func (o *AmfFunctionSingleAllOfAttributes) SetAmfSetRef(v string) {
o.AmfSetRef = &v
}
// GetManagedNFProfile returns the ManagedNFProfile field value if set, zero value otherwise.
func (o *AmfFunctionSingleAllOfAttributes) 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 *AmfFunctionSingleAllOfAttributes) 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 *AmfFunctionSingleAllOfAttributes) 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 *AmfFunctionSingleAllOfAttributes) SetManagedNFProfile(v ManagedNFProfile) {
o.ManagedNFProfile = &v
}
// GetCommModelList returns the CommModelList field value if set, zero value otherwise.
func (o *AmfFunctionSingleAllOfAttributes) 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 *AmfFunctionSingleAllOfAttributes) 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 *AmfFunctionSingleAllOfAttributes) 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 *AmfFunctionSingleAllOfAttributes) SetCommModelList(v []CommModel) {
o.CommModelList = v
}
func (o AmfFunctionSingleAllOfAttributes) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o AmfFunctionSingleAllOfAttributes) 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.AmfIdentifier) {
toSerialize["amfIdentifier"] = o.AmfIdentifier
}
if !IsNil(o.SBIFqdn) {
toSerialize["sBIFqdn"] = o.SBIFqdn
}
if !IsNil(o.InterPlmnFQDN) {
toSerialize["interPlmnFQDN"] = o.InterPlmnFQDN
}
if !IsNil(o.TaiList) {
toSerialize["taiList"] = o.TaiList
}
if !IsNil(o.TaiRangeList) {
toSerialize["taiRangeList"] = o.TaiRangeList
}
if !IsNil(o.WeightFactor) {
toSerialize["weightFactor"] = o.WeightFactor
}
if !IsNil(o.CNSIIdList) {
toSerialize["cNSIIdList"] = o.CNSIIdList
}
if !IsNil(o.GUAMIdList) {
toSerialize["gUAMIdList"] = o.GUAMIdList
}
if !IsNil(o.BackupInfoAmfFailure) {
toSerialize["backupInfoAmfFailure"] = o.BackupInfoAmfFailure
}
if !IsNil(o.BackupInfoAmfRemoval) {
toSerialize["backupInfoAmfRemoval"] = o.BackupInfoAmfRemoval
}
if !IsNil(o.AmfSetRef) {
toSerialize["amfSetRef"] = o.AmfSetRef
}
if !IsNil(o.ManagedNFProfile) {
toSerialize["managedNFProfile"] = o.ManagedNFProfile
}
if !IsNil(o.CommModelList) {
toSerialize["commModelList"] = o.CommModelList
}
return toSerialize, nil
}
type NullableAmfFunctionSingleAllOfAttributes struct {
value *AmfFunctionSingleAllOfAttributes
isSet bool
}
func (v NullableAmfFunctionSingleAllOfAttributes) Get() *AmfFunctionSingleAllOfAttributes {
return v.value
}
func (v *NullableAmfFunctionSingleAllOfAttributes) Set(val *AmfFunctionSingleAllOfAttributes) {
v.value = val
v.isSet = true
}
func (v NullableAmfFunctionSingleAllOfAttributes) IsSet() bool {
return v.isSet
}
func (v *NullableAmfFunctionSingleAllOfAttributes) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableAmfFunctionSingleAllOfAttributes(val *AmfFunctionSingleAllOfAttributes) *NullableAmfFunctionSingleAllOfAttributes {
return &NullableAmfFunctionSingleAllOfAttributes{value: val, isSet: true}
}
func (v NullableAmfFunctionSingleAllOfAttributes) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableAmfFunctionSingleAllOfAttributes) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}