-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodel_client_representation.go
1696 lines (1457 loc) · 51.9 KB
/
model_client_representation.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
/*
Keycloak Admin REST API
This is a REST API reference for the Keycloak Admin REST API.
API version: 1.0
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package keycloak_admin_client
import (
"encoding/json"
)
// checks if the ClientRepresentation type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &ClientRepresentation{}
// ClientRepresentation struct for ClientRepresentation
type ClientRepresentation struct {
Id *string `json:"id,omitempty"`
ClientId *string `json:"clientId,omitempty"`
Name *string `json:"name,omitempty"`
Description *string `json:"description,omitempty"`
Type *string `json:"type,omitempty"`
RootUrl *string `json:"rootUrl,omitempty"`
AdminUrl *string `json:"adminUrl,omitempty"`
BaseUrl *string `json:"baseUrl,omitempty"`
SurrogateAuthRequired *bool `json:"surrogateAuthRequired,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
AlwaysDisplayInConsole *bool `json:"alwaysDisplayInConsole,omitempty"`
ClientAuthenticatorType *string `json:"clientAuthenticatorType,omitempty"`
Secret *string `json:"secret,omitempty"`
RegistrationAccessToken *string `json:"registrationAccessToken,omitempty"`
// Deprecated
DefaultRoles []string `json:"defaultRoles,omitempty"`
RedirectUris []string `json:"redirectUris,omitempty"`
WebOrigins []string `json:"webOrigins,omitempty"`
NotBefore *int32 `json:"notBefore,omitempty"`
BearerOnly *bool `json:"bearerOnly,omitempty"`
ConsentRequired *bool `json:"consentRequired,omitempty"`
StandardFlowEnabled *bool `json:"standardFlowEnabled,omitempty"`
ImplicitFlowEnabled *bool `json:"implicitFlowEnabled,omitempty"`
DirectAccessGrantsEnabled *bool `json:"directAccessGrantsEnabled,omitempty"`
ServiceAccountsEnabled *bool `json:"serviceAccountsEnabled,omitempty"`
AuthorizationServicesEnabled *bool `json:"authorizationServicesEnabled,omitempty"`
// Deprecated
DirectGrantsOnly *bool `json:"directGrantsOnly,omitempty"`
PublicClient *bool `json:"publicClient,omitempty"`
FrontchannelLogout *bool `json:"frontchannelLogout,omitempty"`
Protocol *string `json:"protocol,omitempty"`
Attributes *map[string]string `json:"attributes,omitempty"`
AuthenticationFlowBindingOverrides *map[string]string `json:"authenticationFlowBindingOverrides,omitempty"`
FullScopeAllowed *bool `json:"fullScopeAllowed,omitempty"`
NodeReRegistrationTimeout *int32 `json:"nodeReRegistrationTimeout,omitempty"`
RegisteredNodes *map[string]int32 `json:"registeredNodes,omitempty"`
ProtocolMappers []ProtocolMapperRepresentation `json:"protocolMappers,omitempty"`
// Deprecated
ClientTemplate *string `json:"clientTemplate,omitempty"`
// Deprecated
UseTemplateConfig *bool `json:"useTemplateConfig,omitempty"`
// Deprecated
UseTemplateScope *bool `json:"useTemplateScope,omitempty"`
// Deprecated
UseTemplateMappers *bool `json:"useTemplateMappers,omitempty"`
DefaultClientScopes []string `json:"defaultClientScopes,omitempty"`
OptionalClientScopes []string `json:"optionalClientScopes,omitempty"`
AuthorizationSettings *ResourceServerRepresentation `json:"authorizationSettings,omitempty"`
Access *map[string]bool `json:"access,omitempty"`
Origin *string `json:"origin,omitempty"`
}
// NewClientRepresentation instantiates a new ClientRepresentation 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 NewClientRepresentation() *ClientRepresentation {
this := ClientRepresentation{}
return &this
}
// NewClientRepresentationWithDefaults instantiates a new ClientRepresentation 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 NewClientRepresentationWithDefaults() *ClientRepresentation {
this := ClientRepresentation{}
return &this
}
// GetId returns the Id field value if set, zero value otherwise.
func (o *ClientRepresentation) GetId() string {
if o == nil || IsNil(o.Id) {
var ret string
return ret
}
return *o.Id
}
// GetIdOk returns a tuple with the Id field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ClientRepresentation) GetIdOk() (*string, bool) {
if o == nil || IsNil(o.Id) {
return nil, false
}
return o.Id, true
}
// HasId returns a boolean if a field has been set.
func (o *ClientRepresentation) HasId() bool {
if o != nil && !IsNil(o.Id) {
return true
}
return false
}
// SetId gets a reference to the given string and assigns it to the Id field.
func (o *ClientRepresentation) SetId(v string) {
o.Id = &v
}
// GetClientId returns the ClientId field value if set, zero value otherwise.
func (o *ClientRepresentation) GetClientId() string {
if o == nil || IsNil(o.ClientId) {
var ret string
return ret
}
return *o.ClientId
}
// GetClientIdOk returns a tuple with the ClientId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ClientRepresentation) GetClientIdOk() (*string, bool) {
if o == nil || IsNil(o.ClientId) {
return nil, false
}
return o.ClientId, true
}
// HasClientId returns a boolean if a field has been set.
func (o *ClientRepresentation) HasClientId() bool {
if o != nil && !IsNil(o.ClientId) {
return true
}
return false
}
// SetClientId gets a reference to the given string and assigns it to the ClientId field.
func (o *ClientRepresentation) SetClientId(v string) {
o.ClientId = &v
}
// GetName returns the Name field value if set, zero value otherwise.
func (o *ClientRepresentation) GetName() string {
if o == nil || IsNil(o.Name) {
var ret string
return ret
}
return *o.Name
}
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ClientRepresentation) GetNameOk() (*string, bool) {
if o == nil || IsNil(o.Name) {
return nil, false
}
return o.Name, true
}
// HasName returns a boolean if a field has been set.
func (o *ClientRepresentation) HasName() bool {
if o != nil && !IsNil(o.Name) {
return true
}
return false
}
// SetName gets a reference to the given string and assigns it to the Name field.
func (o *ClientRepresentation) SetName(v string) {
o.Name = &v
}
// GetDescription returns the Description field value if set, zero value otherwise.
func (o *ClientRepresentation) GetDescription() string {
if o == nil || IsNil(o.Description) {
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 *ClientRepresentation) GetDescriptionOk() (*string, bool) {
if o == nil || IsNil(o.Description) {
return nil, false
}
return o.Description, true
}
// HasDescription returns a boolean if a field has been set.
func (o *ClientRepresentation) HasDescription() bool {
if o != nil && !IsNil(o.Description) {
return true
}
return false
}
// SetDescription gets a reference to the given string and assigns it to the Description field.
func (o *ClientRepresentation) SetDescription(v string) {
o.Description = &v
}
// GetType returns the Type field value if set, zero value otherwise.
func (o *ClientRepresentation) GetType() string {
if o == nil || IsNil(o.Type) {
var ret string
return ret
}
return *o.Type
}
// GetTypeOk returns a tuple with the Type field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ClientRepresentation) GetTypeOk() (*string, bool) {
if o == nil || IsNil(o.Type) {
return nil, false
}
return o.Type, true
}
// HasType returns a boolean if a field has been set.
func (o *ClientRepresentation) HasType() bool {
if o != nil && !IsNil(o.Type) {
return true
}
return false
}
// SetType gets a reference to the given string and assigns it to the Type field.
func (o *ClientRepresentation) SetType(v string) {
o.Type = &v
}
// GetRootUrl returns the RootUrl field value if set, zero value otherwise.
func (o *ClientRepresentation) GetRootUrl() string {
if o == nil || IsNil(o.RootUrl) {
var ret string
return ret
}
return *o.RootUrl
}
// GetRootUrlOk returns a tuple with the RootUrl field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ClientRepresentation) GetRootUrlOk() (*string, bool) {
if o == nil || IsNil(o.RootUrl) {
return nil, false
}
return o.RootUrl, true
}
// HasRootUrl returns a boolean if a field has been set.
func (o *ClientRepresentation) HasRootUrl() bool {
if o != nil && !IsNil(o.RootUrl) {
return true
}
return false
}
// SetRootUrl gets a reference to the given string and assigns it to the RootUrl field.
func (o *ClientRepresentation) SetRootUrl(v string) {
o.RootUrl = &v
}
// GetAdminUrl returns the AdminUrl field value if set, zero value otherwise.
func (o *ClientRepresentation) GetAdminUrl() string {
if o == nil || IsNil(o.AdminUrl) {
var ret string
return ret
}
return *o.AdminUrl
}
// GetAdminUrlOk returns a tuple with the AdminUrl field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ClientRepresentation) GetAdminUrlOk() (*string, bool) {
if o == nil || IsNil(o.AdminUrl) {
return nil, false
}
return o.AdminUrl, true
}
// HasAdminUrl returns a boolean if a field has been set.
func (o *ClientRepresentation) HasAdminUrl() bool {
if o != nil && !IsNil(o.AdminUrl) {
return true
}
return false
}
// SetAdminUrl gets a reference to the given string and assigns it to the AdminUrl field.
func (o *ClientRepresentation) SetAdminUrl(v string) {
o.AdminUrl = &v
}
// GetBaseUrl returns the BaseUrl field value if set, zero value otherwise.
func (o *ClientRepresentation) GetBaseUrl() string {
if o == nil || IsNil(o.BaseUrl) {
var ret string
return ret
}
return *o.BaseUrl
}
// GetBaseUrlOk returns a tuple with the BaseUrl field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ClientRepresentation) GetBaseUrlOk() (*string, bool) {
if o == nil || IsNil(o.BaseUrl) {
return nil, false
}
return o.BaseUrl, true
}
// HasBaseUrl returns a boolean if a field has been set.
func (o *ClientRepresentation) HasBaseUrl() bool {
if o != nil && !IsNil(o.BaseUrl) {
return true
}
return false
}
// SetBaseUrl gets a reference to the given string and assigns it to the BaseUrl field.
func (o *ClientRepresentation) SetBaseUrl(v string) {
o.BaseUrl = &v
}
// GetSurrogateAuthRequired returns the SurrogateAuthRequired field value if set, zero value otherwise.
func (o *ClientRepresentation) GetSurrogateAuthRequired() bool {
if o == nil || IsNil(o.SurrogateAuthRequired) {
var ret bool
return ret
}
return *o.SurrogateAuthRequired
}
// GetSurrogateAuthRequiredOk returns a tuple with the SurrogateAuthRequired field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ClientRepresentation) GetSurrogateAuthRequiredOk() (*bool, bool) {
if o == nil || IsNil(o.SurrogateAuthRequired) {
return nil, false
}
return o.SurrogateAuthRequired, true
}
// HasSurrogateAuthRequired returns a boolean if a field has been set.
func (o *ClientRepresentation) HasSurrogateAuthRequired() bool {
if o != nil && !IsNil(o.SurrogateAuthRequired) {
return true
}
return false
}
// SetSurrogateAuthRequired gets a reference to the given bool and assigns it to the SurrogateAuthRequired field.
func (o *ClientRepresentation) SetSurrogateAuthRequired(v bool) {
o.SurrogateAuthRequired = &v
}
// GetEnabled returns the Enabled field value if set, zero value otherwise.
func (o *ClientRepresentation) GetEnabled() bool {
if o == nil || IsNil(o.Enabled) {
var ret bool
return ret
}
return *o.Enabled
}
// GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ClientRepresentation) GetEnabledOk() (*bool, bool) {
if o == nil || IsNil(o.Enabled) {
return nil, false
}
return o.Enabled, true
}
// HasEnabled returns a boolean if a field has been set.
func (o *ClientRepresentation) HasEnabled() bool {
if o != nil && !IsNil(o.Enabled) {
return true
}
return false
}
// SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (o *ClientRepresentation) SetEnabled(v bool) {
o.Enabled = &v
}
// GetAlwaysDisplayInConsole returns the AlwaysDisplayInConsole field value if set, zero value otherwise.
func (o *ClientRepresentation) GetAlwaysDisplayInConsole() bool {
if o == nil || IsNil(o.AlwaysDisplayInConsole) {
var ret bool
return ret
}
return *o.AlwaysDisplayInConsole
}
// GetAlwaysDisplayInConsoleOk returns a tuple with the AlwaysDisplayInConsole field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ClientRepresentation) GetAlwaysDisplayInConsoleOk() (*bool, bool) {
if o == nil || IsNil(o.AlwaysDisplayInConsole) {
return nil, false
}
return o.AlwaysDisplayInConsole, true
}
// HasAlwaysDisplayInConsole returns a boolean if a field has been set.
func (o *ClientRepresentation) HasAlwaysDisplayInConsole() bool {
if o != nil && !IsNil(o.AlwaysDisplayInConsole) {
return true
}
return false
}
// SetAlwaysDisplayInConsole gets a reference to the given bool and assigns it to the AlwaysDisplayInConsole field.
func (o *ClientRepresentation) SetAlwaysDisplayInConsole(v bool) {
o.AlwaysDisplayInConsole = &v
}
// GetClientAuthenticatorType returns the ClientAuthenticatorType field value if set, zero value otherwise.
func (o *ClientRepresentation) GetClientAuthenticatorType() string {
if o == nil || IsNil(o.ClientAuthenticatorType) {
var ret string
return ret
}
return *o.ClientAuthenticatorType
}
// GetClientAuthenticatorTypeOk returns a tuple with the ClientAuthenticatorType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ClientRepresentation) GetClientAuthenticatorTypeOk() (*string, bool) {
if o == nil || IsNil(o.ClientAuthenticatorType) {
return nil, false
}
return o.ClientAuthenticatorType, true
}
// HasClientAuthenticatorType returns a boolean if a field has been set.
func (o *ClientRepresentation) HasClientAuthenticatorType() bool {
if o != nil && !IsNil(o.ClientAuthenticatorType) {
return true
}
return false
}
// SetClientAuthenticatorType gets a reference to the given string and assigns it to the ClientAuthenticatorType field.
func (o *ClientRepresentation) SetClientAuthenticatorType(v string) {
o.ClientAuthenticatorType = &v
}
// GetSecret returns the Secret field value if set, zero value otherwise.
func (o *ClientRepresentation) GetSecret() string {
if o == nil || IsNil(o.Secret) {
var ret string
return ret
}
return *o.Secret
}
// GetSecretOk returns a tuple with the Secret field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ClientRepresentation) GetSecretOk() (*string, bool) {
if o == nil || IsNil(o.Secret) {
return nil, false
}
return o.Secret, true
}
// HasSecret returns a boolean if a field has been set.
func (o *ClientRepresentation) HasSecret() bool {
if o != nil && !IsNil(o.Secret) {
return true
}
return false
}
// SetSecret gets a reference to the given string and assigns it to the Secret field.
func (o *ClientRepresentation) SetSecret(v string) {
o.Secret = &v
}
// GetRegistrationAccessToken returns the RegistrationAccessToken field value if set, zero value otherwise.
func (o *ClientRepresentation) GetRegistrationAccessToken() string {
if o == nil || IsNil(o.RegistrationAccessToken) {
var ret string
return ret
}
return *o.RegistrationAccessToken
}
// GetRegistrationAccessTokenOk returns a tuple with the RegistrationAccessToken field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ClientRepresentation) GetRegistrationAccessTokenOk() (*string, bool) {
if o == nil || IsNil(o.RegistrationAccessToken) {
return nil, false
}
return o.RegistrationAccessToken, true
}
// HasRegistrationAccessToken returns a boolean if a field has been set.
func (o *ClientRepresentation) HasRegistrationAccessToken() bool {
if o != nil && !IsNil(o.RegistrationAccessToken) {
return true
}
return false
}
// SetRegistrationAccessToken gets a reference to the given string and assigns it to the RegistrationAccessToken field.
func (o *ClientRepresentation) SetRegistrationAccessToken(v string) {
o.RegistrationAccessToken = &v
}
// GetDefaultRoles returns the DefaultRoles field value if set, zero value otherwise.
// Deprecated
func (o *ClientRepresentation) GetDefaultRoles() []string {
if o == nil || IsNil(o.DefaultRoles) {
var ret []string
return ret
}
return o.DefaultRoles
}
// GetDefaultRolesOk returns a tuple with the DefaultRoles field value if set, nil otherwise
// and a boolean to check if the value has been set.
// Deprecated
func (o *ClientRepresentation) GetDefaultRolesOk() ([]string, bool) {
if o == nil || IsNil(o.DefaultRoles) {
return nil, false
}
return o.DefaultRoles, true
}
// HasDefaultRoles returns a boolean if a field has been set.
func (o *ClientRepresentation) HasDefaultRoles() bool {
if o != nil && !IsNil(o.DefaultRoles) {
return true
}
return false
}
// SetDefaultRoles gets a reference to the given []string and assigns it to the DefaultRoles field.
// Deprecated
func (o *ClientRepresentation) SetDefaultRoles(v []string) {
o.DefaultRoles = v
}
// GetRedirectUris returns the RedirectUris field value if set, zero value otherwise.
func (o *ClientRepresentation) GetRedirectUris() []string {
if o == nil || IsNil(o.RedirectUris) {
var ret []string
return ret
}
return o.RedirectUris
}
// GetRedirectUrisOk returns a tuple with the RedirectUris field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ClientRepresentation) GetRedirectUrisOk() ([]string, bool) {
if o == nil || IsNil(o.RedirectUris) {
return nil, false
}
return o.RedirectUris, true
}
// HasRedirectUris returns a boolean if a field has been set.
func (o *ClientRepresentation) HasRedirectUris() bool {
if o != nil && !IsNil(o.RedirectUris) {
return true
}
return false
}
// SetRedirectUris gets a reference to the given []string and assigns it to the RedirectUris field.
func (o *ClientRepresentation) SetRedirectUris(v []string) {
o.RedirectUris = v
}
// GetWebOrigins returns the WebOrigins field value if set, zero value otherwise.
func (o *ClientRepresentation) GetWebOrigins() []string {
if o == nil || IsNil(o.WebOrigins) {
var ret []string
return ret
}
return o.WebOrigins
}
// GetWebOriginsOk returns a tuple with the WebOrigins field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ClientRepresentation) GetWebOriginsOk() ([]string, bool) {
if o == nil || IsNil(o.WebOrigins) {
return nil, false
}
return o.WebOrigins, true
}
// HasWebOrigins returns a boolean if a field has been set.
func (o *ClientRepresentation) HasWebOrigins() bool {
if o != nil && !IsNil(o.WebOrigins) {
return true
}
return false
}
// SetWebOrigins gets a reference to the given []string and assigns it to the WebOrigins field.
func (o *ClientRepresentation) SetWebOrigins(v []string) {
o.WebOrigins = v
}
// GetNotBefore returns the NotBefore field value if set, zero value otherwise.
func (o *ClientRepresentation) GetNotBefore() int32 {
if o == nil || IsNil(o.NotBefore) {
var ret int32
return ret
}
return *o.NotBefore
}
// GetNotBeforeOk returns a tuple with the NotBefore field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ClientRepresentation) GetNotBeforeOk() (*int32, bool) {
if o == nil || IsNil(o.NotBefore) {
return nil, false
}
return o.NotBefore, true
}
// HasNotBefore returns a boolean if a field has been set.
func (o *ClientRepresentation) HasNotBefore() bool {
if o != nil && !IsNil(o.NotBefore) {
return true
}
return false
}
// SetNotBefore gets a reference to the given int32 and assigns it to the NotBefore field.
func (o *ClientRepresentation) SetNotBefore(v int32) {
o.NotBefore = &v
}
// GetBearerOnly returns the BearerOnly field value if set, zero value otherwise.
func (o *ClientRepresentation) GetBearerOnly() bool {
if o == nil || IsNil(o.BearerOnly) {
var ret bool
return ret
}
return *o.BearerOnly
}
// GetBearerOnlyOk returns a tuple with the BearerOnly field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ClientRepresentation) GetBearerOnlyOk() (*bool, bool) {
if o == nil || IsNil(o.BearerOnly) {
return nil, false
}
return o.BearerOnly, true
}
// HasBearerOnly returns a boolean if a field has been set.
func (o *ClientRepresentation) HasBearerOnly() bool {
if o != nil && !IsNil(o.BearerOnly) {
return true
}
return false
}
// SetBearerOnly gets a reference to the given bool and assigns it to the BearerOnly field.
func (o *ClientRepresentation) SetBearerOnly(v bool) {
o.BearerOnly = &v
}
// GetConsentRequired returns the ConsentRequired field value if set, zero value otherwise.
func (o *ClientRepresentation) GetConsentRequired() bool {
if o == nil || IsNil(o.ConsentRequired) {
var ret bool
return ret
}
return *o.ConsentRequired
}
// GetConsentRequiredOk returns a tuple with the ConsentRequired field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ClientRepresentation) GetConsentRequiredOk() (*bool, bool) {
if o == nil || IsNil(o.ConsentRequired) {
return nil, false
}
return o.ConsentRequired, true
}
// HasConsentRequired returns a boolean if a field has been set.
func (o *ClientRepresentation) HasConsentRequired() bool {
if o != nil && !IsNil(o.ConsentRequired) {
return true
}
return false
}
// SetConsentRequired gets a reference to the given bool and assigns it to the ConsentRequired field.
func (o *ClientRepresentation) SetConsentRequired(v bool) {
o.ConsentRequired = &v
}
// GetStandardFlowEnabled returns the StandardFlowEnabled field value if set, zero value otherwise.
func (o *ClientRepresentation) GetStandardFlowEnabled() bool {
if o == nil || IsNil(o.StandardFlowEnabled) {
var ret bool
return ret
}
return *o.StandardFlowEnabled
}
// GetStandardFlowEnabledOk returns a tuple with the StandardFlowEnabled field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ClientRepresentation) GetStandardFlowEnabledOk() (*bool, bool) {
if o == nil || IsNil(o.StandardFlowEnabled) {
return nil, false
}
return o.StandardFlowEnabled, true
}
// HasStandardFlowEnabled returns a boolean if a field has been set.
func (o *ClientRepresentation) HasStandardFlowEnabled() bool {
if o != nil && !IsNil(o.StandardFlowEnabled) {
return true
}
return false
}
// SetStandardFlowEnabled gets a reference to the given bool and assigns it to the StandardFlowEnabled field.
func (o *ClientRepresentation) SetStandardFlowEnabled(v bool) {
o.StandardFlowEnabled = &v
}
// GetImplicitFlowEnabled returns the ImplicitFlowEnabled field value if set, zero value otherwise.
func (o *ClientRepresentation) GetImplicitFlowEnabled() bool {
if o == nil || IsNil(o.ImplicitFlowEnabled) {
var ret bool
return ret
}
return *o.ImplicitFlowEnabled
}
// GetImplicitFlowEnabledOk returns a tuple with the ImplicitFlowEnabled field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ClientRepresentation) GetImplicitFlowEnabledOk() (*bool, bool) {
if o == nil || IsNil(o.ImplicitFlowEnabled) {
return nil, false
}
return o.ImplicitFlowEnabled, true
}
// HasImplicitFlowEnabled returns a boolean if a field has been set.
func (o *ClientRepresentation) HasImplicitFlowEnabled() bool {
if o != nil && !IsNil(o.ImplicitFlowEnabled) {
return true
}
return false
}
// SetImplicitFlowEnabled gets a reference to the given bool and assigns it to the ImplicitFlowEnabled field.
func (o *ClientRepresentation) SetImplicitFlowEnabled(v bool) {
o.ImplicitFlowEnabled = &v
}
// GetDirectAccessGrantsEnabled returns the DirectAccessGrantsEnabled field value if set, zero value otherwise.
func (o *ClientRepresentation) GetDirectAccessGrantsEnabled() bool {
if o == nil || IsNil(o.DirectAccessGrantsEnabled) {
var ret bool
return ret
}
return *o.DirectAccessGrantsEnabled
}
// GetDirectAccessGrantsEnabledOk returns a tuple with the DirectAccessGrantsEnabled field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ClientRepresentation) GetDirectAccessGrantsEnabledOk() (*bool, bool) {
if o == nil || IsNil(o.DirectAccessGrantsEnabled) {
return nil, false
}
return o.DirectAccessGrantsEnabled, true
}
// HasDirectAccessGrantsEnabled returns a boolean if a field has been set.
func (o *ClientRepresentation) HasDirectAccessGrantsEnabled() bool {
if o != nil && !IsNil(o.DirectAccessGrantsEnabled) {
return true
}
return false
}
// SetDirectAccessGrantsEnabled gets a reference to the given bool and assigns it to the DirectAccessGrantsEnabled field.
func (o *ClientRepresentation) SetDirectAccessGrantsEnabled(v bool) {
o.DirectAccessGrantsEnabled = &v
}
// GetServiceAccountsEnabled returns the ServiceAccountsEnabled field value if set, zero value otherwise.
func (o *ClientRepresentation) GetServiceAccountsEnabled() bool {
if o == nil || IsNil(o.ServiceAccountsEnabled) {
var ret bool
return ret
}
return *o.ServiceAccountsEnabled
}
// GetServiceAccountsEnabledOk returns a tuple with the ServiceAccountsEnabled field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ClientRepresentation) GetServiceAccountsEnabledOk() (*bool, bool) {
if o == nil || IsNil(o.ServiceAccountsEnabled) {
return nil, false
}
return o.ServiceAccountsEnabled, true
}
// HasServiceAccountsEnabled returns a boolean if a field has been set.
func (o *ClientRepresentation) HasServiceAccountsEnabled() bool {
if o != nil && !IsNil(o.ServiceAccountsEnabled) {
return true
}
return false
}
// SetServiceAccountsEnabled gets a reference to the given bool and assigns it to the ServiceAccountsEnabled field.
func (o *ClientRepresentation) SetServiceAccountsEnabled(v bool) {
o.ServiceAccountsEnabled = &v
}
// GetAuthorizationServicesEnabled returns the AuthorizationServicesEnabled field value if set, zero value otherwise.
func (o *ClientRepresentation) GetAuthorizationServicesEnabled() bool {
if o == nil || IsNil(o.AuthorizationServicesEnabled) {
var ret bool
return ret
}
return *o.AuthorizationServicesEnabled
}
// GetAuthorizationServicesEnabledOk returns a tuple with the AuthorizationServicesEnabled field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ClientRepresentation) GetAuthorizationServicesEnabledOk() (*bool, bool) {
if o == nil || IsNil(o.AuthorizationServicesEnabled) {
return nil, false
}
return o.AuthorizationServicesEnabled, true
}
// HasAuthorizationServicesEnabled returns a boolean if a field has been set.
func (o *ClientRepresentation) HasAuthorizationServicesEnabled() bool {
if o != nil && !IsNil(o.AuthorizationServicesEnabled) {
return true
}
return false
}
// SetAuthorizationServicesEnabled gets a reference to the given bool and assigns it to the AuthorizationServicesEnabled field.
func (o *ClientRepresentation) SetAuthorizationServicesEnabled(v bool) {
o.AuthorizationServicesEnabled = &v
}
// GetDirectGrantsOnly returns the DirectGrantsOnly field value if set, zero value otherwise.
// Deprecated
func (o *ClientRepresentation) GetDirectGrantsOnly() bool {
if o == nil || IsNil(o.DirectGrantsOnly) {
var ret bool
return ret
}
return *o.DirectGrantsOnly
}
// GetDirectGrantsOnlyOk returns a tuple with the DirectGrantsOnly field value if set, nil otherwise
// and a boolean to check if the value has been set.
// Deprecated
func (o *ClientRepresentation) GetDirectGrantsOnlyOk() (*bool, bool) {
if o == nil || IsNil(o.DirectGrantsOnly) {
return nil, false
}
return o.DirectGrantsOnly, true
}
// HasDirectGrantsOnly returns a boolean if a field has been set.
func (o *ClientRepresentation) HasDirectGrantsOnly() bool {
if o != nil && !IsNil(o.DirectGrantsOnly) {
return true
}
return false
}
// SetDirectGrantsOnly gets a reference to the given bool and assigns it to the DirectGrantsOnly field.
// Deprecated
func (o *ClientRepresentation) SetDirectGrantsOnly(v bool) {
o.DirectGrantsOnly = &v
}
// GetPublicClient returns the PublicClient field value if set, zero value otherwise.
func (o *ClientRepresentation) GetPublicClient() bool {
if o == nil || IsNil(o.PublicClient) {
var ret bool
return ret
}
return *o.PublicClient
}
// GetPublicClientOk returns a tuple with the PublicClient field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ClientRepresentation) GetPublicClientOk() (*bool, bool) {
if o == nil || IsNil(o.PublicClient) {
return nil, false
}
return o.PublicClient, true
}
// HasPublicClient returns a boolean if a field has been set.
func (o *ClientRepresentation) HasPublicClient() bool {
if o != nil && !IsNil(o.PublicClient) {
return true
}
return false
}
// SetPublicClient gets a reference to the given bool and assigns it to the PublicClient field.
func (o *ClientRepresentation) SetPublicClient(v bool) {
o.PublicClient = &v
}
// GetFrontchannelLogout returns the FrontchannelLogout field value if set, zero value otherwise.
func (o *ClientRepresentation) GetFrontchannelLogout() bool {
if o == nil || IsNil(o.FrontchannelLogout) {
var ret bool
return ret
}
return *o.FrontchannelLogout
}
// GetFrontchannelLogoutOk returns a tuple with the FrontchannelLogout field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ClientRepresentation) GetFrontchannelLogoutOk() (*bool, bool) {
if o == nil || IsNil(o.FrontchannelLogout) {
return nil, false
}
return o.FrontchannelLogout, true
}
// HasFrontchannelLogout returns a boolean if a field has been set.
func (o *ClientRepresentation) HasFrontchannelLogout() bool {
if o != nil && !IsNil(o.FrontchannelLogout) {
return true
}
return false
}
// SetFrontchannelLogout gets a reference to the given bool and assigns it to the FrontchannelLogout field.
func (o *ClientRepresentation) SetFrontchannelLogout(v bool) {
o.FrontchannelLogout = &v
}
// GetProtocol returns the Protocol field value if set, zero value otherwise.
func (o *ClientRepresentation) GetProtocol() string {
if o == nil || IsNil(o.Protocol) {
var ret string
return ret
}
return *o.Protocol
}