generated from delphix/.github
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmodel_connectivity_check_parameters.go
732 lines (624 loc) · 23.5 KB
/
model_connectivity_check_parameters.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
/*
Delphix DCT API
Delphix DCT API
API version: 3.9.0
Contact: support@delphix.com
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package delphix_dct_api
import (
"encoding/json"
)
// checks if the ConnectivityCheckParameters type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &ConnectivityCheckParameters{}
// ConnectivityCheckParameters Parameters to check connectivity between engine and remote host.
type ConnectivityCheckParameters struct {
// The ID of the engine to check.
EngineId string `json:"engine_id"`
// Whether to use public key authentication.
UseEnginePublicKey *bool `json:"use_engine_public_key,omitempty"`
// Operating system type of the environment.
OsName *string `json:"os_name,omitempty"`
// Id of the connector environment which is used to connect to this source environment.
StagingEnvironment *string `json:"staging_environment,omitempty"`
// The hostname of the remote host machine to check.
Host string `json:"host"`
// The port of the remote host machine to check. For Windows, port on which Delphix connector is running.
Port NullableInt32 `json:"port"`
// The username of the remote host machine to check. Username is mandatory input with password/use_engine_public_key/kerberos_authentication.
Username *string `json:"username,omitempty"`
// The password of the remote host machine to check.
Password *string `json:"password,omitempty"`
// The DCT id or name of the vault from which to read the host credentials.
VaultId *string `json:"vault_id,omitempty"`
// Vault engine name where the credential is stored.
HashicorpVaultEngine *string `json:"hashicorp_vault_engine,omitempty"`
// Path in the vault engine where the credential is stored.
HashicorpVaultSecretPath *string `json:"hashicorp_vault_secret_path,omitempty"`
// Key for the username in the key-value store.
HashicorpVaultUsernameKey *string `json:"hashicorp_vault_username_key,omitempty"`
// Key for the password in the key-value store.
HashicorpVaultSecretKey *string `json:"hashicorp_vault_secret_key,omitempty"`
// Azure key vault name (ORACLE, ASE and MSSQL_DOMAIN_USER only).
AzureVaultName *string `json:"azure_vault_name,omitempty"`
// Azure vault key for the username in the key-value store (ORACLE, ASE and MSSQL_DOMAIN_USER only).
AzureVaultUsernameKey *string `json:"azure_vault_username_key,omitempty"`
// Azure vault key for the password in the key-value store (ORACLE, ASE and MSSQL_DOMAIN_USER only).
AzureVaultSecretKey *string `json:"azure_vault_secret_key,omitempty"`
// Query to find a credential in the CyberArk vault.
CyberarkVaultQueryString *string `json:"cyberark_vault_query_string,omitempty"`
// Whether to use kerberos authentication.
UseKerberosAuthentication *bool `json:"use_kerberos_authentication,omitempty"`
}
// NewConnectivityCheckParameters instantiates a new ConnectivityCheckParameters 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 NewConnectivityCheckParameters(engineId string, host string, port NullableInt32) *ConnectivityCheckParameters {
this := ConnectivityCheckParameters{}
this.EngineId = engineId
this.Host = host
this.Port = port
return &this
}
// NewConnectivityCheckParametersWithDefaults instantiates a new ConnectivityCheckParameters 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 NewConnectivityCheckParametersWithDefaults() *ConnectivityCheckParameters {
this := ConnectivityCheckParameters{}
return &this
}
// GetEngineId returns the EngineId field value
func (o *ConnectivityCheckParameters) GetEngineId() string {
if o == nil {
var ret string
return ret
}
return o.EngineId
}
// GetEngineIdOk returns a tuple with the EngineId field value
// and a boolean to check if the value has been set.
func (o *ConnectivityCheckParameters) GetEngineIdOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.EngineId, true
}
// SetEngineId sets field value
func (o *ConnectivityCheckParameters) SetEngineId(v string) {
o.EngineId = v
}
// GetUseEnginePublicKey returns the UseEnginePublicKey field value if set, zero value otherwise.
func (o *ConnectivityCheckParameters) GetUseEnginePublicKey() bool {
if o == nil || IsNil(o.UseEnginePublicKey) {
var ret bool
return ret
}
return *o.UseEnginePublicKey
}
// GetUseEnginePublicKeyOk returns a tuple with the UseEnginePublicKey field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ConnectivityCheckParameters) GetUseEnginePublicKeyOk() (*bool, bool) {
if o == nil || IsNil(o.UseEnginePublicKey) {
return nil, false
}
return o.UseEnginePublicKey, true
}
// HasUseEnginePublicKey returns a boolean if a field has been set.
func (o *ConnectivityCheckParameters) HasUseEnginePublicKey() bool {
if o != nil && !IsNil(o.UseEnginePublicKey) {
return true
}
return false
}
// SetUseEnginePublicKey gets a reference to the given bool and assigns it to the UseEnginePublicKey field.
func (o *ConnectivityCheckParameters) SetUseEnginePublicKey(v bool) {
o.UseEnginePublicKey = &v
}
// GetOsName returns the OsName field value if set, zero value otherwise.
func (o *ConnectivityCheckParameters) GetOsName() string {
if o == nil || IsNil(o.OsName) {
var ret string
return ret
}
return *o.OsName
}
// GetOsNameOk returns a tuple with the OsName field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ConnectivityCheckParameters) GetOsNameOk() (*string, bool) {
if o == nil || IsNil(o.OsName) {
return nil, false
}
return o.OsName, true
}
// HasOsName returns a boolean if a field has been set.
func (o *ConnectivityCheckParameters) HasOsName() bool {
if o != nil && !IsNil(o.OsName) {
return true
}
return false
}
// SetOsName gets a reference to the given string and assigns it to the OsName field.
func (o *ConnectivityCheckParameters) SetOsName(v string) {
o.OsName = &v
}
// GetStagingEnvironment returns the StagingEnvironment field value if set, zero value otherwise.
func (o *ConnectivityCheckParameters) GetStagingEnvironment() string {
if o == nil || IsNil(o.StagingEnvironment) {
var ret string
return ret
}
return *o.StagingEnvironment
}
// GetStagingEnvironmentOk returns a tuple with the StagingEnvironment field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ConnectivityCheckParameters) GetStagingEnvironmentOk() (*string, bool) {
if o == nil || IsNil(o.StagingEnvironment) {
return nil, false
}
return o.StagingEnvironment, true
}
// HasStagingEnvironment returns a boolean if a field has been set.
func (o *ConnectivityCheckParameters) HasStagingEnvironment() bool {
if o != nil && !IsNil(o.StagingEnvironment) {
return true
}
return false
}
// SetStagingEnvironment gets a reference to the given string and assigns it to the StagingEnvironment field.
func (o *ConnectivityCheckParameters) SetStagingEnvironment(v string) {
o.StagingEnvironment = &v
}
// GetHost returns the Host field value
func (o *ConnectivityCheckParameters) GetHost() string {
if o == nil {
var ret string
return ret
}
return o.Host
}
// GetHostOk returns a tuple with the Host field value
// and a boolean to check if the value has been set.
func (o *ConnectivityCheckParameters) GetHostOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.Host, true
}
// SetHost sets field value
func (o *ConnectivityCheckParameters) SetHost(v string) {
o.Host = v
}
// GetPort returns the Port field value
// If the value is explicit nil, the zero value for int32 will be returned
func (o *ConnectivityCheckParameters) GetPort() int32 {
if o == nil || o.Port.Get() == nil {
var ret int32
return ret
}
return *o.Port.Get()
}
// GetPortOk returns a tuple with the Port field value
// 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 *ConnectivityCheckParameters) GetPortOk() (*int32, bool) {
if o == nil {
return nil, false
}
return o.Port.Get(), o.Port.IsSet()
}
// SetPort sets field value
func (o *ConnectivityCheckParameters) SetPort(v int32) {
o.Port.Set(&v)
}
// GetUsername returns the Username field value if set, zero value otherwise.
func (o *ConnectivityCheckParameters) GetUsername() string {
if o == nil || IsNil(o.Username) {
var ret string
return ret
}
return *o.Username
}
// GetUsernameOk returns a tuple with the Username field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ConnectivityCheckParameters) GetUsernameOk() (*string, bool) {
if o == nil || IsNil(o.Username) {
return nil, false
}
return o.Username, true
}
// HasUsername returns a boolean if a field has been set.
func (o *ConnectivityCheckParameters) HasUsername() bool {
if o != nil && !IsNil(o.Username) {
return true
}
return false
}
// SetUsername gets a reference to the given string and assigns it to the Username field.
func (o *ConnectivityCheckParameters) SetUsername(v string) {
o.Username = &v
}
// GetPassword returns the Password field value if set, zero value otherwise.
func (o *ConnectivityCheckParameters) GetPassword() string {
if o == nil || IsNil(o.Password) {
var ret string
return ret
}
return *o.Password
}
// GetPasswordOk returns a tuple with the Password field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ConnectivityCheckParameters) GetPasswordOk() (*string, bool) {
if o == nil || IsNil(o.Password) {
return nil, false
}
return o.Password, true
}
// HasPassword returns a boolean if a field has been set.
func (o *ConnectivityCheckParameters) HasPassword() bool {
if o != nil && !IsNil(o.Password) {
return true
}
return false
}
// SetPassword gets a reference to the given string and assigns it to the Password field.
func (o *ConnectivityCheckParameters) SetPassword(v string) {
o.Password = &v
}
// GetVaultId returns the VaultId field value if set, zero value otherwise.
func (o *ConnectivityCheckParameters) GetVaultId() string {
if o == nil || IsNil(o.VaultId) {
var ret string
return ret
}
return *o.VaultId
}
// GetVaultIdOk returns a tuple with the VaultId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ConnectivityCheckParameters) GetVaultIdOk() (*string, bool) {
if o == nil || IsNil(o.VaultId) {
return nil, false
}
return o.VaultId, true
}
// HasVaultId returns a boolean if a field has been set.
func (o *ConnectivityCheckParameters) HasVaultId() bool {
if o != nil && !IsNil(o.VaultId) {
return true
}
return false
}
// SetVaultId gets a reference to the given string and assigns it to the VaultId field.
func (o *ConnectivityCheckParameters) SetVaultId(v string) {
o.VaultId = &v
}
// GetHashicorpVaultEngine returns the HashicorpVaultEngine field value if set, zero value otherwise.
func (o *ConnectivityCheckParameters) GetHashicorpVaultEngine() string {
if o == nil || IsNil(o.HashicorpVaultEngine) {
var ret string
return ret
}
return *o.HashicorpVaultEngine
}
// GetHashicorpVaultEngineOk returns a tuple with the HashicorpVaultEngine field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ConnectivityCheckParameters) GetHashicorpVaultEngineOk() (*string, bool) {
if o == nil || IsNil(o.HashicorpVaultEngine) {
return nil, false
}
return o.HashicorpVaultEngine, true
}
// HasHashicorpVaultEngine returns a boolean if a field has been set.
func (o *ConnectivityCheckParameters) HasHashicorpVaultEngine() bool {
if o != nil && !IsNil(o.HashicorpVaultEngine) {
return true
}
return false
}
// SetHashicorpVaultEngine gets a reference to the given string and assigns it to the HashicorpVaultEngine field.
func (o *ConnectivityCheckParameters) SetHashicorpVaultEngine(v string) {
o.HashicorpVaultEngine = &v
}
// GetHashicorpVaultSecretPath returns the HashicorpVaultSecretPath field value if set, zero value otherwise.
func (o *ConnectivityCheckParameters) GetHashicorpVaultSecretPath() string {
if o == nil || IsNil(o.HashicorpVaultSecretPath) {
var ret string
return ret
}
return *o.HashicorpVaultSecretPath
}
// GetHashicorpVaultSecretPathOk returns a tuple with the HashicorpVaultSecretPath field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ConnectivityCheckParameters) GetHashicorpVaultSecretPathOk() (*string, bool) {
if o == nil || IsNil(o.HashicorpVaultSecretPath) {
return nil, false
}
return o.HashicorpVaultSecretPath, true
}
// HasHashicorpVaultSecretPath returns a boolean if a field has been set.
func (o *ConnectivityCheckParameters) HasHashicorpVaultSecretPath() bool {
if o != nil && !IsNil(o.HashicorpVaultSecretPath) {
return true
}
return false
}
// SetHashicorpVaultSecretPath gets a reference to the given string and assigns it to the HashicorpVaultSecretPath field.
func (o *ConnectivityCheckParameters) SetHashicorpVaultSecretPath(v string) {
o.HashicorpVaultSecretPath = &v
}
// GetHashicorpVaultUsernameKey returns the HashicorpVaultUsernameKey field value if set, zero value otherwise.
func (o *ConnectivityCheckParameters) GetHashicorpVaultUsernameKey() string {
if o == nil || IsNil(o.HashicorpVaultUsernameKey) {
var ret string
return ret
}
return *o.HashicorpVaultUsernameKey
}
// GetHashicorpVaultUsernameKeyOk returns a tuple with the HashicorpVaultUsernameKey field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ConnectivityCheckParameters) GetHashicorpVaultUsernameKeyOk() (*string, bool) {
if o == nil || IsNil(o.HashicorpVaultUsernameKey) {
return nil, false
}
return o.HashicorpVaultUsernameKey, true
}
// HasHashicorpVaultUsernameKey returns a boolean if a field has been set.
func (o *ConnectivityCheckParameters) HasHashicorpVaultUsernameKey() bool {
if o != nil && !IsNil(o.HashicorpVaultUsernameKey) {
return true
}
return false
}
// SetHashicorpVaultUsernameKey gets a reference to the given string and assigns it to the HashicorpVaultUsernameKey field.
func (o *ConnectivityCheckParameters) SetHashicorpVaultUsernameKey(v string) {
o.HashicorpVaultUsernameKey = &v
}
// GetHashicorpVaultSecretKey returns the HashicorpVaultSecretKey field value if set, zero value otherwise.
func (o *ConnectivityCheckParameters) GetHashicorpVaultSecretKey() string {
if o == nil || IsNil(o.HashicorpVaultSecretKey) {
var ret string
return ret
}
return *o.HashicorpVaultSecretKey
}
// GetHashicorpVaultSecretKeyOk returns a tuple with the HashicorpVaultSecretKey field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ConnectivityCheckParameters) GetHashicorpVaultSecretKeyOk() (*string, bool) {
if o == nil || IsNil(o.HashicorpVaultSecretKey) {
return nil, false
}
return o.HashicorpVaultSecretKey, true
}
// HasHashicorpVaultSecretKey returns a boolean if a field has been set.
func (o *ConnectivityCheckParameters) HasHashicorpVaultSecretKey() bool {
if o != nil && !IsNil(o.HashicorpVaultSecretKey) {
return true
}
return false
}
// SetHashicorpVaultSecretKey gets a reference to the given string and assigns it to the HashicorpVaultSecretKey field.
func (o *ConnectivityCheckParameters) SetHashicorpVaultSecretKey(v string) {
o.HashicorpVaultSecretKey = &v
}
// GetAzureVaultName returns the AzureVaultName field value if set, zero value otherwise.
func (o *ConnectivityCheckParameters) GetAzureVaultName() string {
if o == nil || IsNil(o.AzureVaultName) {
var ret string
return ret
}
return *o.AzureVaultName
}
// GetAzureVaultNameOk returns a tuple with the AzureVaultName field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ConnectivityCheckParameters) GetAzureVaultNameOk() (*string, bool) {
if o == nil || IsNil(o.AzureVaultName) {
return nil, false
}
return o.AzureVaultName, true
}
// HasAzureVaultName returns a boolean if a field has been set.
func (o *ConnectivityCheckParameters) HasAzureVaultName() bool {
if o != nil && !IsNil(o.AzureVaultName) {
return true
}
return false
}
// SetAzureVaultName gets a reference to the given string and assigns it to the AzureVaultName field.
func (o *ConnectivityCheckParameters) SetAzureVaultName(v string) {
o.AzureVaultName = &v
}
// GetAzureVaultUsernameKey returns the AzureVaultUsernameKey field value if set, zero value otherwise.
func (o *ConnectivityCheckParameters) GetAzureVaultUsernameKey() string {
if o == nil || IsNil(o.AzureVaultUsernameKey) {
var ret string
return ret
}
return *o.AzureVaultUsernameKey
}
// GetAzureVaultUsernameKeyOk returns a tuple with the AzureVaultUsernameKey field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ConnectivityCheckParameters) GetAzureVaultUsernameKeyOk() (*string, bool) {
if o == nil || IsNil(o.AzureVaultUsernameKey) {
return nil, false
}
return o.AzureVaultUsernameKey, true
}
// HasAzureVaultUsernameKey returns a boolean if a field has been set.
func (o *ConnectivityCheckParameters) HasAzureVaultUsernameKey() bool {
if o != nil && !IsNil(o.AzureVaultUsernameKey) {
return true
}
return false
}
// SetAzureVaultUsernameKey gets a reference to the given string and assigns it to the AzureVaultUsernameKey field.
func (o *ConnectivityCheckParameters) SetAzureVaultUsernameKey(v string) {
o.AzureVaultUsernameKey = &v
}
// GetAzureVaultSecretKey returns the AzureVaultSecretKey field value if set, zero value otherwise.
func (o *ConnectivityCheckParameters) GetAzureVaultSecretKey() string {
if o == nil || IsNil(o.AzureVaultSecretKey) {
var ret string
return ret
}
return *o.AzureVaultSecretKey
}
// GetAzureVaultSecretKeyOk returns a tuple with the AzureVaultSecretKey field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ConnectivityCheckParameters) GetAzureVaultSecretKeyOk() (*string, bool) {
if o == nil || IsNil(o.AzureVaultSecretKey) {
return nil, false
}
return o.AzureVaultSecretKey, true
}
// HasAzureVaultSecretKey returns a boolean if a field has been set.
func (o *ConnectivityCheckParameters) HasAzureVaultSecretKey() bool {
if o != nil && !IsNil(o.AzureVaultSecretKey) {
return true
}
return false
}
// SetAzureVaultSecretKey gets a reference to the given string and assigns it to the AzureVaultSecretKey field.
func (o *ConnectivityCheckParameters) SetAzureVaultSecretKey(v string) {
o.AzureVaultSecretKey = &v
}
// GetCyberarkVaultQueryString returns the CyberarkVaultQueryString field value if set, zero value otherwise.
func (o *ConnectivityCheckParameters) GetCyberarkVaultQueryString() string {
if o == nil || IsNil(o.CyberarkVaultQueryString) {
var ret string
return ret
}
return *o.CyberarkVaultQueryString
}
// GetCyberarkVaultQueryStringOk returns a tuple with the CyberarkVaultQueryString field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ConnectivityCheckParameters) GetCyberarkVaultQueryStringOk() (*string, bool) {
if o == nil || IsNil(o.CyberarkVaultQueryString) {
return nil, false
}
return o.CyberarkVaultQueryString, true
}
// HasCyberarkVaultQueryString returns a boolean if a field has been set.
func (o *ConnectivityCheckParameters) HasCyberarkVaultQueryString() bool {
if o != nil && !IsNil(o.CyberarkVaultQueryString) {
return true
}
return false
}
// SetCyberarkVaultQueryString gets a reference to the given string and assigns it to the CyberarkVaultQueryString field.
func (o *ConnectivityCheckParameters) SetCyberarkVaultQueryString(v string) {
o.CyberarkVaultQueryString = &v
}
// GetUseKerberosAuthentication returns the UseKerberosAuthentication field value if set, zero value otherwise.
func (o *ConnectivityCheckParameters) GetUseKerberosAuthentication() bool {
if o == nil || IsNil(o.UseKerberosAuthentication) {
var ret bool
return ret
}
return *o.UseKerberosAuthentication
}
// GetUseKerberosAuthenticationOk returns a tuple with the UseKerberosAuthentication field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ConnectivityCheckParameters) GetUseKerberosAuthenticationOk() (*bool, bool) {
if o == nil || IsNil(o.UseKerberosAuthentication) {
return nil, false
}
return o.UseKerberosAuthentication, true
}
// HasUseKerberosAuthentication returns a boolean if a field has been set.
func (o *ConnectivityCheckParameters) HasUseKerberosAuthentication() bool {
if o != nil && !IsNil(o.UseKerberosAuthentication) {
return true
}
return false
}
// SetUseKerberosAuthentication gets a reference to the given bool and assigns it to the UseKerberosAuthentication field.
func (o *ConnectivityCheckParameters) SetUseKerberosAuthentication(v bool) {
o.UseKerberosAuthentication = &v
}
func (o ConnectivityCheckParameters) MarshalJSON() ([]byte, error) {
toSerialize,err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o ConnectivityCheckParameters) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
toSerialize["engine_id"] = o.EngineId
if !IsNil(o.UseEnginePublicKey) {
toSerialize["use_engine_public_key"] = o.UseEnginePublicKey
}
if !IsNil(o.OsName) {
toSerialize["os_name"] = o.OsName
}
if !IsNil(o.StagingEnvironment) {
toSerialize["staging_environment"] = o.StagingEnvironment
}
toSerialize["host"] = o.Host
toSerialize["port"] = o.Port.Get()
if !IsNil(o.Username) {
toSerialize["username"] = o.Username
}
if !IsNil(o.Password) {
toSerialize["password"] = o.Password
}
if !IsNil(o.VaultId) {
toSerialize["vault_id"] = o.VaultId
}
if !IsNil(o.HashicorpVaultEngine) {
toSerialize["hashicorp_vault_engine"] = o.HashicorpVaultEngine
}
if !IsNil(o.HashicorpVaultSecretPath) {
toSerialize["hashicorp_vault_secret_path"] = o.HashicorpVaultSecretPath
}
if !IsNil(o.HashicorpVaultUsernameKey) {
toSerialize["hashicorp_vault_username_key"] = o.HashicorpVaultUsernameKey
}
if !IsNil(o.HashicorpVaultSecretKey) {
toSerialize["hashicorp_vault_secret_key"] = o.HashicorpVaultSecretKey
}
if !IsNil(o.AzureVaultName) {
toSerialize["azure_vault_name"] = o.AzureVaultName
}
if !IsNil(o.AzureVaultUsernameKey) {
toSerialize["azure_vault_username_key"] = o.AzureVaultUsernameKey
}
if !IsNil(o.AzureVaultSecretKey) {
toSerialize["azure_vault_secret_key"] = o.AzureVaultSecretKey
}
if !IsNil(o.CyberarkVaultQueryString) {
toSerialize["cyberark_vault_query_string"] = o.CyberarkVaultQueryString
}
if !IsNil(o.UseKerberosAuthentication) {
toSerialize["use_kerberos_authentication"] = o.UseKerberosAuthentication
}
return toSerialize, nil
}
type NullableConnectivityCheckParameters struct {
value *ConnectivityCheckParameters
isSet bool
}
func (v NullableConnectivityCheckParameters) Get() *ConnectivityCheckParameters {
return v.value
}
func (v *NullableConnectivityCheckParameters) Set(val *ConnectivityCheckParameters) {
v.value = val
v.isSet = true
}
func (v NullableConnectivityCheckParameters) IsSet() bool {
return v.isSet
}
func (v *NullableConnectivityCheckParameters) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableConnectivityCheckParameters(val *ConnectivityCheckParameters) *NullableConnectivityCheckParameters {
return &NullableConnectivityCheckParameters{value: val, isSet: true}
}
func (v NullableConnectivityCheckParameters) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableConnectivityCheckParameters) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}