-
Notifications
You must be signed in to change notification settings - Fork 1
/
model_edit_hypervisor_resource_pool_traditional_request_model.go
533 lines (454 loc) · 21.7 KB
/
model_edit_hypervisor_resource_pool_traditional_request_model.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
/*
Citrix Virtual Apps and Desktops Rest API for Developer Portal
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
API version: devportal-onprem-ga
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package citrixorchestration
import (
"encoding/json"
)
// checks if the EditHypervisorResourcePoolTraditionalRequestModel type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &EditHypervisorResourcePoolTraditionalRequestModel{}
// EditHypervisorResourcePoolTraditionalRequestModel struct for EditHypervisorResourcePoolTraditionalRequestModel
type EditHypervisorResourcePoolTraditionalRequestModel struct {
// Name of the resource pool. Optional. If not specified, will not be changed.
Name NullableString `json:"Name,omitempty"`
ConnectionType HypervisorConnectionType `json:"ConnectionType"`
// Indicates whether VMs created by Virtual Apps & Desktops provisioning operations should be tagged. Tagged VMs are filtered out of queries by default.
VmTagging NullableBool `json:"VmTagging,omitempty"`
// Metadata for hypervisor resource pool. When set the property value equal to null/empty means to remove this property.
Metadata []NameValueStringPairModel `json:"Metadata,omitempty"`
// Path to the storage resource(s) that are available for provisioning operations in this resource pool. Optional; if not specified, will not be changed. If any storage is specified, all desired storage must be listed. Any storage that was previously used for the resource pool, but not listed during an edit operation, will be removed. Note that removing storage from the resource pool will permanently disable the ability to update or rollback machines that are provisioned using that storage. Therefore, removal of storage should _only_ be done when the storage is terminally broken or is being replaced.
Storage []HypervisorResourcePoolStorageRequestModel `json:"Storage,omitempty"`
// Path to the storage resource(s) that are used for temporary operations in this resource pool. Optional; if not specified, will not be changed. If any storage is specified, all desired storage must be listed. Any storage that was previously used for the resource pool, but not listed during an edit operation, will be removed. Note that removing storage from the resource pool will permanently disable the ability to update or rollback machines that are provisioned using that storage. Therefore, removal of storage should _only_ be done when the storage is terminally broken or is being replaced.
TemporaryStorage []HypervisorResourcePoolStorageRequestModel `json:"TemporaryStorage,omitempty"`
// Path to the personal virtual disk storage resource(s). Optional; if not specified, will not be changed. If any storage is specified, all desired storage must be listed. Any storage that was previously used for the resource pool, but not listed during an edit operation, will be removed. Note that removing storage from the resource pool will permanently disable the ability to update or rollback machines that are provisioned using that storage. Therefore, removal of storage should _only_ be done when the storage is terminally broken or is being replaced.
PersonalvDiskStorage []HypervisorResourcePoolStorageRequestModel `json:"PersonalvDiskStorage,omitempty"`
// Custom properties. Optional. If not specified, will not be changed. Only used for hypervisors of type Custom.
CustomProperties NullableString `json:"CustomProperties,omitempty"`
// Indicates whether local storage on the hypervisor will be used for caching purposes. Not all hypervisor types support this. Defaults to `false`.
UseLocalStorageCaching NullableBool `json:"UseLocalStorageCaching,omitempty"`
// Path to the network resource(s) that are available for provisioning operations in this resource pool. At least one is required.
Networks []string `json:"Networks,omitempty"`
// Path to the subnet(s) that are available for provisioning operations in this resource pool. At least one is required.
Subnets []string `json:"Subnets,omitempty"`
}
// NewEditHypervisorResourcePoolTraditionalRequestModel instantiates a new EditHypervisorResourcePoolTraditionalRequestModel 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 NewEditHypervisorResourcePoolTraditionalRequestModel(connectionType HypervisorConnectionType) *EditHypervisorResourcePoolTraditionalRequestModel {
this := EditHypervisorResourcePoolTraditionalRequestModel{}
this.ConnectionType = connectionType
return &this
}
// NewEditHypervisorResourcePoolTraditionalRequestModelWithDefaults instantiates a new EditHypervisorResourcePoolTraditionalRequestModel 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 NewEditHypervisorResourcePoolTraditionalRequestModelWithDefaults() *EditHypervisorResourcePoolTraditionalRequestModel {
this := EditHypervisorResourcePoolTraditionalRequestModel{}
return &this
}
// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EditHypervisorResourcePoolTraditionalRequestModel) GetName() string {
if o == nil || IsNil(o.Name.Get()) {
var ret string
return ret
}
return *o.Name.Get()
}
// GetNameOk returns a tuple with the Name 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 *EditHypervisorResourcePoolTraditionalRequestModel) GetNameOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.Name.Get(), o.Name.IsSet()
}
// HasName returns a boolean if a field has been set.
func (o *EditHypervisorResourcePoolTraditionalRequestModel) HasName() bool {
if o != nil && o.Name.IsSet() {
return true
}
return false
}
// SetName gets a reference to the given NullableString and assigns it to the Name field.
func (o *EditHypervisorResourcePoolTraditionalRequestModel) SetName(v string) {
o.Name.Set(&v)
}
// SetNameNil sets the value for Name to be an explicit nil
func (o *EditHypervisorResourcePoolTraditionalRequestModel) SetNameNil() {
o.Name.Set(nil)
}
// UnsetName ensures that no value is present for Name, not even an explicit nil
func (o *EditHypervisorResourcePoolTraditionalRequestModel) UnsetName() {
o.Name.Unset()
}
// GetConnectionType returns the ConnectionType field value
func (o *EditHypervisorResourcePoolTraditionalRequestModel) GetConnectionType() HypervisorConnectionType {
if o == nil {
var ret HypervisorConnectionType
return ret
}
return o.ConnectionType
}
// GetConnectionTypeOk returns a tuple with the ConnectionType field value
// and a boolean to check if the value has been set.
func (o *EditHypervisorResourcePoolTraditionalRequestModel) GetConnectionTypeOk() (*HypervisorConnectionType, bool) {
if o == nil {
return nil, false
}
return &o.ConnectionType, true
}
// SetConnectionType sets field value
func (o *EditHypervisorResourcePoolTraditionalRequestModel) SetConnectionType(v HypervisorConnectionType) {
o.ConnectionType = v
}
// GetVmTagging returns the VmTagging field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EditHypervisorResourcePoolTraditionalRequestModel) GetVmTagging() bool {
if o == nil || IsNil(o.VmTagging.Get()) {
var ret bool
return ret
}
return *o.VmTagging.Get()
}
// GetVmTaggingOk returns a tuple with the VmTagging 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 *EditHypervisorResourcePoolTraditionalRequestModel) GetVmTaggingOk() (*bool, bool) {
if o == nil {
return nil, false
}
return o.VmTagging.Get(), o.VmTagging.IsSet()
}
// HasVmTagging returns a boolean if a field has been set.
func (o *EditHypervisorResourcePoolTraditionalRequestModel) HasVmTagging() bool {
if o != nil && o.VmTagging.IsSet() {
return true
}
return false
}
// SetVmTagging gets a reference to the given NullableBool and assigns it to the VmTagging field.
func (o *EditHypervisorResourcePoolTraditionalRequestModel) SetVmTagging(v bool) {
o.VmTagging.Set(&v)
}
// SetVmTaggingNil sets the value for VmTagging to be an explicit nil
func (o *EditHypervisorResourcePoolTraditionalRequestModel) SetVmTaggingNil() {
o.VmTagging.Set(nil)
}
// UnsetVmTagging ensures that no value is present for VmTagging, not even an explicit nil
func (o *EditHypervisorResourcePoolTraditionalRequestModel) UnsetVmTagging() {
o.VmTagging.Unset()
}
// GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EditHypervisorResourcePoolTraditionalRequestModel) GetMetadata() []NameValueStringPairModel {
if o == nil {
var ret []NameValueStringPairModel
return ret
}
return o.Metadata
}
// GetMetadataOk returns a tuple with the Metadata 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 *EditHypervisorResourcePoolTraditionalRequestModel) GetMetadataOk() ([]NameValueStringPairModel, bool) {
if o == nil || IsNil(o.Metadata) {
return nil, false
}
return o.Metadata, true
}
// HasMetadata returns a boolean if a field has been set.
func (o *EditHypervisorResourcePoolTraditionalRequestModel) HasMetadata() bool {
if o != nil && IsNil(o.Metadata) {
return true
}
return false
}
// SetMetadata gets a reference to the given []NameValueStringPairModel and assigns it to the Metadata field.
func (o *EditHypervisorResourcePoolTraditionalRequestModel) SetMetadata(v []NameValueStringPairModel) {
o.Metadata = v
}
// GetStorage returns the Storage field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EditHypervisorResourcePoolTraditionalRequestModel) GetStorage() []HypervisorResourcePoolStorageRequestModel {
if o == nil {
var ret []HypervisorResourcePoolStorageRequestModel
return ret
}
return o.Storage
}
// GetStorageOk returns a tuple with the Storage 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 *EditHypervisorResourcePoolTraditionalRequestModel) GetStorageOk() ([]HypervisorResourcePoolStorageRequestModel, bool) {
if o == nil || IsNil(o.Storage) {
return nil, false
}
return o.Storage, true
}
// HasStorage returns a boolean if a field has been set.
func (o *EditHypervisorResourcePoolTraditionalRequestModel) HasStorage() bool {
if o != nil && IsNil(o.Storage) {
return true
}
return false
}
// SetStorage gets a reference to the given []HypervisorResourcePoolStorageRequestModel and assigns it to the Storage field.
func (o *EditHypervisorResourcePoolTraditionalRequestModel) SetStorage(v []HypervisorResourcePoolStorageRequestModel) {
o.Storage = v
}
// GetTemporaryStorage returns the TemporaryStorage field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EditHypervisorResourcePoolTraditionalRequestModel) GetTemporaryStorage() []HypervisorResourcePoolStorageRequestModel {
if o == nil {
var ret []HypervisorResourcePoolStorageRequestModel
return ret
}
return o.TemporaryStorage
}
// GetTemporaryStorageOk returns a tuple with the TemporaryStorage 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 *EditHypervisorResourcePoolTraditionalRequestModel) GetTemporaryStorageOk() ([]HypervisorResourcePoolStorageRequestModel, bool) {
if o == nil || IsNil(o.TemporaryStorage) {
return nil, false
}
return o.TemporaryStorage, true
}
// HasTemporaryStorage returns a boolean if a field has been set.
func (o *EditHypervisorResourcePoolTraditionalRequestModel) HasTemporaryStorage() bool {
if o != nil && IsNil(o.TemporaryStorage) {
return true
}
return false
}
// SetTemporaryStorage gets a reference to the given []HypervisorResourcePoolStorageRequestModel and assigns it to the TemporaryStorage field.
func (o *EditHypervisorResourcePoolTraditionalRequestModel) SetTemporaryStorage(v []HypervisorResourcePoolStorageRequestModel) {
o.TemporaryStorage = v
}
// GetPersonalvDiskStorage returns the PersonalvDiskStorage field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EditHypervisorResourcePoolTraditionalRequestModel) GetPersonalvDiskStorage() []HypervisorResourcePoolStorageRequestModel {
if o == nil {
var ret []HypervisorResourcePoolStorageRequestModel
return ret
}
return o.PersonalvDiskStorage
}
// GetPersonalvDiskStorageOk returns a tuple with the PersonalvDiskStorage 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 *EditHypervisorResourcePoolTraditionalRequestModel) GetPersonalvDiskStorageOk() ([]HypervisorResourcePoolStorageRequestModel, bool) {
if o == nil || IsNil(o.PersonalvDiskStorage) {
return nil, false
}
return o.PersonalvDiskStorage, true
}
// HasPersonalvDiskStorage returns a boolean if a field has been set.
func (o *EditHypervisorResourcePoolTraditionalRequestModel) HasPersonalvDiskStorage() bool {
if o != nil && IsNil(o.PersonalvDiskStorage) {
return true
}
return false
}
// SetPersonalvDiskStorage gets a reference to the given []HypervisorResourcePoolStorageRequestModel and assigns it to the PersonalvDiskStorage field.
func (o *EditHypervisorResourcePoolTraditionalRequestModel) SetPersonalvDiskStorage(v []HypervisorResourcePoolStorageRequestModel) {
o.PersonalvDiskStorage = v
}
// GetCustomProperties returns the CustomProperties field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EditHypervisorResourcePoolTraditionalRequestModel) GetCustomProperties() string {
if o == nil || IsNil(o.CustomProperties.Get()) {
var ret string
return ret
}
return *o.CustomProperties.Get()
}
// GetCustomPropertiesOk returns a tuple with the CustomProperties 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 *EditHypervisorResourcePoolTraditionalRequestModel) GetCustomPropertiesOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.CustomProperties.Get(), o.CustomProperties.IsSet()
}
// HasCustomProperties returns a boolean if a field has been set.
func (o *EditHypervisorResourcePoolTraditionalRequestModel) HasCustomProperties() bool {
if o != nil && o.CustomProperties.IsSet() {
return true
}
return false
}
// SetCustomProperties gets a reference to the given NullableString and assigns it to the CustomProperties field.
func (o *EditHypervisorResourcePoolTraditionalRequestModel) SetCustomProperties(v string) {
o.CustomProperties.Set(&v)
}
// SetCustomPropertiesNil sets the value for CustomProperties to be an explicit nil
func (o *EditHypervisorResourcePoolTraditionalRequestModel) SetCustomPropertiesNil() {
o.CustomProperties.Set(nil)
}
// UnsetCustomProperties ensures that no value is present for CustomProperties, not even an explicit nil
func (o *EditHypervisorResourcePoolTraditionalRequestModel) UnsetCustomProperties() {
o.CustomProperties.Unset()
}
// GetUseLocalStorageCaching returns the UseLocalStorageCaching field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EditHypervisorResourcePoolTraditionalRequestModel) GetUseLocalStorageCaching() bool {
if o == nil || IsNil(o.UseLocalStorageCaching.Get()) {
var ret bool
return ret
}
return *o.UseLocalStorageCaching.Get()
}
// GetUseLocalStorageCachingOk returns a tuple with the UseLocalStorageCaching 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 *EditHypervisorResourcePoolTraditionalRequestModel) GetUseLocalStorageCachingOk() (*bool, bool) {
if o == nil {
return nil, false
}
return o.UseLocalStorageCaching.Get(), o.UseLocalStorageCaching.IsSet()
}
// HasUseLocalStorageCaching returns a boolean if a field has been set.
func (o *EditHypervisorResourcePoolTraditionalRequestModel) HasUseLocalStorageCaching() bool {
if o != nil && o.UseLocalStorageCaching.IsSet() {
return true
}
return false
}
// SetUseLocalStorageCaching gets a reference to the given NullableBool and assigns it to the UseLocalStorageCaching field.
func (o *EditHypervisorResourcePoolTraditionalRequestModel) SetUseLocalStorageCaching(v bool) {
o.UseLocalStorageCaching.Set(&v)
}
// SetUseLocalStorageCachingNil sets the value for UseLocalStorageCaching to be an explicit nil
func (o *EditHypervisorResourcePoolTraditionalRequestModel) SetUseLocalStorageCachingNil() {
o.UseLocalStorageCaching.Set(nil)
}
// UnsetUseLocalStorageCaching ensures that no value is present for UseLocalStorageCaching, not even an explicit nil
func (o *EditHypervisorResourcePoolTraditionalRequestModel) UnsetUseLocalStorageCaching() {
o.UseLocalStorageCaching.Unset()
}
// GetNetworks returns the Networks field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EditHypervisorResourcePoolTraditionalRequestModel) GetNetworks() []string {
if o == nil {
var ret []string
return ret
}
return o.Networks
}
// GetNetworksOk returns a tuple with the Networks 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 *EditHypervisorResourcePoolTraditionalRequestModel) GetNetworksOk() ([]string, bool) {
if o == nil || IsNil(o.Networks) {
return nil, false
}
return o.Networks, true
}
// HasNetworks returns a boolean if a field has been set.
func (o *EditHypervisorResourcePoolTraditionalRequestModel) HasNetworks() bool {
if o != nil && IsNil(o.Networks) {
return true
}
return false
}
// SetNetworks gets a reference to the given []string and assigns it to the Networks field.
func (o *EditHypervisorResourcePoolTraditionalRequestModel) SetNetworks(v []string) {
o.Networks = v
}
// GetSubnets returns the Subnets field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *EditHypervisorResourcePoolTraditionalRequestModel) GetSubnets() []string {
if o == nil {
var ret []string
return ret
}
return o.Subnets
}
// GetSubnetsOk returns a tuple with the Subnets 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 *EditHypervisorResourcePoolTraditionalRequestModel) GetSubnetsOk() ([]string, bool) {
if o == nil || IsNil(o.Subnets) {
return nil, false
}
return o.Subnets, true
}
// HasSubnets returns a boolean if a field has been set.
func (o *EditHypervisorResourcePoolTraditionalRequestModel) HasSubnets() bool {
if o != nil && IsNil(o.Subnets) {
return true
}
return false
}
// SetSubnets gets a reference to the given []string and assigns it to the Subnets field.
func (o *EditHypervisorResourcePoolTraditionalRequestModel) SetSubnets(v []string) {
o.Subnets = v
}
func (o EditHypervisorResourcePoolTraditionalRequestModel) MarshalJSON() ([]byte, error) {
toSerialize,err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o EditHypervisorResourcePoolTraditionalRequestModel) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
if o.Name.IsSet() {
toSerialize["Name"] = o.Name.Get()
}
toSerialize["ConnectionType"] = o.ConnectionType
if o.VmTagging.IsSet() {
toSerialize["VmTagging"] = o.VmTagging.Get()
}
if o.Metadata != nil {
toSerialize["Metadata"] = o.Metadata
}
if o.Storage != nil {
toSerialize["Storage"] = o.Storage
}
if o.TemporaryStorage != nil {
toSerialize["TemporaryStorage"] = o.TemporaryStorage
}
if o.PersonalvDiskStorage != nil {
toSerialize["PersonalvDiskStorage"] = o.PersonalvDiskStorage
}
if o.CustomProperties.IsSet() {
toSerialize["CustomProperties"] = o.CustomProperties.Get()
}
if o.UseLocalStorageCaching.IsSet() {
toSerialize["UseLocalStorageCaching"] = o.UseLocalStorageCaching.Get()
}
if o.Networks != nil {
toSerialize["Networks"] = o.Networks
}
if o.Subnets != nil {
toSerialize["Subnets"] = o.Subnets
}
return toSerialize, nil
}
type NullableEditHypervisorResourcePoolTraditionalRequestModel struct {
value *EditHypervisorResourcePoolTraditionalRequestModel
isSet bool
}
func (v NullableEditHypervisorResourcePoolTraditionalRequestModel) Get() *EditHypervisorResourcePoolTraditionalRequestModel {
return v.value
}
func (v *NullableEditHypervisorResourcePoolTraditionalRequestModel) Set(val *EditHypervisorResourcePoolTraditionalRequestModel) {
v.value = val
v.isSet = true
}
func (v NullableEditHypervisorResourcePoolTraditionalRequestModel) IsSet() bool {
return v.isSet
}
func (v *NullableEditHypervisorResourcePoolTraditionalRequestModel) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableEditHypervisorResourcePoolTraditionalRequestModel(val *EditHypervisorResourcePoolTraditionalRequestModel) *NullableEditHypervisorResourcePoolTraditionalRequestModel {
return &NullableEditHypervisorResourcePoolTraditionalRequestModel{value: val, isSet: true}
}
func (v NullableEditHypervisorResourcePoolTraditionalRequestModel) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableEditHypervisorResourcePoolTraditionalRequestModel) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}