-
Notifications
You must be signed in to change notification settings - Fork 0
/
model_keyfactor_api_models_ssl_update_network_request.go
605 lines (510 loc) · 20.6 KB
/
model_keyfactor_api_models_ssl_update_network_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
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
/*
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-v1
This reference serves to document REST-based methods to manage and integrate with Keyfactor. In addition, an embedded interface allows for the execution of calls against the current Keyfactor API instance.
API version: v1
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package command
import (
"encoding/json"
)
// checks if the KeyfactorApiModelsSslUpdateNetworkRequest type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &KeyfactorApiModelsSslUpdateNetworkRequest{}
// KeyfactorApiModelsSslUpdateNetworkRequest struct for KeyfactorApiModelsSslUpdateNetworkRequest
type KeyfactorApiModelsSslUpdateNetworkRequest struct {
NetworkId string `json:"NetworkId"`
Name string `json:"Name"`
AgentPoolName string `json:"AgentPoolName"`
Description string `json:"Description"`
Enabled *bool `json:"Enabled,omitempty"`
DiscoverSchedule *KeyfactorCommonSchedulingKeyfactorSchedule `json:"DiscoverSchedule,omitempty"`
MonitorSchedule *KeyfactorCommonSchedulingKeyfactorSchedule `json:"MonitorSchedule,omitempty"`
SslAlertRecipients []string `json:"SslAlertRecipients,omitempty"`
AutoMonitor *bool `json:"AutoMonitor,omitempty"`
GetRobots *bool `json:"GetRobots,omitempty"`
DiscoverTimeoutMs *float64 `json:"DiscoverTimeoutMs,omitempty"`
MonitorTimeoutMs *float64 `json:"MonitorTimeoutMs,omitempty"`
ExpirationAlertDays *float64 `json:"ExpirationAlertDays,omitempty"`
QuietHours []KeyfactorApiModelsSslQuietHourRequest `json:"QuietHours,omitempty"`
AdditionalProperties map[string]interface{}
}
type _KeyfactorApiModelsSslUpdateNetworkRequest KeyfactorApiModelsSslUpdateNetworkRequest
// NewKeyfactorApiModelsSslUpdateNetworkRequest instantiates a new KeyfactorApiModelsSslUpdateNetworkRequest 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 NewKeyfactorApiModelsSslUpdateNetworkRequest(networkId string, name string, agentPoolName string, description string) *KeyfactorApiModelsSslUpdateNetworkRequest {
this := KeyfactorApiModelsSslUpdateNetworkRequest{}
this.NetworkId = networkId
this.Name = name
this.AgentPoolName = agentPoolName
this.Description = description
return &this
}
// NewKeyfactorApiModelsSslUpdateNetworkRequestWithDefaults instantiates a new KeyfactorApiModelsSslUpdateNetworkRequest 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 NewKeyfactorApiModelsSslUpdateNetworkRequestWithDefaults() *KeyfactorApiModelsSslUpdateNetworkRequest {
this := KeyfactorApiModelsSslUpdateNetworkRequest{}
return &this
}
// GetNetworkId returns the NetworkId field value
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) GetNetworkId() string {
if o == nil {
var ret string
return ret
}
return o.NetworkId
}
// GetNetworkIdOk returns a tuple with the NetworkId field value
// and a boolean to check if the value has been set.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) GetNetworkIdOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.NetworkId, true
}
// SetNetworkId sets field value
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) SetNetworkId(v string) {
o.NetworkId = v
}
// GetName returns the Name field value
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) 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 *KeyfactorApiModelsSslUpdateNetworkRequest) GetNameOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.Name, true
}
// SetName sets field value
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) SetName(v string) {
o.Name = v
}
// GetAgentPoolName returns the AgentPoolName field value
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) GetAgentPoolName() string {
if o == nil {
var ret string
return ret
}
return o.AgentPoolName
}
// GetAgentPoolNameOk returns a tuple with the AgentPoolName field value
// and a boolean to check if the value has been set.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) GetAgentPoolNameOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.AgentPoolName, true
}
// SetAgentPoolName sets field value
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) SetAgentPoolName(v string) {
o.AgentPoolName = v
}
// GetDescription returns the Description field value
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) 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 *KeyfactorApiModelsSslUpdateNetworkRequest) GetDescriptionOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.Description, true
}
// SetDescription sets field value
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) SetDescription(v string) {
o.Description = v
}
// GetEnabled returns the Enabled field value if set, zero value otherwise.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) GetEnabled() bool {
if o == nil || isNil(o.Enabled) {
var ret bool
return ret
}
return *o.Enabled
}
// GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) GetEnabledOk() (*bool, bool) {
if o == nil || isNil(o.Enabled) {
return nil, false
}
return o.Enabled, true
}
// HasEnabled returns a boolean if a field has been set.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) HasEnabled() bool {
if o != nil && !isNil(o.Enabled) {
return true
}
return false
}
// SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) SetEnabled(v bool) {
o.Enabled = &v
}
// GetDiscoverSchedule returns the DiscoverSchedule field value if set, zero value otherwise.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) GetDiscoverSchedule() KeyfactorCommonSchedulingKeyfactorSchedule {
if o == nil || isNil(o.DiscoverSchedule) {
var ret KeyfactorCommonSchedulingKeyfactorSchedule
return ret
}
return *o.DiscoverSchedule
}
// GetDiscoverScheduleOk returns a tuple with the DiscoverSchedule field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) GetDiscoverScheduleOk() (*KeyfactorCommonSchedulingKeyfactorSchedule, bool) {
if o == nil || isNil(o.DiscoverSchedule) {
return nil, false
}
return o.DiscoverSchedule, true
}
// HasDiscoverSchedule returns a boolean if a field has been set.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) HasDiscoverSchedule() bool {
if o != nil && !isNil(o.DiscoverSchedule) {
return true
}
return false
}
// SetDiscoverSchedule gets a reference to the given KeyfactorCommonSchedulingKeyfactorSchedule and assigns it to the DiscoverSchedule field.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) SetDiscoverSchedule(v KeyfactorCommonSchedulingKeyfactorSchedule) {
o.DiscoverSchedule = &v
}
// GetMonitorSchedule returns the MonitorSchedule field value if set, zero value otherwise.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) GetMonitorSchedule() KeyfactorCommonSchedulingKeyfactorSchedule {
if o == nil || isNil(o.MonitorSchedule) {
var ret KeyfactorCommonSchedulingKeyfactorSchedule
return ret
}
return *o.MonitorSchedule
}
// GetMonitorScheduleOk returns a tuple with the MonitorSchedule field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) GetMonitorScheduleOk() (*KeyfactorCommonSchedulingKeyfactorSchedule, bool) {
if o == nil || isNil(o.MonitorSchedule) {
return nil, false
}
return o.MonitorSchedule, true
}
// HasMonitorSchedule returns a boolean if a field has been set.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) HasMonitorSchedule() bool {
if o != nil && !isNil(o.MonitorSchedule) {
return true
}
return false
}
// SetMonitorSchedule gets a reference to the given KeyfactorCommonSchedulingKeyfactorSchedule and assigns it to the MonitorSchedule field.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) SetMonitorSchedule(v KeyfactorCommonSchedulingKeyfactorSchedule) {
o.MonitorSchedule = &v
}
// GetSslAlertRecipients returns the SslAlertRecipients field value if set, zero value otherwise.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) GetSslAlertRecipients() []string {
if o == nil || isNil(o.SslAlertRecipients) {
var ret []string
return ret
}
return o.SslAlertRecipients
}
// GetSslAlertRecipientsOk returns a tuple with the SslAlertRecipients field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) GetSslAlertRecipientsOk() ([]string, bool) {
if o == nil || isNil(o.SslAlertRecipients) {
return nil, false
}
return o.SslAlertRecipients, true
}
// HasSslAlertRecipients returns a boolean if a field has been set.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) HasSslAlertRecipients() bool {
if o != nil && !isNil(o.SslAlertRecipients) {
return true
}
return false
}
// SetSslAlertRecipients gets a reference to the given []string and assigns it to the SslAlertRecipients field.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) SetSslAlertRecipients(v []string) {
o.SslAlertRecipients = v
}
// GetAutoMonitor returns the AutoMonitor field value if set, zero value otherwise.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) GetAutoMonitor() bool {
if o == nil || isNil(o.AutoMonitor) {
var ret bool
return ret
}
return *o.AutoMonitor
}
// GetAutoMonitorOk returns a tuple with the AutoMonitor field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) GetAutoMonitorOk() (*bool, bool) {
if o == nil || isNil(o.AutoMonitor) {
return nil, false
}
return o.AutoMonitor, true
}
// HasAutoMonitor returns a boolean if a field has been set.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) HasAutoMonitor() bool {
if o != nil && !isNil(o.AutoMonitor) {
return true
}
return false
}
// SetAutoMonitor gets a reference to the given bool and assigns it to the AutoMonitor field.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) SetAutoMonitor(v bool) {
o.AutoMonitor = &v
}
// GetGetRobots returns the GetRobots field value if set, zero value otherwise.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) GetGetRobots() bool {
if o == nil || isNil(o.GetRobots) {
var ret bool
return ret
}
return *o.GetRobots
}
// GetGetRobotsOk returns a tuple with the GetRobots field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) GetGetRobotsOk() (*bool, bool) {
if o == nil || isNil(o.GetRobots) {
return nil, false
}
return o.GetRobots, true
}
// HasGetRobots returns a boolean if a field has been set.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) HasGetRobots() bool {
if o != nil && !isNil(o.GetRobots) {
return true
}
return false
}
// SetGetRobots gets a reference to the given bool and assigns it to the GetRobots field.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) SetGetRobots(v bool) {
o.GetRobots = &v
}
// GetDiscoverTimeoutMs returns the DiscoverTimeoutMs field value if set, zero value otherwise.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) GetDiscoverTimeoutMs() float64 {
if o == nil || isNil(o.DiscoverTimeoutMs) {
var ret float64
return ret
}
return *o.DiscoverTimeoutMs
}
// GetDiscoverTimeoutMsOk returns a tuple with the DiscoverTimeoutMs field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) GetDiscoverTimeoutMsOk() (*float64, bool) {
if o == nil || isNil(o.DiscoverTimeoutMs) {
return nil, false
}
return o.DiscoverTimeoutMs, true
}
// HasDiscoverTimeoutMs returns a boolean if a field has been set.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) HasDiscoverTimeoutMs() bool {
if o != nil && !isNil(o.DiscoverTimeoutMs) {
return true
}
return false
}
// SetDiscoverTimeoutMs gets a reference to the given float64 and assigns it to the DiscoverTimeoutMs field.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) SetDiscoverTimeoutMs(v float64) {
o.DiscoverTimeoutMs = &v
}
// GetMonitorTimeoutMs returns the MonitorTimeoutMs field value if set, zero value otherwise.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) GetMonitorTimeoutMs() float64 {
if o == nil || isNil(o.MonitorTimeoutMs) {
var ret float64
return ret
}
return *o.MonitorTimeoutMs
}
// GetMonitorTimeoutMsOk returns a tuple with the MonitorTimeoutMs field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) GetMonitorTimeoutMsOk() (*float64, bool) {
if o == nil || isNil(o.MonitorTimeoutMs) {
return nil, false
}
return o.MonitorTimeoutMs, true
}
// HasMonitorTimeoutMs returns a boolean if a field has been set.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) HasMonitorTimeoutMs() bool {
if o != nil && !isNil(o.MonitorTimeoutMs) {
return true
}
return false
}
// SetMonitorTimeoutMs gets a reference to the given float64 and assigns it to the MonitorTimeoutMs field.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) SetMonitorTimeoutMs(v float64) {
o.MonitorTimeoutMs = &v
}
// GetExpirationAlertDays returns the ExpirationAlertDays field value if set, zero value otherwise.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) GetExpirationAlertDays() float64 {
if o == nil || isNil(o.ExpirationAlertDays) {
var ret float64
return ret
}
return *o.ExpirationAlertDays
}
// GetExpirationAlertDaysOk returns a tuple with the ExpirationAlertDays field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) GetExpirationAlertDaysOk() (*float64, bool) {
if o == nil || isNil(o.ExpirationAlertDays) {
return nil, false
}
return o.ExpirationAlertDays, true
}
// HasExpirationAlertDays returns a boolean if a field has been set.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) HasExpirationAlertDays() bool {
if o != nil && !isNil(o.ExpirationAlertDays) {
return true
}
return false
}
// SetExpirationAlertDays gets a reference to the given float64 and assigns it to the ExpirationAlertDays field.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) SetExpirationAlertDays(v float64) {
o.ExpirationAlertDays = &v
}
// GetQuietHours returns the QuietHours field value if set, zero value otherwise.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) GetQuietHours() []KeyfactorApiModelsSslQuietHourRequest {
if o == nil || isNil(o.QuietHours) {
var ret []KeyfactorApiModelsSslQuietHourRequest
return ret
}
return o.QuietHours
}
// GetQuietHoursOk returns a tuple with the QuietHours field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) GetQuietHoursOk() ([]KeyfactorApiModelsSslQuietHourRequest, bool) {
if o == nil || isNil(o.QuietHours) {
return nil, false
}
return o.QuietHours, true
}
// HasQuietHours returns a boolean if a field has been set.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) HasQuietHours() bool {
if o != nil && !isNil(o.QuietHours) {
return true
}
return false
}
// SetQuietHours gets a reference to the given []KeyfactorApiModelsSslQuietHourRequest and assigns it to the QuietHours field.
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) SetQuietHours(v []KeyfactorApiModelsSslQuietHourRequest) {
o.QuietHours = v
}
func (o KeyfactorApiModelsSslUpdateNetworkRequest) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o KeyfactorApiModelsSslUpdateNetworkRequest) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
toSerialize["NetworkId"] = o.NetworkId
toSerialize["Name"] = o.Name
toSerialize["AgentPoolName"] = o.AgentPoolName
toSerialize["Description"] = o.Description
if !isNil(o.Enabled) {
toSerialize["Enabled"] = o.Enabled
}
if !isNil(o.DiscoverSchedule) {
toSerialize["DiscoverSchedule"] = o.DiscoverSchedule
}
if !isNil(o.MonitorSchedule) {
toSerialize["MonitorSchedule"] = o.MonitorSchedule
}
if !isNil(o.SslAlertRecipients) {
toSerialize["SslAlertRecipients"] = o.SslAlertRecipients
}
if !isNil(o.AutoMonitor) {
toSerialize["AutoMonitor"] = o.AutoMonitor
}
if !isNil(o.GetRobots) {
toSerialize["GetRobots"] = o.GetRobots
}
if !isNil(o.DiscoverTimeoutMs) {
toSerialize["DiscoverTimeoutMs"] = o.DiscoverTimeoutMs
}
if !isNil(o.MonitorTimeoutMs) {
toSerialize["MonitorTimeoutMs"] = o.MonitorTimeoutMs
}
if !isNil(o.ExpirationAlertDays) {
toSerialize["ExpirationAlertDays"] = o.ExpirationAlertDays
}
if !isNil(o.QuietHours) {
toSerialize["QuietHours"] = o.QuietHours
}
for key, value := range o.AdditionalProperties {
toSerialize[key] = value
}
return toSerialize, nil
}
func (o *KeyfactorApiModelsSslUpdateNetworkRequest) UnmarshalJSON(bytes []byte) (err error) {
varKeyfactorApiModelsSslUpdateNetworkRequest := _KeyfactorApiModelsSslUpdateNetworkRequest{}
if err = json.Unmarshal(bytes, &varKeyfactorApiModelsSslUpdateNetworkRequest); err == nil {
*o = KeyfactorApiModelsSslUpdateNetworkRequest(varKeyfactorApiModelsSslUpdateNetworkRequest)
}
additionalProperties := make(map[string]interface{})
if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
delete(additionalProperties, "NetworkId")
delete(additionalProperties, "Name")
delete(additionalProperties, "AgentPoolName")
delete(additionalProperties, "Description")
delete(additionalProperties, "Enabled")
delete(additionalProperties, "DiscoverSchedule")
delete(additionalProperties, "MonitorSchedule")
delete(additionalProperties, "SslAlertRecipients")
delete(additionalProperties, "AutoMonitor")
delete(additionalProperties, "GetRobots")
delete(additionalProperties, "DiscoverTimeoutMs")
delete(additionalProperties, "MonitorTimeoutMs")
delete(additionalProperties, "ExpirationAlertDays")
delete(additionalProperties, "QuietHours")
o.AdditionalProperties = additionalProperties
}
return err
}
type NullableKeyfactorApiModelsSslUpdateNetworkRequest struct {
value *KeyfactorApiModelsSslUpdateNetworkRequest
isSet bool
}
func (v NullableKeyfactorApiModelsSslUpdateNetworkRequest) Get() *KeyfactorApiModelsSslUpdateNetworkRequest {
return v.value
}
func (v *NullableKeyfactorApiModelsSslUpdateNetworkRequest) Set(val *KeyfactorApiModelsSslUpdateNetworkRequest) {
v.value = val
v.isSet = true
}
func (v NullableKeyfactorApiModelsSslUpdateNetworkRequest) IsSet() bool {
return v.isSet
}
func (v *NullableKeyfactorApiModelsSslUpdateNetworkRequest) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableKeyfactorApiModelsSslUpdateNetworkRequest(val *KeyfactorApiModelsSslUpdateNetworkRequest) *NullableKeyfactorApiModelsSslUpdateNetworkRequest {
return &NullableKeyfactorApiModelsSslUpdateNetworkRequest{value: val, isSet: true}
}
func (v NullableKeyfactorApiModelsSslUpdateNetworkRequest) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableKeyfactorApiModelsSslUpdateNetworkRequest) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}