-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmodel_player_theme.go
734 lines (623 loc) · 20.1 KB
/
model_player_theme.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
/*
* api.video
*
* api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes.
*
* API version: 1
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package apivideosdk
import (
//"encoding/json"
)
// PlayerTheme struct for PlayerTheme
type PlayerTheme struct {
// The name of the player theme
Name *string `json:"name,omitempty"`
// RGBA color for timer text. Default: rgba(255, 255, 255, 1)
Text *string `json:"text,omitempty"`
// RGBA color for all controls. Default: rgba(255, 255, 255, 1)
Link *string `json:"link,omitempty"`
// RGBA color for all controls when hovered. Default: rgba(255, 255, 255, 1)
LinkHover *string `json:"linkHover,omitempty"`
// RGBA color for the play button when hovered.
LinkActive *string `json:"linkActive,omitempty"`
// RGBA color playback bar: played content. Default: rgba(88, 131, 255, .95)
TrackPlayed *string `json:"trackPlayed,omitempty"`
// RGBA color playback bar: downloaded but unplayed (buffered) content. Default: rgba(255, 255, 255, .35)
TrackUnplayed *string `json:"trackUnplayed,omitempty"`
// RGBA color playback bar: background. Default: rgba(255, 255, 255, .2)
TrackBackground *string `json:"trackBackground,omitempty"`
// RGBA color: top 50% of background. Default: rgba(0, 0, 0, .7)
BackgroundTop *string `json:"backgroundTop,omitempty"`
// RGBA color: bottom 50% of background. Default: rgba(0, 0, 0, .7)
BackgroundBottom *string `json:"backgroundBottom,omitempty"`
// RGBA color for title text. Default: rgba(255, 255, 255, 1)
BackgroundText *string `json:"backgroundText,omitempty"`
// enable/disable player SDK access. Default: true
EnableApi *bool `json:"enableApi,omitempty"`
// enable/disable player controls. Default: true
EnableControls *bool `json:"enableControls,omitempty"`
// enable/disable player autoplay. Default: false
ForceAutoplay *bool `json:"forceAutoplay,omitempty"`
// enable/disable title. Default: false
HideTitle *bool `json:"hideTitle,omitempty"`
// enable/disable looping. Default: false
ForceLoop *bool `json:"forceLoop,omitempty"`
PlayerId string `json:"playerId"`
// When the player was created, presented in ATOM UTC format.
CreatedAt *string `json:"createdAt,omitempty"`
// When the player was last updated, presented in ATOM UTC format.
UpdatedAt *string `json:"updatedAt,omitempty"`
Assets *PlayerThemeAssets `json:"assets,omitempty"`
}
// NewPlayerTheme instantiates a new PlayerTheme 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 NewPlayerTheme(playerId string) *PlayerTheme {
this := PlayerTheme{}
this.PlayerId = playerId
return &this
}
// NewPlayerThemeWithDefaults instantiates a new PlayerTheme 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 NewPlayerThemeWithDefaults() *PlayerTheme {
this := PlayerTheme{}
return &this
}
// GetName returns the Name field value if set, zero value otherwise.
func (o *PlayerTheme) GetName() string {
if o == nil || o.Name == nil {
var ret string
return ret
}
return *o.Name
}
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlayerTheme) GetNameOk() (*string, bool) {
if o == nil || o.Name == nil {
return nil, false
}
return o.Name, true
}
// HasName returns a boolean if a field has been set.
func (o *PlayerTheme) HasName() bool {
if o != nil && o.Name != nil {
return true
}
return false
}
// SetName gets a reference to the given string and assigns it to the Name field.
func (o *PlayerTheme) SetName(v string) {
o.Name = &v
}
// GetText returns the Text field value if set, zero value otherwise.
func (o *PlayerTheme) GetText() string {
if o == nil || o.Text == nil {
var ret string
return ret
}
return *o.Text
}
// GetTextOk returns a tuple with the Text field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlayerTheme) GetTextOk() (*string, bool) {
if o == nil || o.Text == nil {
return nil, false
}
return o.Text, true
}
// HasText returns a boolean if a field has been set.
func (o *PlayerTheme) HasText() bool {
if o != nil && o.Text != nil {
return true
}
return false
}
// SetText gets a reference to the given string and assigns it to the Text field.
func (o *PlayerTheme) SetText(v string) {
o.Text = &v
}
// GetLink returns the Link field value if set, zero value otherwise.
func (o *PlayerTheme) GetLink() string {
if o == nil || o.Link == nil {
var ret string
return ret
}
return *o.Link
}
// GetLinkOk returns a tuple with the Link field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlayerTheme) GetLinkOk() (*string, bool) {
if o == nil || o.Link == nil {
return nil, false
}
return o.Link, true
}
// HasLink returns a boolean if a field has been set.
func (o *PlayerTheme) HasLink() bool {
if o != nil && o.Link != nil {
return true
}
return false
}
// SetLink gets a reference to the given string and assigns it to the Link field.
func (o *PlayerTheme) SetLink(v string) {
o.Link = &v
}
// GetLinkHover returns the LinkHover field value if set, zero value otherwise.
func (o *PlayerTheme) GetLinkHover() string {
if o == nil || o.LinkHover == nil {
var ret string
return ret
}
return *o.LinkHover
}
// GetLinkHoverOk returns a tuple with the LinkHover field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlayerTheme) GetLinkHoverOk() (*string, bool) {
if o == nil || o.LinkHover == nil {
return nil, false
}
return o.LinkHover, true
}
// HasLinkHover returns a boolean if a field has been set.
func (o *PlayerTheme) HasLinkHover() bool {
if o != nil && o.LinkHover != nil {
return true
}
return false
}
// SetLinkHover gets a reference to the given string and assigns it to the LinkHover field.
func (o *PlayerTheme) SetLinkHover(v string) {
o.LinkHover = &v
}
// GetLinkActive returns the LinkActive field value if set, zero value otherwise.
func (o *PlayerTheme) GetLinkActive() string {
if o == nil || o.LinkActive == nil {
var ret string
return ret
}
return *o.LinkActive
}
// GetLinkActiveOk returns a tuple with the LinkActive field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlayerTheme) GetLinkActiveOk() (*string, bool) {
if o == nil || o.LinkActive == nil {
return nil, false
}
return o.LinkActive, true
}
// HasLinkActive returns a boolean if a field has been set.
func (o *PlayerTheme) HasLinkActive() bool {
if o != nil && o.LinkActive != nil {
return true
}
return false
}
// SetLinkActive gets a reference to the given string and assigns it to the LinkActive field.
func (o *PlayerTheme) SetLinkActive(v string) {
o.LinkActive = &v
}
// GetTrackPlayed returns the TrackPlayed field value if set, zero value otherwise.
func (o *PlayerTheme) GetTrackPlayed() string {
if o == nil || o.TrackPlayed == nil {
var ret string
return ret
}
return *o.TrackPlayed
}
// GetTrackPlayedOk returns a tuple with the TrackPlayed field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlayerTheme) GetTrackPlayedOk() (*string, bool) {
if o == nil || o.TrackPlayed == nil {
return nil, false
}
return o.TrackPlayed, true
}
// HasTrackPlayed returns a boolean if a field has been set.
func (o *PlayerTheme) HasTrackPlayed() bool {
if o != nil && o.TrackPlayed != nil {
return true
}
return false
}
// SetTrackPlayed gets a reference to the given string and assigns it to the TrackPlayed field.
func (o *PlayerTheme) SetTrackPlayed(v string) {
o.TrackPlayed = &v
}
// GetTrackUnplayed returns the TrackUnplayed field value if set, zero value otherwise.
func (o *PlayerTheme) GetTrackUnplayed() string {
if o == nil || o.TrackUnplayed == nil {
var ret string
return ret
}
return *o.TrackUnplayed
}
// GetTrackUnplayedOk returns a tuple with the TrackUnplayed field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlayerTheme) GetTrackUnplayedOk() (*string, bool) {
if o == nil || o.TrackUnplayed == nil {
return nil, false
}
return o.TrackUnplayed, true
}
// HasTrackUnplayed returns a boolean if a field has been set.
func (o *PlayerTheme) HasTrackUnplayed() bool {
if o != nil && o.TrackUnplayed != nil {
return true
}
return false
}
// SetTrackUnplayed gets a reference to the given string and assigns it to the TrackUnplayed field.
func (o *PlayerTheme) SetTrackUnplayed(v string) {
o.TrackUnplayed = &v
}
// GetTrackBackground returns the TrackBackground field value if set, zero value otherwise.
func (o *PlayerTheme) GetTrackBackground() string {
if o == nil || o.TrackBackground == nil {
var ret string
return ret
}
return *o.TrackBackground
}
// GetTrackBackgroundOk returns a tuple with the TrackBackground field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlayerTheme) GetTrackBackgroundOk() (*string, bool) {
if o == nil || o.TrackBackground == nil {
return nil, false
}
return o.TrackBackground, true
}
// HasTrackBackground returns a boolean if a field has been set.
func (o *PlayerTheme) HasTrackBackground() bool {
if o != nil && o.TrackBackground != nil {
return true
}
return false
}
// SetTrackBackground gets a reference to the given string and assigns it to the TrackBackground field.
func (o *PlayerTheme) SetTrackBackground(v string) {
o.TrackBackground = &v
}
// GetBackgroundTop returns the BackgroundTop field value if set, zero value otherwise.
func (o *PlayerTheme) GetBackgroundTop() string {
if o == nil || o.BackgroundTop == nil {
var ret string
return ret
}
return *o.BackgroundTop
}
// GetBackgroundTopOk returns a tuple with the BackgroundTop field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlayerTheme) GetBackgroundTopOk() (*string, bool) {
if o == nil || o.BackgroundTop == nil {
return nil, false
}
return o.BackgroundTop, true
}
// HasBackgroundTop returns a boolean if a field has been set.
func (o *PlayerTheme) HasBackgroundTop() bool {
if o != nil && o.BackgroundTop != nil {
return true
}
return false
}
// SetBackgroundTop gets a reference to the given string and assigns it to the BackgroundTop field.
func (o *PlayerTheme) SetBackgroundTop(v string) {
o.BackgroundTop = &v
}
// GetBackgroundBottom returns the BackgroundBottom field value if set, zero value otherwise.
func (o *PlayerTheme) GetBackgroundBottom() string {
if o == nil || o.BackgroundBottom == nil {
var ret string
return ret
}
return *o.BackgroundBottom
}
// GetBackgroundBottomOk returns a tuple with the BackgroundBottom field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlayerTheme) GetBackgroundBottomOk() (*string, bool) {
if o == nil || o.BackgroundBottom == nil {
return nil, false
}
return o.BackgroundBottom, true
}
// HasBackgroundBottom returns a boolean if a field has been set.
func (o *PlayerTheme) HasBackgroundBottom() bool {
if o != nil && o.BackgroundBottom != nil {
return true
}
return false
}
// SetBackgroundBottom gets a reference to the given string and assigns it to the BackgroundBottom field.
func (o *PlayerTheme) SetBackgroundBottom(v string) {
o.BackgroundBottom = &v
}
// GetBackgroundText returns the BackgroundText field value if set, zero value otherwise.
func (o *PlayerTheme) GetBackgroundText() string {
if o == nil || o.BackgroundText == nil {
var ret string
return ret
}
return *o.BackgroundText
}
// GetBackgroundTextOk returns a tuple with the BackgroundText field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlayerTheme) GetBackgroundTextOk() (*string, bool) {
if o == nil || o.BackgroundText == nil {
return nil, false
}
return o.BackgroundText, true
}
// HasBackgroundText returns a boolean if a field has been set.
func (o *PlayerTheme) HasBackgroundText() bool {
if o != nil && o.BackgroundText != nil {
return true
}
return false
}
// SetBackgroundText gets a reference to the given string and assigns it to the BackgroundText field.
func (o *PlayerTheme) SetBackgroundText(v string) {
o.BackgroundText = &v
}
// GetEnableApi returns the EnableApi field value if set, zero value otherwise.
func (o *PlayerTheme) GetEnableApi() bool {
if o == nil || o.EnableApi == nil {
var ret bool
return ret
}
return *o.EnableApi
}
// GetEnableApiOk returns a tuple with the EnableApi field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlayerTheme) GetEnableApiOk() (*bool, bool) {
if o == nil || o.EnableApi == nil {
return nil, false
}
return o.EnableApi, true
}
// HasEnableApi returns a boolean if a field has been set.
func (o *PlayerTheme) HasEnableApi() bool {
if o != nil && o.EnableApi != nil {
return true
}
return false
}
// SetEnableApi gets a reference to the given bool and assigns it to the EnableApi field.
func (o *PlayerTheme) SetEnableApi(v bool) {
o.EnableApi = &v
}
// GetEnableControls returns the EnableControls field value if set, zero value otherwise.
func (o *PlayerTheme) GetEnableControls() bool {
if o == nil || o.EnableControls == nil {
var ret bool
return ret
}
return *o.EnableControls
}
// GetEnableControlsOk returns a tuple with the EnableControls field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlayerTheme) GetEnableControlsOk() (*bool, bool) {
if o == nil || o.EnableControls == nil {
return nil, false
}
return o.EnableControls, true
}
// HasEnableControls returns a boolean if a field has been set.
func (o *PlayerTheme) HasEnableControls() bool {
if o != nil && o.EnableControls != nil {
return true
}
return false
}
// SetEnableControls gets a reference to the given bool and assigns it to the EnableControls field.
func (o *PlayerTheme) SetEnableControls(v bool) {
o.EnableControls = &v
}
// GetForceAutoplay returns the ForceAutoplay field value if set, zero value otherwise.
func (o *PlayerTheme) GetForceAutoplay() bool {
if o == nil || o.ForceAutoplay == nil {
var ret bool
return ret
}
return *o.ForceAutoplay
}
// GetForceAutoplayOk returns a tuple with the ForceAutoplay field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlayerTheme) GetForceAutoplayOk() (*bool, bool) {
if o == nil || o.ForceAutoplay == nil {
return nil, false
}
return o.ForceAutoplay, true
}
// HasForceAutoplay returns a boolean if a field has been set.
func (o *PlayerTheme) HasForceAutoplay() bool {
if o != nil && o.ForceAutoplay != nil {
return true
}
return false
}
// SetForceAutoplay gets a reference to the given bool and assigns it to the ForceAutoplay field.
func (o *PlayerTheme) SetForceAutoplay(v bool) {
o.ForceAutoplay = &v
}
// GetHideTitle returns the HideTitle field value if set, zero value otherwise.
func (o *PlayerTheme) GetHideTitle() bool {
if o == nil || o.HideTitle == nil {
var ret bool
return ret
}
return *o.HideTitle
}
// GetHideTitleOk returns a tuple with the HideTitle field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlayerTheme) GetHideTitleOk() (*bool, bool) {
if o == nil || o.HideTitle == nil {
return nil, false
}
return o.HideTitle, true
}
// HasHideTitle returns a boolean if a field has been set.
func (o *PlayerTheme) HasHideTitle() bool {
if o != nil && o.HideTitle != nil {
return true
}
return false
}
// SetHideTitle gets a reference to the given bool and assigns it to the HideTitle field.
func (o *PlayerTheme) SetHideTitle(v bool) {
o.HideTitle = &v
}
// GetForceLoop returns the ForceLoop field value if set, zero value otherwise.
func (o *PlayerTheme) GetForceLoop() bool {
if o == nil || o.ForceLoop == nil {
var ret bool
return ret
}
return *o.ForceLoop
}
// GetForceLoopOk returns a tuple with the ForceLoop field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlayerTheme) GetForceLoopOk() (*bool, bool) {
if o == nil || o.ForceLoop == nil {
return nil, false
}
return o.ForceLoop, true
}
// HasForceLoop returns a boolean if a field has been set.
func (o *PlayerTheme) HasForceLoop() bool {
if o != nil && o.ForceLoop != nil {
return true
}
return false
}
// SetForceLoop gets a reference to the given bool and assigns it to the ForceLoop field.
func (o *PlayerTheme) SetForceLoop(v bool) {
o.ForceLoop = &v
}
// GetPlayerId returns the PlayerId field value
func (o *PlayerTheme) GetPlayerId() string {
if o == nil {
var ret string
return ret
}
return o.PlayerId
}
// GetPlayerIdOk returns a tuple with the PlayerId field value
// and a boolean to check if the value has been set.
func (o *PlayerTheme) GetPlayerIdOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.PlayerId, true
}
// SetPlayerId sets field value
func (o *PlayerTheme) SetPlayerId(v string) {
o.PlayerId = v
}
// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (o *PlayerTheme) GetCreatedAt() string {
if o == nil || o.CreatedAt == nil {
var ret string
return ret
}
return *o.CreatedAt
}
// GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlayerTheme) GetCreatedAtOk() (*string, bool) {
if o == nil || o.CreatedAt == nil {
return nil, false
}
return o.CreatedAt, true
}
// HasCreatedAt returns a boolean if a field has been set.
func (o *PlayerTheme) HasCreatedAt() bool {
if o != nil && o.CreatedAt != nil {
return true
}
return false
}
// SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.
func (o *PlayerTheme) SetCreatedAt(v string) {
o.CreatedAt = &v
}
// GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (o *PlayerTheme) GetUpdatedAt() string {
if o == nil || o.UpdatedAt == nil {
var ret string
return ret
}
return *o.UpdatedAt
}
// GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlayerTheme) GetUpdatedAtOk() (*string, bool) {
if o == nil || o.UpdatedAt == nil {
return nil, false
}
return o.UpdatedAt, true
}
// HasUpdatedAt returns a boolean if a field has been set.
func (o *PlayerTheme) HasUpdatedAt() bool {
if o != nil && o.UpdatedAt != nil {
return true
}
return false
}
// SetUpdatedAt gets a reference to the given string and assigns it to the UpdatedAt field.
func (o *PlayerTheme) SetUpdatedAt(v string) {
o.UpdatedAt = &v
}
// GetAssets returns the Assets field value if set, zero value otherwise.
func (o *PlayerTheme) GetAssets() PlayerThemeAssets {
if o == nil || o.Assets == nil {
var ret PlayerThemeAssets
return ret
}
return *o.Assets
}
// GetAssetsOk returns a tuple with the Assets field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *PlayerTheme) GetAssetsOk() (*PlayerThemeAssets, bool) {
if o == nil || o.Assets == nil {
return nil, false
}
return o.Assets, true
}
// HasAssets returns a boolean if a field has been set.
func (o *PlayerTheme) HasAssets() bool {
if o != nil && o.Assets != nil {
return true
}
return false
}
// SetAssets gets a reference to the given PlayerThemeAssets and assigns it to the Assets field.
func (o *PlayerTheme) SetAssets(v PlayerThemeAssets) {
o.Assets = &v
}
type NullablePlayerTheme struct {
value *PlayerTheme
isSet bool
}
func (v NullablePlayerTheme) Get() *PlayerTheme {
return v.value
}
func (v *NullablePlayerTheme) Set(val *PlayerTheme) {
v.value = val
v.isSet = true
}
func (v NullablePlayerTheme) IsSet() bool {
return v.isSet
}
func (v *NullablePlayerTheme) Unset() {
v.value = nil
v.isSet = false
}
func NewNullablePlayerTheme(val *PlayerTheme) *NullablePlayerTheme {
return &NullablePlayerTheme{value: val, isSet: true}
}