/
model_keyfactor_web_keyfactor_api_models_metadata_field_metadata_field_update_request.go
585 lines (494 loc) · 20.9 KB
/
model_keyfactor_web_keyfactor_api_models_metadata_field_metadata_field_update_request.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
/*
Copyright 2023 Keyfactor
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.
Keyfactor API Reference and Utility
<p>This page provides a utility through which the Keyfactor API endpoints can be called and results returned. It is intended to be used primarily for validation, testing and workflow development. It also serves secondarily as documentation for the API.</p> <p>If you would like to view documentation containing details on the Keyfactor API and endpoints, please refer to the Web API section of the Keyfactor Command documentation.</p>
API version: 1.0
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package command
import (
"encoding/json"
)
// checks if the KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest{}
// KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest struct for KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest
type KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest struct {
Id int32 `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
DataType int32 `json:"dataType"`
Hint NullableString `json:"hint,omitempty"`
Validation NullableString `json:"validation,omitempty"`
Enrollment *int32 `json:"enrollment,omitempty"`
Message NullableString `json:"message,omitempty"`
Options NullableString `json:"options,omitempty"`
DefaultValue NullableString `json:"defaultValue,omitempty"`
// Deprecated
AllowAPI *bool `json:"allowAPI,omitempty"`
// Deprecated
ExplicitUpdate *bool `json:"explicitUpdate,omitempty"`
DisplayOrder int32 `json:"displayOrder"`
}
// NewKeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest instantiates a new KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest 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 NewKeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest(id int32, name string, description string, dataType int32, displayOrder int32) *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest {
this := KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest{}
this.Id = id
this.Name = name
this.Description = description
this.DataType = dataType
this.DisplayOrder = displayOrder
return &this
}
// NewKeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequestWithDefaults instantiates a new KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest 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 NewKeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequestWithDefaults() *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest {
this := KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest{}
return &this
}
// GetId returns the Id field value
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) GetId() int32 {
if o == nil {
var ret int32
return ret
}
return o.Id
}
// GetIdOk returns a tuple with the Id field value
// and a boolean to check if the value has been set.
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) GetIdOk() (*int32, bool) {
if o == nil {
return nil, false
}
return &o.Id, true
}
// SetId sets field value
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) SetId(v int32) {
o.Id = v
}
// GetName returns the Name field value
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) GetName() string {
if o == nil {
var ret string
return ret
}
return o.Name
}
// GetNameOk returns a tuple with the Name field value
// and a boolean to check if the value has been set.
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) GetNameOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.Name, true
}
// SetName sets field value
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) SetName(v string) {
o.Name = v
}
// GetDescription returns the Description field value
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) GetDescription() string {
if o == nil {
var ret string
return ret
}
return o.Description
}
// GetDescriptionOk returns a tuple with the Description field value
// and a boolean to check if the value has been set.
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) GetDescriptionOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.Description, true
}
// SetDescription sets field value
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) SetDescription(v string) {
o.Description = v
}
// GetDataType returns the DataType field value
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) GetDataType() int32 {
if o == nil {
var ret int32
return ret
}
return o.DataType
}
// GetDataTypeOk returns a tuple with the DataType field value
// and a boolean to check if the value has been set.
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) GetDataTypeOk() (*int32, bool) {
if o == nil {
return nil, false
}
return &o.DataType, true
}
// SetDataType sets field value
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) SetDataType(v int32) {
o.DataType = v
}
// GetHint returns the Hint field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) GetHint() string {
if o == nil || isNil(o.Hint.Get()) {
var ret string
return ret
}
return *o.Hint.Get()
}
// GetHintOk returns a tuple with the Hint 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 *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) GetHintOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.Hint.Get(), o.Hint.IsSet()
}
// HasHint returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) HasHint() bool {
if o != nil && o.Hint.IsSet() {
return true
}
return false
}
// SetHint gets a reference to the given NullableString and assigns it to the Hint field.
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) SetHint(v string) {
o.Hint.Set(&v)
}
// SetHintNil sets the value for Hint to be an explicit nil
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) SetHintNil() {
o.Hint.Set(nil)
}
// UnsetHint ensures that no value is present for Hint, not even an explicit nil
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) UnsetHint() {
o.Hint.Unset()
}
// GetValidation returns the Validation field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) GetValidation() string {
if o == nil || isNil(o.Validation.Get()) {
var ret string
return ret
}
return *o.Validation.Get()
}
// GetValidationOk returns a tuple with the Validation 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 *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) GetValidationOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.Validation.Get(), o.Validation.IsSet()
}
// HasValidation returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) HasValidation() bool {
if o != nil && o.Validation.IsSet() {
return true
}
return false
}
// SetValidation gets a reference to the given NullableString and assigns it to the Validation field.
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) SetValidation(v string) {
o.Validation.Set(&v)
}
// SetValidationNil sets the value for Validation to be an explicit nil
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) SetValidationNil() {
o.Validation.Set(nil)
}
// UnsetValidation ensures that no value is present for Validation, not even an explicit nil
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) UnsetValidation() {
o.Validation.Unset()
}
// GetEnrollment returns the Enrollment field value if set, zero value otherwise.
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) GetEnrollment() int32 {
if o == nil || isNil(o.Enrollment) {
var ret int32
return ret
}
return *o.Enrollment
}
// GetEnrollmentOk returns a tuple with the Enrollment field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) GetEnrollmentOk() (*int32, bool) {
if o == nil || isNil(o.Enrollment) {
return nil, false
}
return o.Enrollment, true
}
// HasEnrollment returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) HasEnrollment() bool {
if o != nil && !isNil(o.Enrollment) {
return true
}
return false
}
// SetEnrollment gets a reference to the given int32 and assigns it to the Enrollment field.
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) SetEnrollment(v int32) {
o.Enrollment = &v
}
// GetMessage returns the Message field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) GetMessage() string {
if o == nil || isNil(o.Message.Get()) {
var ret string
return ret
}
return *o.Message.Get()
}
// GetMessageOk returns a tuple with the Message 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 *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) GetMessageOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.Message.Get(), o.Message.IsSet()
}
// HasMessage returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) HasMessage() bool {
if o != nil && o.Message.IsSet() {
return true
}
return false
}
// SetMessage gets a reference to the given NullableString and assigns it to the Message field.
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) SetMessage(v string) {
o.Message.Set(&v)
}
// SetMessageNil sets the value for Message to be an explicit nil
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) SetMessageNil() {
o.Message.Set(nil)
}
// UnsetMessage ensures that no value is present for Message, not even an explicit nil
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) UnsetMessage() {
o.Message.Unset()
}
// GetOptions returns the Options field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) GetOptions() string {
if o == nil || isNil(o.Options.Get()) {
var ret string
return ret
}
return *o.Options.Get()
}
// GetOptionsOk returns a tuple with the Options 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 *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) GetOptionsOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.Options.Get(), o.Options.IsSet()
}
// HasOptions returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) HasOptions() bool {
if o != nil && o.Options.IsSet() {
return true
}
return false
}
// SetOptions gets a reference to the given NullableString and assigns it to the Options field.
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) SetOptions(v string) {
o.Options.Set(&v)
}
// SetOptionsNil sets the value for Options to be an explicit nil
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) SetOptionsNil() {
o.Options.Set(nil)
}
// UnsetOptions ensures that no value is present for Options, not even an explicit nil
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) UnsetOptions() {
o.Options.Unset()
}
// GetDefaultValue returns the DefaultValue field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) GetDefaultValue() string {
if o == nil || isNil(o.DefaultValue.Get()) {
var ret string
return ret
}
return *o.DefaultValue.Get()
}
// GetDefaultValueOk returns a tuple with the DefaultValue 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 *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) GetDefaultValueOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.DefaultValue.Get(), o.DefaultValue.IsSet()
}
// HasDefaultValue returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) HasDefaultValue() bool {
if o != nil && o.DefaultValue.IsSet() {
return true
}
return false
}
// SetDefaultValue gets a reference to the given NullableString and assigns it to the DefaultValue field.
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) SetDefaultValue(v string) {
o.DefaultValue.Set(&v)
}
// SetDefaultValueNil sets the value for DefaultValue to be an explicit nil
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) SetDefaultValueNil() {
o.DefaultValue.Set(nil)
}
// UnsetDefaultValue ensures that no value is present for DefaultValue, not even an explicit nil
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) UnsetDefaultValue() {
o.DefaultValue.Unset()
}
// GetAllowAPI returns the AllowAPI field value if set, zero value otherwise.
// Deprecated
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) GetAllowAPI() bool {
if o == nil || isNil(o.AllowAPI) {
var ret bool
return ret
}
return *o.AllowAPI
}
// GetAllowAPIOk returns a tuple with the AllowAPI field value if set, nil otherwise
// and a boolean to check if the value has been set.
// Deprecated
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) GetAllowAPIOk() (*bool, bool) {
if o == nil || isNil(o.AllowAPI) {
return nil, false
}
return o.AllowAPI, true
}
// HasAllowAPI returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) HasAllowAPI() bool {
if o != nil && !isNil(o.AllowAPI) {
return true
}
return false
}
// SetAllowAPI gets a reference to the given bool and assigns it to the AllowAPI field.
// Deprecated
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) SetAllowAPI(v bool) {
o.AllowAPI = &v
}
// GetExplicitUpdate returns the ExplicitUpdate field value if set, zero value otherwise.
// Deprecated
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) GetExplicitUpdate() bool {
if o == nil || isNil(o.ExplicitUpdate) {
var ret bool
return ret
}
return *o.ExplicitUpdate
}
// GetExplicitUpdateOk returns a tuple with the ExplicitUpdate field value if set, nil otherwise
// and a boolean to check if the value has been set.
// Deprecated
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) GetExplicitUpdateOk() (*bool, bool) {
if o == nil || isNil(o.ExplicitUpdate) {
return nil, false
}
return o.ExplicitUpdate, true
}
// HasExplicitUpdate returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) HasExplicitUpdate() bool {
if o != nil && !isNil(o.ExplicitUpdate) {
return true
}
return false
}
// SetExplicitUpdate gets a reference to the given bool and assigns it to the ExplicitUpdate field.
// Deprecated
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) SetExplicitUpdate(v bool) {
o.ExplicitUpdate = &v
}
// GetDisplayOrder returns the DisplayOrder field value
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) GetDisplayOrder() int32 {
if o == nil {
var ret int32
return ret
}
return o.DisplayOrder
}
// GetDisplayOrderOk returns a tuple with the DisplayOrder field value
// and a boolean to check if the value has been set.
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) GetDisplayOrderOk() (*int32, bool) {
if o == nil {
return nil, false
}
return &o.DisplayOrder, true
}
// SetDisplayOrder sets field value
func (o *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) SetDisplayOrder(v int32) {
o.DisplayOrder = v
}
func (o KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
toSerialize["id"] = o.Id
toSerialize["name"] = o.Name
toSerialize["description"] = o.Description
toSerialize["dataType"] = o.DataType
if o.Hint.IsSet() {
toSerialize["hint"] = o.Hint.Get()
}
if o.Validation.IsSet() {
toSerialize["validation"] = o.Validation.Get()
}
if !isNil(o.Enrollment) {
toSerialize["enrollment"] = o.Enrollment
}
if o.Message.IsSet() {
toSerialize["message"] = o.Message.Get()
}
if o.Options.IsSet() {
toSerialize["options"] = o.Options.Get()
}
if o.DefaultValue.IsSet() {
toSerialize["defaultValue"] = o.DefaultValue.Get()
}
if !isNil(o.AllowAPI) {
toSerialize["allowAPI"] = o.AllowAPI
}
if !isNil(o.ExplicitUpdate) {
toSerialize["explicitUpdate"] = o.ExplicitUpdate
}
toSerialize["displayOrder"] = o.DisplayOrder
return toSerialize, nil
}
type NullableKeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest struct {
value *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest
isSet bool
}
func (v NullableKeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) Get() *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest {
return v.value
}
func (v *NullableKeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) Set(val *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) {
v.value = val
v.isSet = true
}
func (v NullableKeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) IsSet() bool {
return v.isSet
}
func (v *NullableKeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableKeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest(val *KeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) *NullableKeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest {
return &NullableKeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest{value: val, isSet: true}
}
func (v NullableKeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableKeyfactorWebKeyfactorApiModelsMetadataFieldMetadataFieldUpdateRequest) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}