-
Notifications
You must be signed in to change notification settings - Fork 3
/
model_source.go
1363 lines (1170 loc) · 45.3 KB
/
model_source.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
/*
Identity Security Cloud V3 API
Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.
API version: 3.0.0
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package api_v3
import (
"encoding/json"
"time"
"fmt"
)
// checks if the Source type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &Source{}
// Source struct for Source
type Source struct {
// the id of the Source
Id *string `json:"id,omitempty"`
// Human-readable name of the source
Name string `json:"name"`
// Human-readable description of the source
Description *string `json:"description,omitempty"`
Owner SourceOwner `json:"owner"`
Cluster NullableSourceCluster `json:"cluster,omitempty"`
AccountCorrelationConfig NullableSourceAccountCorrelationConfig `json:"accountCorrelationConfig,omitempty"`
AccountCorrelationRule NullableSourceAccountCorrelationRule `json:"accountCorrelationRule,omitempty"`
ManagerCorrelationMapping *SourceManagerCorrelationMapping `json:"managerCorrelationMapping,omitempty"`
ManagerCorrelationRule NullableSourceManagerCorrelationRule `json:"managerCorrelationRule,omitempty"`
BeforeProvisioningRule NullableSourceBeforeProvisioningRule `json:"beforeProvisioningRule,omitempty"`
// List of references to Schema objects
Schemas []SourceSchemasInner `json:"schemas,omitempty"`
// List of references to the associated PasswordPolicy objects.
PasswordPolicies []SourcePasswordPoliciesInner `json:"passwordPolicies,omitempty"`
// Optional features that can be supported by a source. Modifying the features array may cause source configuration errors that are unsupportable. It is recommended to not modify this array for SailPoint supported connectors. * AUTHENTICATE: The source supports pass-through authentication. * COMPOSITE: The source supports composite source creation. * DIRECT_PERMISSIONS: The source supports returning DirectPermissions. * DISCOVER_SCHEMA: The source supports discovering schemas for users and groups. * ENABLE The source supports reading if an account is enabled or disabled. * MANAGER_LOOKUP: The source supports looking up managers as they are encountered in a feed. This is the opposite of NO_RANDOM_ACCESS. * NO_RANDOM_ACCESS: The source does not support random access and the getObject() methods should not be called and expected to perform. * PROXY: The source can serve as a proxy for another source. When an source has a proxy, all connector calls made with that source are redirected through the connector for the proxy source. * SEARCH * TEMPLATE * UNLOCK: The source supports reading if an account is locked or unlocked. * UNSTRUCTURED_TARGETS: The source supports returning unstructured Targets. * SHAREPOINT_TARGET: The source supports returning unstructured Target data for SharePoint. It will be typically used by AD, LDAP sources. * PROVISIONING: The source can both read and write accounts. Having this feature implies that the provision() method is implemented. It also means that direct and target permissions can also be provisioned if they can be returned by aggregation. * GROUP_PROVISIONING: The source can both read and write groups. Having this feature implies that the provision() method is implemented. * SYNC_PROVISIONING: The source can provision accounts synchronously. * PASSWORD: The source can provision password changes. Since sources can never read passwords, this is should only be used in conjunction with the PROVISIONING feature. * CURRENT_PASSWORD: Some source types support verification of the current password * ACCOUNT_ONLY_REQUEST: The source supports requesting accounts without entitlements. * ADDITIONAL_ACCOUNT_REQUEST: The source supports requesting additional accounts. * NO_AGGREGATION: A source that does not support aggregation. * GROUPS_HAVE_MEMBERS: The source models group memberships with a member attribute on the group object rather than a groups attribute on the account object. This effects the implementation of delta account aggregation. * NO_PERMISSIONS_PROVISIONING: Indicates that the connector cannot provision direct or target permissions for accounts. When DIRECT_PERMISSIONS and PROVISIONING features are present, it is assumed that the connector can also provision direct permissions. This feature disables that assumption and causes permission request to be converted to work items for accounts. * NO_GROUP_PERMISSIONS_PROVISIONING: Indicates that the connector cannot provision direct or target permissions for groups. When DIRECT_PERMISSIONS and PROVISIONING features are present, it is assumed that the connector can also provision direct permissions. This feature disables that assumption and causes permission request to be converted to work items for groups. * NO_UNSTRUCTURED_TARGETS_PROVISIONING: This string will be replaced by NO_GROUP_PERMISSIONS_PROVISIONING and NO_PERMISSIONS_PROVISIONING. * NO_DIRECT_PERMISSIONS_PROVISIONING: This string will be replaced by NO_GROUP_PERMISSIONS_PROVISIONING and NO_PERMISSIONS_PROVISIONING. * USES_UUID: Connectivity 2.0 flag used to indicate that the connector supports a compound naming structure. * PREFER_UUID: Used in ISC Provisioning AND Aggregation to decide if it should prefer account.uuid to account.nativeIdentity when data is read in through aggregation OR pushed out through provisioning. * ARM_SECURITY_EXTRACT: Indicates the application supports Security extracts for ARM * ARM_UTILIZATION_EXTRACT: Indicates the application supports Utilization extracts for ARM * ARM_CHANGELOG_EXTRACT: Indicates the application supports Change-log extracts for ARM
Features []string `json:"features,omitempty"`
// Specifies the type of system being managed e.g. Active Directory, Workday, etc.. If you are creating a Delimited File source, you must set the `provisionasCsv` query parameter to `true`.
Type *string `json:"type,omitempty"`
// Connector script name.
Connector string `json:"connector"`
// The fully qualified name of the Java class that implements the connector interface.
ConnectorClass *string `json:"connectorClass,omitempty"`
// Connector specific configuration; will differ from type to type.
ConnectorAttributes map[string]interface{} `json:"connectorAttributes,omitempty"`
// Number from 0 to 100 that specifies when to skip the delete phase.
DeleteThreshold *int32 `json:"deleteThreshold,omitempty"`
// When true indicates the source is referenced by an IdentityProfile.
Authoritative *bool `json:"authoritative,omitempty"`
ManagementWorkgroup NullableSourceManagementWorkgroup `json:"managementWorkgroup,omitempty"`
// When true indicates a healthy source
Healthy *bool `json:"healthy,omitempty"`
// A status identifier, giving specific information on why a source is healthy or not
Status *string `json:"status,omitempty"`
// Timestamp showing when a source health check was last performed
Since *string `json:"since,omitempty"`
// The id of connector
ConnectorId *string `json:"connectorId,omitempty"`
// The name of the connector that was chosen on source creation
ConnectorName *string `json:"connectorName,omitempty"`
// The type of connection (direct or file)
ConnectionType *string `json:"connectionType,omitempty"`
// The connector implementation id
ConnectorImplementationId *string `json:"connectorImplementationId,omitempty"`
// The date-time when the source was created
Created *time.Time `json:"created,omitempty"`
// The date-time when the source was last modified
Modified *time.Time `json:"modified,omitempty"`
// Enables credential provider for this source. If credentialProvider is turned on then source can use credential provider(s) to fetch credentials.
CredentialProviderEnabled *bool `json:"credentialProviderEnabled,omitempty"`
// The category of source (e.g. null, CredentialProvider)
Category NullableString `json:"category,omitempty"`
AdditionalProperties map[string]interface{}
}
type _Source Source
// NewSource instantiates a new Source 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 NewSource(name string, owner SourceOwner, connector string) *Source {
this := Source{}
this.Name = name
this.Owner = owner
this.Connector = connector
var authoritative bool = false
this.Authoritative = &authoritative
var healthy bool = false
this.Healthy = &healthy
var credentialProviderEnabled bool = false
this.CredentialProviderEnabled = &credentialProviderEnabled
return &this
}
// NewSourceWithDefaults instantiates a new Source 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 NewSourceWithDefaults() *Source {
this := Source{}
var authoritative bool = false
this.Authoritative = &authoritative
var healthy bool = false
this.Healthy = &healthy
var credentialProviderEnabled bool = false
this.CredentialProviderEnabled = &credentialProviderEnabled
return &this
}
// GetId returns the Id field value if set, zero value otherwise.
func (o *Source) 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 *Source) 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 *Source) 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 *Source) SetId(v string) {
o.Id = &v
}
// GetName returns the Name field value
func (o *Source) GetName() string {
if o == nil {
var ret string
return ret
}
return o.Name
}
// GetNameOk returns a tuple with the Name field value
// and a boolean to check if the value has been set.
func (o *Source) GetNameOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.Name, true
}
// SetName sets field value
func (o *Source) SetName(v string) {
o.Name = v
}
// GetDescription returns the Description field value if set, zero value otherwise.
func (o *Source) 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 *Source) 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 *Source) 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 *Source) SetDescription(v string) {
o.Description = &v
}
// GetOwner returns the Owner field value
func (o *Source) GetOwner() SourceOwner {
if o == nil {
var ret SourceOwner
return ret
}
return o.Owner
}
// GetOwnerOk returns a tuple with the Owner field value
// and a boolean to check if the value has been set.
func (o *Source) GetOwnerOk() (*SourceOwner, bool) {
if o == nil {
return nil, false
}
return &o.Owner, true
}
// SetOwner sets field value
func (o *Source) SetOwner(v SourceOwner) {
o.Owner = v
}
// GetCluster returns the Cluster field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *Source) GetCluster() SourceCluster {
if o == nil || isNil(o.Cluster.Get()) {
var ret SourceCluster
return ret
}
return *o.Cluster.Get()
}
// GetClusterOk returns a tuple with the Cluster field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *Source) GetClusterOk() (*SourceCluster, bool) {
if o == nil {
return nil, false
}
return o.Cluster.Get(), o.Cluster.IsSet()
}
// HasCluster returns a boolean if a field has been set.
func (o *Source) HasCluster() bool {
if o != nil && o.Cluster.IsSet() {
return true
}
return false
}
// SetCluster gets a reference to the given NullableSourceCluster and assigns it to the Cluster field.
func (o *Source) SetCluster(v SourceCluster) {
o.Cluster.Set(&v)
}
// SetClusterNil sets the value for Cluster to be an explicit nil
func (o *Source) SetClusterNil() {
o.Cluster.Set(nil)
}
// UnsetCluster ensures that no value is present for Cluster, not even an explicit nil
func (o *Source) UnsetCluster() {
o.Cluster.Unset()
}
// GetAccountCorrelationConfig returns the AccountCorrelationConfig field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *Source) GetAccountCorrelationConfig() SourceAccountCorrelationConfig {
if o == nil || isNil(o.AccountCorrelationConfig.Get()) {
var ret SourceAccountCorrelationConfig
return ret
}
return *o.AccountCorrelationConfig.Get()
}
// GetAccountCorrelationConfigOk returns a tuple with the AccountCorrelationConfig field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *Source) GetAccountCorrelationConfigOk() (*SourceAccountCorrelationConfig, bool) {
if o == nil {
return nil, false
}
return o.AccountCorrelationConfig.Get(), o.AccountCorrelationConfig.IsSet()
}
// HasAccountCorrelationConfig returns a boolean if a field has been set.
func (o *Source) HasAccountCorrelationConfig() bool {
if o != nil && o.AccountCorrelationConfig.IsSet() {
return true
}
return false
}
// SetAccountCorrelationConfig gets a reference to the given NullableSourceAccountCorrelationConfig and assigns it to the AccountCorrelationConfig field.
func (o *Source) SetAccountCorrelationConfig(v SourceAccountCorrelationConfig) {
o.AccountCorrelationConfig.Set(&v)
}
// SetAccountCorrelationConfigNil sets the value for AccountCorrelationConfig to be an explicit nil
func (o *Source) SetAccountCorrelationConfigNil() {
o.AccountCorrelationConfig.Set(nil)
}
// UnsetAccountCorrelationConfig ensures that no value is present for AccountCorrelationConfig, not even an explicit nil
func (o *Source) UnsetAccountCorrelationConfig() {
o.AccountCorrelationConfig.Unset()
}
// GetAccountCorrelationRule returns the AccountCorrelationRule field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *Source) GetAccountCorrelationRule() SourceAccountCorrelationRule {
if o == nil || isNil(o.AccountCorrelationRule.Get()) {
var ret SourceAccountCorrelationRule
return ret
}
return *o.AccountCorrelationRule.Get()
}
// GetAccountCorrelationRuleOk returns a tuple with the AccountCorrelationRule field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *Source) GetAccountCorrelationRuleOk() (*SourceAccountCorrelationRule, bool) {
if o == nil {
return nil, false
}
return o.AccountCorrelationRule.Get(), o.AccountCorrelationRule.IsSet()
}
// HasAccountCorrelationRule returns a boolean if a field has been set.
func (o *Source) HasAccountCorrelationRule() bool {
if o != nil && o.AccountCorrelationRule.IsSet() {
return true
}
return false
}
// SetAccountCorrelationRule gets a reference to the given NullableSourceAccountCorrelationRule and assigns it to the AccountCorrelationRule field.
func (o *Source) SetAccountCorrelationRule(v SourceAccountCorrelationRule) {
o.AccountCorrelationRule.Set(&v)
}
// SetAccountCorrelationRuleNil sets the value for AccountCorrelationRule to be an explicit nil
func (o *Source) SetAccountCorrelationRuleNil() {
o.AccountCorrelationRule.Set(nil)
}
// UnsetAccountCorrelationRule ensures that no value is present for AccountCorrelationRule, not even an explicit nil
func (o *Source) UnsetAccountCorrelationRule() {
o.AccountCorrelationRule.Unset()
}
// GetManagerCorrelationMapping returns the ManagerCorrelationMapping field value if set, zero value otherwise.
func (o *Source) GetManagerCorrelationMapping() SourceManagerCorrelationMapping {
if o == nil || isNil(o.ManagerCorrelationMapping) {
var ret SourceManagerCorrelationMapping
return ret
}
return *o.ManagerCorrelationMapping
}
// GetManagerCorrelationMappingOk returns a tuple with the ManagerCorrelationMapping field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *Source) GetManagerCorrelationMappingOk() (*SourceManagerCorrelationMapping, bool) {
if o == nil || isNil(o.ManagerCorrelationMapping) {
return nil, false
}
return o.ManagerCorrelationMapping, true
}
// HasManagerCorrelationMapping returns a boolean if a field has been set.
func (o *Source) HasManagerCorrelationMapping() bool {
if o != nil && !isNil(o.ManagerCorrelationMapping) {
return true
}
return false
}
// SetManagerCorrelationMapping gets a reference to the given SourceManagerCorrelationMapping and assigns it to the ManagerCorrelationMapping field.
func (o *Source) SetManagerCorrelationMapping(v SourceManagerCorrelationMapping) {
o.ManagerCorrelationMapping = &v
}
// GetManagerCorrelationRule returns the ManagerCorrelationRule field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *Source) GetManagerCorrelationRule() SourceManagerCorrelationRule {
if o == nil || isNil(o.ManagerCorrelationRule.Get()) {
var ret SourceManagerCorrelationRule
return ret
}
return *o.ManagerCorrelationRule.Get()
}
// GetManagerCorrelationRuleOk returns a tuple with the ManagerCorrelationRule field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *Source) GetManagerCorrelationRuleOk() (*SourceManagerCorrelationRule, bool) {
if o == nil {
return nil, false
}
return o.ManagerCorrelationRule.Get(), o.ManagerCorrelationRule.IsSet()
}
// HasManagerCorrelationRule returns a boolean if a field has been set.
func (o *Source) HasManagerCorrelationRule() bool {
if o != nil && o.ManagerCorrelationRule.IsSet() {
return true
}
return false
}
// SetManagerCorrelationRule gets a reference to the given NullableSourceManagerCorrelationRule and assigns it to the ManagerCorrelationRule field.
func (o *Source) SetManagerCorrelationRule(v SourceManagerCorrelationRule) {
o.ManagerCorrelationRule.Set(&v)
}
// SetManagerCorrelationRuleNil sets the value for ManagerCorrelationRule to be an explicit nil
func (o *Source) SetManagerCorrelationRuleNil() {
o.ManagerCorrelationRule.Set(nil)
}
// UnsetManagerCorrelationRule ensures that no value is present for ManagerCorrelationRule, not even an explicit nil
func (o *Source) UnsetManagerCorrelationRule() {
o.ManagerCorrelationRule.Unset()
}
// GetBeforeProvisioningRule returns the BeforeProvisioningRule field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *Source) GetBeforeProvisioningRule() SourceBeforeProvisioningRule {
if o == nil || isNil(o.BeforeProvisioningRule.Get()) {
var ret SourceBeforeProvisioningRule
return ret
}
return *o.BeforeProvisioningRule.Get()
}
// GetBeforeProvisioningRuleOk returns a tuple with the BeforeProvisioningRule field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *Source) GetBeforeProvisioningRuleOk() (*SourceBeforeProvisioningRule, bool) {
if o == nil {
return nil, false
}
return o.BeforeProvisioningRule.Get(), o.BeforeProvisioningRule.IsSet()
}
// HasBeforeProvisioningRule returns a boolean if a field has been set.
func (o *Source) HasBeforeProvisioningRule() bool {
if o != nil && o.BeforeProvisioningRule.IsSet() {
return true
}
return false
}
// SetBeforeProvisioningRule gets a reference to the given NullableSourceBeforeProvisioningRule and assigns it to the BeforeProvisioningRule field.
func (o *Source) SetBeforeProvisioningRule(v SourceBeforeProvisioningRule) {
o.BeforeProvisioningRule.Set(&v)
}
// SetBeforeProvisioningRuleNil sets the value for BeforeProvisioningRule to be an explicit nil
func (o *Source) SetBeforeProvisioningRuleNil() {
o.BeforeProvisioningRule.Set(nil)
}
// UnsetBeforeProvisioningRule ensures that no value is present for BeforeProvisioningRule, not even an explicit nil
func (o *Source) UnsetBeforeProvisioningRule() {
o.BeforeProvisioningRule.Unset()
}
// GetSchemas returns the Schemas field value if set, zero value otherwise.
func (o *Source) GetSchemas() []SourceSchemasInner {
if o == nil || isNil(o.Schemas) {
var ret []SourceSchemasInner
return ret
}
return o.Schemas
}
// GetSchemasOk returns a tuple with the Schemas field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *Source) GetSchemasOk() ([]SourceSchemasInner, bool) {
if o == nil || isNil(o.Schemas) {
return nil, false
}
return o.Schemas, true
}
// HasSchemas returns a boolean if a field has been set.
func (o *Source) HasSchemas() bool {
if o != nil && !isNil(o.Schemas) {
return true
}
return false
}
// SetSchemas gets a reference to the given []SourceSchemasInner and assigns it to the Schemas field.
func (o *Source) SetSchemas(v []SourceSchemasInner) {
o.Schemas = v
}
// GetPasswordPolicies returns the PasswordPolicies field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *Source) GetPasswordPolicies() []SourcePasswordPoliciesInner {
if o == nil {
var ret []SourcePasswordPoliciesInner
return ret
}
return o.PasswordPolicies
}
// GetPasswordPoliciesOk returns a tuple with the PasswordPolicies field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *Source) GetPasswordPoliciesOk() ([]SourcePasswordPoliciesInner, bool) {
if o == nil || isNil(o.PasswordPolicies) {
return nil, false
}
return o.PasswordPolicies, true
}
// HasPasswordPolicies returns a boolean if a field has been set.
func (o *Source) HasPasswordPolicies() bool {
if o != nil && isNil(o.PasswordPolicies) {
return true
}
return false
}
// SetPasswordPolicies gets a reference to the given []SourcePasswordPoliciesInner and assigns it to the PasswordPolicies field.
func (o *Source) SetPasswordPolicies(v []SourcePasswordPoliciesInner) {
o.PasswordPolicies = v
}
// GetFeatures returns the Features field value if set, zero value otherwise.
func (o *Source) GetFeatures() []string {
if o == nil || isNil(o.Features) {
var ret []string
return ret
}
return o.Features
}
// GetFeaturesOk returns a tuple with the Features field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *Source) GetFeaturesOk() ([]string, bool) {
if o == nil || isNil(o.Features) {
return nil, false
}
return o.Features, true
}
// HasFeatures returns a boolean if a field has been set.
func (o *Source) HasFeatures() bool {
if o != nil && !isNil(o.Features) {
return true
}
return false
}
// SetFeatures gets a reference to the given []string and assigns it to the Features field.
func (o *Source) SetFeatures(v []string) {
o.Features = v
}
// GetType returns the Type field value if set, zero value otherwise.
func (o *Source) 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 *Source) 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 *Source) 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 *Source) SetType(v string) {
o.Type = &v
}
// GetConnector returns the Connector field value
func (o *Source) GetConnector() string {
if o == nil {
var ret string
return ret
}
return o.Connector
}
// GetConnectorOk returns a tuple with the Connector field value
// and a boolean to check if the value has been set.
func (o *Source) GetConnectorOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.Connector, true
}
// SetConnector sets field value
func (o *Source) SetConnector(v string) {
o.Connector = v
}
// GetConnectorClass returns the ConnectorClass field value if set, zero value otherwise.
func (o *Source) GetConnectorClass() string {
if o == nil || isNil(o.ConnectorClass) {
var ret string
return ret
}
return *o.ConnectorClass
}
// GetConnectorClassOk returns a tuple with the ConnectorClass field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *Source) GetConnectorClassOk() (*string, bool) {
if o == nil || isNil(o.ConnectorClass) {
return nil, false
}
return o.ConnectorClass, true
}
// HasConnectorClass returns a boolean if a field has been set.
func (o *Source) HasConnectorClass() bool {
if o != nil && !isNil(o.ConnectorClass) {
return true
}
return false
}
// SetConnectorClass gets a reference to the given string and assigns it to the ConnectorClass field.
func (o *Source) SetConnectorClass(v string) {
o.ConnectorClass = &v
}
// GetConnectorAttributes returns the ConnectorAttributes field value if set, zero value otherwise.
func (o *Source) GetConnectorAttributes() map[string]interface{} {
if o == nil || isNil(o.ConnectorAttributes) {
var ret map[string]interface{}
return ret
}
return o.ConnectorAttributes
}
// GetConnectorAttributesOk returns a tuple with the ConnectorAttributes field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *Source) GetConnectorAttributesOk() (map[string]interface{}, bool) {
if o == nil || isNil(o.ConnectorAttributes) {
return map[string]interface{}{}, false
}
return o.ConnectorAttributes, true
}
// HasConnectorAttributes returns a boolean if a field has been set.
func (o *Source) HasConnectorAttributes() bool {
if o != nil && !isNil(o.ConnectorAttributes) {
return true
}
return false
}
// SetConnectorAttributes gets a reference to the given map[string]interface{} and assigns it to the ConnectorAttributes field.
func (o *Source) SetConnectorAttributes(v map[string]interface{}) {
o.ConnectorAttributes = v
}
// GetDeleteThreshold returns the DeleteThreshold field value if set, zero value otherwise.
func (o *Source) GetDeleteThreshold() int32 {
if o == nil || isNil(o.DeleteThreshold) {
var ret int32
return ret
}
return *o.DeleteThreshold
}
// GetDeleteThresholdOk returns a tuple with the DeleteThreshold field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *Source) GetDeleteThresholdOk() (*int32, bool) {
if o == nil || isNil(o.DeleteThreshold) {
return nil, false
}
return o.DeleteThreshold, true
}
// HasDeleteThreshold returns a boolean if a field has been set.
func (o *Source) HasDeleteThreshold() bool {
if o != nil && !isNil(o.DeleteThreshold) {
return true
}
return false
}
// SetDeleteThreshold gets a reference to the given int32 and assigns it to the DeleteThreshold field.
func (o *Source) SetDeleteThreshold(v int32) {
o.DeleteThreshold = &v
}
// GetAuthoritative returns the Authoritative field value if set, zero value otherwise.
func (o *Source) GetAuthoritative() bool {
if o == nil || isNil(o.Authoritative) {
var ret bool
return ret
}
return *o.Authoritative
}
// GetAuthoritativeOk returns a tuple with the Authoritative field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *Source) GetAuthoritativeOk() (*bool, bool) {
if o == nil || isNil(o.Authoritative) {
return nil, false
}
return o.Authoritative, true
}
// HasAuthoritative returns a boolean if a field has been set.
func (o *Source) HasAuthoritative() bool {
if o != nil && !isNil(o.Authoritative) {
return true
}
return false
}
// SetAuthoritative gets a reference to the given bool and assigns it to the Authoritative field.
func (o *Source) SetAuthoritative(v bool) {
o.Authoritative = &v
}
// GetManagementWorkgroup returns the ManagementWorkgroup field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *Source) GetManagementWorkgroup() SourceManagementWorkgroup {
if o == nil || isNil(o.ManagementWorkgroup.Get()) {
var ret SourceManagementWorkgroup
return ret
}
return *o.ManagementWorkgroup.Get()
}
// GetManagementWorkgroupOk returns a tuple with the ManagementWorkgroup field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *Source) GetManagementWorkgroupOk() (*SourceManagementWorkgroup, bool) {
if o == nil {
return nil, false
}
return o.ManagementWorkgroup.Get(), o.ManagementWorkgroup.IsSet()
}
// HasManagementWorkgroup returns a boolean if a field has been set.
func (o *Source) HasManagementWorkgroup() bool {
if o != nil && o.ManagementWorkgroup.IsSet() {
return true
}
return false
}
// SetManagementWorkgroup gets a reference to the given NullableSourceManagementWorkgroup and assigns it to the ManagementWorkgroup field.
func (o *Source) SetManagementWorkgroup(v SourceManagementWorkgroup) {
o.ManagementWorkgroup.Set(&v)
}
// SetManagementWorkgroupNil sets the value for ManagementWorkgroup to be an explicit nil
func (o *Source) SetManagementWorkgroupNil() {
o.ManagementWorkgroup.Set(nil)
}
// UnsetManagementWorkgroup ensures that no value is present for ManagementWorkgroup, not even an explicit nil
func (o *Source) UnsetManagementWorkgroup() {
o.ManagementWorkgroup.Unset()
}
// GetHealthy returns the Healthy field value if set, zero value otherwise.
func (o *Source) GetHealthy() bool {
if o == nil || isNil(o.Healthy) {
var ret bool
return ret
}
return *o.Healthy
}
// GetHealthyOk returns a tuple with the Healthy field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *Source) GetHealthyOk() (*bool, bool) {
if o == nil || isNil(o.Healthy) {
return nil, false
}
return o.Healthy, true
}
// HasHealthy returns a boolean if a field has been set.
func (o *Source) HasHealthy() bool {
if o != nil && !isNil(o.Healthy) {
return true
}
return false
}
// SetHealthy gets a reference to the given bool and assigns it to the Healthy field.
func (o *Source) SetHealthy(v bool) {
o.Healthy = &v
}
// GetStatus returns the Status field value if set, zero value otherwise.
func (o *Source) GetStatus() string {
if o == nil || isNil(o.Status) {
var ret string
return ret
}
return *o.Status
}
// GetStatusOk returns a tuple with the Status field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *Source) GetStatusOk() (*string, bool) {
if o == nil || isNil(o.Status) {
return nil, false
}
return o.Status, true
}
// HasStatus returns a boolean if a field has been set.
func (o *Source) HasStatus() bool {
if o != nil && !isNil(o.Status) {
return true
}
return false
}
// SetStatus gets a reference to the given string and assigns it to the Status field.
func (o *Source) SetStatus(v string) {
o.Status = &v
}
// GetSince returns the Since field value if set, zero value otherwise.
func (o *Source) GetSince() string {
if o == nil || isNil(o.Since) {
var ret string
return ret
}
return *o.Since
}
// GetSinceOk returns a tuple with the Since field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *Source) GetSinceOk() (*string, bool) {
if o == nil || isNil(o.Since) {
return nil, false
}
return o.Since, true
}
// HasSince returns a boolean if a field has been set.
func (o *Source) HasSince() bool {
if o != nil && !isNil(o.Since) {
return true
}
return false
}
// SetSince gets a reference to the given string and assigns it to the Since field.
func (o *Source) SetSince(v string) {
o.Since = &v
}
// GetConnectorId returns the ConnectorId field value if set, zero value otherwise.
func (o *Source) GetConnectorId() string {
if o == nil || isNil(o.ConnectorId) {
var ret string
return ret
}
return *o.ConnectorId
}
// GetConnectorIdOk returns a tuple with the ConnectorId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *Source) GetConnectorIdOk() (*string, bool) {
if o == nil || isNil(o.ConnectorId) {
return nil, false
}
return o.ConnectorId, true
}
// HasConnectorId returns a boolean if a field has been set.
func (o *Source) HasConnectorId() bool {
if o != nil && !isNil(o.ConnectorId) {
return true
}
return false
}
// SetConnectorId gets a reference to the given string and assigns it to the ConnectorId field.
func (o *Source) SetConnectorId(v string) {
o.ConnectorId = &v
}
// GetConnectorName returns the ConnectorName field value if set, zero value otherwise.
func (o *Source) GetConnectorName() string {
if o == nil || isNil(o.ConnectorName) {
var ret string
return ret
}
return *o.ConnectorName
}
// GetConnectorNameOk returns a tuple with the ConnectorName field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *Source) GetConnectorNameOk() (*string, bool) {
if o == nil || isNil(o.ConnectorName) {
return nil, false
}
return o.ConnectorName, true
}
// HasConnectorName returns a boolean if a field has been set.
func (o *Source) HasConnectorName() bool {
if o != nil && !isNil(o.ConnectorName) {
return true
}
return false
}
// SetConnectorName gets a reference to the given string and assigns it to the ConnectorName field.
func (o *Source) SetConnectorName(v string) {
o.ConnectorName = &v
}
// GetConnectionType returns the ConnectionType field value if set, zero value otherwise.
func (o *Source) GetConnectionType() string {
if o == nil || isNil(o.ConnectionType) {
var ret string
return ret
}
return *o.ConnectionType
}
// GetConnectionTypeOk returns a tuple with the ConnectionType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *Source) GetConnectionTypeOk() (*string, bool) {
if o == nil || isNil(o.ConnectionType) {
return nil, false
}
return o.ConnectionType, true
}
// HasConnectionType returns a boolean if a field has been set.
func (o *Source) HasConnectionType() bool {
if o != nil && !isNil(o.ConnectionType) {
return true
}
return false
}
// SetConnectionType gets a reference to the given string and assigns it to the ConnectionType field.
func (o *Source) SetConnectionType(v string) {
o.ConnectionType = &v
}
// GetConnectorImplementationId returns the ConnectorImplementationId field value if set, zero value otherwise.
func (o *Source) GetConnectorImplementationId() string {
if o == nil || isNil(o.ConnectorImplementationId) {
var ret string
return ret
}
return *o.ConnectorImplementationId
}
// GetConnectorImplementationIdOk returns a tuple with the ConnectorImplementationId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *Source) GetConnectorImplementationIdOk() (*string, bool) {
if o == nil || isNil(o.ConnectorImplementationId) {
return nil, false
}
return o.ConnectorImplementationId, true
}