forked from okta/okta-sdk-golang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
model_dtc_mac_os.go
613 lines (520 loc) · 19.3 KB
/
model_dtc_mac_os.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
/*
Okta Admin Management
Allows customers to easily access the Okta Management APIs
Copyright 2018 - Present Okta, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
API version: 5.1.0
Contact: devex-public@okta.com
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package okta
import (
"encoding/json"
)
// DTCMacOS Google Chrome Device Trust Connector provider
type DTCMacOS struct {
BrowserVersion *ChromeBrowserVersion `json:"browserVersion,omitempty"`
// Indicates if a software stack is used to communicate with the DNS server
BuiltInDnsClientEnabled *bool `json:"builtInDnsClientEnabled,omitempty"`
// Indicates whether access to the Chrome Remote Desktop application is blocked through a policy
ChromeRemoteDesktopAppBlocked *bool `json:"chromeRemoteDesktopAppBlocked,omitempty"`
// Enrollment domain of the customer that is currently managing the device
DeviceEnrollmentDomain *string `json:"deviceEnrollmentDomain,omitempty"`
// Indicates whether the main disk is encrypted
DiskEncrypted *bool `json:"diskEncrypted,omitempty"`
// Represents the attestation strength used by the Chrome Verified Access API
KeyTrustLevel *string `json:"keyTrustLevel,omitempty"`
// Indicates whether a firewall is enabled at the OS-level on the device
OsFirewall *bool `json:"osFirewall,omitempty"`
OsVersion *OSVersionThreeComponents `json:"osVersion,omitempty"`
// Indicates whether the Password Protection Warning feature is enabled
PasswordProtectionWarningTrigger *string `json:"passwordProtectionWarningTrigger,omitempty"`
// Indicates whether enterprise-grade (custom) unsafe URL scanning is enabled
RealtimeUrlCheckMode *bool `json:"realtimeUrlCheckMode,omitempty"`
// Represents the current value of the Safe Browsing protection level
SafeBrowsingProtectionLevel *string `json:"safeBrowsingProtectionLevel,omitempty"`
// Indicates whether the device is password-protected
ScreenLockSecured *bool `json:"screenLockSecured,omitempty"`
// Indicates whether the Site Isolation (also known as **Site Per Process**) setting is enabled
SiteIsolationEnabled *bool `json:"siteIsolationEnabled,omitempty"`
AdditionalProperties map[string]interface{}
}
type _DTCMacOS DTCMacOS
// NewDTCMacOS instantiates a new DTCMacOS 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 NewDTCMacOS() *DTCMacOS {
this := DTCMacOS{}
return &this
}
// NewDTCMacOSWithDefaults instantiates a new DTCMacOS 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 NewDTCMacOSWithDefaults() *DTCMacOS {
this := DTCMacOS{}
return &this
}
// GetBrowserVersion returns the BrowserVersion field value if set, zero value otherwise.
func (o *DTCMacOS) GetBrowserVersion() ChromeBrowserVersion {
if o == nil || o.BrowserVersion == nil {
var ret ChromeBrowserVersion
return ret
}
return *o.BrowserVersion
}
// GetBrowserVersionOk returns a tuple with the BrowserVersion field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DTCMacOS) GetBrowserVersionOk() (*ChromeBrowserVersion, bool) {
if o == nil || o.BrowserVersion == nil {
return nil, false
}
return o.BrowserVersion, true
}
// HasBrowserVersion returns a boolean if a field has been set.
func (o *DTCMacOS) HasBrowserVersion() bool {
if o != nil && o.BrowserVersion != nil {
return true
}
return false
}
// SetBrowserVersion gets a reference to the given ChromeBrowserVersion and assigns it to the BrowserVersion field.
func (o *DTCMacOS) SetBrowserVersion(v ChromeBrowserVersion) {
o.BrowserVersion = &v
}
// GetBuiltInDnsClientEnabled returns the BuiltInDnsClientEnabled field value if set, zero value otherwise.
func (o *DTCMacOS) GetBuiltInDnsClientEnabled() bool {
if o == nil || o.BuiltInDnsClientEnabled == nil {
var ret bool
return ret
}
return *o.BuiltInDnsClientEnabled
}
// GetBuiltInDnsClientEnabledOk returns a tuple with the BuiltInDnsClientEnabled field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DTCMacOS) GetBuiltInDnsClientEnabledOk() (*bool, bool) {
if o == nil || o.BuiltInDnsClientEnabled == nil {
return nil, false
}
return o.BuiltInDnsClientEnabled, true
}
// HasBuiltInDnsClientEnabled returns a boolean if a field has been set.
func (o *DTCMacOS) HasBuiltInDnsClientEnabled() bool {
if o != nil && o.BuiltInDnsClientEnabled != nil {
return true
}
return false
}
// SetBuiltInDnsClientEnabled gets a reference to the given bool and assigns it to the BuiltInDnsClientEnabled field.
func (o *DTCMacOS) SetBuiltInDnsClientEnabled(v bool) {
o.BuiltInDnsClientEnabled = &v
}
// GetChromeRemoteDesktopAppBlocked returns the ChromeRemoteDesktopAppBlocked field value if set, zero value otherwise.
func (o *DTCMacOS) GetChromeRemoteDesktopAppBlocked() bool {
if o == nil || o.ChromeRemoteDesktopAppBlocked == nil {
var ret bool
return ret
}
return *o.ChromeRemoteDesktopAppBlocked
}
// GetChromeRemoteDesktopAppBlockedOk returns a tuple with the ChromeRemoteDesktopAppBlocked field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DTCMacOS) GetChromeRemoteDesktopAppBlockedOk() (*bool, bool) {
if o == nil || o.ChromeRemoteDesktopAppBlocked == nil {
return nil, false
}
return o.ChromeRemoteDesktopAppBlocked, true
}
// HasChromeRemoteDesktopAppBlocked returns a boolean if a field has been set.
func (o *DTCMacOS) HasChromeRemoteDesktopAppBlocked() bool {
if o != nil && o.ChromeRemoteDesktopAppBlocked != nil {
return true
}
return false
}
// SetChromeRemoteDesktopAppBlocked gets a reference to the given bool and assigns it to the ChromeRemoteDesktopAppBlocked field.
func (o *DTCMacOS) SetChromeRemoteDesktopAppBlocked(v bool) {
o.ChromeRemoteDesktopAppBlocked = &v
}
// GetDeviceEnrollmentDomain returns the DeviceEnrollmentDomain field value if set, zero value otherwise.
func (o *DTCMacOS) GetDeviceEnrollmentDomain() string {
if o == nil || o.DeviceEnrollmentDomain == nil {
var ret string
return ret
}
return *o.DeviceEnrollmentDomain
}
// GetDeviceEnrollmentDomainOk returns a tuple with the DeviceEnrollmentDomain field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DTCMacOS) GetDeviceEnrollmentDomainOk() (*string, bool) {
if o == nil || o.DeviceEnrollmentDomain == nil {
return nil, false
}
return o.DeviceEnrollmentDomain, true
}
// HasDeviceEnrollmentDomain returns a boolean if a field has been set.
func (o *DTCMacOS) HasDeviceEnrollmentDomain() bool {
if o != nil && o.DeviceEnrollmentDomain != nil {
return true
}
return false
}
// SetDeviceEnrollmentDomain gets a reference to the given string and assigns it to the DeviceEnrollmentDomain field.
func (o *DTCMacOS) SetDeviceEnrollmentDomain(v string) {
o.DeviceEnrollmentDomain = &v
}
// GetDiskEncrypted returns the DiskEncrypted field value if set, zero value otherwise.
func (o *DTCMacOS) GetDiskEncrypted() bool {
if o == nil || o.DiskEncrypted == nil {
var ret bool
return ret
}
return *o.DiskEncrypted
}
// GetDiskEncryptedOk returns a tuple with the DiskEncrypted field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DTCMacOS) GetDiskEncryptedOk() (*bool, bool) {
if o == nil || o.DiskEncrypted == nil {
return nil, false
}
return o.DiskEncrypted, true
}
// HasDiskEncrypted returns a boolean if a field has been set.
func (o *DTCMacOS) HasDiskEncrypted() bool {
if o != nil && o.DiskEncrypted != nil {
return true
}
return false
}
// SetDiskEncrypted gets a reference to the given bool and assigns it to the DiskEncrypted field.
func (o *DTCMacOS) SetDiskEncrypted(v bool) {
o.DiskEncrypted = &v
}
// GetKeyTrustLevel returns the KeyTrustLevel field value if set, zero value otherwise.
func (o *DTCMacOS) GetKeyTrustLevel() string {
if o == nil || o.KeyTrustLevel == nil {
var ret string
return ret
}
return *o.KeyTrustLevel
}
// GetKeyTrustLevelOk returns a tuple with the KeyTrustLevel field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DTCMacOS) GetKeyTrustLevelOk() (*string, bool) {
if o == nil || o.KeyTrustLevel == nil {
return nil, false
}
return o.KeyTrustLevel, true
}
// HasKeyTrustLevel returns a boolean if a field has been set.
func (o *DTCMacOS) HasKeyTrustLevel() bool {
if o != nil && o.KeyTrustLevel != nil {
return true
}
return false
}
// SetKeyTrustLevel gets a reference to the given string and assigns it to the KeyTrustLevel field.
func (o *DTCMacOS) SetKeyTrustLevel(v string) {
o.KeyTrustLevel = &v
}
// GetOsFirewall returns the OsFirewall field value if set, zero value otherwise.
func (o *DTCMacOS) GetOsFirewall() bool {
if o == nil || o.OsFirewall == nil {
var ret bool
return ret
}
return *o.OsFirewall
}
// GetOsFirewallOk returns a tuple with the OsFirewall field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DTCMacOS) GetOsFirewallOk() (*bool, bool) {
if o == nil || o.OsFirewall == nil {
return nil, false
}
return o.OsFirewall, true
}
// HasOsFirewall returns a boolean if a field has been set.
func (o *DTCMacOS) HasOsFirewall() bool {
if o != nil && o.OsFirewall != nil {
return true
}
return false
}
// SetOsFirewall gets a reference to the given bool and assigns it to the OsFirewall field.
func (o *DTCMacOS) SetOsFirewall(v bool) {
o.OsFirewall = &v
}
// GetOsVersion returns the OsVersion field value if set, zero value otherwise.
func (o *DTCMacOS) GetOsVersion() OSVersionThreeComponents {
if o == nil || o.OsVersion == nil {
var ret OSVersionThreeComponents
return ret
}
return *o.OsVersion
}
// GetOsVersionOk returns a tuple with the OsVersion field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DTCMacOS) GetOsVersionOk() (*OSVersionThreeComponents, bool) {
if o == nil || o.OsVersion == nil {
return nil, false
}
return o.OsVersion, true
}
// HasOsVersion returns a boolean if a field has been set.
func (o *DTCMacOS) HasOsVersion() bool {
if o != nil && o.OsVersion != nil {
return true
}
return false
}
// SetOsVersion gets a reference to the given OSVersionThreeComponents and assigns it to the OsVersion field.
func (o *DTCMacOS) SetOsVersion(v OSVersionThreeComponents) {
o.OsVersion = &v
}
// GetPasswordProtectionWarningTrigger returns the PasswordProtectionWarningTrigger field value if set, zero value otherwise.
func (o *DTCMacOS) GetPasswordProtectionWarningTrigger() string {
if o == nil || o.PasswordProtectionWarningTrigger == nil {
var ret string
return ret
}
return *o.PasswordProtectionWarningTrigger
}
// GetPasswordProtectionWarningTriggerOk returns a tuple with the PasswordProtectionWarningTrigger field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DTCMacOS) GetPasswordProtectionWarningTriggerOk() (*string, bool) {
if o == nil || o.PasswordProtectionWarningTrigger == nil {
return nil, false
}
return o.PasswordProtectionWarningTrigger, true
}
// HasPasswordProtectionWarningTrigger returns a boolean if a field has been set.
func (o *DTCMacOS) HasPasswordProtectionWarningTrigger() bool {
if o != nil && o.PasswordProtectionWarningTrigger != nil {
return true
}
return false
}
// SetPasswordProtectionWarningTrigger gets a reference to the given string and assigns it to the PasswordProtectionWarningTrigger field.
func (o *DTCMacOS) SetPasswordProtectionWarningTrigger(v string) {
o.PasswordProtectionWarningTrigger = &v
}
// GetRealtimeUrlCheckMode returns the RealtimeUrlCheckMode field value if set, zero value otherwise.
func (o *DTCMacOS) GetRealtimeUrlCheckMode() bool {
if o == nil || o.RealtimeUrlCheckMode == nil {
var ret bool
return ret
}
return *o.RealtimeUrlCheckMode
}
// GetRealtimeUrlCheckModeOk returns a tuple with the RealtimeUrlCheckMode field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DTCMacOS) GetRealtimeUrlCheckModeOk() (*bool, bool) {
if o == nil || o.RealtimeUrlCheckMode == nil {
return nil, false
}
return o.RealtimeUrlCheckMode, true
}
// HasRealtimeUrlCheckMode returns a boolean if a field has been set.
func (o *DTCMacOS) HasRealtimeUrlCheckMode() bool {
if o != nil && o.RealtimeUrlCheckMode != nil {
return true
}
return false
}
// SetRealtimeUrlCheckMode gets a reference to the given bool and assigns it to the RealtimeUrlCheckMode field.
func (o *DTCMacOS) SetRealtimeUrlCheckMode(v bool) {
o.RealtimeUrlCheckMode = &v
}
// GetSafeBrowsingProtectionLevel returns the SafeBrowsingProtectionLevel field value if set, zero value otherwise.
func (o *DTCMacOS) GetSafeBrowsingProtectionLevel() string {
if o == nil || o.SafeBrowsingProtectionLevel == nil {
var ret string
return ret
}
return *o.SafeBrowsingProtectionLevel
}
// GetSafeBrowsingProtectionLevelOk returns a tuple with the SafeBrowsingProtectionLevel field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DTCMacOS) GetSafeBrowsingProtectionLevelOk() (*string, bool) {
if o == nil || o.SafeBrowsingProtectionLevel == nil {
return nil, false
}
return o.SafeBrowsingProtectionLevel, true
}
// HasSafeBrowsingProtectionLevel returns a boolean if a field has been set.
func (o *DTCMacOS) HasSafeBrowsingProtectionLevel() bool {
if o != nil && o.SafeBrowsingProtectionLevel != nil {
return true
}
return false
}
// SetSafeBrowsingProtectionLevel gets a reference to the given string and assigns it to the SafeBrowsingProtectionLevel field.
func (o *DTCMacOS) SetSafeBrowsingProtectionLevel(v string) {
o.SafeBrowsingProtectionLevel = &v
}
// GetScreenLockSecured returns the ScreenLockSecured field value if set, zero value otherwise.
func (o *DTCMacOS) GetScreenLockSecured() bool {
if o == nil || o.ScreenLockSecured == nil {
var ret bool
return ret
}
return *o.ScreenLockSecured
}
// GetScreenLockSecuredOk returns a tuple with the ScreenLockSecured field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DTCMacOS) GetScreenLockSecuredOk() (*bool, bool) {
if o == nil || o.ScreenLockSecured == nil {
return nil, false
}
return o.ScreenLockSecured, true
}
// HasScreenLockSecured returns a boolean if a field has been set.
func (o *DTCMacOS) HasScreenLockSecured() bool {
if o != nil && o.ScreenLockSecured != nil {
return true
}
return false
}
// SetScreenLockSecured gets a reference to the given bool and assigns it to the ScreenLockSecured field.
func (o *DTCMacOS) SetScreenLockSecured(v bool) {
o.ScreenLockSecured = &v
}
// GetSiteIsolationEnabled returns the SiteIsolationEnabled field value if set, zero value otherwise.
func (o *DTCMacOS) GetSiteIsolationEnabled() bool {
if o == nil || o.SiteIsolationEnabled == nil {
var ret bool
return ret
}
return *o.SiteIsolationEnabled
}
// GetSiteIsolationEnabledOk returns a tuple with the SiteIsolationEnabled field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *DTCMacOS) GetSiteIsolationEnabledOk() (*bool, bool) {
if o == nil || o.SiteIsolationEnabled == nil {
return nil, false
}
return o.SiteIsolationEnabled, true
}
// HasSiteIsolationEnabled returns a boolean if a field has been set.
func (o *DTCMacOS) HasSiteIsolationEnabled() bool {
if o != nil && o.SiteIsolationEnabled != nil {
return true
}
return false
}
// SetSiteIsolationEnabled gets a reference to the given bool and assigns it to the SiteIsolationEnabled field.
func (o *DTCMacOS) SetSiteIsolationEnabled(v bool) {
o.SiteIsolationEnabled = &v
}
func (o DTCMacOS) MarshalJSON() ([]byte, error) {
toSerialize := map[string]interface{}{}
if o.BrowserVersion != nil {
toSerialize["browserVersion"] = o.BrowserVersion
}
if o.BuiltInDnsClientEnabled != nil {
toSerialize["builtInDnsClientEnabled"] = o.BuiltInDnsClientEnabled
}
if o.ChromeRemoteDesktopAppBlocked != nil {
toSerialize["chromeRemoteDesktopAppBlocked"] = o.ChromeRemoteDesktopAppBlocked
}
if o.DeviceEnrollmentDomain != nil {
toSerialize["deviceEnrollmentDomain"] = o.DeviceEnrollmentDomain
}
if o.DiskEncrypted != nil {
toSerialize["diskEncrypted"] = o.DiskEncrypted
}
if o.KeyTrustLevel != nil {
toSerialize["keyTrustLevel"] = o.KeyTrustLevel
}
if o.OsFirewall != nil {
toSerialize["osFirewall"] = o.OsFirewall
}
if o.OsVersion != nil {
toSerialize["osVersion"] = o.OsVersion
}
if o.PasswordProtectionWarningTrigger != nil {
toSerialize["passwordProtectionWarningTrigger"] = o.PasswordProtectionWarningTrigger
}
if o.RealtimeUrlCheckMode != nil {
toSerialize["realtimeUrlCheckMode"] = o.RealtimeUrlCheckMode
}
if o.SafeBrowsingProtectionLevel != nil {
toSerialize["safeBrowsingProtectionLevel"] = o.SafeBrowsingProtectionLevel
}
if o.ScreenLockSecured != nil {
toSerialize["screenLockSecured"] = o.ScreenLockSecured
}
if o.SiteIsolationEnabled != nil {
toSerialize["siteIsolationEnabled"] = o.SiteIsolationEnabled
}
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
return json.Marshal(toSerialize)
}
func (o *DTCMacOS) UnmarshalJSON(bytes []byte) (err error) {
varDTCMacOS := _DTCMacOS{}
err = json.Unmarshal(bytes, &varDTCMacOS)
if err == nil {
*o = DTCMacOS(varDTCMacOS)
} else {
return err
}
additionalProperties := make(map[string]interface{})
err = json.Unmarshal(bytes, &additionalProperties)
if err == nil {
delete(additionalProperties, "browserVersion")
delete(additionalProperties, "builtInDnsClientEnabled")
delete(additionalProperties, "chromeRemoteDesktopAppBlocked")
delete(additionalProperties, "deviceEnrollmentDomain")
delete(additionalProperties, "diskEncrypted")
delete(additionalProperties, "keyTrustLevel")
delete(additionalProperties, "osFirewall")
delete(additionalProperties, "osVersion")
delete(additionalProperties, "passwordProtectionWarningTrigger")
delete(additionalProperties, "realtimeUrlCheckMode")
delete(additionalProperties, "safeBrowsingProtectionLevel")
delete(additionalProperties, "screenLockSecured")
delete(additionalProperties, "siteIsolationEnabled")
o.AdditionalProperties = additionalProperties
} else {
return err
}
return err
}
type NullableDTCMacOS struct {
value *DTCMacOS
isSet bool
}
func (v NullableDTCMacOS) Get() *DTCMacOS {
return v.value
}
func (v *NullableDTCMacOS) Set(val *DTCMacOS) {
v.value = val
v.isSet = true
}
func (v NullableDTCMacOS) IsSet() bool {
return v.isSet
}
func (v *NullableDTCMacOS) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableDTCMacOS(val *DTCMacOS) *NullableDTCMacOS {
return &NullableDTCMacOS{value: val, isSet: true}
}
func (v NullableDTCMacOS) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableDTCMacOS) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}