This repository has been archived by the owner on Aug 21, 2023. It is now read-only.
/
model_af_event_notification.go
612 lines (520 loc) · 19.2 KB
/
model_af_event_notification.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
/*
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 AfEventNotification type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &AfEventNotification{}
// AfEventNotification Represents information related to an event to be reported.
type AfEventNotification struct {
Event AfEvent `json:"event"`
// string with format 'date-time' as defined in OpenAPI.
TimeStamp time.Time `json:"timeStamp"`
SvcExprcInfos []ServiceExperienceInfoPerApp `json:"svcExprcInfos,omitempty"`
UeMobilityInfos []UeMobilityCollection `json:"ueMobilityInfos,omitempty"`
UeCommInfos []UeCommunicationCollection `json:"ueCommInfos,omitempty"`
ExcepInfos []ExceptionInfo `json:"excepInfos,omitempty"`
CongestionInfos []UserDataCongestionCollection `json:"congestionInfos,omitempty"`
PerfDataInfos []PerformanceDataCollection `json:"perfDataInfos,omitempty"`
DispersionInfos []DispersionCollection1 `json:"dispersionInfos,omitempty"`
CollBhvrInfs []CollectiveBehaviourInfo `json:"collBhvrInfs,omitempty"`
MsQoeMetrInfos []MsQoeMetricsCollection `json:"msQoeMetrInfos,omitempty"`
MsConsumpInfos []MsConsumptionCollection `json:"msConsumpInfos,omitempty"`
MsNetAssInvInfos []MsNetAssInvocationCollection `json:"msNetAssInvInfos,omitempty"`
MsDynPlyInvInfos []MsDynPolicyInvocationCollection `json:"msDynPlyInvInfos,omitempty"`
MsAccActInfos []MSAccessActivityCollection `json:"msAccActInfos,omitempty"`
}
// NewAfEventNotification instantiates a new AfEventNotification 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 NewAfEventNotification(event AfEvent, timeStamp time.Time) *AfEventNotification {
this := AfEventNotification{}
this.Event = event
this.TimeStamp = timeStamp
return &this
}
// NewAfEventNotificationWithDefaults instantiates a new AfEventNotification 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 NewAfEventNotificationWithDefaults() *AfEventNotification {
this := AfEventNotification{}
return &this
}
// GetEvent returns the Event field value
func (o *AfEventNotification) GetEvent() AfEvent {
if o == nil {
var ret AfEvent
return ret
}
return o.Event
}
// GetEventOk returns a tuple with the Event field value
// and a boolean to check if the value has been set.
func (o *AfEventNotification) GetEventOk() (*AfEvent, bool) {
if o == nil {
return nil, false
}
return &o.Event, true
}
// SetEvent sets field value
func (o *AfEventNotification) SetEvent(v AfEvent) {
o.Event = v
}
// GetTimeStamp returns the TimeStamp field value
func (o *AfEventNotification) GetTimeStamp() time.Time {
if o == nil {
var ret time.Time
return ret
}
return o.TimeStamp
}
// GetTimeStampOk returns a tuple with the TimeStamp field value
// and a boolean to check if the value has been set.
func (o *AfEventNotification) GetTimeStampOk() (*time.Time, bool) {
if o == nil {
return nil, false
}
return &o.TimeStamp, true
}
// SetTimeStamp sets field value
func (o *AfEventNotification) SetTimeStamp(v time.Time) {
o.TimeStamp = v
}
// GetSvcExprcInfos returns the SvcExprcInfos field value if set, zero value otherwise.
func (o *AfEventNotification) GetSvcExprcInfos() []ServiceExperienceInfoPerApp {
if o == nil || IsNil(o.SvcExprcInfos) {
var ret []ServiceExperienceInfoPerApp
return ret
}
return o.SvcExprcInfos
}
// GetSvcExprcInfosOk returns a tuple with the SvcExprcInfos field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *AfEventNotification) GetSvcExprcInfosOk() ([]ServiceExperienceInfoPerApp, bool) {
if o == nil || IsNil(o.SvcExprcInfos) {
return nil, false
}
return o.SvcExprcInfos, true
}
// HasSvcExprcInfos returns a boolean if a field has been set.
func (o *AfEventNotification) HasSvcExprcInfos() bool {
if o != nil && !IsNil(o.SvcExprcInfos) {
return true
}
return false
}
// SetSvcExprcInfos gets a reference to the given []ServiceExperienceInfoPerApp and assigns it to the SvcExprcInfos field.
func (o *AfEventNotification) SetSvcExprcInfos(v []ServiceExperienceInfoPerApp) {
o.SvcExprcInfos = v
}
// GetUeMobilityInfos returns the UeMobilityInfos field value if set, zero value otherwise.
func (o *AfEventNotification) GetUeMobilityInfos() []UeMobilityCollection {
if o == nil || IsNil(o.UeMobilityInfos) {
var ret []UeMobilityCollection
return ret
}
return o.UeMobilityInfos
}
// GetUeMobilityInfosOk returns a tuple with the UeMobilityInfos field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *AfEventNotification) GetUeMobilityInfosOk() ([]UeMobilityCollection, bool) {
if o == nil || IsNil(o.UeMobilityInfos) {
return nil, false
}
return o.UeMobilityInfos, true
}
// HasUeMobilityInfos returns a boolean if a field has been set.
func (o *AfEventNotification) HasUeMobilityInfos() bool {
if o != nil && !IsNil(o.UeMobilityInfos) {
return true
}
return false
}
// SetUeMobilityInfos gets a reference to the given []UeMobilityCollection and assigns it to the UeMobilityInfos field.
func (o *AfEventNotification) SetUeMobilityInfos(v []UeMobilityCollection) {
o.UeMobilityInfos = v
}
// GetUeCommInfos returns the UeCommInfos field value if set, zero value otherwise.
func (o *AfEventNotification) GetUeCommInfos() []UeCommunicationCollection {
if o == nil || IsNil(o.UeCommInfos) {
var ret []UeCommunicationCollection
return ret
}
return o.UeCommInfos
}
// GetUeCommInfosOk returns a tuple with the UeCommInfos field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *AfEventNotification) GetUeCommInfosOk() ([]UeCommunicationCollection, bool) {
if o == nil || IsNil(o.UeCommInfos) {
return nil, false
}
return o.UeCommInfos, true
}
// HasUeCommInfos returns a boolean if a field has been set.
func (o *AfEventNotification) HasUeCommInfos() bool {
if o != nil && !IsNil(o.UeCommInfos) {
return true
}
return false
}
// SetUeCommInfos gets a reference to the given []UeCommunicationCollection and assigns it to the UeCommInfos field.
func (o *AfEventNotification) SetUeCommInfos(v []UeCommunicationCollection) {
o.UeCommInfos = v
}
// GetExcepInfos returns the ExcepInfos field value if set, zero value otherwise.
func (o *AfEventNotification) GetExcepInfos() []ExceptionInfo {
if o == nil || IsNil(o.ExcepInfos) {
var ret []ExceptionInfo
return ret
}
return o.ExcepInfos
}
// GetExcepInfosOk returns a tuple with the ExcepInfos field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *AfEventNotification) GetExcepInfosOk() ([]ExceptionInfo, bool) {
if o == nil || IsNil(o.ExcepInfos) {
return nil, false
}
return o.ExcepInfos, true
}
// HasExcepInfos returns a boolean if a field has been set.
func (o *AfEventNotification) HasExcepInfos() bool {
if o != nil && !IsNil(o.ExcepInfos) {
return true
}
return false
}
// SetExcepInfos gets a reference to the given []ExceptionInfo and assigns it to the ExcepInfos field.
func (o *AfEventNotification) SetExcepInfos(v []ExceptionInfo) {
o.ExcepInfos = v
}
// GetCongestionInfos returns the CongestionInfos field value if set, zero value otherwise.
func (o *AfEventNotification) GetCongestionInfos() []UserDataCongestionCollection {
if o == nil || IsNil(o.CongestionInfos) {
var ret []UserDataCongestionCollection
return ret
}
return o.CongestionInfos
}
// GetCongestionInfosOk returns a tuple with the CongestionInfos field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *AfEventNotification) GetCongestionInfosOk() ([]UserDataCongestionCollection, bool) {
if o == nil || IsNil(o.CongestionInfos) {
return nil, false
}
return o.CongestionInfos, true
}
// HasCongestionInfos returns a boolean if a field has been set.
func (o *AfEventNotification) HasCongestionInfos() bool {
if o != nil && !IsNil(o.CongestionInfos) {
return true
}
return false
}
// SetCongestionInfos gets a reference to the given []UserDataCongestionCollection and assigns it to the CongestionInfos field.
func (o *AfEventNotification) SetCongestionInfos(v []UserDataCongestionCollection) {
o.CongestionInfos = v
}
// GetPerfDataInfos returns the PerfDataInfos field value if set, zero value otherwise.
func (o *AfEventNotification) GetPerfDataInfos() []PerformanceDataCollection {
if o == nil || IsNil(o.PerfDataInfos) {
var ret []PerformanceDataCollection
return ret
}
return o.PerfDataInfos
}
// GetPerfDataInfosOk returns a tuple with the PerfDataInfos field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *AfEventNotification) GetPerfDataInfosOk() ([]PerformanceDataCollection, bool) {
if o == nil || IsNil(o.PerfDataInfos) {
return nil, false
}
return o.PerfDataInfos, true
}
// HasPerfDataInfos returns a boolean if a field has been set.
func (o *AfEventNotification) HasPerfDataInfos() bool {
if o != nil && !IsNil(o.PerfDataInfos) {
return true
}
return false
}
// SetPerfDataInfos gets a reference to the given []PerformanceDataCollection and assigns it to the PerfDataInfos field.
func (o *AfEventNotification) SetPerfDataInfos(v []PerformanceDataCollection) {
o.PerfDataInfos = v
}
// GetDispersionInfos returns the DispersionInfos field value if set, zero value otherwise.
func (o *AfEventNotification) GetDispersionInfos() []DispersionCollection1 {
if o == nil || IsNil(o.DispersionInfos) {
var ret []DispersionCollection1
return ret
}
return o.DispersionInfos
}
// GetDispersionInfosOk returns a tuple with the DispersionInfos field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *AfEventNotification) GetDispersionInfosOk() ([]DispersionCollection1, bool) {
if o == nil || IsNil(o.DispersionInfos) {
return nil, false
}
return o.DispersionInfos, true
}
// HasDispersionInfos returns a boolean if a field has been set.
func (o *AfEventNotification) HasDispersionInfos() bool {
if o != nil && !IsNil(o.DispersionInfos) {
return true
}
return false
}
// SetDispersionInfos gets a reference to the given []DispersionCollection1 and assigns it to the DispersionInfos field.
func (o *AfEventNotification) SetDispersionInfos(v []DispersionCollection1) {
o.DispersionInfos = v
}
// GetCollBhvrInfs returns the CollBhvrInfs field value if set, zero value otherwise.
func (o *AfEventNotification) GetCollBhvrInfs() []CollectiveBehaviourInfo {
if o == nil || IsNil(o.CollBhvrInfs) {
var ret []CollectiveBehaviourInfo
return ret
}
return o.CollBhvrInfs
}
// GetCollBhvrInfsOk returns a tuple with the CollBhvrInfs field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *AfEventNotification) GetCollBhvrInfsOk() ([]CollectiveBehaviourInfo, bool) {
if o == nil || IsNil(o.CollBhvrInfs) {
return nil, false
}
return o.CollBhvrInfs, true
}
// HasCollBhvrInfs returns a boolean if a field has been set.
func (o *AfEventNotification) HasCollBhvrInfs() bool {
if o != nil && !IsNil(o.CollBhvrInfs) {
return true
}
return false
}
// SetCollBhvrInfs gets a reference to the given []CollectiveBehaviourInfo and assigns it to the CollBhvrInfs field.
func (o *AfEventNotification) SetCollBhvrInfs(v []CollectiveBehaviourInfo) {
o.CollBhvrInfs = v
}
// GetMsQoeMetrInfos returns the MsQoeMetrInfos field value if set, zero value otherwise.
func (o *AfEventNotification) GetMsQoeMetrInfos() []MsQoeMetricsCollection {
if o == nil || IsNil(o.MsQoeMetrInfos) {
var ret []MsQoeMetricsCollection
return ret
}
return o.MsQoeMetrInfos
}
// GetMsQoeMetrInfosOk returns a tuple with the MsQoeMetrInfos field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *AfEventNotification) GetMsQoeMetrInfosOk() ([]MsQoeMetricsCollection, bool) {
if o == nil || IsNil(o.MsQoeMetrInfos) {
return nil, false
}
return o.MsQoeMetrInfos, true
}
// HasMsQoeMetrInfos returns a boolean if a field has been set.
func (o *AfEventNotification) HasMsQoeMetrInfos() bool {
if o != nil && !IsNil(o.MsQoeMetrInfos) {
return true
}
return false
}
// SetMsQoeMetrInfos gets a reference to the given []MsQoeMetricsCollection and assigns it to the MsQoeMetrInfos field.
func (o *AfEventNotification) SetMsQoeMetrInfos(v []MsQoeMetricsCollection) {
o.MsQoeMetrInfos = v
}
// GetMsConsumpInfos returns the MsConsumpInfos field value if set, zero value otherwise.
func (o *AfEventNotification) GetMsConsumpInfos() []MsConsumptionCollection {
if o == nil || IsNil(o.MsConsumpInfos) {
var ret []MsConsumptionCollection
return ret
}
return o.MsConsumpInfos
}
// GetMsConsumpInfosOk returns a tuple with the MsConsumpInfos field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *AfEventNotification) GetMsConsumpInfosOk() ([]MsConsumptionCollection, bool) {
if o == nil || IsNil(o.MsConsumpInfos) {
return nil, false
}
return o.MsConsumpInfos, true
}
// HasMsConsumpInfos returns a boolean if a field has been set.
func (o *AfEventNotification) HasMsConsumpInfos() bool {
if o != nil && !IsNil(o.MsConsumpInfos) {
return true
}
return false
}
// SetMsConsumpInfos gets a reference to the given []MsConsumptionCollection and assigns it to the MsConsumpInfos field.
func (o *AfEventNotification) SetMsConsumpInfos(v []MsConsumptionCollection) {
o.MsConsumpInfos = v
}
// GetMsNetAssInvInfos returns the MsNetAssInvInfos field value if set, zero value otherwise.
func (o *AfEventNotification) GetMsNetAssInvInfos() []MsNetAssInvocationCollection {
if o == nil || IsNil(o.MsNetAssInvInfos) {
var ret []MsNetAssInvocationCollection
return ret
}
return o.MsNetAssInvInfos
}
// GetMsNetAssInvInfosOk returns a tuple with the MsNetAssInvInfos field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *AfEventNotification) GetMsNetAssInvInfosOk() ([]MsNetAssInvocationCollection, bool) {
if o == nil || IsNil(o.MsNetAssInvInfos) {
return nil, false
}
return o.MsNetAssInvInfos, true
}
// HasMsNetAssInvInfos returns a boolean if a field has been set.
func (o *AfEventNotification) HasMsNetAssInvInfos() bool {
if o != nil && !IsNil(o.MsNetAssInvInfos) {
return true
}
return false
}
// SetMsNetAssInvInfos gets a reference to the given []MsNetAssInvocationCollection and assigns it to the MsNetAssInvInfos field.
func (o *AfEventNotification) SetMsNetAssInvInfos(v []MsNetAssInvocationCollection) {
o.MsNetAssInvInfos = v
}
// GetMsDynPlyInvInfos returns the MsDynPlyInvInfos field value if set, zero value otherwise.
func (o *AfEventNotification) GetMsDynPlyInvInfos() []MsDynPolicyInvocationCollection {
if o == nil || IsNil(o.MsDynPlyInvInfos) {
var ret []MsDynPolicyInvocationCollection
return ret
}
return o.MsDynPlyInvInfos
}
// GetMsDynPlyInvInfosOk returns a tuple with the MsDynPlyInvInfos field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *AfEventNotification) GetMsDynPlyInvInfosOk() ([]MsDynPolicyInvocationCollection, bool) {
if o == nil || IsNil(o.MsDynPlyInvInfos) {
return nil, false
}
return o.MsDynPlyInvInfos, true
}
// HasMsDynPlyInvInfos returns a boolean if a field has been set.
func (o *AfEventNotification) HasMsDynPlyInvInfos() bool {
if o != nil && !IsNil(o.MsDynPlyInvInfos) {
return true
}
return false
}
// SetMsDynPlyInvInfos gets a reference to the given []MsDynPolicyInvocationCollection and assigns it to the MsDynPlyInvInfos field.
func (o *AfEventNotification) SetMsDynPlyInvInfos(v []MsDynPolicyInvocationCollection) {
o.MsDynPlyInvInfos = v
}
// GetMsAccActInfos returns the MsAccActInfos field value if set, zero value otherwise.
func (o *AfEventNotification) GetMsAccActInfos() []MSAccessActivityCollection {
if o == nil || IsNil(o.MsAccActInfos) {
var ret []MSAccessActivityCollection
return ret
}
return o.MsAccActInfos
}
// GetMsAccActInfosOk returns a tuple with the MsAccActInfos field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *AfEventNotification) GetMsAccActInfosOk() ([]MSAccessActivityCollection, bool) {
if o == nil || IsNil(o.MsAccActInfos) {
return nil, false
}
return o.MsAccActInfos, true
}
// HasMsAccActInfos returns a boolean if a field has been set.
func (o *AfEventNotification) HasMsAccActInfos() bool {
if o != nil && !IsNil(o.MsAccActInfos) {
return true
}
return false
}
// SetMsAccActInfos gets a reference to the given []MSAccessActivityCollection and assigns it to the MsAccActInfos field.
func (o *AfEventNotification) SetMsAccActInfos(v []MSAccessActivityCollection) {
o.MsAccActInfos = v
}
func (o AfEventNotification) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o AfEventNotification) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
toSerialize["event"] = o.Event
toSerialize["timeStamp"] = o.TimeStamp
if !IsNil(o.SvcExprcInfos) {
toSerialize["svcExprcInfos"] = o.SvcExprcInfos
}
if !IsNil(o.UeMobilityInfos) {
toSerialize["ueMobilityInfos"] = o.UeMobilityInfos
}
if !IsNil(o.UeCommInfos) {
toSerialize["ueCommInfos"] = o.UeCommInfos
}
if !IsNil(o.ExcepInfos) {
toSerialize["excepInfos"] = o.ExcepInfos
}
if !IsNil(o.CongestionInfos) {
toSerialize["congestionInfos"] = o.CongestionInfos
}
if !IsNil(o.PerfDataInfos) {
toSerialize["perfDataInfos"] = o.PerfDataInfos
}
if !IsNil(o.DispersionInfos) {
toSerialize["dispersionInfos"] = o.DispersionInfos
}
if !IsNil(o.CollBhvrInfs) {
toSerialize["collBhvrInfs"] = o.CollBhvrInfs
}
if !IsNil(o.MsQoeMetrInfos) {
toSerialize["msQoeMetrInfos"] = o.MsQoeMetrInfos
}
if !IsNil(o.MsConsumpInfos) {
toSerialize["msConsumpInfos"] = o.MsConsumpInfos
}
if !IsNil(o.MsNetAssInvInfos) {
toSerialize["msNetAssInvInfos"] = o.MsNetAssInvInfos
}
if !IsNil(o.MsDynPlyInvInfos) {
toSerialize["msDynPlyInvInfos"] = o.MsDynPlyInvInfos
}
if !IsNil(o.MsAccActInfos) {
toSerialize["msAccActInfos"] = o.MsAccActInfos
}
return toSerialize, nil
}
type NullableAfEventNotification struct {
value *AfEventNotification
isSet bool
}
func (v NullableAfEventNotification) Get() *AfEventNotification {
return v.value
}
func (v *NullableAfEventNotification) Set(val *AfEventNotification) {
v.value = val
v.isSet = true
}
func (v NullableAfEventNotification) IsSet() bool {
return v.isSet
}
func (v *NullableAfEventNotification) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableAfEventNotification(val *AfEventNotification) *NullableAfEventNotification {
return &NullableAfEventNotification{value: val, isSet: true}
}
func (v NullableAfEventNotification) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableAfEventNotification) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}