/
model_internal_saml2_service_provider_dto.go
1510 lines (1293 loc) · 48.7 KB
/
model_internal_saml2_service_provider_dto.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
/*
Atricore Console :: Remote : API
# Atricore Console API
API version: 1.5.1-SNAPSHOT
Contact: sgonzalez@atricore.com
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package jossoappi
import (
"encoding/json"
)
// InternalSaml2ServiceProviderDTO struct for InternalSaml2ServiceProviderDTO
type InternalSaml2ServiceProviderDTO struct {
AccountLinkagePolicy *AccountLinkagePolicyDTO `json:"accountLinkagePolicy,omitempty"`
ActiveBindings []string `json:"activeBindings,omitempty"`
ActiveProfiles []string `json:"activeProfiles,omitempty"`
AuthenticationContract *AuthenticationContractDTO `json:"authenticationContract,omitempty"`
AuthenticationMechanism *AuthenticationMechanismDTO `json:"authenticationMechanism,omitempty"`
Config *ProviderConfigDTO `json:"config,omitempty"`
DashboardUrl *string `json:"dashboardUrl,omitempty"`
Description *string `json:"description,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
ElementId *string `json:"elementId,omitempty"`
EnableMetadataEndpoint *bool `json:"enableMetadataEndpoint,omitempty"`
ErrorBinding *string `json:"errorBinding,omitempty"`
FederatedConnectionsA []FederatedConnectionDTO `json:"federatedConnectionsA,omitempty"`
FederatedConnectionsB []FederatedConnectionDTO `json:"federatedConnectionsB,omitempty"`
Id *int64 `json:"id,omitempty"`
IdentityAppliance *IdentityApplianceDefinitionDTO `json:"identityAppliance,omitempty"`
IdentityLookups []IdentityLookupDTO `json:"identityLookups,omitempty"`
IdentityMappingPolicy *IdentityMappingPolicyDTO `json:"identityMappingPolicy,omitempty"`
IsRemote *bool `json:"isRemote,omitempty"`
Location *LocationDTO `json:"location,omitempty"`
MessageTtl *int32 `json:"messageTtl,omitempty"`
MessageTtlTolerance *int32 `json:"messageTtlTolerance,omitempty"`
Metadata *ResourceDTO `json:"metadata,omitempty"`
MultivaluedAttrGroups *bool `json:"multivaluedAttrGroups,omitempty"`
MultivaluedAttrInternal *bool `json:"multivaluedAttrInternal,omitempty"`
MultivaluedAttrUserDefined *bool `json:"multivaluedAttrUserDefined,omitempty"`
Name *string `json:"name,omitempty"`
Remote *bool `json:"remote,omitempty"`
Role *string `json:"role,omitempty"`
ServiceConnection *ServiceConnectionDTO `json:"serviceConnection,omitempty"`
SignAuthenticationRequests *bool `json:"signAuthenticationRequests,omitempty"`
SignRequests *bool `json:"signRequests,omitempty"`
SignatureHash *string `json:"signatureHash,omitempty"`
WantAssertionSigned *bool `json:"wantAssertionSigned,omitempty"`
WantSLOResponseSigned *bool `json:"wantSLOResponseSigned,omitempty"`
WantSignedRequests *bool `json:"wantSignedRequests,omitempty"`
X *float64 `json:"x,omitempty"`
Y *float64 `json:"y,omitempty"`
AdditionalProperties map[string]interface{}
}
type _InternalSaml2ServiceProviderDTO InternalSaml2ServiceProviderDTO
// NewInternalSaml2ServiceProviderDTO instantiates a new InternalSaml2ServiceProviderDTO 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 NewInternalSaml2ServiceProviderDTO() *InternalSaml2ServiceProviderDTO {
this := InternalSaml2ServiceProviderDTO{}
return &this
}
// NewInternalSaml2ServiceProviderDTOWithDefaults instantiates a new InternalSaml2ServiceProviderDTO 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 NewInternalSaml2ServiceProviderDTOWithDefaults() *InternalSaml2ServiceProviderDTO {
this := InternalSaml2ServiceProviderDTO{}
return &this
}
// GetAccountLinkagePolicy returns the AccountLinkagePolicy field value if set, zero value otherwise.
func (o *InternalSaml2ServiceProviderDTO) GetAccountLinkagePolicy() AccountLinkagePolicyDTO {
if o == nil || isNil(o.AccountLinkagePolicy) {
var ret AccountLinkagePolicyDTO
return ret
}
return *o.AccountLinkagePolicy
}
// GetAccountLinkagePolicyOk returns a tuple with the AccountLinkagePolicy field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *InternalSaml2ServiceProviderDTO) GetAccountLinkagePolicyOk() (*AccountLinkagePolicyDTO, bool) {
if o == nil || isNil(o.AccountLinkagePolicy) {
return nil, false
}
return o.AccountLinkagePolicy, true
}
// HasAccountLinkagePolicy returns a boolean if a field has been set.
func (o *InternalSaml2ServiceProviderDTO) HasAccountLinkagePolicy() bool {
if o != nil && !isNil(o.AccountLinkagePolicy) {
return true
}
return false
}
// SetAccountLinkagePolicy gets a reference to the given AccountLinkagePolicyDTO and assigns it to the AccountLinkagePolicy field.
func (o *InternalSaml2ServiceProviderDTO) SetAccountLinkagePolicy(v AccountLinkagePolicyDTO) {
o.AccountLinkagePolicy = &v
}
// GetActiveBindings returns the ActiveBindings field value if set, zero value otherwise.
func (o *InternalSaml2ServiceProviderDTO) GetActiveBindings() []string {
if o == nil || isNil(o.ActiveBindings) {
var ret []string
return ret
}
return o.ActiveBindings
}
// GetActiveBindingsOk returns a tuple with the ActiveBindings field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *InternalSaml2ServiceProviderDTO) GetActiveBindingsOk() ([]string, bool) {
if o == nil || isNil(o.ActiveBindings) {
return nil, false
}
return o.ActiveBindings, true
}
// HasActiveBindings returns a boolean if a field has been set.
func (o *InternalSaml2ServiceProviderDTO) HasActiveBindings() bool {
if o != nil && !isNil(o.ActiveBindings) {
return true
}
return false
}
// SetActiveBindings gets a reference to the given []string and assigns it to the ActiveBindings field.
func (o *InternalSaml2ServiceProviderDTO) SetActiveBindings(v []string) {
o.ActiveBindings = v
}
// GetActiveProfiles returns the ActiveProfiles field value if set, zero value otherwise.
func (o *InternalSaml2ServiceProviderDTO) GetActiveProfiles() []string {
if o == nil || isNil(o.ActiveProfiles) {
var ret []string
return ret
}
return o.ActiveProfiles
}
// GetActiveProfilesOk returns a tuple with the ActiveProfiles field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *InternalSaml2ServiceProviderDTO) GetActiveProfilesOk() ([]string, bool) {
if o == nil || isNil(o.ActiveProfiles) {
return nil, false
}
return o.ActiveProfiles, true
}
// HasActiveProfiles returns a boolean if a field has been set.
func (o *InternalSaml2ServiceProviderDTO) HasActiveProfiles() bool {
if o != nil && !isNil(o.ActiveProfiles) {
return true
}
return false
}
// SetActiveProfiles gets a reference to the given []string and assigns it to the ActiveProfiles field.
func (o *InternalSaml2ServiceProviderDTO) SetActiveProfiles(v []string) {
o.ActiveProfiles = v
}
// GetAuthenticationContract returns the AuthenticationContract field value if set, zero value otherwise.
func (o *InternalSaml2ServiceProviderDTO) GetAuthenticationContract() AuthenticationContractDTO {
if o == nil || isNil(o.AuthenticationContract) {
var ret AuthenticationContractDTO
return ret
}
return *o.AuthenticationContract
}
// GetAuthenticationContractOk returns a tuple with the AuthenticationContract field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *InternalSaml2ServiceProviderDTO) GetAuthenticationContractOk() (*AuthenticationContractDTO, bool) {
if o == nil || isNil(o.AuthenticationContract) {
return nil, false
}
return o.AuthenticationContract, true
}
// HasAuthenticationContract returns a boolean if a field has been set.
func (o *InternalSaml2ServiceProviderDTO) HasAuthenticationContract() bool {
if o != nil && !isNil(o.AuthenticationContract) {
return true
}
return false
}
// SetAuthenticationContract gets a reference to the given AuthenticationContractDTO and assigns it to the AuthenticationContract field.
func (o *InternalSaml2ServiceProviderDTO) SetAuthenticationContract(v AuthenticationContractDTO) {
o.AuthenticationContract = &v
}
// GetAuthenticationMechanism returns the AuthenticationMechanism field value if set, zero value otherwise.
func (o *InternalSaml2ServiceProviderDTO) GetAuthenticationMechanism() AuthenticationMechanismDTO {
if o == nil || isNil(o.AuthenticationMechanism) {
var ret AuthenticationMechanismDTO
return ret
}
return *o.AuthenticationMechanism
}
// GetAuthenticationMechanismOk returns a tuple with the AuthenticationMechanism field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *InternalSaml2ServiceProviderDTO) GetAuthenticationMechanismOk() (*AuthenticationMechanismDTO, bool) {
if o == nil || isNil(o.AuthenticationMechanism) {
return nil, false
}
return o.AuthenticationMechanism, true
}
// HasAuthenticationMechanism returns a boolean if a field has been set.
func (o *InternalSaml2ServiceProviderDTO) HasAuthenticationMechanism() bool {
if o != nil && !isNil(o.AuthenticationMechanism) {
return true
}
return false
}
// SetAuthenticationMechanism gets a reference to the given AuthenticationMechanismDTO and assigns it to the AuthenticationMechanism field.
func (o *InternalSaml2ServiceProviderDTO) SetAuthenticationMechanism(v AuthenticationMechanismDTO) {
o.AuthenticationMechanism = &v
}
// GetConfig returns the Config field value if set, zero value otherwise.
func (o *InternalSaml2ServiceProviderDTO) GetConfig() ProviderConfigDTO {
if o == nil || isNil(o.Config) {
var ret ProviderConfigDTO
return ret
}
return *o.Config
}
// GetConfigOk returns a tuple with the Config field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *InternalSaml2ServiceProviderDTO) GetConfigOk() (*ProviderConfigDTO, bool) {
if o == nil || isNil(o.Config) {
return nil, false
}
return o.Config, true
}
// HasConfig returns a boolean if a field has been set.
func (o *InternalSaml2ServiceProviderDTO) HasConfig() bool {
if o != nil && !isNil(o.Config) {
return true
}
return false
}
// SetConfig gets a reference to the given ProviderConfigDTO and assigns it to the Config field.
func (o *InternalSaml2ServiceProviderDTO) SetConfig(v ProviderConfigDTO) {
o.Config = &v
}
// GetDashboardUrl returns the DashboardUrl field value if set, zero value otherwise.
func (o *InternalSaml2ServiceProviderDTO) GetDashboardUrl() string {
if o == nil || isNil(o.DashboardUrl) {
var ret string
return ret
}
return *o.DashboardUrl
}
// GetDashboardUrlOk returns a tuple with the DashboardUrl field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *InternalSaml2ServiceProviderDTO) GetDashboardUrlOk() (*string, bool) {
if o == nil || isNil(o.DashboardUrl) {
return nil, false
}
return o.DashboardUrl, true
}
// HasDashboardUrl returns a boolean if a field has been set.
func (o *InternalSaml2ServiceProviderDTO) HasDashboardUrl() bool {
if o != nil && !isNil(o.DashboardUrl) {
return true
}
return false
}
// SetDashboardUrl gets a reference to the given string and assigns it to the DashboardUrl field.
func (o *InternalSaml2ServiceProviderDTO) SetDashboardUrl(v string) {
o.DashboardUrl = &v
}
// GetDescription returns the Description field value if set, zero value otherwise.
func (o *InternalSaml2ServiceProviderDTO) 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 *InternalSaml2ServiceProviderDTO) 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 *InternalSaml2ServiceProviderDTO) 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 *InternalSaml2ServiceProviderDTO) SetDescription(v string) {
o.Description = &v
}
// GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (o *InternalSaml2ServiceProviderDTO) GetDisplayName() string {
if o == nil || isNil(o.DisplayName) {
var ret string
return ret
}
return *o.DisplayName
}
// GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *InternalSaml2ServiceProviderDTO) GetDisplayNameOk() (*string, bool) {
if o == nil || isNil(o.DisplayName) {
return nil, false
}
return o.DisplayName, true
}
// HasDisplayName returns a boolean if a field has been set.
func (o *InternalSaml2ServiceProviderDTO) HasDisplayName() bool {
if o != nil && !isNil(o.DisplayName) {
return true
}
return false
}
// SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (o *InternalSaml2ServiceProviderDTO) SetDisplayName(v string) {
o.DisplayName = &v
}
// GetElementId returns the ElementId field value if set, zero value otherwise.
func (o *InternalSaml2ServiceProviderDTO) GetElementId() string {
if o == nil || isNil(o.ElementId) {
var ret string
return ret
}
return *o.ElementId
}
// GetElementIdOk returns a tuple with the ElementId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *InternalSaml2ServiceProviderDTO) GetElementIdOk() (*string, bool) {
if o == nil || isNil(o.ElementId) {
return nil, false
}
return o.ElementId, true
}
// HasElementId returns a boolean if a field has been set.
func (o *InternalSaml2ServiceProviderDTO) HasElementId() bool {
if o != nil && !isNil(o.ElementId) {
return true
}
return false
}
// SetElementId gets a reference to the given string and assigns it to the ElementId field.
func (o *InternalSaml2ServiceProviderDTO) SetElementId(v string) {
o.ElementId = &v
}
// GetEnableMetadataEndpoint returns the EnableMetadataEndpoint field value if set, zero value otherwise.
func (o *InternalSaml2ServiceProviderDTO) GetEnableMetadataEndpoint() bool {
if o == nil || isNil(o.EnableMetadataEndpoint) {
var ret bool
return ret
}
return *o.EnableMetadataEndpoint
}
// GetEnableMetadataEndpointOk returns a tuple with the EnableMetadataEndpoint field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *InternalSaml2ServiceProviderDTO) GetEnableMetadataEndpointOk() (*bool, bool) {
if o == nil || isNil(o.EnableMetadataEndpoint) {
return nil, false
}
return o.EnableMetadataEndpoint, true
}
// HasEnableMetadataEndpoint returns a boolean if a field has been set.
func (o *InternalSaml2ServiceProviderDTO) HasEnableMetadataEndpoint() bool {
if o != nil && !isNil(o.EnableMetadataEndpoint) {
return true
}
return false
}
// SetEnableMetadataEndpoint gets a reference to the given bool and assigns it to the EnableMetadataEndpoint field.
func (o *InternalSaml2ServiceProviderDTO) SetEnableMetadataEndpoint(v bool) {
o.EnableMetadataEndpoint = &v
}
// GetErrorBinding returns the ErrorBinding field value if set, zero value otherwise.
func (o *InternalSaml2ServiceProviderDTO) GetErrorBinding() string {
if o == nil || isNil(o.ErrorBinding) {
var ret string
return ret
}
return *o.ErrorBinding
}
// GetErrorBindingOk returns a tuple with the ErrorBinding field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *InternalSaml2ServiceProviderDTO) GetErrorBindingOk() (*string, bool) {
if o == nil || isNil(o.ErrorBinding) {
return nil, false
}
return o.ErrorBinding, true
}
// HasErrorBinding returns a boolean if a field has been set.
func (o *InternalSaml2ServiceProviderDTO) HasErrorBinding() bool {
if o != nil && !isNil(o.ErrorBinding) {
return true
}
return false
}
// SetErrorBinding gets a reference to the given string and assigns it to the ErrorBinding field.
func (o *InternalSaml2ServiceProviderDTO) SetErrorBinding(v string) {
o.ErrorBinding = &v
}
// GetFederatedConnectionsA returns the FederatedConnectionsA field value if set, zero value otherwise.
func (o *InternalSaml2ServiceProviderDTO) GetFederatedConnectionsA() []FederatedConnectionDTO {
if o == nil || isNil(o.FederatedConnectionsA) {
var ret []FederatedConnectionDTO
return ret
}
return o.FederatedConnectionsA
}
// GetFederatedConnectionsAOk returns a tuple with the FederatedConnectionsA field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *InternalSaml2ServiceProviderDTO) GetFederatedConnectionsAOk() ([]FederatedConnectionDTO, bool) {
if o == nil || isNil(o.FederatedConnectionsA) {
return nil, false
}
return o.FederatedConnectionsA, true
}
// HasFederatedConnectionsA returns a boolean if a field has been set.
func (o *InternalSaml2ServiceProviderDTO) HasFederatedConnectionsA() bool {
if o != nil && !isNil(o.FederatedConnectionsA) {
return true
}
return false
}
// SetFederatedConnectionsA gets a reference to the given []FederatedConnectionDTO and assigns it to the FederatedConnectionsA field.
func (o *InternalSaml2ServiceProviderDTO) SetFederatedConnectionsA(v []FederatedConnectionDTO) {
o.FederatedConnectionsA = v
}
// GetFederatedConnectionsB returns the FederatedConnectionsB field value if set, zero value otherwise.
func (o *InternalSaml2ServiceProviderDTO) GetFederatedConnectionsB() []FederatedConnectionDTO {
if o == nil || isNil(o.FederatedConnectionsB) {
var ret []FederatedConnectionDTO
return ret
}
return o.FederatedConnectionsB
}
// GetFederatedConnectionsBOk returns a tuple with the FederatedConnectionsB field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *InternalSaml2ServiceProviderDTO) GetFederatedConnectionsBOk() ([]FederatedConnectionDTO, bool) {
if o == nil || isNil(o.FederatedConnectionsB) {
return nil, false
}
return o.FederatedConnectionsB, true
}
// HasFederatedConnectionsB returns a boolean if a field has been set.
func (o *InternalSaml2ServiceProviderDTO) HasFederatedConnectionsB() bool {
if o != nil && !isNil(o.FederatedConnectionsB) {
return true
}
return false
}
// SetFederatedConnectionsB gets a reference to the given []FederatedConnectionDTO and assigns it to the FederatedConnectionsB field.
func (o *InternalSaml2ServiceProviderDTO) SetFederatedConnectionsB(v []FederatedConnectionDTO) {
o.FederatedConnectionsB = v
}
// GetId returns the Id field value if set, zero value otherwise.
func (o *InternalSaml2ServiceProviderDTO) GetId() int64 {
if o == nil || isNil(o.Id) {
var ret int64
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 *InternalSaml2ServiceProviderDTO) GetIdOk() (*int64, 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 *InternalSaml2ServiceProviderDTO) HasId() bool {
if o != nil && !isNil(o.Id) {
return true
}
return false
}
// SetId gets a reference to the given int64 and assigns it to the Id field.
func (o *InternalSaml2ServiceProviderDTO) SetId(v int64) {
o.Id = &v
}
// GetIdentityAppliance returns the IdentityAppliance field value if set, zero value otherwise.
func (o *InternalSaml2ServiceProviderDTO) GetIdentityAppliance() IdentityApplianceDefinitionDTO {
if o == nil || isNil(o.IdentityAppliance) {
var ret IdentityApplianceDefinitionDTO
return ret
}
return *o.IdentityAppliance
}
// GetIdentityApplianceOk returns a tuple with the IdentityAppliance field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *InternalSaml2ServiceProviderDTO) GetIdentityApplianceOk() (*IdentityApplianceDefinitionDTO, bool) {
if o == nil || isNil(o.IdentityAppliance) {
return nil, false
}
return o.IdentityAppliance, true
}
// HasIdentityAppliance returns a boolean if a field has been set.
func (o *InternalSaml2ServiceProviderDTO) HasIdentityAppliance() bool {
if o != nil && !isNil(o.IdentityAppliance) {
return true
}
return false
}
// SetIdentityAppliance gets a reference to the given IdentityApplianceDefinitionDTO and assigns it to the IdentityAppliance field.
func (o *InternalSaml2ServiceProviderDTO) SetIdentityAppliance(v IdentityApplianceDefinitionDTO) {
o.IdentityAppliance = &v
}
// GetIdentityLookups returns the IdentityLookups field value if set, zero value otherwise.
func (o *InternalSaml2ServiceProviderDTO) GetIdentityLookups() []IdentityLookupDTO {
if o == nil || isNil(o.IdentityLookups) {
var ret []IdentityLookupDTO
return ret
}
return o.IdentityLookups
}
// GetIdentityLookupsOk returns a tuple with the IdentityLookups field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *InternalSaml2ServiceProviderDTO) GetIdentityLookupsOk() ([]IdentityLookupDTO, bool) {
if o == nil || isNil(o.IdentityLookups) {
return nil, false
}
return o.IdentityLookups, true
}
// HasIdentityLookups returns a boolean if a field has been set.
func (o *InternalSaml2ServiceProviderDTO) HasIdentityLookups() bool {
if o != nil && !isNil(o.IdentityLookups) {
return true
}
return false
}
// SetIdentityLookups gets a reference to the given []IdentityLookupDTO and assigns it to the IdentityLookups field.
func (o *InternalSaml2ServiceProviderDTO) SetIdentityLookups(v []IdentityLookupDTO) {
o.IdentityLookups = v
}
// GetIdentityMappingPolicy returns the IdentityMappingPolicy field value if set, zero value otherwise.
func (o *InternalSaml2ServiceProviderDTO) GetIdentityMappingPolicy() IdentityMappingPolicyDTO {
if o == nil || isNil(o.IdentityMappingPolicy) {
var ret IdentityMappingPolicyDTO
return ret
}
return *o.IdentityMappingPolicy
}
// GetIdentityMappingPolicyOk returns a tuple with the IdentityMappingPolicy field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *InternalSaml2ServiceProviderDTO) GetIdentityMappingPolicyOk() (*IdentityMappingPolicyDTO, bool) {
if o == nil || isNil(o.IdentityMappingPolicy) {
return nil, false
}
return o.IdentityMappingPolicy, true
}
// HasIdentityMappingPolicy returns a boolean if a field has been set.
func (o *InternalSaml2ServiceProviderDTO) HasIdentityMappingPolicy() bool {
if o != nil && !isNil(o.IdentityMappingPolicy) {
return true
}
return false
}
// SetIdentityMappingPolicy gets a reference to the given IdentityMappingPolicyDTO and assigns it to the IdentityMappingPolicy field.
func (o *InternalSaml2ServiceProviderDTO) SetIdentityMappingPolicy(v IdentityMappingPolicyDTO) {
o.IdentityMappingPolicy = &v
}
// GetIsRemote returns the IsRemote field value if set, zero value otherwise.
func (o *InternalSaml2ServiceProviderDTO) GetIsRemote() bool {
if o == nil || isNil(o.IsRemote) {
var ret bool
return ret
}
return *o.IsRemote
}
// GetIsRemoteOk returns a tuple with the IsRemote field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *InternalSaml2ServiceProviderDTO) GetIsRemoteOk() (*bool, bool) {
if o == nil || isNil(o.IsRemote) {
return nil, false
}
return o.IsRemote, true
}
// HasIsRemote returns a boolean if a field has been set.
func (o *InternalSaml2ServiceProviderDTO) HasIsRemote() bool {
if o != nil && !isNil(o.IsRemote) {
return true
}
return false
}
// SetIsRemote gets a reference to the given bool and assigns it to the IsRemote field.
func (o *InternalSaml2ServiceProviderDTO) SetIsRemote(v bool) {
o.IsRemote = &v
}
// GetLocation returns the Location field value if set, zero value otherwise.
func (o *InternalSaml2ServiceProviderDTO) GetLocation() LocationDTO {
if o == nil || isNil(o.Location) {
var ret LocationDTO
return ret
}
return *o.Location
}
// GetLocationOk returns a tuple with the Location field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *InternalSaml2ServiceProviderDTO) GetLocationOk() (*LocationDTO, bool) {
if o == nil || isNil(o.Location) {
return nil, false
}
return o.Location, true
}
// HasLocation returns a boolean if a field has been set.
func (o *InternalSaml2ServiceProviderDTO) HasLocation() bool {
if o != nil && !isNil(o.Location) {
return true
}
return false
}
// SetLocation gets a reference to the given LocationDTO and assigns it to the Location field.
func (o *InternalSaml2ServiceProviderDTO) SetLocation(v LocationDTO) {
o.Location = &v
}
// GetMessageTtl returns the MessageTtl field value if set, zero value otherwise.
func (o *InternalSaml2ServiceProviderDTO) GetMessageTtl() int32 {
if o == nil || isNil(o.MessageTtl) {
var ret int32
return ret
}
return *o.MessageTtl
}
// GetMessageTtlOk returns a tuple with the MessageTtl field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *InternalSaml2ServiceProviderDTO) GetMessageTtlOk() (*int32, bool) {
if o == nil || isNil(o.MessageTtl) {
return nil, false
}
return o.MessageTtl, true
}
// HasMessageTtl returns a boolean if a field has been set.
func (o *InternalSaml2ServiceProviderDTO) HasMessageTtl() bool {
if o != nil && !isNil(o.MessageTtl) {
return true
}
return false
}
// SetMessageTtl gets a reference to the given int32 and assigns it to the MessageTtl field.
func (o *InternalSaml2ServiceProviderDTO) SetMessageTtl(v int32) {
o.MessageTtl = &v
}
// GetMessageTtlTolerance returns the MessageTtlTolerance field value if set, zero value otherwise.
func (o *InternalSaml2ServiceProviderDTO) GetMessageTtlTolerance() int32 {
if o == nil || isNil(o.MessageTtlTolerance) {
var ret int32
return ret
}
return *o.MessageTtlTolerance
}
// GetMessageTtlToleranceOk returns a tuple with the MessageTtlTolerance field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *InternalSaml2ServiceProviderDTO) GetMessageTtlToleranceOk() (*int32, bool) {
if o == nil || isNil(o.MessageTtlTolerance) {
return nil, false
}
return o.MessageTtlTolerance, true
}
// HasMessageTtlTolerance returns a boolean if a field has been set.
func (o *InternalSaml2ServiceProviderDTO) HasMessageTtlTolerance() bool {
if o != nil && !isNil(o.MessageTtlTolerance) {
return true
}
return false
}
// SetMessageTtlTolerance gets a reference to the given int32 and assigns it to the MessageTtlTolerance field.
func (o *InternalSaml2ServiceProviderDTO) SetMessageTtlTolerance(v int32) {
o.MessageTtlTolerance = &v
}
// GetMetadata returns the Metadata field value if set, zero value otherwise.
func (o *InternalSaml2ServiceProviderDTO) GetMetadata() ResourceDTO {
if o == nil || isNil(o.Metadata) {
var ret ResourceDTO
return ret
}
return *o.Metadata
}
// GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *InternalSaml2ServiceProviderDTO) GetMetadataOk() (*ResourceDTO, bool) {
if o == nil || isNil(o.Metadata) {
return nil, false
}
return o.Metadata, true
}
// HasMetadata returns a boolean if a field has been set.
func (o *InternalSaml2ServiceProviderDTO) HasMetadata() bool {
if o != nil && !isNil(o.Metadata) {
return true
}
return false
}
// SetMetadata gets a reference to the given ResourceDTO and assigns it to the Metadata field.
func (o *InternalSaml2ServiceProviderDTO) SetMetadata(v ResourceDTO) {
o.Metadata = &v
}
// GetMultivaluedAttrGroups returns the MultivaluedAttrGroups field value if set, zero value otherwise.
func (o *InternalSaml2ServiceProviderDTO) GetMultivaluedAttrGroups() bool {
if o == nil || isNil(o.MultivaluedAttrGroups) {
var ret bool
return ret
}
return *o.MultivaluedAttrGroups
}
// GetMultivaluedAttrGroupsOk returns a tuple with the MultivaluedAttrGroups field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *InternalSaml2ServiceProviderDTO) GetMultivaluedAttrGroupsOk() (*bool, bool) {
if o == nil || isNil(o.MultivaluedAttrGroups) {
return nil, false
}
return o.MultivaluedAttrGroups, true
}
// HasMultivaluedAttrGroups returns a boolean if a field has been set.
func (o *InternalSaml2ServiceProviderDTO) HasMultivaluedAttrGroups() bool {
if o != nil && !isNil(o.MultivaluedAttrGroups) {
return true
}
return false
}
// SetMultivaluedAttrGroups gets a reference to the given bool and assigns it to the MultivaluedAttrGroups field.
func (o *InternalSaml2ServiceProviderDTO) SetMultivaluedAttrGroups(v bool) {
o.MultivaluedAttrGroups = &v
}
// GetMultivaluedAttrInternal returns the MultivaluedAttrInternal field value if set, zero value otherwise.
func (o *InternalSaml2ServiceProviderDTO) GetMultivaluedAttrInternal() bool {
if o == nil || isNil(o.MultivaluedAttrInternal) {
var ret bool
return ret
}
return *o.MultivaluedAttrInternal
}
// GetMultivaluedAttrInternalOk returns a tuple with the MultivaluedAttrInternal field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *InternalSaml2ServiceProviderDTO) GetMultivaluedAttrInternalOk() (*bool, bool) {
if o == nil || isNil(o.MultivaluedAttrInternal) {
return nil, false
}
return o.MultivaluedAttrInternal, true
}
// HasMultivaluedAttrInternal returns a boolean if a field has been set.
func (o *InternalSaml2ServiceProviderDTO) HasMultivaluedAttrInternal() bool {
if o != nil && !isNil(o.MultivaluedAttrInternal) {
return true
}
return false
}
// SetMultivaluedAttrInternal gets a reference to the given bool and assigns it to the MultivaluedAttrInternal field.
func (o *InternalSaml2ServiceProviderDTO) SetMultivaluedAttrInternal(v bool) {
o.MultivaluedAttrInternal = &v
}
// GetMultivaluedAttrUserDefined returns the MultivaluedAttrUserDefined field value if set, zero value otherwise.
func (o *InternalSaml2ServiceProviderDTO) GetMultivaluedAttrUserDefined() bool {
if o == nil || isNil(o.MultivaluedAttrUserDefined) {
var ret bool
return ret
}
return *o.MultivaluedAttrUserDefined
}
// GetMultivaluedAttrUserDefinedOk returns a tuple with the MultivaluedAttrUserDefined field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *InternalSaml2ServiceProviderDTO) GetMultivaluedAttrUserDefinedOk() (*bool, bool) {
if o == nil || isNil(o.MultivaluedAttrUserDefined) {
return nil, false
}
return o.MultivaluedAttrUserDefined, true
}
// HasMultivaluedAttrUserDefined returns a boolean if a field has been set.
func (o *InternalSaml2ServiceProviderDTO) HasMultivaluedAttrUserDefined() bool {
if o != nil && !isNil(o.MultivaluedAttrUserDefined) {
return true
}
return false
}
// SetMultivaluedAttrUserDefined gets a reference to the given bool and assigns it to the MultivaluedAttrUserDefined field.
func (o *InternalSaml2ServiceProviderDTO) SetMultivaluedAttrUserDefined(v bool) {
o.MultivaluedAttrUserDefined = &v
}
// GetName returns the Name field value if set, zero value otherwise.
func (o *InternalSaml2ServiceProviderDTO) 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 *InternalSaml2ServiceProviderDTO) 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 *InternalSaml2ServiceProviderDTO) 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 *InternalSaml2ServiceProviderDTO) SetName(v string) {
o.Name = &v
}
// GetRemote returns the Remote field value if set, zero value otherwise.
func (o *InternalSaml2ServiceProviderDTO) GetRemote() bool {
if o == nil || isNil(o.Remote) {
var ret bool
return ret
}
return *o.Remote
}
// GetRemoteOk returns a tuple with the Remote field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *InternalSaml2ServiceProviderDTO) GetRemoteOk() (*bool, bool) {
if o == nil || isNil(o.Remote) {
return nil, false
}
return o.Remote, true
}
// HasRemote returns a boolean if a field has been set.
func (o *InternalSaml2ServiceProviderDTO) HasRemote() bool {
if o != nil && !isNil(o.Remote) {
return true
}
return false
}
// SetRemote gets a reference to the given bool and assigns it to the Remote field.
func (o *InternalSaml2ServiceProviderDTO) SetRemote(v bool) {
o.Remote = &v
}
// GetRole returns the Role field value if set, zero value otherwise.
func (o *InternalSaml2ServiceProviderDTO) GetRole() string {
if o == nil || isNil(o.Role) {
var ret string
return ret
}
return *o.Role
}
// GetRoleOk returns a tuple with the Role field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *InternalSaml2ServiceProviderDTO) GetRoleOk() (*string, bool) {
if o == nil || isNil(o.Role) {
return nil, false
}
return o.Role, true
}
// HasRole returns a boolean if a field has been set.
func (o *InternalSaml2ServiceProviderDTO) HasRole() bool {
if o != nil && !isNil(o.Role) {
return true
}
return false