-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmodel_update_account_settings.go
1642 lines (1415 loc) · 51.3 KB
/
model_update_account_settings.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: [email protected]
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package akeyless
import (
"encoding/json"
)
// UpdateAccountSettings struct for UpdateAccountSettings
type UpdateAccountSettings struct {
// Address
Address *string `json:"address,omitempty"`
// A default list of comma-separated CIDR block that are allowed to authenticate.
BoundIps *[]string `json:"bound-ips,omitempty"`
// City
City *string `json:"city,omitempty"`
// Company name
CompanyName *string `json:"company-name,omitempty"`
// Country
Country *string `json:"country,omitempty"`
// Set the account default key based on the DFC key name. Use \"set-original-akeyless-default-key\" to revert to using the original default key of the account.
DefaultKeyName *string `json:"default-key-name,omitempty"`
// Set the default ttl in minutes for sharing item number between 60 and 43200
DefaultShareLinkTtlMinutes *string `json:"default-share-link-ttl-minutes,omitempty"`
// If set to true, new versions is enabled by default
DefaultVersioning *string `json:"default-versioning,omitempty"`
// Set to update protection with classic keys state [true/false]
DpEnableClassicKeyProtection *string `json:"dp-enable-classic-key-protection,omitempty"`
// Set the maximum ttl for dynamic secrets
DynamicSecretMaxTtl *int64 `json:"dynamic-secret-max-ttl,omitempty"`
// Set a maximum ttl for dynamic secrets [true/false]
DynamicSecretMaxTtlEnable *string `json:"dynamic-secret-max-ttl-enable,omitempty"`
// Enable sharing items [true/false]
EnableItemSharing *string `json:"enable-item-sharing,omitempty"`
// Enable password expiration policy [true/false]
EnablePasswordExpiration *string `json:"enable-password-expiration,omitempty"`
// If set to true, new version will be created on update
ForceNewVersions *string `json:"force-new-versions,omitempty"`
// A default list of comma-separated CIDR block that acts as a trusted Gateway entity.
GwBoundIps *[]string `json:"gw-bound-ips,omitempty"`
// Characters that cannot be used for items/targets/roles/auths/event_forwarder names. Empty string will enforce nothing.
InvalidCharacters *string `json:"invalid-characters,omitempty"`
// VersionSettingsObjectType defines object types for account version settings
ItemType *string `json:"item-type,omitempty"`
// Set or unset the default behaviour of items deletion protection [true/false]
ItemsDeletionProtection *string `json:"items-deletion-protection,omitempty"`
// Set output format to JSON
Json *bool `json:"json,omitempty"`
// Default ttl
JwtTtlDefault *int64 `json:"jwt-ttl-default,omitempty"`
// Maximum ttl
JwtTtlMax *int64 `json:"jwt-ttl-max,omitempty"`
// Minimum ttl
JwtTtlMin *int64 `json:"jwt-ttl-min,omitempty"`
// Lock bound-ips setting globally in the account.
LockBoundIps *string `json:"lock-bound-ips,omitempty"`
// Lock the account's default protection key, if set - users will not be able to use a different protection key, relevant only if default-key-name is configured [true/false]
LockDefaultKey *string `json:"lock-default-key,omitempty"`
// Lock gw-bound-ips setting in the account.
LockGwBoundIps *string `json:"lock-gw-bound-ips,omitempty"`
// Set the maximum rotation interval for rotated secrets auto rotation settings
MaxRotationInterval *int32 `json:"max-rotation-interval,omitempty"`
// Set a maximum rotation interval for rotated secrets auto rotation settings [true/false]
MaxRotationIntervalEnable *string `json:"max-rotation-interval-enable,omitempty"`
// Max versions
MaxVersions *string `json:"max-versions,omitempty"`
// Specifies the number of days that a password is valid before it must be changed. A default value of 90 days is used.
PasswordExpirationDays *string `json:"password-expiration-days,omitempty"`
// Specifies the number of days before a user receives notification that their password will expire. A default value of 14 days is used.
PasswordExpirationNotificationDays *string `json:"password-expiration-notification-days,omitempty"`
// Password length between 5 - to 50 characters
PasswordLength *int64 `json:"password-length,omitempty"`
// Phone number
Phone *string `json:"phone,omitempty"`
// Postal code
PostalCode *string `json:"postal-code,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"`
// Enable event for objects that have not been used or changed [true/false]
UsageEventEnable *string `json:"usage-event-enable,omitempty"`
// Interval by days for unused objects. Default and minimum interval is 90 days
UsageEventInterval *int64 `json:"usage-event-interval,omitempty"`
// Usage event is supported for auth method or secrets-and-keys [auth/item]
UsageEventObjectType *string `json:"usage-event-object-type,omitempty"`
// Password must contain lower case letters [true/false]
UseLowerLetters *string `json:"use-lower-letters,omitempty"`
// Password must contain numbers [true/false]
UseNumbers *string `json:"use-numbers,omitempty"`
// Password must contain special characters [true/false]
UseSpecialCharacters *string `json:"use-special-characters,omitempty"`
// Password must contain capital letters [true/false]
UseCapitalLetters *string `json:"use_capital-letters,omitempty"`
}
// NewUpdateAccountSettings instantiates a new UpdateAccountSettings 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 NewUpdateAccountSettings() *UpdateAccountSettings {
this := UpdateAccountSettings{}
var invalidCharacters string = "notReceivedInvalidCharacter"
this.InvalidCharacters = &invalidCharacters
var json bool = false
this.Json = &json
return &this
}
// NewUpdateAccountSettingsWithDefaults instantiates a new UpdateAccountSettings 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 NewUpdateAccountSettingsWithDefaults() *UpdateAccountSettings {
this := UpdateAccountSettings{}
var invalidCharacters string = "notReceivedInvalidCharacter"
this.InvalidCharacters = &invalidCharacters
var json bool = false
this.Json = &json
return &this
}
// GetAddress returns the Address field value if set, zero value otherwise.
func (o *UpdateAccountSettings) GetAddress() string {
if o == nil || o.Address == nil {
var ret string
return ret
}
return *o.Address
}
// GetAddressOk returns a tuple with the Address field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateAccountSettings) GetAddressOk() (*string, bool) {
if o == nil || o.Address == nil {
return nil, false
}
return o.Address, true
}
// HasAddress returns a boolean if a field has been set.
func (o *UpdateAccountSettings) HasAddress() bool {
if o != nil && o.Address != nil {
return true
}
return false
}
// SetAddress gets a reference to the given string and assigns it to the Address field.
func (o *UpdateAccountSettings) SetAddress(v string) {
o.Address = &v
}
// GetBoundIps returns the BoundIps field value if set, zero value otherwise.
func (o *UpdateAccountSettings) GetBoundIps() []string {
if o == nil || o.BoundIps == nil {
var ret []string
return ret
}
return *o.BoundIps
}
// GetBoundIpsOk returns a tuple with the BoundIps field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateAccountSettings) GetBoundIpsOk() (*[]string, bool) {
if o == nil || o.BoundIps == nil {
return nil, false
}
return o.BoundIps, true
}
// HasBoundIps returns a boolean if a field has been set.
func (o *UpdateAccountSettings) HasBoundIps() bool {
if o != nil && o.BoundIps != nil {
return true
}
return false
}
// SetBoundIps gets a reference to the given []string and assigns it to the BoundIps field.
func (o *UpdateAccountSettings) SetBoundIps(v []string) {
o.BoundIps = &v
}
// GetCity returns the City field value if set, zero value otherwise.
func (o *UpdateAccountSettings) GetCity() string {
if o == nil || o.City == nil {
var ret string
return ret
}
return *o.City
}
// GetCityOk returns a tuple with the City field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateAccountSettings) GetCityOk() (*string, bool) {
if o == nil || o.City == nil {
return nil, false
}
return o.City, true
}
// HasCity returns a boolean if a field has been set.
func (o *UpdateAccountSettings) HasCity() bool {
if o != nil && o.City != nil {
return true
}
return false
}
// SetCity gets a reference to the given string and assigns it to the City field.
func (o *UpdateAccountSettings) SetCity(v string) {
o.City = &v
}
// GetCompanyName returns the CompanyName field value if set, zero value otherwise.
func (o *UpdateAccountSettings) GetCompanyName() string {
if o == nil || o.CompanyName == nil {
var ret string
return ret
}
return *o.CompanyName
}
// GetCompanyNameOk returns a tuple with the CompanyName field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateAccountSettings) GetCompanyNameOk() (*string, bool) {
if o == nil || o.CompanyName == nil {
return nil, false
}
return o.CompanyName, true
}
// HasCompanyName returns a boolean if a field has been set.
func (o *UpdateAccountSettings) HasCompanyName() bool {
if o != nil && o.CompanyName != nil {
return true
}
return false
}
// SetCompanyName gets a reference to the given string and assigns it to the CompanyName field.
func (o *UpdateAccountSettings) SetCompanyName(v string) {
o.CompanyName = &v
}
// GetCountry returns the Country field value if set, zero value otherwise.
func (o *UpdateAccountSettings) GetCountry() string {
if o == nil || o.Country == nil {
var ret string
return ret
}
return *o.Country
}
// GetCountryOk returns a tuple with the Country field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateAccountSettings) GetCountryOk() (*string, bool) {
if o == nil || o.Country == nil {
return nil, false
}
return o.Country, true
}
// HasCountry returns a boolean if a field has been set.
func (o *UpdateAccountSettings) HasCountry() bool {
if o != nil && o.Country != nil {
return true
}
return false
}
// SetCountry gets a reference to the given string and assigns it to the Country field.
func (o *UpdateAccountSettings) SetCountry(v string) {
o.Country = &v
}
// GetDefaultKeyName returns the DefaultKeyName field value if set, zero value otherwise.
func (o *UpdateAccountSettings) GetDefaultKeyName() string {
if o == nil || o.DefaultKeyName == nil {
var ret string
return ret
}
return *o.DefaultKeyName
}
// GetDefaultKeyNameOk returns a tuple with the DefaultKeyName field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateAccountSettings) GetDefaultKeyNameOk() (*string, bool) {
if o == nil || o.DefaultKeyName == nil {
return nil, false
}
return o.DefaultKeyName, true
}
// HasDefaultKeyName returns a boolean if a field has been set.
func (o *UpdateAccountSettings) HasDefaultKeyName() bool {
if o != nil && o.DefaultKeyName != nil {
return true
}
return false
}
// SetDefaultKeyName gets a reference to the given string and assigns it to the DefaultKeyName field.
func (o *UpdateAccountSettings) SetDefaultKeyName(v string) {
o.DefaultKeyName = &v
}
// GetDefaultShareLinkTtlMinutes returns the DefaultShareLinkTtlMinutes field value if set, zero value otherwise.
func (o *UpdateAccountSettings) GetDefaultShareLinkTtlMinutes() string {
if o == nil || o.DefaultShareLinkTtlMinutes == nil {
var ret string
return ret
}
return *o.DefaultShareLinkTtlMinutes
}
// GetDefaultShareLinkTtlMinutesOk returns a tuple with the DefaultShareLinkTtlMinutes field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateAccountSettings) GetDefaultShareLinkTtlMinutesOk() (*string, bool) {
if o == nil || o.DefaultShareLinkTtlMinutes == nil {
return nil, false
}
return o.DefaultShareLinkTtlMinutes, true
}
// HasDefaultShareLinkTtlMinutes returns a boolean if a field has been set.
func (o *UpdateAccountSettings) HasDefaultShareLinkTtlMinutes() bool {
if o != nil && o.DefaultShareLinkTtlMinutes != nil {
return true
}
return false
}
// SetDefaultShareLinkTtlMinutes gets a reference to the given string and assigns it to the DefaultShareLinkTtlMinutes field.
func (o *UpdateAccountSettings) SetDefaultShareLinkTtlMinutes(v string) {
o.DefaultShareLinkTtlMinutes = &v
}
// GetDefaultVersioning returns the DefaultVersioning field value if set, zero value otherwise.
func (o *UpdateAccountSettings) GetDefaultVersioning() string {
if o == nil || o.DefaultVersioning == nil {
var ret string
return ret
}
return *o.DefaultVersioning
}
// GetDefaultVersioningOk returns a tuple with the DefaultVersioning field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateAccountSettings) GetDefaultVersioningOk() (*string, bool) {
if o == nil || o.DefaultVersioning == nil {
return nil, false
}
return o.DefaultVersioning, true
}
// HasDefaultVersioning returns a boolean if a field has been set.
func (o *UpdateAccountSettings) HasDefaultVersioning() bool {
if o != nil && o.DefaultVersioning != nil {
return true
}
return false
}
// SetDefaultVersioning gets a reference to the given string and assigns it to the DefaultVersioning field.
func (o *UpdateAccountSettings) SetDefaultVersioning(v string) {
o.DefaultVersioning = &v
}
// GetDpEnableClassicKeyProtection returns the DpEnableClassicKeyProtection field value if set, zero value otherwise.
func (o *UpdateAccountSettings) GetDpEnableClassicKeyProtection() string {
if o == nil || o.DpEnableClassicKeyProtection == nil {
var ret string
return ret
}
return *o.DpEnableClassicKeyProtection
}
// GetDpEnableClassicKeyProtectionOk returns a tuple with the DpEnableClassicKeyProtection field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateAccountSettings) GetDpEnableClassicKeyProtectionOk() (*string, bool) {
if o == nil || o.DpEnableClassicKeyProtection == nil {
return nil, false
}
return o.DpEnableClassicKeyProtection, true
}
// HasDpEnableClassicKeyProtection returns a boolean if a field has been set.
func (o *UpdateAccountSettings) HasDpEnableClassicKeyProtection() bool {
if o != nil && o.DpEnableClassicKeyProtection != nil {
return true
}
return false
}
// SetDpEnableClassicKeyProtection gets a reference to the given string and assigns it to the DpEnableClassicKeyProtection field.
func (o *UpdateAccountSettings) SetDpEnableClassicKeyProtection(v string) {
o.DpEnableClassicKeyProtection = &v
}
// GetDynamicSecretMaxTtl returns the DynamicSecretMaxTtl field value if set, zero value otherwise.
func (o *UpdateAccountSettings) GetDynamicSecretMaxTtl() int64 {
if o == nil || o.DynamicSecretMaxTtl == nil {
var ret int64
return ret
}
return *o.DynamicSecretMaxTtl
}
// GetDynamicSecretMaxTtlOk returns a tuple with the DynamicSecretMaxTtl field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateAccountSettings) GetDynamicSecretMaxTtlOk() (*int64, bool) {
if o == nil || o.DynamicSecretMaxTtl == nil {
return nil, false
}
return o.DynamicSecretMaxTtl, true
}
// HasDynamicSecretMaxTtl returns a boolean if a field has been set.
func (o *UpdateAccountSettings) HasDynamicSecretMaxTtl() bool {
if o != nil && o.DynamicSecretMaxTtl != nil {
return true
}
return false
}
// SetDynamicSecretMaxTtl gets a reference to the given int64 and assigns it to the DynamicSecretMaxTtl field.
func (o *UpdateAccountSettings) SetDynamicSecretMaxTtl(v int64) {
o.DynamicSecretMaxTtl = &v
}
// GetDynamicSecretMaxTtlEnable returns the DynamicSecretMaxTtlEnable field value if set, zero value otherwise.
func (o *UpdateAccountSettings) GetDynamicSecretMaxTtlEnable() string {
if o == nil || o.DynamicSecretMaxTtlEnable == nil {
var ret string
return ret
}
return *o.DynamicSecretMaxTtlEnable
}
// GetDynamicSecretMaxTtlEnableOk returns a tuple with the DynamicSecretMaxTtlEnable field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateAccountSettings) GetDynamicSecretMaxTtlEnableOk() (*string, bool) {
if o == nil || o.DynamicSecretMaxTtlEnable == nil {
return nil, false
}
return o.DynamicSecretMaxTtlEnable, true
}
// HasDynamicSecretMaxTtlEnable returns a boolean if a field has been set.
func (o *UpdateAccountSettings) HasDynamicSecretMaxTtlEnable() bool {
if o != nil && o.DynamicSecretMaxTtlEnable != nil {
return true
}
return false
}
// SetDynamicSecretMaxTtlEnable gets a reference to the given string and assigns it to the DynamicSecretMaxTtlEnable field.
func (o *UpdateAccountSettings) SetDynamicSecretMaxTtlEnable(v string) {
o.DynamicSecretMaxTtlEnable = &v
}
// GetEnableItemSharing returns the EnableItemSharing field value if set, zero value otherwise.
func (o *UpdateAccountSettings) GetEnableItemSharing() string {
if o == nil || o.EnableItemSharing == nil {
var ret string
return ret
}
return *o.EnableItemSharing
}
// GetEnableItemSharingOk returns a tuple with the EnableItemSharing field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateAccountSettings) GetEnableItemSharingOk() (*string, bool) {
if o == nil || o.EnableItemSharing == nil {
return nil, false
}
return o.EnableItemSharing, true
}
// HasEnableItemSharing returns a boolean if a field has been set.
func (o *UpdateAccountSettings) HasEnableItemSharing() bool {
if o != nil && o.EnableItemSharing != nil {
return true
}
return false
}
// SetEnableItemSharing gets a reference to the given string and assigns it to the EnableItemSharing field.
func (o *UpdateAccountSettings) SetEnableItemSharing(v string) {
o.EnableItemSharing = &v
}
// GetEnablePasswordExpiration returns the EnablePasswordExpiration field value if set, zero value otherwise.
func (o *UpdateAccountSettings) GetEnablePasswordExpiration() string {
if o == nil || o.EnablePasswordExpiration == nil {
var ret string
return ret
}
return *o.EnablePasswordExpiration
}
// GetEnablePasswordExpirationOk returns a tuple with the EnablePasswordExpiration field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateAccountSettings) GetEnablePasswordExpirationOk() (*string, bool) {
if o == nil || o.EnablePasswordExpiration == nil {
return nil, false
}
return o.EnablePasswordExpiration, true
}
// HasEnablePasswordExpiration returns a boolean if a field has been set.
func (o *UpdateAccountSettings) HasEnablePasswordExpiration() bool {
if o != nil && o.EnablePasswordExpiration != nil {
return true
}
return false
}
// SetEnablePasswordExpiration gets a reference to the given string and assigns it to the EnablePasswordExpiration field.
func (o *UpdateAccountSettings) SetEnablePasswordExpiration(v string) {
o.EnablePasswordExpiration = &v
}
// GetForceNewVersions returns the ForceNewVersions field value if set, zero value otherwise.
func (o *UpdateAccountSettings) GetForceNewVersions() string {
if o == nil || o.ForceNewVersions == nil {
var ret string
return ret
}
return *o.ForceNewVersions
}
// GetForceNewVersionsOk returns a tuple with the ForceNewVersions field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateAccountSettings) GetForceNewVersionsOk() (*string, bool) {
if o == nil || o.ForceNewVersions == nil {
return nil, false
}
return o.ForceNewVersions, true
}
// HasForceNewVersions returns a boolean if a field has been set.
func (o *UpdateAccountSettings) HasForceNewVersions() bool {
if o != nil && o.ForceNewVersions != nil {
return true
}
return false
}
// SetForceNewVersions gets a reference to the given string and assigns it to the ForceNewVersions field.
func (o *UpdateAccountSettings) SetForceNewVersions(v string) {
o.ForceNewVersions = &v
}
// GetGwBoundIps returns the GwBoundIps field value if set, zero value otherwise.
func (o *UpdateAccountSettings) GetGwBoundIps() []string {
if o == nil || o.GwBoundIps == nil {
var ret []string
return ret
}
return *o.GwBoundIps
}
// GetGwBoundIpsOk returns a tuple with the GwBoundIps field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateAccountSettings) GetGwBoundIpsOk() (*[]string, bool) {
if o == nil || o.GwBoundIps == nil {
return nil, false
}
return o.GwBoundIps, true
}
// HasGwBoundIps returns a boolean if a field has been set.
func (o *UpdateAccountSettings) HasGwBoundIps() bool {
if o != nil && o.GwBoundIps != nil {
return true
}
return false
}
// SetGwBoundIps gets a reference to the given []string and assigns it to the GwBoundIps field.
func (o *UpdateAccountSettings) SetGwBoundIps(v []string) {
o.GwBoundIps = &v
}
// GetInvalidCharacters returns the InvalidCharacters field value if set, zero value otherwise.
func (o *UpdateAccountSettings) GetInvalidCharacters() string {
if o == nil || o.InvalidCharacters == nil {
var ret string
return ret
}
return *o.InvalidCharacters
}
// GetInvalidCharactersOk returns a tuple with the InvalidCharacters field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateAccountSettings) GetInvalidCharactersOk() (*string, bool) {
if o == nil || o.InvalidCharacters == nil {
return nil, false
}
return o.InvalidCharacters, true
}
// HasInvalidCharacters returns a boolean if a field has been set.
func (o *UpdateAccountSettings) HasInvalidCharacters() bool {
if o != nil && o.InvalidCharacters != nil {
return true
}
return false
}
// SetInvalidCharacters gets a reference to the given string and assigns it to the InvalidCharacters field.
func (o *UpdateAccountSettings) SetInvalidCharacters(v string) {
o.InvalidCharacters = &v
}
// GetItemType returns the ItemType field value if set, zero value otherwise.
func (o *UpdateAccountSettings) GetItemType() string {
if o == nil || o.ItemType == nil {
var ret string
return ret
}
return *o.ItemType
}
// GetItemTypeOk returns a tuple with the ItemType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateAccountSettings) GetItemTypeOk() (*string, bool) {
if o == nil || o.ItemType == nil {
return nil, false
}
return o.ItemType, true
}
// HasItemType returns a boolean if a field has been set.
func (o *UpdateAccountSettings) HasItemType() bool {
if o != nil && o.ItemType != nil {
return true
}
return false
}
// SetItemType gets a reference to the given string and assigns it to the ItemType field.
func (o *UpdateAccountSettings) SetItemType(v string) {
o.ItemType = &v
}
// GetItemsDeletionProtection returns the ItemsDeletionProtection field value if set, zero value otherwise.
func (o *UpdateAccountSettings) GetItemsDeletionProtection() string {
if o == nil || o.ItemsDeletionProtection == nil {
var ret string
return ret
}
return *o.ItemsDeletionProtection
}
// GetItemsDeletionProtectionOk returns a tuple with the ItemsDeletionProtection field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateAccountSettings) GetItemsDeletionProtectionOk() (*string, bool) {
if o == nil || o.ItemsDeletionProtection == nil {
return nil, false
}
return o.ItemsDeletionProtection, true
}
// HasItemsDeletionProtection returns a boolean if a field has been set.
func (o *UpdateAccountSettings) HasItemsDeletionProtection() bool {
if o != nil && o.ItemsDeletionProtection != nil {
return true
}
return false
}
// SetItemsDeletionProtection gets a reference to the given string and assigns it to the ItemsDeletionProtection field.
func (o *UpdateAccountSettings) SetItemsDeletionProtection(v string) {
o.ItemsDeletionProtection = &v
}
// GetJson returns the Json field value if set, zero value otherwise.
func (o *UpdateAccountSettings) 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 *UpdateAccountSettings) 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 *UpdateAccountSettings) 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 *UpdateAccountSettings) SetJson(v bool) {
o.Json = &v
}
// GetJwtTtlDefault returns the JwtTtlDefault field value if set, zero value otherwise.
func (o *UpdateAccountSettings) GetJwtTtlDefault() int64 {
if o == nil || o.JwtTtlDefault == nil {
var ret int64
return ret
}
return *o.JwtTtlDefault
}
// GetJwtTtlDefaultOk returns a tuple with the JwtTtlDefault field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateAccountSettings) GetJwtTtlDefaultOk() (*int64, bool) {
if o == nil || o.JwtTtlDefault == nil {
return nil, false
}
return o.JwtTtlDefault, true
}
// HasJwtTtlDefault returns a boolean if a field has been set.
func (o *UpdateAccountSettings) HasJwtTtlDefault() bool {
if o != nil && o.JwtTtlDefault != nil {
return true
}
return false
}
// SetJwtTtlDefault gets a reference to the given int64 and assigns it to the JwtTtlDefault field.
func (o *UpdateAccountSettings) SetJwtTtlDefault(v int64) {
o.JwtTtlDefault = &v
}
// GetJwtTtlMax returns the JwtTtlMax field value if set, zero value otherwise.
func (o *UpdateAccountSettings) GetJwtTtlMax() int64 {
if o == nil || o.JwtTtlMax == nil {
var ret int64
return ret
}
return *o.JwtTtlMax
}
// GetJwtTtlMaxOk returns a tuple with the JwtTtlMax field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateAccountSettings) GetJwtTtlMaxOk() (*int64, bool) {
if o == nil || o.JwtTtlMax == nil {
return nil, false
}
return o.JwtTtlMax, true
}
// HasJwtTtlMax returns a boolean if a field has been set.
func (o *UpdateAccountSettings) HasJwtTtlMax() bool {
if o != nil && o.JwtTtlMax != nil {
return true
}
return false
}
// SetJwtTtlMax gets a reference to the given int64 and assigns it to the JwtTtlMax field.
func (o *UpdateAccountSettings) SetJwtTtlMax(v int64) {
o.JwtTtlMax = &v
}
// GetJwtTtlMin returns the JwtTtlMin field value if set, zero value otherwise.
func (o *UpdateAccountSettings) GetJwtTtlMin() int64 {
if o == nil || o.JwtTtlMin == nil {
var ret int64
return ret
}
return *o.JwtTtlMin
}
// GetJwtTtlMinOk returns a tuple with the JwtTtlMin field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateAccountSettings) GetJwtTtlMinOk() (*int64, bool) {
if o == nil || o.JwtTtlMin == nil {
return nil, false
}
return o.JwtTtlMin, true
}
// HasJwtTtlMin returns a boolean if a field has been set.
func (o *UpdateAccountSettings) HasJwtTtlMin() bool {
if o != nil && o.JwtTtlMin != nil {
return true
}
return false
}
// SetJwtTtlMin gets a reference to the given int64 and assigns it to the JwtTtlMin field.
func (o *UpdateAccountSettings) SetJwtTtlMin(v int64) {
o.JwtTtlMin = &v
}
// GetLockBoundIps returns the LockBoundIps field value if set, zero value otherwise.
func (o *UpdateAccountSettings) GetLockBoundIps() string {
if o == nil || o.LockBoundIps == nil {
var ret string
return ret
}
return *o.LockBoundIps
}
// GetLockBoundIpsOk returns a tuple with the LockBoundIps field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateAccountSettings) GetLockBoundIpsOk() (*string, bool) {
if o == nil || o.LockBoundIps == nil {
return nil, false
}
return o.LockBoundIps, true
}
// HasLockBoundIps returns a boolean if a field has been set.
func (o *UpdateAccountSettings) HasLockBoundIps() bool {
if o != nil && o.LockBoundIps != nil {
return true
}
return false
}
// SetLockBoundIps gets a reference to the given string and assigns it to the LockBoundIps field.
func (o *UpdateAccountSettings) SetLockBoundIps(v string) {
o.LockBoundIps = &v
}
// GetLockDefaultKey returns the LockDefaultKey field value if set, zero value otherwise.
func (o *UpdateAccountSettings) GetLockDefaultKey() string {
if o == nil || o.LockDefaultKey == nil {
var ret string
return ret
}
return *o.LockDefaultKey
}
// GetLockDefaultKeyOk returns a tuple with the LockDefaultKey field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateAccountSettings) GetLockDefaultKeyOk() (*string, bool) {
if o == nil || o.LockDefaultKey == nil {
return nil, false
}
return o.LockDefaultKey, true
}
// HasLockDefaultKey returns a boolean if a field has been set.
func (o *UpdateAccountSettings) HasLockDefaultKey() bool {
if o != nil && o.LockDefaultKey != nil {
return true
}
return false
}
// SetLockDefaultKey gets a reference to the given string and assigns it to the LockDefaultKey field.
func (o *UpdateAccountSettings) SetLockDefaultKey(v string) {
o.LockDefaultKey = &v
}
// GetLockGwBoundIps returns the LockGwBoundIps field value if set, zero value otherwise.
func (o *UpdateAccountSettings) GetLockGwBoundIps() string {
if o == nil || o.LockGwBoundIps == nil {
var ret string
return ret
}
return *o.LockGwBoundIps
}
// GetLockGwBoundIpsOk returns a tuple with the LockGwBoundIps field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateAccountSettings) GetLockGwBoundIpsOk() (*string, bool) {
if o == nil || o.LockGwBoundIps == nil {
return nil, false
}
return o.LockGwBoundIps, true
}
// HasLockGwBoundIps returns a boolean if a field has been set.
func (o *UpdateAccountSettings) HasLockGwBoundIps() bool {
if o != nil && o.LockGwBoundIps != nil {
return true
}
return false
}
// SetLockGwBoundIps gets a reference to the given string and assigns it to the LockGwBoundIps field.
func (o *UpdateAccountSettings) SetLockGwBoundIps(v string) {
o.LockGwBoundIps = &v
}
// GetMaxRotationInterval returns the MaxRotationInterval field value if set, zero value otherwise.
func (o *UpdateAccountSettings) GetMaxRotationInterval() int32 {
if o == nil || o.MaxRotationInterval == nil {
var ret int32
return ret
}
return *o.MaxRotationInterval
}
// GetMaxRotationIntervalOk returns a tuple with the MaxRotationInterval field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateAccountSettings) GetMaxRotationIntervalOk() (*int32, bool) {
if o == nil || o.MaxRotationInterval == nil {
return nil, false
}
return o.MaxRotationInterval, true
}
// HasMaxRotationInterval returns a boolean if a field has been set.
func (o *UpdateAccountSettings) HasMaxRotationInterval() bool {
if o != nil && o.MaxRotationInterval != nil {
return true
}
return false
}
// SetMaxRotationInterval gets a reference to the given int32 and assigns it to the MaxRotationInterval field.
func (o *UpdateAccountSettings) SetMaxRotationInterval(v int32) {
o.MaxRotationInterval = &v
}
// GetMaxRotationIntervalEnable returns the MaxRotationIntervalEnable field value if set, zero value otherwise.
func (o *UpdateAccountSettings) GetMaxRotationIntervalEnable() string {
if o == nil || o.MaxRotationIntervalEnable == nil {
var ret string
return ret
}
return *o.MaxRotationIntervalEnable
}
// GetMaxRotationIntervalEnableOk returns a tuple with the MaxRotationIntervalEnable field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *UpdateAccountSettings) GetMaxRotationIntervalEnableOk() (*string, bool) {
if o == nil || o.MaxRotationIntervalEnable == nil {
return nil, false
}
return o.MaxRotationIntervalEnable, true
}
// HasMaxRotationIntervalEnable returns a boolean if a field has been set.
func (o *UpdateAccountSettings) HasMaxRotationIntervalEnable() bool {
if o != nil && o.MaxRotationIntervalEnable != nil {
return true
}
return false
}
// SetMaxRotationIntervalEnable gets a reference to the given string and assigns it to the MaxRotationIntervalEnable field.
func (o *UpdateAccountSettings) SetMaxRotationIntervalEnable(v string) {
o.MaxRotationIntervalEnable = &v
}
// GetMaxVersions returns the MaxVersions field value if set, zero value otherwise.
func (o *UpdateAccountSettings) GetMaxVersions() string {
if o == nil || o.MaxVersions == nil {
var ret string
return ret
}