This repository has been archived by the owner on Aug 21, 2023. It is now read-only.
/
model_subscription_data_sets.go
675 lines (574 loc) · 20.7 KB
/
model_subscription_data_sets.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
/*
Nudr_DataRepository API OpenAPI file
Unified Data Repository Service. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
API version: 2.3.0-alpha.1
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package openapi_Nudr_DR
import (
"encoding/json"
)
// checks if the SubscriptionDataSets type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &SubscriptionDataSets{}
// SubscriptionDataSets struct for SubscriptionDataSets
type SubscriptionDataSets struct {
AmData *AccessAndMobilitySubscriptionData `json:"amData,omitempty"`
SmfSelData *SmfSelectionSubscriptionData `json:"smfSelData,omitempty"`
UecAmfData *UeContextInAmfData `json:"uecAmfData,omitempty"`
UecSmfData *UeContextInSmfData `json:"uecSmfData,omitempty"`
UecSmsfData *UeContextInSmsfData `json:"uecSmsfData,omitempty"`
SmsSubsData *SmsSubscriptionData `json:"smsSubsData,omitempty"`
SmData *SmSubsData `json:"smData,omitempty"`
TraceData NullableTraceData1 `json:"traceData,omitempty"`
SmsMngData *SmsManagementSubscriptionData `json:"smsMngData,omitempty"`
LcsPrivacyData *LcsPrivacyData `json:"lcsPrivacyData,omitempty"`
LcsMoData *LcsMoData `json:"lcsMoData,omitempty"`
V2xData *V2xSubscriptionData `json:"v2xData,omitempty"`
LcsBroadcastAssistanceTypesData *LcsBroadcastAssistanceTypesData `json:"lcsBroadcastAssistanceTypesData,omitempty"`
ProseData *ProseSubscriptionData `json:"proseData,omitempty"`
MbsData *MbsSubscriptionData `json:"mbsData,omitempty"`
UcData *UcSubscriptionData `json:"ucData,omitempty"`
}
// NewSubscriptionDataSets instantiates a new SubscriptionDataSets 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 NewSubscriptionDataSets() *SubscriptionDataSets {
this := SubscriptionDataSets{}
return &this
}
// NewSubscriptionDataSetsWithDefaults instantiates a new SubscriptionDataSets 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 NewSubscriptionDataSetsWithDefaults() *SubscriptionDataSets {
this := SubscriptionDataSets{}
return &this
}
// GetAmData returns the AmData field value if set, zero value otherwise.
func (o *SubscriptionDataSets) GetAmData() AccessAndMobilitySubscriptionData {
if o == nil || IsNil(o.AmData) {
var ret AccessAndMobilitySubscriptionData
return ret
}
return *o.AmData
}
// GetAmDataOk returns a tuple with the AmData field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SubscriptionDataSets) GetAmDataOk() (*AccessAndMobilitySubscriptionData, bool) {
if o == nil || IsNil(o.AmData) {
return nil, false
}
return o.AmData, true
}
// HasAmData returns a boolean if a field has been set.
func (o *SubscriptionDataSets) HasAmData() bool {
if o != nil && !IsNil(o.AmData) {
return true
}
return false
}
// SetAmData gets a reference to the given AccessAndMobilitySubscriptionData and assigns it to the AmData field.
func (o *SubscriptionDataSets) SetAmData(v AccessAndMobilitySubscriptionData) {
o.AmData = &v
}
// GetSmfSelData returns the SmfSelData field value if set, zero value otherwise.
func (o *SubscriptionDataSets) GetSmfSelData() SmfSelectionSubscriptionData {
if o == nil || IsNil(o.SmfSelData) {
var ret SmfSelectionSubscriptionData
return ret
}
return *o.SmfSelData
}
// GetSmfSelDataOk returns a tuple with the SmfSelData field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SubscriptionDataSets) GetSmfSelDataOk() (*SmfSelectionSubscriptionData, bool) {
if o == nil || IsNil(o.SmfSelData) {
return nil, false
}
return o.SmfSelData, true
}
// HasSmfSelData returns a boolean if a field has been set.
func (o *SubscriptionDataSets) HasSmfSelData() bool {
if o != nil && !IsNil(o.SmfSelData) {
return true
}
return false
}
// SetSmfSelData gets a reference to the given SmfSelectionSubscriptionData and assigns it to the SmfSelData field.
func (o *SubscriptionDataSets) SetSmfSelData(v SmfSelectionSubscriptionData) {
o.SmfSelData = &v
}
// GetUecAmfData returns the UecAmfData field value if set, zero value otherwise.
func (o *SubscriptionDataSets) GetUecAmfData() UeContextInAmfData {
if o == nil || IsNil(o.UecAmfData) {
var ret UeContextInAmfData
return ret
}
return *o.UecAmfData
}
// GetUecAmfDataOk returns a tuple with the UecAmfData field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SubscriptionDataSets) GetUecAmfDataOk() (*UeContextInAmfData, bool) {
if o == nil || IsNil(o.UecAmfData) {
return nil, false
}
return o.UecAmfData, true
}
// HasUecAmfData returns a boolean if a field has been set.
func (o *SubscriptionDataSets) HasUecAmfData() bool {
if o != nil && !IsNil(o.UecAmfData) {
return true
}
return false
}
// SetUecAmfData gets a reference to the given UeContextInAmfData and assigns it to the UecAmfData field.
func (o *SubscriptionDataSets) SetUecAmfData(v UeContextInAmfData) {
o.UecAmfData = &v
}
// GetUecSmfData returns the UecSmfData field value if set, zero value otherwise.
func (o *SubscriptionDataSets) GetUecSmfData() UeContextInSmfData {
if o == nil || IsNil(o.UecSmfData) {
var ret UeContextInSmfData
return ret
}
return *o.UecSmfData
}
// GetUecSmfDataOk returns a tuple with the UecSmfData field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SubscriptionDataSets) GetUecSmfDataOk() (*UeContextInSmfData, bool) {
if o == nil || IsNil(o.UecSmfData) {
return nil, false
}
return o.UecSmfData, true
}
// HasUecSmfData returns a boolean if a field has been set.
func (o *SubscriptionDataSets) HasUecSmfData() bool {
if o != nil && !IsNil(o.UecSmfData) {
return true
}
return false
}
// SetUecSmfData gets a reference to the given UeContextInSmfData and assigns it to the UecSmfData field.
func (o *SubscriptionDataSets) SetUecSmfData(v UeContextInSmfData) {
o.UecSmfData = &v
}
// GetUecSmsfData returns the UecSmsfData field value if set, zero value otherwise.
func (o *SubscriptionDataSets) GetUecSmsfData() UeContextInSmsfData {
if o == nil || IsNil(o.UecSmsfData) {
var ret UeContextInSmsfData
return ret
}
return *o.UecSmsfData
}
// GetUecSmsfDataOk returns a tuple with the UecSmsfData field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SubscriptionDataSets) GetUecSmsfDataOk() (*UeContextInSmsfData, bool) {
if o == nil || IsNil(o.UecSmsfData) {
return nil, false
}
return o.UecSmsfData, true
}
// HasUecSmsfData returns a boolean if a field has been set.
func (o *SubscriptionDataSets) HasUecSmsfData() bool {
if o != nil && !IsNil(o.UecSmsfData) {
return true
}
return false
}
// SetUecSmsfData gets a reference to the given UeContextInSmsfData and assigns it to the UecSmsfData field.
func (o *SubscriptionDataSets) SetUecSmsfData(v UeContextInSmsfData) {
o.UecSmsfData = &v
}
// GetSmsSubsData returns the SmsSubsData field value if set, zero value otherwise.
func (o *SubscriptionDataSets) GetSmsSubsData() SmsSubscriptionData {
if o == nil || IsNil(o.SmsSubsData) {
var ret SmsSubscriptionData
return ret
}
return *o.SmsSubsData
}
// GetSmsSubsDataOk returns a tuple with the SmsSubsData field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SubscriptionDataSets) GetSmsSubsDataOk() (*SmsSubscriptionData, bool) {
if o == nil || IsNil(o.SmsSubsData) {
return nil, false
}
return o.SmsSubsData, true
}
// HasSmsSubsData returns a boolean if a field has been set.
func (o *SubscriptionDataSets) HasSmsSubsData() bool {
if o != nil && !IsNil(o.SmsSubsData) {
return true
}
return false
}
// SetSmsSubsData gets a reference to the given SmsSubscriptionData and assigns it to the SmsSubsData field.
func (o *SubscriptionDataSets) SetSmsSubsData(v SmsSubscriptionData) {
o.SmsSubsData = &v
}
// GetSmData returns the SmData field value if set, zero value otherwise.
func (o *SubscriptionDataSets) GetSmData() SmSubsData {
if o == nil || IsNil(o.SmData) {
var ret SmSubsData
return ret
}
return *o.SmData
}
// GetSmDataOk returns a tuple with the SmData field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SubscriptionDataSets) GetSmDataOk() (*SmSubsData, bool) {
if o == nil || IsNil(o.SmData) {
return nil, false
}
return o.SmData, true
}
// HasSmData returns a boolean if a field has been set.
func (o *SubscriptionDataSets) HasSmData() bool {
if o != nil && !IsNil(o.SmData) {
return true
}
return false
}
// SetSmData gets a reference to the given SmSubsData and assigns it to the SmData field.
func (o *SubscriptionDataSets) SetSmData(v SmSubsData) {
o.SmData = &v
}
// GetTraceData returns the TraceData field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *SubscriptionDataSets) GetTraceData() TraceData1 {
if o == nil || IsNil(o.TraceData.Get()) {
var ret TraceData1
return ret
}
return *o.TraceData.Get()
}
// GetTraceDataOk returns a tuple with the TraceData field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *SubscriptionDataSets) GetTraceDataOk() (*TraceData1, bool) {
if o == nil {
return nil, false
}
return o.TraceData.Get(), o.TraceData.IsSet()
}
// HasTraceData returns a boolean if a field has been set.
func (o *SubscriptionDataSets) HasTraceData() bool {
if o != nil && o.TraceData.IsSet() {
return true
}
return false
}
// SetTraceData gets a reference to the given NullableTraceData1 and assigns it to the TraceData field.
func (o *SubscriptionDataSets) SetTraceData(v TraceData1) {
o.TraceData.Set(&v)
}
// SetTraceDataNil sets the value for TraceData to be an explicit nil
func (o *SubscriptionDataSets) SetTraceDataNil() {
o.TraceData.Set(nil)
}
// UnsetTraceData ensures that no value is present for TraceData, not even an explicit nil
func (o *SubscriptionDataSets) UnsetTraceData() {
o.TraceData.Unset()
}
// GetSmsMngData returns the SmsMngData field value if set, zero value otherwise.
func (o *SubscriptionDataSets) GetSmsMngData() SmsManagementSubscriptionData {
if o == nil || IsNil(o.SmsMngData) {
var ret SmsManagementSubscriptionData
return ret
}
return *o.SmsMngData
}
// GetSmsMngDataOk returns a tuple with the SmsMngData field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SubscriptionDataSets) GetSmsMngDataOk() (*SmsManagementSubscriptionData, bool) {
if o == nil || IsNil(o.SmsMngData) {
return nil, false
}
return o.SmsMngData, true
}
// HasSmsMngData returns a boolean if a field has been set.
func (o *SubscriptionDataSets) HasSmsMngData() bool {
if o != nil && !IsNil(o.SmsMngData) {
return true
}
return false
}
// SetSmsMngData gets a reference to the given SmsManagementSubscriptionData and assigns it to the SmsMngData field.
func (o *SubscriptionDataSets) SetSmsMngData(v SmsManagementSubscriptionData) {
o.SmsMngData = &v
}
// GetLcsPrivacyData returns the LcsPrivacyData field value if set, zero value otherwise.
func (o *SubscriptionDataSets) GetLcsPrivacyData() LcsPrivacyData {
if o == nil || IsNil(o.LcsPrivacyData) {
var ret LcsPrivacyData
return ret
}
return *o.LcsPrivacyData
}
// GetLcsPrivacyDataOk returns a tuple with the LcsPrivacyData field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SubscriptionDataSets) GetLcsPrivacyDataOk() (*LcsPrivacyData, bool) {
if o == nil || IsNil(o.LcsPrivacyData) {
return nil, false
}
return o.LcsPrivacyData, true
}
// HasLcsPrivacyData returns a boolean if a field has been set.
func (o *SubscriptionDataSets) HasLcsPrivacyData() bool {
if o != nil && !IsNil(o.LcsPrivacyData) {
return true
}
return false
}
// SetLcsPrivacyData gets a reference to the given LcsPrivacyData and assigns it to the LcsPrivacyData field.
func (o *SubscriptionDataSets) SetLcsPrivacyData(v LcsPrivacyData) {
o.LcsPrivacyData = &v
}
// GetLcsMoData returns the LcsMoData field value if set, zero value otherwise.
func (o *SubscriptionDataSets) GetLcsMoData() LcsMoData {
if o == nil || IsNil(o.LcsMoData) {
var ret LcsMoData
return ret
}
return *o.LcsMoData
}
// GetLcsMoDataOk returns a tuple with the LcsMoData field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SubscriptionDataSets) GetLcsMoDataOk() (*LcsMoData, bool) {
if o == nil || IsNil(o.LcsMoData) {
return nil, false
}
return o.LcsMoData, true
}
// HasLcsMoData returns a boolean if a field has been set.
func (o *SubscriptionDataSets) HasLcsMoData() bool {
if o != nil && !IsNil(o.LcsMoData) {
return true
}
return false
}
// SetLcsMoData gets a reference to the given LcsMoData and assigns it to the LcsMoData field.
func (o *SubscriptionDataSets) SetLcsMoData(v LcsMoData) {
o.LcsMoData = &v
}
// GetV2xData returns the V2xData field value if set, zero value otherwise.
func (o *SubscriptionDataSets) GetV2xData() V2xSubscriptionData {
if o == nil || IsNil(o.V2xData) {
var ret V2xSubscriptionData
return ret
}
return *o.V2xData
}
// GetV2xDataOk returns a tuple with the V2xData field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SubscriptionDataSets) GetV2xDataOk() (*V2xSubscriptionData, bool) {
if o == nil || IsNil(o.V2xData) {
return nil, false
}
return o.V2xData, true
}
// HasV2xData returns a boolean if a field has been set.
func (o *SubscriptionDataSets) HasV2xData() bool {
if o != nil && !IsNil(o.V2xData) {
return true
}
return false
}
// SetV2xData gets a reference to the given V2xSubscriptionData and assigns it to the V2xData field.
func (o *SubscriptionDataSets) SetV2xData(v V2xSubscriptionData) {
o.V2xData = &v
}
// GetLcsBroadcastAssistanceTypesData returns the LcsBroadcastAssistanceTypesData field value if set, zero value otherwise.
func (o *SubscriptionDataSets) GetLcsBroadcastAssistanceTypesData() LcsBroadcastAssistanceTypesData {
if o == nil || IsNil(o.LcsBroadcastAssistanceTypesData) {
var ret LcsBroadcastAssistanceTypesData
return ret
}
return *o.LcsBroadcastAssistanceTypesData
}
// GetLcsBroadcastAssistanceTypesDataOk returns a tuple with the LcsBroadcastAssistanceTypesData field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SubscriptionDataSets) GetLcsBroadcastAssistanceTypesDataOk() (*LcsBroadcastAssistanceTypesData, bool) {
if o == nil || IsNil(o.LcsBroadcastAssistanceTypesData) {
return nil, false
}
return o.LcsBroadcastAssistanceTypesData, true
}
// HasLcsBroadcastAssistanceTypesData returns a boolean if a field has been set.
func (o *SubscriptionDataSets) HasLcsBroadcastAssistanceTypesData() bool {
if o != nil && !IsNil(o.LcsBroadcastAssistanceTypesData) {
return true
}
return false
}
// SetLcsBroadcastAssistanceTypesData gets a reference to the given LcsBroadcastAssistanceTypesData and assigns it to the LcsBroadcastAssistanceTypesData field.
func (o *SubscriptionDataSets) SetLcsBroadcastAssistanceTypesData(v LcsBroadcastAssistanceTypesData) {
o.LcsBroadcastAssistanceTypesData = &v
}
// GetProseData returns the ProseData field value if set, zero value otherwise.
func (o *SubscriptionDataSets) GetProseData() ProseSubscriptionData {
if o == nil || IsNil(o.ProseData) {
var ret ProseSubscriptionData
return ret
}
return *o.ProseData
}
// GetProseDataOk returns a tuple with the ProseData field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SubscriptionDataSets) GetProseDataOk() (*ProseSubscriptionData, bool) {
if o == nil || IsNil(o.ProseData) {
return nil, false
}
return o.ProseData, true
}
// HasProseData returns a boolean if a field has been set.
func (o *SubscriptionDataSets) HasProseData() bool {
if o != nil && !IsNil(o.ProseData) {
return true
}
return false
}
// SetProseData gets a reference to the given ProseSubscriptionData and assigns it to the ProseData field.
func (o *SubscriptionDataSets) SetProseData(v ProseSubscriptionData) {
o.ProseData = &v
}
// GetMbsData returns the MbsData field value if set, zero value otherwise.
func (o *SubscriptionDataSets) GetMbsData() MbsSubscriptionData {
if o == nil || IsNil(o.MbsData) {
var ret MbsSubscriptionData
return ret
}
return *o.MbsData
}
// GetMbsDataOk returns a tuple with the MbsData field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SubscriptionDataSets) GetMbsDataOk() (*MbsSubscriptionData, bool) {
if o == nil || IsNil(o.MbsData) {
return nil, false
}
return o.MbsData, true
}
// HasMbsData returns a boolean if a field has been set.
func (o *SubscriptionDataSets) HasMbsData() bool {
if o != nil && !IsNil(o.MbsData) {
return true
}
return false
}
// SetMbsData gets a reference to the given MbsSubscriptionData and assigns it to the MbsData field.
func (o *SubscriptionDataSets) SetMbsData(v MbsSubscriptionData) {
o.MbsData = &v
}
// GetUcData returns the UcData field value if set, zero value otherwise.
func (o *SubscriptionDataSets) GetUcData() UcSubscriptionData {
if o == nil || IsNil(o.UcData) {
var ret UcSubscriptionData
return ret
}
return *o.UcData
}
// GetUcDataOk returns a tuple with the UcData field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SubscriptionDataSets) GetUcDataOk() (*UcSubscriptionData, bool) {
if o == nil || IsNil(o.UcData) {
return nil, false
}
return o.UcData, true
}
// HasUcData returns a boolean if a field has been set.
func (o *SubscriptionDataSets) HasUcData() bool {
if o != nil && !IsNil(o.UcData) {
return true
}
return false
}
// SetUcData gets a reference to the given UcSubscriptionData and assigns it to the UcData field.
func (o *SubscriptionDataSets) SetUcData(v UcSubscriptionData) {
o.UcData = &v
}
func (o SubscriptionDataSets) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o SubscriptionDataSets) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
if !IsNil(o.AmData) {
toSerialize["amData"] = o.AmData
}
if !IsNil(o.SmfSelData) {
toSerialize["smfSelData"] = o.SmfSelData
}
if !IsNil(o.UecAmfData) {
toSerialize["uecAmfData"] = o.UecAmfData
}
if !IsNil(o.UecSmfData) {
toSerialize["uecSmfData"] = o.UecSmfData
}
if !IsNil(o.UecSmsfData) {
toSerialize["uecSmsfData"] = o.UecSmsfData
}
if !IsNil(o.SmsSubsData) {
toSerialize["smsSubsData"] = o.SmsSubsData
}
if !IsNil(o.SmData) {
toSerialize["smData"] = o.SmData
}
if o.TraceData.IsSet() {
toSerialize["traceData"] = o.TraceData.Get()
}
if !IsNil(o.SmsMngData) {
toSerialize["smsMngData"] = o.SmsMngData
}
if !IsNil(o.LcsPrivacyData) {
toSerialize["lcsPrivacyData"] = o.LcsPrivacyData
}
if !IsNil(o.LcsMoData) {
toSerialize["lcsMoData"] = o.LcsMoData
}
if !IsNil(o.V2xData) {
toSerialize["v2xData"] = o.V2xData
}
if !IsNil(o.LcsBroadcastAssistanceTypesData) {
toSerialize["lcsBroadcastAssistanceTypesData"] = o.LcsBroadcastAssistanceTypesData
}
if !IsNil(o.ProseData) {
toSerialize["proseData"] = o.ProseData
}
if !IsNil(o.MbsData) {
toSerialize["mbsData"] = o.MbsData
}
if !IsNil(o.UcData) {
toSerialize["ucData"] = o.UcData
}
return toSerialize, nil
}
type NullableSubscriptionDataSets struct {
value *SubscriptionDataSets
isSet bool
}
func (v NullableSubscriptionDataSets) Get() *SubscriptionDataSets {
return v.value
}
func (v *NullableSubscriptionDataSets) Set(val *SubscriptionDataSets) {
v.value = val
v.isSet = true
}
func (v NullableSubscriptionDataSets) IsSet() bool {
return v.isSet
}
func (v *NullableSubscriptionDataSets) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableSubscriptionDataSets(val *SubscriptionDataSets) *NullableSubscriptionDataSets {
return &NullableSubscriptionDataSets{value: val, isSet: true}
}
func (v NullableSubscriptionDataSets) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableSubscriptionDataSets) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}