-
Notifications
You must be signed in to change notification settings - Fork 2
/
model_update_item.go
1658 lines (1432 loc) · 52.2 KB
/
model_update_item.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
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
* Akeyless API
*
* The purpose of this application is to provide access to Akeyless API.
*
* API version: 2.0
* Contact: support@akeyless.io
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package akeyless
import (
"encoding/json"
)
// UpdateItem struct for UpdateItem
type UpdateItem struct {
ProviderType *string `json:"ProviderType,omitempty"`
// for personal password manager
Accessibility *string `json:"accessibility,omitempty"`
// List of the new tags that will be attached to this item
AddTag *[]string `json:"add-tag,omitempty"`
// PEM Certificate in a Base64 format. Used for updating RSA keys' certificates.
CertFileData *string `json:"cert-file-data,omitempty"`
// Trigger an event when a secret value changed [true/false] (Relevant only for Static Secret)
ChangeEvent *string `json:"change-event,omitempty"`
// Protection from accidental deletion of this item [true/false]
DeleteProtection *string `json:"delete_protection,omitempty"`
// Description of the object
Description *string `json:"description,omitempty"`
// Host provider type [explicit/target], Relevant only for Secure Remote Access of ssh cert issuer and ldap rotated secret
HostProvider *string `json:"host-provider,omitempty"`
// Set output format to JSON
Json *bool `json:"json,omitempty"`
// Set the maximum number of versions, limited by the account settings defaults.
MaxVersions *string `json:"max-versions,omitempty"`
// Current item name
Name string `json:"name"`
// Deprecated - use description
NewMetadata *string `json:"new-metadata,omitempty"`
// New item name
NewName *string `json:"new-name,omitempty"`
// List of the existent tags that will be removed from this item
RmTag *[]string `json:"rm-tag,omitempty"`
// Rotate the value of the secret after SRA session ends [true/false]
RotateAfterDisconnect *string `json:"rotate-after-disconnect,omitempty"`
// List of the new hosts that will be attached to SRA servers host
SecureAccessAddHost *[]string `json:"secure-access-add-host,omitempty"`
// Allow providing external user for a domain users [true/false]
SecureAccessAllowExternalUser *string `json:"secure-access-allow-external-user,omitempty"`
// Enable Port forwarding while using CLI access (relevant only for EKS/GKE/K8s Dynamic-Secret)
SecureAccessAllowPortForwading *bool `json:"secure-access-allow-port-forwading,omitempty"`
// The AWS account id (relevant only for aws)
SecureAccessAwsAccountId *string `json:"secure-access-aws-account-id,omitempty"`
// The AWS native cli (relevant only for aws)
SecureAccessAwsNativeCli *bool `json:"secure-access-aws-native-cli,omitempty"`
// The AWS region (relevant only for aws)
SecureAccessAwsRegion *string `json:"secure-access-aws-region,omitempty"`
// Bastion's SSH control API endpoint. E.g. https://my.bastion:9900 (relevant only for ssh cert issuer)
SecureAccessBastionApi *string `json:"secure-access-bastion-api,omitempty"`
// Path to the SSH Certificate Issuer for your Akeyless Bastion
SecureAccessBastionIssuer *string `json:"secure-access-bastion-issuer,omitempty"`
// Bastion's SSH server. E.g. my.bastion:22 (relevant only for ssh cert issuer)
SecureAccessBastionSsh *string `json:"secure-access-bastion-ssh,omitempty"`
// The K8s cluster endpoint URL (relevant only for EKS/GKE/K8s Dynamic-Secret)
SecureAccessClusterEndpoint *string `json:"secure-access-cluster-endpoint,omitempty"`
// The K8s dashboard url (relevant only for k8s)
SecureAccessDashboardUrl *string `json:"secure-access-dashboard-url,omitempty"`
// The DB name (relevant only for DB Dynamic-Secret)
SecureAccessDbName *string `json:"secure-access-db-name,omitempty"`
// The DB schema (relevant only for DB Dynamic-Secret)
SecureAccessDbSchema *string `json:"secure-access-db-schema,omitempty"`
// Enable/Disable secure remote access [true/false]
SecureAccessEnable *string `json:"secure-access-enable,omitempty"`
// Target servers for connections (In case of Linked Target association, host(s) will inherit Linked Target hosts - Relevant only for Dynamic Secrets/producers)
SecureAccessHost *[]string `json:"secure-access-host,omitempty"`
// RD Gateway server (relevant only for rdp)
SecureAccessRdGatewayServer *string `json:"secure-access-rd-gateway-server,omitempty"`
// Required when the Dynamic Secret is used for a domain user (relevant only for RDP Dynamic-Secret)
SecureAccessRdpDomain *string `json:"secure-access-rdp-domain,omitempty"`
// Override the RDP Domain username
SecureAccessRdpUser *string `json:"secure-access-rdp-user,omitempty"`
// List of the existent hosts that will be removed from SRA servers host
SecureAccessRmHost *[]string `json:"secure-access-rm-host,omitempty"`
// Secret values contains SSH Credentials, either Private Key or Password [password/private-key] (relevant only for Static-Secret or Rotated-secret)
SecureAccessSshCreds *string `json:"secure-access-ssh-creds,omitempty"`
// SSH username to connect to target server, must be in 'Allowed Users' list (relevant only for ssh cert issuer)
SecureAccessSshCredsUser *string `json:"secure-access-ssh-creds-user,omitempty"`
// Destination URL to inject secrets
SecureAccessUrl *string `json:"secure-access-url,omitempty"`
// Use internal SSH Bastion
SecureAccessUseInternalBastion *bool `json:"secure-access-use-internal-bastion,omitempty"`
// Secure browser via Akeyless Web Access Bastion
SecureAccessWebBrowsing *bool `json:"secure-access-web-browsing,omitempty"`
// Web-Proxy via Akeyless Web Access Bastion
SecureAccessWebProxy *bool `json:"secure-access-web-proxy,omitempty"`
// Authentication token (see `/auth` and `/configure`)
Token *string `json:"token,omitempty"`
// The universal identity token, Required only for universal_identity authentication
UidToken *string `json:"uid-token,omitempty"`
}
// NewUpdateItem instantiates a new UpdateItem 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 NewUpdateItem(name string, ) *UpdateItem {
this := UpdateItem{}
var accessibility string = "regular"
this.Accessibility = &accessibility
var description string = "default_metadata"
this.Description = &description
var hostProvider string = "explicit"
this.HostProvider = &hostProvider
var json bool = false
this.Json = &json
this.Name = name
var newMetadata string = "default_metadata"
this.NewMetadata = &newMetadata
var rotateAfterDisconnect string = "false"
this.RotateAfterDisconnect = &rotateAfterDisconnect
var secureAccessWebBrowsing bool = false
this.SecureAccessWebBrowsing = &secureAccessWebBrowsing
var secureAccessWebProxy bool = false
this.SecureAccessWebProxy = &secureAccessWebProxy
return &this
}
// NewUpdateItemWithDefaults instantiates a new UpdateItem 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 NewUpdateItemWithDefaults() *UpdateItem {
this := UpdateItem{}
var accessibility string = "regular"
this.Accessibility = &accessibility
var description string = "default_metadata"
this.Description = &description
var hostProvider string = "explicit"
this.HostProvider = &hostProvider
var json bool = false
this.Json = &json
var newMetadata string = "default_metadata"
this.NewMetadata = &newMetadata
var rotateAfterDisconnect string = "false"
this.RotateAfterDisconnect = &rotateAfterDisconnect
var secureAccessWebBrowsing bool = false
this.SecureAccessWebBrowsing = &secureAccessWebBrowsing
var secureAccessWebProxy bool = false
this.SecureAccessWebProxy = &secureAccessWebProxy
return &this
}
// GetProviderType returns the ProviderType field value if set, zero value otherwise.
func (o *UpdateItem) GetProviderType() string {
if o == nil || o.ProviderType == nil {
var ret string
return ret
}
return *o.ProviderType
}
// GetProviderTypeOk returns a tuple with the ProviderType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateItem) GetProviderTypeOk() (*string, bool) {
if o == nil || o.ProviderType == nil {
return nil, false
}
return o.ProviderType, true
}
// HasProviderType returns a boolean if a field has been set.
func (o *UpdateItem) HasProviderType() bool {
if o != nil && o.ProviderType != nil {
return true
}
return false
}
// SetProviderType gets a reference to the given string and assigns it to the ProviderType field.
func (o *UpdateItem) SetProviderType(v string) {
o.ProviderType = &v
}
// GetAccessibility returns the Accessibility field value if set, zero value otherwise.
func (o *UpdateItem) GetAccessibility() string {
if o == nil || o.Accessibility == nil {
var ret string
return ret
}
return *o.Accessibility
}
// GetAccessibilityOk returns a tuple with the Accessibility field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateItem) GetAccessibilityOk() (*string, bool) {
if o == nil || o.Accessibility == nil {
return nil, false
}
return o.Accessibility, true
}
// HasAccessibility returns a boolean if a field has been set.
func (o *UpdateItem) HasAccessibility() bool {
if o != nil && o.Accessibility != nil {
return true
}
return false
}
// SetAccessibility gets a reference to the given string and assigns it to the Accessibility field.
func (o *UpdateItem) SetAccessibility(v string) {
o.Accessibility = &v
}
// GetAddTag returns the AddTag field value if set, zero value otherwise.
func (o *UpdateItem) GetAddTag() []string {
if o == nil || o.AddTag == nil {
var ret []string
return ret
}
return *o.AddTag
}
// GetAddTagOk returns a tuple with the AddTag field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateItem) GetAddTagOk() (*[]string, bool) {
if o == nil || o.AddTag == nil {
return nil, false
}
return o.AddTag, true
}
// HasAddTag returns a boolean if a field has been set.
func (o *UpdateItem) HasAddTag() bool {
if o != nil && o.AddTag != nil {
return true
}
return false
}
// SetAddTag gets a reference to the given []string and assigns it to the AddTag field.
func (o *UpdateItem) SetAddTag(v []string) {
o.AddTag = &v
}
// GetCertFileData returns the CertFileData field value if set, zero value otherwise.
func (o *UpdateItem) GetCertFileData() string {
if o == nil || o.CertFileData == nil {
var ret string
return ret
}
return *o.CertFileData
}
// GetCertFileDataOk returns a tuple with the CertFileData field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateItem) GetCertFileDataOk() (*string, bool) {
if o == nil || o.CertFileData == nil {
return nil, false
}
return o.CertFileData, true
}
// HasCertFileData returns a boolean if a field has been set.
func (o *UpdateItem) HasCertFileData() bool {
if o != nil && o.CertFileData != nil {
return true
}
return false
}
// SetCertFileData gets a reference to the given string and assigns it to the CertFileData field.
func (o *UpdateItem) SetCertFileData(v string) {
o.CertFileData = &v
}
// GetChangeEvent returns the ChangeEvent field value if set, zero value otherwise.
func (o *UpdateItem) GetChangeEvent() string {
if o == nil || o.ChangeEvent == nil {
var ret string
return ret
}
return *o.ChangeEvent
}
// GetChangeEventOk returns a tuple with the ChangeEvent field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateItem) GetChangeEventOk() (*string, bool) {
if o == nil || o.ChangeEvent == nil {
return nil, false
}
return o.ChangeEvent, true
}
// HasChangeEvent returns a boolean if a field has been set.
func (o *UpdateItem) HasChangeEvent() bool {
if o != nil && o.ChangeEvent != nil {
return true
}
return false
}
// SetChangeEvent gets a reference to the given string and assigns it to the ChangeEvent field.
func (o *UpdateItem) SetChangeEvent(v string) {
o.ChangeEvent = &v
}
// GetDeleteProtection returns the DeleteProtection field value if set, zero value otherwise.
func (o *UpdateItem) GetDeleteProtection() string {
if o == nil || o.DeleteProtection == nil {
var ret string
return ret
}
return *o.DeleteProtection
}
// GetDeleteProtectionOk returns a tuple with the DeleteProtection field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateItem) GetDeleteProtectionOk() (*string, bool) {
if o == nil || o.DeleteProtection == nil {
return nil, false
}
return o.DeleteProtection, true
}
// HasDeleteProtection returns a boolean if a field has been set.
func (o *UpdateItem) HasDeleteProtection() bool {
if o != nil && o.DeleteProtection != nil {
return true
}
return false
}
// SetDeleteProtection gets a reference to the given string and assigns it to the DeleteProtection field.
func (o *UpdateItem) SetDeleteProtection(v string) {
o.DeleteProtection = &v
}
// GetDescription returns the Description field value if set, zero value otherwise.
func (o *UpdateItem) GetDescription() string {
if o == nil || o.Description == nil {
var ret string
return ret
}
return *o.Description
}
// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateItem) GetDescriptionOk() (*string, bool) {
if o == nil || o.Description == nil {
return nil, false
}
return o.Description, true
}
// HasDescription returns a boolean if a field has been set.
func (o *UpdateItem) HasDescription() bool {
if o != nil && o.Description != nil {
return true
}
return false
}
// SetDescription gets a reference to the given string and assigns it to the Description field.
func (o *UpdateItem) SetDescription(v string) {
o.Description = &v
}
// GetHostProvider returns the HostProvider field value if set, zero value otherwise.
func (o *UpdateItem) GetHostProvider() string {
if o == nil || o.HostProvider == nil {
var ret string
return ret
}
return *o.HostProvider
}
// GetHostProviderOk returns a tuple with the HostProvider field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateItem) GetHostProviderOk() (*string, bool) {
if o == nil || o.HostProvider == nil {
return nil, false
}
return o.HostProvider, true
}
// HasHostProvider returns a boolean if a field has been set.
func (o *UpdateItem) HasHostProvider() bool {
if o != nil && o.HostProvider != nil {
return true
}
return false
}
// SetHostProvider gets a reference to the given string and assigns it to the HostProvider field.
func (o *UpdateItem) SetHostProvider(v string) {
o.HostProvider = &v
}
// GetJson returns the Json field value if set, zero value otherwise.
func (o *UpdateItem) GetJson() bool {
if o == nil || o.Json == nil {
var ret bool
return ret
}
return *o.Json
}
// GetJsonOk returns a tuple with the Json field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateItem) GetJsonOk() (*bool, bool) {
if o == nil || o.Json == nil {
return nil, false
}
return o.Json, true
}
// HasJson returns a boolean if a field has been set.
func (o *UpdateItem) HasJson() bool {
if o != nil && o.Json != nil {
return true
}
return false
}
// SetJson gets a reference to the given bool and assigns it to the Json field.
func (o *UpdateItem) SetJson(v bool) {
o.Json = &v
}
// GetMaxVersions returns the MaxVersions field value if set, zero value otherwise.
func (o *UpdateItem) GetMaxVersions() string {
if o == nil || o.MaxVersions == nil {
var ret string
return ret
}
return *o.MaxVersions
}
// GetMaxVersionsOk returns a tuple with the MaxVersions field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateItem) GetMaxVersionsOk() (*string, bool) {
if o == nil || o.MaxVersions == nil {
return nil, false
}
return o.MaxVersions, true
}
// HasMaxVersions returns a boolean if a field has been set.
func (o *UpdateItem) HasMaxVersions() bool {
if o != nil && o.MaxVersions != nil {
return true
}
return false
}
// SetMaxVersions gets a reference to the given string and assigns it to the MaxVersions field.
func (o *UpdateItem) SetMaxVersions(v string) {
o.MaxVersions = &v
}
// GetName returns the Name field value
func (o *UpdateItem) 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 *UpdateItem) GetNameOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.Name, true
}
// SetName sets field value
func (o *UpdateItem) SetName(v string) {
o.Name = v
}
// GetNewMetadata returns the NewMetadata field value if set, zero value otherwise.
func (o *UpdateItem) GetNewMetadata() string {
if o == nil || o.NewMetadata == nil {
var ret string
return ret
}
return *o.NewMetadata
}
// GetNewMetadataOk returns a tuple with the NewMetadata field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateItem) GetNewMetadataOk() (*string, bool) {
if o == nil || o.NewMetadata == nil {
return nil, false
}
return o.NewMetadata, true
}
// HasNewMetadata returns a boolean if a field has been set.
func (o *UpdateItem) HasNewMetadata() bool {
if o != nil && o.NewMetadata != nil {
return true
}
return false
}
// SetNewMetadata gets a reference to the given string and assigns it to the NewMetadata field.
func (o *UpdateItem) SetNewMetadata(v string) {
o.NewMetadata = &v
}
// GetNewName returns the NewName field value if set, zero value otherwise.
func (o *UpdateItem) GetNewName() string {
if o == nil || o.NewName == nil {
var ret string
return ret
}
return *o.NewName
}
// GetNewNameOk returns a tuple with the NewName field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateItem) GetNewNameOk() (*string, bool) {
if o == nil || o.NewName == nil {
return nil, false
}
return o.NewName, true
}
// HasNewName returns a boolean if a field has been set.
func (o *UpdateItem) HasNewName() bool {
if o != nil && o.NewName != nil {
return true
}
return false
}
// SetNewName gets a reference to the given string and assigns it to the NewName field.
func (o *UpdateItem) SetNewName(v string) {
o.NewName = &v
}
// GetRmTag returns the RmTag field value if set, zero value otherwise.
func (o *UpdateItem) GetRmTag() []string {
if o == nil || o.RmTag == nil {
var ret []string
return ret
}
return *o.RmTag
}
// GetRmTagOk returns a tuple with the RmTag field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateItem) GetRmTagOk() (*[]string, bool) {
if o == nil || o.RmTag == nil {
return nil, false
}
return o.RmTag, true
}
// HasRmTag returns a boolean if a field has been set.
func (o *UpdateItem) HasRmTag() bool {
if o != nil && o.RmTag != nil {
return true
}
return false
}
// SetRmTag gets a reference to the given []string and assigns it to the RmTag field.
func (o *UpdateItem) SetRmTag(v []string) {
o.RmTag = &v
}
// GetRotateAfterDisconnect returns the RotateAfterDisconnect field value if set, zero value otherwise.
func (o *UpdateItem) GetRotateAfterDisconnect() string {
if o == nil || o.RotateAfterDisconnect == nil {
var ret string
return ret
}
return *o.RotateAfterDisconnect
}
// GetRotateAfterDisconnectOk returns a tuple with the RotateAfterDisconnect field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateItem) GetRotateAfterDisconnectOk() (*string, bool) {
if o == nil || o.RotateAfterDisconnect == nil {
return nil, false
}
return o.RotateAfterDisconnect, true
}
// HasRotateAfterDisconnect returns a boolean if a field has been set.
func (o *UpdateItem) HasRotateAfterDisconnect() bool {
if o != nil && o.RotateAfterDisconnect != nil {
return true
}
return false
}
// SetRotateAfterDisconnect gets a reference to the given string and assigns it to the RotateAfterDisconnect field.
func (o *UpdateItem) SetRotateAfterDisconnect(v string) {
o.RotateAfterDisconnect = &v
}
// GetSecureAccessAddHost returns the SecureAccessAddHost field value if set, zero value otherwise.
func (o *UpdateItem) GetSecureAccessAddHost() []string {
if o == nil || o.SecureAccessAddHost == nil {
var ret []string
return ret
}
return *o.SecureAccessAddHost
}
// GetSecureAccessAddHostOk returns a tuple with the SecureAccessAddHost field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateItem) GetSecureAccessAddHostOk() (*[]string, bool) {
if o == nil || o.SecureAccessAddHost == nil {
return nil, false
}
return o.SecureAccessAddHost, true
}
// HasSecureAccessAddHost returns a boolean if a field has been set.
func (o *UpdateItem) HasSecureAccessAddHost() bool {
if o != nil && o.SecureAccessAddHost != nil {
return true
}
return false
}
// SetSecureAccessAddHost gets a reference to the given []string and assigns it to the SecureAccessAddHost field.
func (o *UpdateItem) SetSecureAccessAddHost(v []string) {
o.SecureAccessAddHost = &v
}
// GetSecureAccessAllowExternalUser returns the SecureAccessAllowExternalUser field value if set, zero value otherwise.
func (o *UpdateItem) GetSecureAccessAllowExternalUser() string {
if o == nil || o.SecureAccessAllowExternalUser == nil {
var ret string
return ret
}
return *o.SecureAccessAllowExternalUser
}
// GetSecureAccessAllowExternalUserOk returns a tuple with the SecureAccessAllowExternalUser field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateItem) GetSecureAccessAllowExternalUserOk() (*string, bool) {
if o == nil || o.SecureAccessAllowExternalUser == nil {
return nil, false
}
return o.SecureAccessAllowExternalUser, true
}
// HasSecureAccessAllowExternalUser returns a boolean if a field has been set.
func (o *UpdateItem) HasSecureAccessAllowExternalUser() bool {
if o != nil && o.SecureAccessAllowExternalUser != nil {
return true
}
return false
}
// SetSecureAccessAllowExternalUser gets a reference to the given string and assigns it to the SecureAccessAllowExternalUser field.
func (o *UpdateItem) SetSecureAccessAllowExternalUser(v string) {
o.SecureAccessAllowExternalUser = &v
}
// GetSecureAccessAllowPortForwading returns the SecureAccessAllowPortForwading field value if set, zero value otherwise.
func (o *UpdateItem) GetSecureAccessAllowPortForwading() bool {
if o == nil || o.SecureAccessAllowPortForwading == nil {
var ret bool
return ret
}
return *o.SecureAccessAllowPortForwading
}
// GetSecureAccessAllowPortForwadingOk returns a tuple with the SecureAccessAllowPortForwading field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateItem) GetSecureAccessAllowPortForwadingOk() (*bool, bool) {
if o == nil || o.SecureAccessAllowPortForwading == nil {
return nil, false
}
return o.SecureAccessAllowPortForwading, true
}
// HasSecureAccessAllowPortForwading returns a boolean if a field has been set.
func (o *UpdateItem) HasSecureAccessAllowPortForwading() bool {
if o != nil && o.SecureAccessAllowPortForwading != nil {
return true
}
return false
}
// SetSecureAccessAllowPortForwading gets a reference to the given bool and assigns it to the SecureAccessAllowPortForwading field.
func (o *UpdateItem) SetSecureAccessAllowPortForwading(v bool) {
o.SecureAccessAllowPortForwading = &v
}
// GetSecureAccessAwsAccountId returns the SecureAccessAwsAccountId field value if set, zero value otherwise.
func (o *UpdateItem) GetSecureAccessAwsAccountId() string {
if o == nil || o.SecureAccessAwsAccountId == nil {
var ret string
return ret
}
return *o.SecureAccessAwsAccountId
}
// GetSecureAccessAwsAccountIdOk returns a tuple with the SecureAccessAwsAccountId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateItem) GetSecureAccessAwsAccountIdOk() (*string, bool) {
if o == nil || o.SecureAccessAwsAccountId == nil {
return nil, false
}
return o.SecureAccessAwsAccountId, true
}
// HasSecureAccessAwsAccountId returns a boolean if a field has been set.
func (o *UpdateItem) HasSecureAccessAwsAccountId() bool {
if o != nil && o.SecureAccessAwsAccountId != nil {
return true
}
return false
}
// SetSecureAccessAwsAccountId gets a reference to the given string and assigns it to the SecureAccessAwsAccountId field.
func (o *UpdateItem) SetSecureAccessAwsAccountId(v string) {
o.SecureAccessAwsAccountId = &v
}
// GetSecureAccessAwsNativeCli returns the SecureAccessAwsNativeCli field value if set, zero value otherwise.
func (o *UpdateItem) GetSecureAccessAwsNativeCli() bool {
if o == nil || o.SecureAccessAwsNativeCli == nil {
var ret bool
return ret
}
return *o.SecureAccessAwsNativeCli
}
// GetSecureAccessAwsNativeCliOk returns a tuple with the SecureAccessAwsNativeCli field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateItem) GetSecureAccessAwsNativeCliOk() (*bool, bool) {
if o == nil || o.SecureAccessAwsNativeCli == nil {
return nil, false
}
return o.SecureAccessAwsNativeCli, true
}
// HasSecureAccessAwsNativeCli returns a boolean if a field has been set.
func (o *UpdateItem) HasSecureAccessAwsNativeCli() bool {
if o != nil && o.SecureAccessAwsNativeCli != nil {
return true
}
return false
}
// SetSecureAccessAwsNativeCli gets a reference to the given bool and assigns it to the SecureAccessAwsNativeCli field.
func (o *UpdateItem) SetSecureAccessAwsNativeCli(v bool) {
o.SecureAccessAwsNativeCli = &v
}
// GetSecureAccessAwsRegion returns the SecureAccessAwsRegion field value if set, zero value otherwise.
func (o *UpdateItem) GetSecureAccessAwsRegion() string {
if o == nil || o.SecureAccessAwsRegion == nil {
var ret string
return ret
}
return *o.SecureAccessAwsRegion
}
// GetSecureAccessAwsRegionOk returns a tuple with the SecureAccessAwsRegion field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateItem) GetSecureAccessAwsRegionOk() (*string, bool) {
if o == nil || o.SecureAccessAwsRegion == nil {
return nil, false
}
return o.SecureAccessAwsRegion, true
}
// HasSecureAccessAwsRegion returns a boolean if a field has been set.
func (o *UpdateItem) HasSecureAccessAwsRegion() bool {
if o != nil && o.SecureAccessAwsRegion != nil {
return true
}
return false
}
// SetSecureAccessAwsRegion gets a reference to the given string and assigns it to the SecureAccessAwsRegion field.
func (o *UpdateItem) SetSecureAccessAwsRegion(v string) {
o.SecureAccessAwsRegion = &v
}
// GetSecureAccessBastionApi returns the SecureAccessBastionApi field value if set, zero value otherwise.
func (o *UpdateItem) GetSecureAccessBastionApi() string {
if o == nil || o.SecureAccessBastionApi == nil {
var ret string
return ret
}
return *o.SecureAccessBastionApi
}
// GetSecureAccessBastionApiOk returns a tuple with the SecureAccessBastionApi field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateItem) GetSecureAccessBastionApiOk() (*string, bool) {
if o == nil || o.SecureAccessBastionApi == nil {
return nil, false
}
return o.SecureAccessBastionApi, true
}
// HasSecureAccessBastionApi returns a boolean if a field has been set.
func (o *UpdateItem) HasSecureAccessBastionApi() bool {
if o != nil && o.SecureAccessBastionApi != nil {
return true
}
return false
}
// SetSecureAccessBastionApi gets a reference to the given string and assigns it to the SecureAccessBastionApi field.
func (o *UpdateItem) SetSecureAccessBastionApi(v string) {
o.SecureAccessBastionApi = &v
}
// GetSecureAccessBastionIssuer returns the SecureAccessBastionIssuer field value if set, zero value otherwise.
func (o *UpdateItem) GetSecureAccessBastionIssuer() string {
if o == nil || o.SecureAccessBastionIssuer == nil {
var ret string
return ret
}
return *o.SecureAccessBastionIssuer
}
// GetSecureAccessBastionIssuerOk returns a tuple with the SecureAccessBastionIssuer field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateItem) GetSecureAccessBastionIssuerOk() (*string, bool) {
if o == nil || o.SecureAccessBastionIssuer == nil {
return nil, false
}
return o.SecureAccessBastionIssuer, true
}
// HasSecureAccessBastionIssuer returns a boolean if a field has been set.
func (o *UpdateItem) HasSecureAccessBastionIssuer() bool {
if o != nil && o.SecureAccessBastionIssuer != nil {
return true
}
return false
}
// SetSecureAccessBastionIssuer gets a reference to the given string and assigns it to the SecureAccessBastionIssuer field.
func (o *UpdateItem) SetSecureAccessBastionIssuer(v string) {
o.SecureAccessBastionIssuer = &v
}
// GetSecureAccessBastionSsh returns the SecureAccessBastionSsh field value if set, zero value otherwise.
func (o *UpdateItem) GetSecureAccessBastionSsh() string {
if o == nil || o.SecureAccessBastionSsh == nil {
var ret string
return ret
}
return *o.SecureAccessBastionSsh
}
// GetSecureAccessBastionSshOk returns a tuple with the SecureAccessBastionSsh field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateItem) GetSecureAccessBastionSshOk() (*string, bool) {
if o == nil || o.SecureAccessBastionSsh == nil {
return nil, false
}
return o.SecureAccessBastionSsh, true
}
// HasSecureAccessBastionSsh returns a boolean if a field has been set.
func (o *UpdateItem) HasSecureAccessBastionSsh() bool {
if o != nil && o.SecureAccessBastionSsh != nil {
return true
}
return false
}
// SetSecureAccessBastionSsh gets a reference to the given string and assigns it to the SecureAccessBastionSsh field.
func (o *UpdateItem) SetSecureAccessBastionSsh(v string) {
o.SecureAccessBastionSsh = &v
}
// GetSecureAccessClusterEndpoint returns the SecureAccessClusterEndpoint field value if set, zero value otherwise.
func (o *UpdateItem) GetSecureAccessClusterEndpoint() string {
if o == nil || o.SecureAccessClusterEndpoint == nil {
var ret string
return ret
}
return *o.SecureAccessClusterEndpoint
}
// GetSecureAccessClusterEndpointOk returns a tuple with the SecureAccessClusterEndpoint field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateItem) GetSecureAccessClusterEndpointOk() (*string, bool) {
if o == nil || o.SecureAccessClusterEndpoint == nil {
return nil, false
}
return o.SecureAccessClusterEndpoint, true
}
// HasSecureAccessClusterEndpoint returns a boolean if a field has been set.
func (o *UpdateItem) HasSecureAccessClusterEndpoint() bool {
if o != nil && o.SecureAccessClusterEndpoint != nil {
return true
}
return false
}
// SetSecureAccessClusterEndpoint gets a reference to the given string and assigns it to the SecureAccessClusterEndpoint field.
func (o *UpdateItem) SetSecureAccessClusterEndpoint(v string) {
o.SecureAccessClusterEndpoint = &v
}
// GetSecureAccessDashboardUrl returns the SecureAccessDashboardUrl field value if set, zero value otherwise.
func (o *UpdateItem) GetSecureAccessDashboardUrl() string {
if o == nil || o.SecureAccessDashboardUrl == nil {
var ret string
return ret
}
return *o.SecureAccessDashboardUrl
}
// GetSecureAccessDashboardUrlOk returns a tuple with the SecureAccessDashboardUrl field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateItem) GetSecureAccessDashboardUrlOk() (*string, bool) {
if o == nil || o.SecureAccessDashboardUrl == nil {
return nil, false
}
return o.SecureAccessDashboardUrl, true
}
// HasSecureAccessDashboardUrl returns a boolean if a field has been set.
func (o *UpdateItem) HasSecureAccessDashboardUrl() bool {
if o != nil && o.SecureAccessDashboardUrl != nil {
return true
}
return false
}
// SetSecureAccessDashboardUrl gets a reference to the given string and assigns it to the SecureAccessDashboardUrl field.
func (o *UpdateItem) SetSecureAccessDashboardUrl(v string) {
o.SecureAccessDashboardUrl = &v
}
// GetSecureAccessDbName returns the SecureAccessDbName field value if set, zero value otherwise.
func (o *UpdateItem) GetSecureAccessDbName() string {
if o == nil || o.SecureAccessDbName == nil {
var ret string
return ret
}
return *o.SecureAccessDbName
}
// GetSecureAccessDbNameOk returns a tuple with the SecureAccessDbName field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateItem) GetSecureAccessDbNameOk() (*string, bool) {
if o == nil || o.SecureAccessDbName == nil {
return nil, false
}
return o.SecureAccessDbName, true
}
// HasSecureAccessDbName returns a boolean if a field has been set.
func (o *UpdateItem) HasSecureAccessDbName() bool {
if o != nil && o.SecureAccessDbName != nil {
return true