authentik-api 2026.5.5 → 2026.8.0.rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README_API.md +105 -9
- data/lib/authentik/api/api/admin_api.rb +3 -0
- data/lib/authentik/api/api/core_api.rb +651 -27
- data/lib/authentik/api/api/endpoints_api.rb +7 -7
- data/lib/authentik/api/api/events_api.rb +35 -2
- data/lib/authentik/api/api/lifecycle_api.rb +258 -0
- data/lib/authentik/api/api/providers_api.rb +401 -0
- data/lib/authentik/api/api/requests_api.rb +1858 -0
- data/lib/authentik/api/api/sources_api.rb +6 -3
- data/lib/authentik/api/configuration.rb +14 -0
- data/lib/authentik/api/inflector.rb +2 -1
- data/lib/authentik/api/models/app_enum.rb +3 -1
- data/lib/authentik/api/models/application.rb +27 -1
- data/lib/authentik/api/models/authenticator_web_authn_stage.rb +1 -11
- data/lib/authentik/api/models/authenticator_web_authn_stage_request.rb +1 -11
- data/lib/authentik/api/models/brand.rb +21 -1
- data/lib/authentik/api/models/brand_request.rb +21 -1
- data/lib/authentik/api/models/captcha_stage.rb +32 -1
- data/lib/authentik/api/models/captcha_stage_request.rb +32 -1
- data/lib/authentik/api/models/compatibility_mode_enum.rb +2 -1
- data/lib/authentik/api/models/content_type.rb +30 -4
- data/lib/authentik/api/models/current_brand.rb +19 -1
- data/lib/authentik/api/models/current_brand_flags.rb +1 -55
- data/lib/authentik/api/models/device_user_binding.rb +39 -1
- data/lib/authentik/api/models/event_actions.rb +6 -1
- data/lib/authentik/api/models/grant_request.rb +382 -0
- data/lib/authentik/api/models/{reviewer_group.rb → grant_request_create_request.rb} +29 -42
- data/lib/authentik/api/models/{grant_types_enum.rb → grant_type_enum.rb} +5 -4
- data/lib/authentik/api/models/last_task_status_enum.rb +2 -1
- data/lib/authentik/api/models/ldap_outpost_config.rb +1 -1
- data/lib/authentik/api/models/ldap_source.rb +14 -4
- data/lib/authentik/api/models/ldap_source_request.rb +14 -4
- data/lib/authentik/api/models/lifecycle_rule.rb +2 -2
- data/lib/authentik/api/models/model_enum.rb +8 -1
- data/lib/authentik/api/models/notification_mode_enum.rb +35 -0
- data/lib/authentik/api/models/o_auth2_dynamic_client_registration.rb +291 -0
- data/lib/authentik/api/models/o_auth2_dynamic_client_registration_request.rb +303 -0
- data/lib/authentik/api/models/o_auth2_provider.rb +1 -1
- data/lib/authentik/api/models/o_auth2_provider_request.rb +1 -1
- data/lib/authentik/api/models/o_auth_source.rb +0 -60
- data/lib/authentik/api/models/o_auth_source_request.rb +0 -60
- data/lib/authentik/api/models/object_attribute.rb +420 -0
- data/lib/authentik/api/models/object_attribute_request.rb +358 -0
- data/lib/authentik/api/models/object_attribute_type_enum.rb +35 -0
- data/lib/authentik/api/models/offboarding_action_enum.rb +34 -0
- data/lib/authentik/api/models/offboarding_status_enum.rb +36 -0
- data/lib/authentik/api/models/paginated_grant_request_list.rb +214 -0
- data/lib/authentik/api/models/paginated_o_auth2_dynamic_client_registration_list.rb +214 -0
- data/lib/authentik/api/models/paginated_object_attribute_list.rb +214 -0
- data/lib/authentik/api/models/paginated_request_rule_binding_list.rb +214 -0
- data/lib/authentik/api/models/paginated_request_rule_child_binding_list.rb +214 -0
- data/lib/authentik/api/models/paginated_request_rule_list.rb +214 -0
- data/lib/authentik/api/models/paginated_requestable_target_list.rb +214 -0
- data/lib/authentik/api/models/paginated_user_offboarding_list.rb +214 -0
- data/lib/authentik/api/models/patched_authenticator_web_authn_stage_request.rb +1 -11
- data/lib/authentik/api/models/patched_brand_request.rb +21 -1
- data/lib/authentik/api/models/patched_captcha_stage_request.rb +32 -1
- data/lib/authentik/api/models/patched_grant_request_fulfill_request.rb +175 -0
- data/lib/authentik/api/models/patched_ldap_source_request.rb +14 -4
- data/lib/authentik/api/models/patched_o_auth2_dynamic_client_registration_request.rb +286 -0
- data/lib/authentik/api/models/patched_o_auth2_provider_request.rb +1 -1
- data/lib/authentik/api/models/patched_o_auth_source_request.rb +0 -60
- data/lib/authentik/api/models/patched_object_attribute_request.rb +320 -0
- data/lib/authentik/api/models/patched_request_rule_binding_request.rb +249 -0
- data/lib/authentik/api/models/patched_request_rule_child_binding_request.rb +159 -0
- data/lib/authentik/api/models/patched_request_rule_request.rb +277 -0
- data/lib/authentik/api/models/patched_saml_source_request.rb +8 -8
- data/lib/authentik/api/models/patched_settings_request.rb +30 -1
- data/lib/authentik/api/models/patched_settings_request_flags.rb +1 -1
- data/lib/authentik/api/models/patched_ws_federation_provider_request.rb +11 -1
- data/lib/authentik/api/models/policy_binding.rb +42 -4
- data/lib/authentik/api/models/provider_type_enum.rb +2 -3
- data/lib/authentik/api/models/related_rule.rb +2 -2
- data/lib/authentik/api/models/related_target.rb +266 -0
- data/lib/authentik/api/models/request_content_type_enum.rb +34 -0
- data/lib/authentik/api/models/request_rule.rb +329 -0
- data/lib/authentik/api/models/request_rule_binding.rb +353 -0
- data/lib/authentik/api/models/request_rule_binding_request.rb +283 -0
- data/lib/authentik/api/models/{reviewer_user.rb → request_rule_child_binding.rb} +34 -99
- data/lib/authentik/api/models/request_rule_child_binding_request.rb +193 -0
- data/lib/authentik/api/models/request_rule_request.rb +284 -0
- data/lib/authentik/api/models/request_status.rb +36 -0
- data/lib/authentik/api/models/requestable_target.rb +278 -0
- data/lib/authentik/api/models/review.rb +1 -1
- data/lib/authentik/api/models/saml_source.rb +35 -8
- data/lib/authentik/api/models/saml_source_request.rb +8 -8
- data/lib/authentik/api/models/saml_version_enum.rb +34 -0
- data/lib/authentik/api/models/session_user.rb +32 -4
- data/lib/authentik/api/models/settings.rb +30 -1
- data/lib/authentik/api/models/settings_request.rb +30 -1
- data/lib/authentik/api/models/system_info.rb +31 -4
- data/lib/authentik/api/models/task_aggregated_status_enum.rb +2 -1
- data/lib/authentik/api/models/task_status_enum.rb +2 -1
- data/lib/authentik/api/models/user_offboarding.rb +379 -0
- data/lib/authentik/api/models/user_offboarding_request.rb +237 -0
- data/lib/authentik/api/models/user_self.rb +28 -1
- data/lib/authentik/api/models/user_switch_action_enum.rb +34 -0
- data/lib/authentik/api/models/user_switch_request.rb +173 -0
- data/lib/authentik/api/models/user_switch_response.rb +159 -0
- data/lib/authentik/api/models/ws_federation_provider.rb +41 -4
- data/lib/authentik/api/models/ws_federation_provider_request.rb +11 -1
- data/lib/authentik/api/version.rb +1 -1
- data/spec/api/admin_api_spec.rb +1 -0
- data/spec/api/core_api_spec.rb +119 -0
- data/spec/api/events_api_spec.rb +11 -0
- data/spec/api/lifecycle_api_spec.rb +47 -0
- data/spec/api/providers_api_spec.rb +73 -0
- data/spec/api/requests_api_spec.rb +365 -0
- data/spec/api/sources_api_spec.rb +2 -1
- data/spec/models/application_spec.rb +6 -0
- data/spec/models/authenticator_web_authn_stage_request_spec.rb +0 -6
- data/spec/models/authenticator_web_authn_stage_spec.rb +0 -6
- data/spec/models/brand_request_spec.rb +12 -0
- data/spec/models/brand_spec.rb +12 -0
- data/spec/models/captcha_stage_request_spec.rb +6 -0
- data/spec/models/captcha_stage_spec.rb +6 -0
- data/spec/models/content_type_spec.rb +6 -0
- data/spec/models/current_brand_flags_spec.rb +0 -12
- data/spec/models/current_brand_spec.rb +12 -0
- data/spec/models/device_user_binding_spec.rb +12 -0
- data/spec/models/grant_request_create_request_spec.rb +36 -0
- data/spec/models/grant_request_spec.rb +90 -0
- data/spec/models/{grant_types_enum_spec.rb → grant_type_enum_spec.rb} +6 -6
- data/spec/models/ldap_source_request_spec.rb +6 -0
- data/spec/models/ldap_source_spec.rb +6 -0
- data/spec/models/notification_mode_enum_spec.rb +24 -0
- data/spec/models/o_auth2_dynamic_client_registration_request_spec.rb +78 -0
- data/spec/models/o_auth2_dynamic_client_registration_spec.rb +84 -0
- data/spec/models/object_attribute_request_spec.rb +84 -0
- data/spec/models/object_attribute_spec.rb +108 -0
- data/spec/models/object_attribute_type_enum_spec.rb +24 -0
- data/spec/models/offboarding_action_enum_spec.rb +24 -0
- data/spec/models/offboarding_status_enum_spec.rb +24 -0
- data/spec/models/paginated_grant_request_list_spec.rb +42 -0
- data/spec/models/paginated_o_auth2_dynamic_client_registration_list_spec.rb +42 -0
- data/spec/models/paginated_object_attribute_list_spec.rb +42 -0
- data/spec/models/paginated_request_rule_binding_list_spec.rb +42 -0
- data/spec/models/paginated_request_rule_child_binding_list_spec.rb +42 -0
- data/spec/models/paginated_request_rule_list_spec.rb +42 -0
- data/spec/models/paginated_requestable_target_list_spec.rb +42 -0
- data/spec/models/paginated_user_offboarding_list_spec.rb +42 -0
- data/spec/models/patched_authenticator_web_authn_stage_request_spec.rb +0 -6
- data/spec/models/patched_brand_request_spec.rb +12 -0
- data/spec/models/patched_captcha_stage_request_spec.rb +6 -0
- data/spec/models/patched_grant_request_fulfill_request_spec.rb +36 -0
- data/spec/models/patched_ldap_source_request_spec.rb +6 -0
- data/spec/models/patched_o_auth2_dynamic_client_registration_request_spec.rb +78 -0
- data/spec/models/patched_object_attribute_request_spec.rb +84 -0
- data/spec/models/patched_request_rule_binding_request_spec.rb +60 -0
- data/spec/models/patched_request_rule_child_binding_request_spec.rb +42 -0
- data/spec/models/patched_request_rule_request_spec.rb +72 -0
- data/spec/models/patched_saml_source_request_spec.rb +1 -1
- data/spec/models/patched_settings_request_spec.rb +6 -0
- data/spec/models/patched_ws_federation_provider_request_spec.rb +6 -0
- data/spec/models/policy_binding_spec.rb +12 -0
- data/spec/models/related_target_spec.rb +54 -0
- data/spec/models/request_content_type_enum_spec.rb +24 -0
- data/spec/models/request_rule_binding_request_spec.rb +60 -0
- data/spec/models/request_rule_binding_spec.rb +84 -0
- data/spec/models/request_rule_child_binding_request_spec.rb +42 -0
- data/spec/models/{reviewer_user_spec.rb → request_rule_child_binding_spec.rb} +8 -14
- data/spec/models/request_rule_request_spec.rb +72 -0
- data/spec/models/request_rule_spec.rb +84 -0
- data/spec/models/request_status_spec.rb +24 -0
- data/spec/models/requestable_target_spec.rb +60 -0
- data/spec/models/saml_source_request_spec.rb +1 -1
- data/spec/models/saml_source_spec.rb +7 -1
- data/spec/models/saml_version_enum_spec.rb +24 -0
- data/spec/models/session_user_spec.rb +6 -0
- data/spec/models/settings_request_spec.rb +6 -0
- data/spec/models/settings_spec.rb +6 -0
- data/spec/models/system_info_spec.rb +6 -0
- data/spec/models/user_offboarding_request_spec.rb +54 -0
- data/spec/models/user_offboarding_spec.rb +90 -0
- data/spec/models/user_self_spec.rb +6 -0
- data/spec/models/user_switch_action_enum_spec.rb +24 -0
- data/spec/models/{reviewer_group_spec.rb → user_switch_request_spec.rb} +8 -8
- data/spec/models/user_switch_response_spec.rb +30 -0
- data/spec/models/ws_federation_provider_request_spec.rb +6 -0
- data/spec/models/ws_federation_provider_spec.rb +12 -0
- metadata +127 -10
|
@@ -67,8 +67,11 @@ module Authentik::Api
|
|
|
67
67
|
# Flow used before authentication.
|
|
68
68
|
attr_accessor :pre_authentication_flow
|
|
69
69
|
|
|
70
|
-
# Also known as Entity ID. Defaults the Metadata URL.
|
|
71
|
-
attr_accessor :
|
|
70
|
+
# Also known as Entity ID. Defaults to the Metadata URL.
|
|
71
|
+
attr_accessor :issuer_override
|
|
72
|
+
|
|
73
|
+
# Get the resolved Issuer, falling back to the metadata URL when unset
|
|
74
|
+
attr_accessor :url_issuer
|
|
72
75
|
|
|
73
76
|
# URL that the initial Login request is sent to.
|
|
74
77
|
attr_accessor :sso_url
|
|
@@ -154,7 +157,8 @@ module Authentik::Api
|
|
|
154
157
|
:'icon_themed_urls' => :'icon_themed_urls',
|
|
155
158
|
:'group_matching_mode' => :'group_matching_mode',
|
|
156
159
|
:'pre_authentication_flow' => :'pre_authentication_flow',
|
|
157
|
-
:'
|
|
160
|
+
:'issuer_override' => :'issuer_override',
|
|
161
|
+
:'url_issuer' => :'url_issuer',
|
|
158
162
|
:'sso_url' => :'sso_url',
|
|
159
163
|
:'slo_url' => :'slo_url',
|
|
160
164
|
:'allow_idp_initiated' => :'allow_idp_initiated',
|
|
@@ -207,7 +211,8 @@ module Authentik::Api
|
|
|
207
211
|
:'icon_themed_urls' => :'ThemedUrls',
|
|
208
212
|
:'group_matching_mode' => :'GroupMatchingModeEnum',
|
|
209
213
|
:'pre_authentication_flow' => :'String',
|
|
210
|
-
:'
|
|
214
|
+
:'issuer_override' => :'String',
|
|
215
|
+
:'url_issuer' => :'String',
|
|
211
216
|
:'sso_url' => :'String',
|
|
212
217
|
:'slo_url' => :'String',
|
|
213
218
|
:'allow_idp_initiated' => :'Boolean',
|
|
@@ -369,8 +374,14 @@ module Authentik::Api
|
|
|
369
374
|
self.pre_authentication_flow = nil
|
|
370
375
|
end
|
|
371
376
|
|
|
372
|
-
if attributes.key?(:'
|
|
373
|
-
self.
|
|
377
|
+
if attributes.key?(:'issuer_override')
|
|
378
|
+
self.issuer_override = attributes[:'issuer_override']
|
|
379
|
+
end
|
|
380
|
+
|
|
381
|
+
if attributes.key?(:'url_issuer')
|
|
382
|
+
self.url_issuer = attributes[:'url_issuer']
|
|
383
|
+
else
|
|
384
|
+
self.url_issuer = nil
|
|
374
385
|
end
|
|
375
386
|
|
|
376
387
|
if attributes.key?(:'sso_url')
|
|
@@ -478,6 +489,10 @@ module Authentik::Api
|
|
|
478
489
|
invalid_properties.push('invalid value for "pre_authentication_flow", pre_authentication_flow cannot be nil.')
|
|
479
490
|
end
|
|
480
491
|
|
|
492
|
+
if @url_issuer.nil?
|
|
493
|
+
invalid_properties.push('invalid value for "url_issuer", url_issuer cannot be nil.')
|
|
494
|
+
end
|
|
495
|
+
|
|
481
496
|
if @sso_url.nil?
|
|
482
497
|
invalid_properties.push('invalid value for "sso_url", sso_url cannot be nil.')
|
|
483
498
|
end
|
|
@@ -499,6 +514,7 @@ module Authentik::Api
|
|
|
499
514
|
return false if @meta_model_name.nil?
|
|
500
515
|
return false if @icon_url.nil?
|
|
501
516
|
return false if @pre_authentication_flow.nil?
|
|
517
|
+
return false if @url_issuer.nil?
|
|
502
518
|
return false if @sso_url.nil?
|
|
503
519
|
true
|
|
504
520
|
end
|
|
@@ -598,6 +614,16 @@ module Authentik::Api
|
|
|
598
614
|
@pre_authentication_flow = pre_authentication_flow
|
|
599
615
|
end
|
|
600
616
|
|
|
617
|
+
# Custom attribute writer method with validation
|
|
618
|
+
# @param [Object] url_issuer Value to be assigned
|
|
619
|
+
def url_issuer=(url_issuer)
|
|
620
|
+
if url_issuer.nil?
|
|
621
|
+
fail ArgumentError, 'url_issuer cannot be nil'
|
|
622
|
+
end
|
|
623
|
+
|
|
624
|
+
@url_issuer = url_issuer
|
|
625
|
+
end
|
|
626
|
+
|
|
601
627
|
# Custom attribute writer method with validation
|
|
602
628
|
# @param [Object] sso_url Value to be assigned
|
|
603
629
|
def sso_url=(sso_url)
|
|
@@ -635,7 +661,8 @@ module Authentik::Api
|
|
|
635
661
|
icon_themed_urls == o.icon_themed_urls &&
|
|
636
662
|
group_matching_mode == o.group_matching_mode &&
|
|
637
663
|
pre_authentication_flow == o.pre_authentication_flow &&
|
|
638
|
-
|
|
664
|
+
issuer_override == o.issuer_override &&
|
|
665
|
+
url_issuer == o.url_issuer &&
|
|
639
666
|
sso_url == o.sso_url &&
|
|
640
667
|
slo_url == o.slo_url &&
|
|
641
668
|
allow_idp_initiated == o.allow_idp_initiated &&
|
|
@@ -661,7 +688,7 @@ module Authentik::Api
|
|
|
661
688
|
# Calculates hash code according to all attributes.
|
|
662
689
|
# @return [Integer] Hash code
|
|
663
690
|
def hash
|
|
664
|
-
[pk, name, slug, enabled, promoted, authentication_flow, enrollment_flow, user_property_mappings, group_property_mappings, component, verbose_name, verbose_name_plural, meta_model_name, policy_engine_mode, user_matching_mode, managed, user_path_template, icon, icon_url, icon_themed_urls, group_matching_mode, pre_authentication_flow,
|
|
691
|
+
[pk, name, slug, enabled, promoted, authentication_flow, enrollment_flow, user_property_mappings, group_property_mappings, component, verbose_name, verbose_name_plural, meta_model_name, policy_engine_mode, user_matching_mode, managed, user_path_template, icon, icon_url, icon_themed_urls, group_matching_mode, pre_authentication_flow, issuer_override, url_issuer, sso_url, slo_url, allow_idp_initiated, force_authn, name_id_policy, binding_type, verification_kp, signing_kp, digest_algorithm, signature_algorithm, temporary_user_delete_after, encryption_kp, signed_assertion, signed_response].hash
|
|
665
692
|
end
|
|
666
693
|
|
|
667
694
|
# Builds the object from hash
|
|
@@ -46,8 +46,8 @@ module Authentik::Api
|
|
|
46
46
|
# Flow used before authentication.
|
|
47
47
|
attr_accessor :pre_authentication_flow
|
|
48
48
|
|
|
49
|
-
# Also known as Entity ID. Defaults the Metadata URL.
|
|
50
|
-
attr_accessor :
|
|
49
|
+
# Also known as Entity ID. Defaults to the Metadata URL.
|
|
50
|
+
attr_accessor :issuer_override
|
|
51
51
|
|
|
52
52
|
# URL that the initial Login request is sent to.
|
|
53
53
|
attr_accessor :sso_url
|
|
@@ -125,7 +125,7 @@ module Authentik::Api
|
|
|
125
125
|
:'icon' => :'icon',
|
|
126
126
|
:'group_matching_mode' => :'group_matching_mode',
|
|
127
127
|
:'pre_authentication_flow' => :'pre_authentication_flow',
|
|
128
|
-
:'
|
|
128
|
+
:'issuer_override' => :'issuer_override',
|
|
129
129
|
:'sso_url' => :'sso_url',
|
|
130
130
|
:'slo_url' => :'slo_url',
|
|
131
131
|
:'allow_idp_initiated' => :'allow_idp_initiated',
|
|
@@ -170,7 +170,7 @@ module Authentik::Api
|
|
|
170
170
|
:'icon' => :'String',
|
|
171
171
|
:'group_matching_mode' => :'GroupMatchingModeEnum',
|
|
172
172
|
:'pre_authentication_flow' => :'String',
|
|
173
|
-
:'
|
|
173
|
+
:'issuer_override' => :'String',
|
|
174
174
|
:'sso_url' => :'String',
|
|
175
175
|
:'slo_url' => :'String',
|
|
176
176
|
:'allow_idp_initiated' => :'Boolean',
|
|
@@ -282,8 +282,8 @@ module Authentik::Api
|
|
|
282
282
|
self.pre_authentication_flow = nil
|
|
283
283
|
end
|
|
284
284
|
|
|
285
|
-
if attributes.key?(:'
|
|
286
|
-
self.
|
|
285
|
+
if attributes.key?(:'issuer_override')
|
|
286
|
+
self.issuer_override = attributes[:'issuer_override']
|
|
287
287
|
end
|
|
288
288
|
|
|
289
289
|
if attributes.key?(:'sso_url')
|
|
@@ -515,7 +515,7 @@ module Authentik::Api
|
|
|
515
515
|
icon == o.icon &&
|
|
516
516
|
group_matching_mode == o.group_matching_mode &&
|
|
517
517
|
pre_authentication_flow == o.pre_authentication_flow &&
|
|
518
|
-
|
|
518
|
+
issuer_override == o.issuer_override &&
|
|
519
519
|
sso_url == o.sso_url &&
|
|
520
520
|
slo_url == o.slo_url &&
|
|
521
521
|
allow_idp_initiated == o.allow_idp_initiated &&
|
|
@@ -541,7 +541,7 @@ module Authentik::Api
|
|
|
541
541
|
# Calculates hash code according to all attributes.
|
|
542
542
|
# @return [Integer] Hash code
|
|
543
543
|
def hash
|
|
544
|
-
[name, slug, enabled, promoted, authentication_flow, enrollment_flow, user_property_mappings, group_property_mappings, policy_engine_mode, user_matching_mode, user_path_template, icon, group_matching_mode, pre_authentication_flow,
|
|
544
|
+
[name, slug, enabled, promoted, authentication_flow, enrollment_flow, user_property_mappings, group_property_mappings, policy_engine_mode, user_matching_mode, user_path_template, icon, group_matching_mode, pre_authentication_flow, issuer_override, sso_url, slo_url, allow_idp_initiated, force_authn, name_id_policy, binding_type, verification_kp, signing_kp, digest_algorithm, signature_algorithm, temporary_user_delete_after, encryption_kp, signed_assertion, signed_response].hash
|
|
545
545
|
end
|
|
546
546
|
|
|
547
547
|
# Builds the object from hash
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
This file is automatically generated by: https://openapi-generator.tech.
|
|
3
|
+
Any manual changes will be lost when the OpenAPI scheme changes.
|
|
4
|
+
|
|
5
|
+
=end
|
|
6
|
+
|
|
7
|
+
require 'date'
|
|
8
|
+
require 'time'
|
|
9
|
+
|
|
10
|
+
module Authentik::Api
|
|
11
|
+
class SamlVersionEnum
|
|
12
|
+
N1_1 = "1.1".freeze
|
|
13
|
+
N2_0 = "2.0".freeze
|
|
14
|
+
|
|
15
|
+
def self.all_vars
|
|
16
|
+
@all_vars ||= [N1_1, N2_0].freeze
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
# Builds the enum from string
|
|
20
|
+
# @param [String] The enum value in the form of the string
|
|
21
|
+
# @return [String] The enum value
|
|
22
|
+
def self.build_from_hash(value)
|
|
23
|
+
new.build_from_hash(value)
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
# Builds the enum from string
|
|
27
|
+
# @param [String] The enum value in the form of the string
|
|
28
|
+
# @return [String] The enum value
|
|
29
|
+
def build_from_hash(value)
|
|
30
|
+
return value if SamlVersionEnum.all_vars.include?(value)
|
|
31
|
+
raise "Invalid ENUM value #{value} for class #SamlVersionEnum"
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
@@ -14,11 +14,14 @@ module Authentik::Api
|
|
|
14
14
|
|
|
15
15
|
attr_accessor :original
|
|
16
16
|
|
|
17
|
+
attr_accessor :users
|
|
18
|
+
|
|
17
19
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
18
20
|
def self.attribute_map
|
|
19
21
|
{
|
|
20
22
|
:'user' => :'user',
|
|
21
|
-
:'original' => :'original'
|
|
23
|
+
:'original' => :'original',
|
|
24
|
+
:'users' => :'users'
|
|
22
25
|
}
|
|
23
26
|
end
|
|
24
27
|
|
|
@@ -36,7 +39,8 @@ module Authentik::Api
|
|
|
36
39
|
def self.openapi_types
|
|
37
40
|
{
|
|
38
41
|
:'user' => :'UserSelf',
|
|
39
|
-
:'original' => :'UserSelf'
|
|
42
|
+
:'original' => :'UserSelf',
|
|
43
|
+
:'users' => :'Array<UserSelf>'
|
|
40
44
|
}
|
|
41
45
|
end
|
|
42
46
|
|
|
@@ -71,6 +75,14 @@ module Authentik::Api
|
|
|
71
75
|
if attributes.key?(:'original')
|
|
72
76
|
self.original = attributes[:'original']
|
|
73
77
|
end
|
|
78
|
+
|
|
79
|
+
if attributes.key?(:'users')
|
|
80
|
+
if (value = attributes[:'users']).is_a?(Array)
|
|
81
|
+
self.users = value
|
|
82
|
+
end
|
|
83
|
+
else
|
|
84
|
+
self.users = nil
|
|
85
|
+
end
|
|
74
86
|
end
|
|
75
87
|
|
|
76
88
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -82,6 +94,10 @@ module Authentik::Api
|
|
|
82
94
|
invalid_properties.push('invalid value for "user", user cannot be nil.')
|
|
83
95
|
end
|
|
84
96
|
|
|
97
|
+
if @users.nil?
|
|
98
|
+
invalid_properties.push('invalid value for "users", users cannot be nil.')
|
|
99
|
+
end
|
|
100
|
+
|
|
85
101
|
invalid_properties
|
|
86
102
|
end
|
|
87
103
|
|
|
@@ -90,6 +106,7 @@ module Authentik::Api
|
|
|
90
106
|
def valid?
|
|
91
107
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
92
108
|
return false if @user.nil?
|
|
109
|
+
return false if @users.nil?
|
|
93
110
|
true
|
|
94
111
|
end
|
|
95
112
|
|
|
@@ -103,13 +120,24 @@ module Authentik::Api
|
|
|
103
120
|
@user = user
|
|
104
121
|
end
|
|
105
122
|
|
|
123
|
+
# Custom attribute writer method with validation
|
|
124
|
+
# @param [Object] users Value to be assigned
|
|
125
|
+
def users=(users)
|
|
126
|
+
if users.nil?
|
|
127
|
+
fail ArgumentError, 'users cannot be nil'
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
@users = users
|
|
131
|
+
end
|
|
132
|
+
|
|
106
133
|
# Checks equality by comparing each attribute.
|
|
107
134
|
# @param [Object] Object to be compared
|
|
108
135
|
def ==(o)
|
|
109
136
|
return true if self.equal?(o)
|
|
110
137
|
self.class == o.class &&
|
|
111
138
|
user == o.user &&
|
|
112
|
-
original == o.original
|
|
139
|
+
original == o.original &&
|
|
140
|
+
users == o.users
|
|
113
141
|
end
|
|
114
142
|
|
|
115
143
|
# @see the `==` method
|
|
@@ -121,7 +149,7 @@ module Authentik::Api
|
|
|
121
149
|
# Calculates hash code according to all attributes.
|
|
122
150
|
# @return [Integer] Hash code
|
|
123
151
|
def hash
|
|
124
|
-
[user, original].hash
|
|
152
|
+
[user, original, users].hash
|
|
125
153
|
end
|
|
126
154
|
|
|
127
155
|
# Builds the object from hash
|
|
@@ -13,6 +13,9 @@ module Authentik::Api
|
|
|
13
13
|
# Configure how authentik should show avatars for users.
|
|
14
14
|
attr_accessor :avatars
|
|
15
15
|
|
|
16
|
+
# Configure the base URL under which this authentik instance is reachable, e.g. https://authentik.company
|
|
17
|
+
attr_accessor :base_url
|
|
18
|
+
|
|
16
19
|
# Enable the ability for users to change their name.
|
|
17
20
|
attr_accessor :default_user_change_name
|
|
18
21
|
|
|
@@ -60,6 +63,7 @@ module Authentik::Api
|
|
|
60
63
|
def self.attribute_map
|
|
61
64
|
{
|
|
62
65
|
:'avatars' => :'avatars',
|
|
66
|
+
:'base_url' => :'base_url',
|
|
63
67
|
:'default_user_change_name' => :'default_user_change_name',
|
|
64
68
|
:'default_user_change_email' => :'default_user_change_email',
|
|
65
69
|
:'default_user_change_username' => :'default_user_change_username',
|
|
@@ -92,6 +96,7 @@ module Authentik::Api
|
|
|
92
96
|
def self.openapi_types
|
|
93
97
|
{
|
|
94
98
|
:'avatars' => :'String',
|
|
99
|
+
:'base_url' => :'String',
|
|
95
100
|
:'default_user_change_name' => :'Boolean',
|
|
96
101
|
:'default_user_change_email' => :'Boolean',
|
|
97
102
|
:'default_user_change_username' => :'Boolean',
|
|
@@ -137,6 +142,10 @@ module Authentik::Api
|
|
|
137
142
|
self.avatars = attributes[:'avatars']
|
|
138
143
|
end
|
|
139
144
|
|
|
145
|
+
if attributes.key?(:'base_url')
|
|
146
|
+
self.base_url = attributes[:'base_url']
|
|
147
|
+
end
|
|
148
|
+
|
|
140
149
|
if attributes.key?(:'default_user_change_name')
|
|
141
150
|
self.default_user_change_name = attributes[:'default_user_change_name']
|
|
142
151
|
end
|
|
@@ -205,6 +214,10 @@ module Authentik::Api
|
|
|
205
214
|
def list_invalid_properties
|
|
206
215
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
207
216
|
invalid_properties = Array.new
|
|
217
|
+
if !@base_url.nil? && @base_url.to_s.length > 200
|
|
218
|
+
invalid_properties.push('invalid value for "base_url", the character length must be smaller than or equal to 200.')
|
|
219
|
+
end
|
|
220
|
+
|
|
208
221
|
if !@reputation_lower_limit.nil? && @reputation_lower_limit > 0
|
|
209
222
|
invalid_properties.push('invalid value for "reputation_lower_limit", must be smaller than or equal to 0.')
|
|
210
223
|
end
|
|
@@ -256,6 +269,7 @@ module Authentik::Api
|
|
|
256
269
|
# @return true if the model is valid
|
|
257
270
|
def valid?
|
|
258
271
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
272
|
+
return false if !@base_url.nil? && @base_url.to_s.length > 200
|
|
259
273
|
return false if !@reputation_lower_limit.nil? && @reputation_lower_limit > 0
|
|
260
274
|
return false if !@reputation_lower_limit.nil? && @reputation_lower_limit < -2147483648
|
|
261
275
|
return false if !@reputation_upper_limit.nil? && @reputation_upper_limit > 2147483647
|
|
@@ -270,6 +284,20 @@ module Authentik::Api
|
|
|
270
284
|
true
|
|
271
285
|
end
|
|
272
286
|
|
|
287
|
+
# Custom attribute writer method with validation
|
|
288
|
+
# @param [Object] base_url Value to be assigned
|
|
289
|
+
def base_url=(base_url)
|
|
290
|
+
if base_url.nil?
|
|
291
|
+
fail ArgumentError, 'base_url cannot be nil'
|
|
292
|
+
end
|
|
293
|
+
|
|
294
|
+
if base_url.to_s.length > 200
|
|
295
|
+
fail ArgumentError, 'invalid value for "base_url", the character length must be smaller than or equal to 200.'
|
|
296
|
+
end
|
|
297
|
+
|
|
298
|
+
@base_url = base_url
|
|
299
|
+
end
|
|
300
|
+
|
|
273
301
|
# Custom attribute writer method with validation
|
|
274
302
|
# @param [Object] reputation_lower_limit Value to be assigned
|
|
275
303
|
def reputation_lower_limit=(reputation_lower_limit)
|
|
@@ -376,6 +404,7 @@ module Authentik::Api
|
|
|
376
404
|
return true if self.equal?(o)
|
|
377
405
|
self.class == o.class &&
|
|
378
406
|
avatars == o.avatars &&
|
|
407
|
+
base_url == o.base_url &&
|
|
379
408
|
default_user_change_name == o.default_user_change_name &&
|
|
380
409
|
default_user_change_email == o.default_user_change_email &&
|
|
381
410
|
default_user_change_username == o.default_user_change_username &&
|
|
@@ -402,7 +431,7 @@ module Authentik::Api
|
|
|
402
431
|
# Calculates hash code according to all attributes.
|
|
403
432
|
# @return [Integer] Hash code
|
|
404
433
|
def hash
|
|
405
|
-
[avatars, default_user_change_name, default_user_change_email, default_user_change_username, event_retention, reputation_lower_limit, reputation_upper_limit, footer_links, gdpr_compliance, impersonation, impersonation_require_reason, default_token_duration, default_token_length, pagination_default_page_size, pagination_max_page_size, flags].hash
|
|
434
|
+
[avatars, base_url, default_user_change_name, default_user_change_email, default_user_change_username, event_retention, reputation_lower_limit, reputation_upper_limit, footer_links, gdpr_compliance, impersonation, impersonation_require_reason, default_token_duration, default_token_length, pagination_default_page_size, pagination_max_page_size, flags].hash
|
|
406
435
|
end
|
|
407
436
|
|
|
408
437
|
# Builds the object from hash
|
|
@@ -13,6 +13,9 @@ module Authentik::Api
|
|
|
13
13
|
# Configure how authentik should show avatars for users.
|
|
14
14
|
attr_accessor :avatars
|
|
15
15
|
|
|
16
|
+
# Configure the base URL under which this authentik instance is reachable, e.g. https://authentik.company
|
|
17
|
+
attr_accessor :base_url
|
|
18
|
+
|
|
16
19
|
# Enable the ability for users to change their name.
|
|
17
20
|
attr_accessor :default_user_change_name
|
|
18
21
|
|
|
@@ -60,6 +63,7 @@ module Authentik::Api
|
|
|
60
63
|
def self.attribute_map
|
|
61
64
|
{
|
|
62
65
|
:'avatars' => :'avatars',
|
|
66
|
+
:'base_url' => :'base_url',
|
|
63
67
|
:'default_user_change_name' => :'default_user_change_name',
|
|
64
68
|
:'default_user_change_email' => :'default_user_change_email',
|
|
65
69
|
:'default_user_change_username' => :'default_user_change_username',
|
|
@@ -92,6 +96,7 @@ module Authentik::Api
|
|
|
92
96
|
def self.openapi_types
|
|
93
97
|
{
|
|
94
98
|
:'avatars' => :'String',
|
|
99
|
+
:'base_url' => :'String',
|
|
95
100
|
:'default_user_change_name' => :'Boolean',
|
|
96
101
|
:'default_user_change_email' => :'Boolean',
|
|
97
102
|
:'default_user_change_username' => :'Boolean',
|
|
@@ -137,6 +142,10 @@ module Authentik::Api
|
|
|
137
142
|
self.avatars = attributes[:'avatars']
|
|
138
143
|
end
|
|
139
144
|
|
|
145
|
+
if attributes.key?(:'base_url')
|
|
146
|
+
self.base_url = attributes[:'base_url']
|
|
147
|
+
end
|
|
148
|
+
|
|
140
149
|
if attributes.key?(:'default_user_change_name')
|
|
141
150
|
self.default_user_change_name = attributes[:'default_user_change_name']
|
|
142
151
|
end
|
|
@@ -209,6 +218,10 @@ module Authentik::Api
|
|
|
209
218
|
invalid_properties.push('invalid value for "avatars", the character length must be greater than or equal to 1.')
|
|
210
219
|
end
|
|
211
220
|
|
|
221
|
+
if !@base_url.nil? && @base_url.to_s.length > 200
|
|
222
|
+
invalid_properties.push('invalid value for "base_url", the character length must be smaller than or equal to 200.')
|
|
223
|
+
end
|
|
224
|
+
|
|
212
225
|
if !@event_retention.nil? && @event_retention.to_s.length < 1
|
|
213
226
|
invalid_properties.push('invalid value for "event_retention", the character length must be greater than or equal to 1.')
|
|
214
227
|
end
|
|
@@ -269,6 +282,7 @@ module Authentik::Api
|
|
|
269
282
|
def valid?
|
|
270
283
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
271
284
|
return false if !@avatars.nil? && @avatars.to_s.length < 1
|
|
285
|
+
return false if !@base_url.nil? && @base_url.to_s.length > 200
|
|
272
286
|
return false if !@event_retention.nil? && @event_retention.to_s.length < 1
|
|
273
287
|
return false if !@reputation_lower_limit.nil? && @reputation_lower_limit > 0
|
|
274
288
|
return false if !@reputation_lower_limit.nil? && @reputation_lower_limit < -2147483648
|
|
@@ -299,6 +313,20 @@ module Authentik::Api
|
|
|
299
313
|
@avatars = avatars
|
|
300
314
|
end
|
|
301
315
|
|
|
316
|
+
# Custom attribute writer method with validation
|
|
317
|
+
# @param [Object] base_url Value to be assigned
|
|
318
|
+
def base_url=(base_url)
|
|
319
|
+
if base_url.nil?
|
|
320
|
+
fail ArgumentError, 'base_url cannot be nil'
|
|
321
|
+
end
|
|
322
|
+
|
|
323
|
+
if base_url.to_s.length > 200
|
|
324
|
+
fail ArgumentError, 'invalid value for "base_url", the character length must be smaller than or equal to 200.'
|
|
325
|
+
end
|
|
326
|
+
|
|
327
|
+
@base_url = base_url
|
|
328
|
+
end
|
|
329
|
+
|
|
302
330
|
# Custom attribute writer method with validation
|
|
303
331
|
# @param [Object] event_retention Value to be assigned
|
|
304
332
|
def event_retention=(event_retention)
|
|
@@ -433,6 +461,7 @@ module Authentik::Api
|
|
|
433
461
|
return true if self.equal?(o)
|
|
434
462
|
self.class == o.class &&
|
|
435
463
|
avatars == o.avatars &&
|
|
464
|
+
base_url == o.base_url &&
|
|
436
465
|
default_user_change_name == o.default_user_change_name &&
|
|
437
466
|
default_user_change_email == o.default_user_change_email &&
|
|
438
467
|
default_user_change_username == o.default_user_change_username &&
|
|
@@ -459,7 +488,7 @@ module Authentik::Api
|
|
|
459
488
|
# Calculates hash code according to all attributes.
|
|
460
489
|
# @return [Integer] Hash code
|
|
461
490
|
def hash
|
|
462
|
-
[avatars, default_user_change_name, default_user_change_email, default_user_change_username, event_retention, reputation_lower_limit, reputation_upper_limit, footer_links, gdpr_compliance, impersonation, impersonation_require_reason, default_token_duration, default_token_length, pagination_default_page_size, pagination_max_page_size, flags].hash
|
|
491
|
+
[avatars, base_url, default_user_change_name, default_user_change_email, default_user_change_username, event_retention, reputation_lower_limit, reputation_upper_limit, footer_links, gdpr_compliance, impersonation, impersonation_require_reason, default_token_duration, default_token_length, pagination_default_page_size, pagination_max_page_size, flags].hash
|
|
463
492
|
end
|
|
464
493
|
|
|
465
494
|
# Builds the object from hash
|
|
@@ -33,6 +33,9 @@ module Authentik::Api
|
|
|
33
33
|
# Get the FQDN configured on the embedded outpost
|
|
34
34
|
attr_accessor :embedded_outpost_host
|
|
35
35
|
|
|
36
|
+
# Configured external base URL. Can be empty
|
|
37
|
+
attr_accessor :base_url
|
|
38
|
+
|
|
36
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
37
40
|
def self.attribute_map
|
|
38
41
|
{
|
|
@@ -43,7 +46,8 @@ module Authentik::Api
|
|
|
43
46
|
:'brand' => :'brand',
|
|
44
47
|
:'server_time' => :'server_time',
|
|
45
48
|
:'embedded_outpost_disabled' => :'embedded_outpost_disabled',
|
|
46
|
-
:'embedded_outpost_host' => :'embedded_outpost_host'
|
|
49
|
+
:'embedded_outpost_host' => :'embedded_outpost_host',
|
|
50
|
+
:'base_url' => :'base_url'
|
|
47
51
|
}
|
|
48
52
|
end
|
|
49
53
|
|
|
@@ -67,7 +71,8 @@ module Authentik::Api
|
|
|
67
71
|
:'brand' => :'String',
|
|
68
72
|
:'server_time' => :'Time',
|
|
69
73
|
:'embedded_outpost_disabled' => :'Boolean',
|
|
70
|
-
:'embedded_outpost_host' => :'String'
|
|
74
|
+
:'embedded_outpost_host' => :'String',
|
|
75
|
+
:'base_url' => :'String'
|
|
71
76
|
}
|
|
72
77
|
end
|
|
73
78
|
|
|
@@ -142,6 +147,12 @@ module Authentik::Api
|
|
|
142
147
|
else
|
|
143
148
|
self.embedded_outpost_host = nil
|
|
144
149
|
end
|
|
150
|
+
|
|
151
|
+
if attributes.key?(:'base_url')
|
|
152
|
+
self.base_url = attributes[:'base_url']
|
|
153
|
+
else
|
|
154
|
+
self.base_url = nil
|
|
155
|
+
end
|
|
145
156
|
end
|
|
146
157
|
|
|
147
158
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -181,6 +192,10 @@ module Authentik::Api
|
|
|
181
192
|
invalid_properties.push('invalid value for "embedded_outpost_host", embedded_outpost_host cannot be nil.')
|
|
182
193
|
end
|
|
183
194
|
|
|
195
|
+
if @base_url.nil?
|
|
196
|
+
invalid_properties.push('invalid value for "base_url", base_url cannot be nil.')
|
|
197
|
+
end
|
|
198
|
+
|
|
184
199
|
invalid_properties
|
|
185
200
|
end
|
|
186
201
|
|
|
@@ -196,6 +211,7 @@ module Authentik::Api
|
|
|
196
211
|
return false if @server_time.nil?
|
|
197
212
|
return false if @embedded_outpost_disabled.nil?
|
|
198
213
|
return false if @embedded_outpost_host.nil?
|
|
214
|
+
return false if @base_url.nil?
|
|
199
215
|
true
|
|
200
216
|
end
|
|
201
217
|
|
|
@@ -279,6 +295,16 @@ module Authentik::Api
|
|
|
279
295
|
@embedded_outpost_host = embedded_outpost_host
|
|
280
296
|
end
|
|
281
297
|
|
|
298
|
+
# Custom attribute writer method with validation
|
|
299
|
+
# @param [Object] base_url Value to be assigned
|
|
300
|
+
def base_url=(base_url)
|
|
301
|
+
if base_url.nil?
|
|
302
|
+
fail ArgumentError, 'base_url cannot be nil'
|
|
303
|
+
end
|
|
304
|
+
|
|
305
|
+
@base_url = base_url
|
|
306
|
+
end
|
|
307
|
+
|
|
282
308
|
# Checks equality by comparing each attribute.
|
|
283
309
|
# @param [Object] Object to be compared
|
|
284
310
|
def ==(o)
|
|
@@ -291,7 +317,8 @@ module Authentik::Api
|
|
|
291
317
|
brand == o.brand &&
|
|
292
318
|
server_time == o.server_time &&
|
|
293
319
|
embedded_outpost_disabled == o.embedded_outpost_disabled &&
|
|
294
|
-
embedded_outpost_host == o.embedded_outpost_host
|
|
320
|
+
embedded_outpost_host == o.embedded_outpost_host &&
|
|
321
|
+
base_url == o.base_url
|
|
295
322
|
end
|
|
296
323
|
|
|
297
324
|
# @see the `==` method
|
|
@@ -303,7 +330,7 @@ module Authentik::Api
|
|
|
303
330
|
# Calculates hash code according to all attributes.
|
|
304
331
|
# @return [Integer] Hash code
|
|
305
332
|
def hash
|
|
306
|
-
[http_headers, http_host, http_is_secure, runtime, brand, server_time, embedded_outpost_disabled, embedded_outpost_host].hash
|
|
333
|
+
[http_headers, http_host, http_is_secure, runtime, brand, server_time, embedded_outpost_disabled, embedded_outpost_host, base_url].hash
|
|
307
334
|
end
|
|
308
335
|
|
|
309
336
|
# Builds the object from hash
|
|
@@ -9,6 +9,7 @@ require 'time'
|
|
|
9
9
|
|
|
10
10
|
module Authentik::Api
|
|
11
11
|
class TaskAggregatedStatusEnum
|
|
12
|
+
WAITING_FOR_DEPENDENCIES = "waiting_for_dependencies".freeze
|
|
12
13
|
QUEUED = "queued".freeze
|
|
13
14
|
CONSUMED = "consumed".freeze
|
|
14
15
|
PREPROCESS = "preprocess".freeze
|
|
@@ -21,7 +22,7 @@ module Authentik::Api
|
|
|
21
22
|
ERROR = "error".freeze
|
|
22
23
|
|
|
23
24
|
def self.all_vars
|
|
24
|
-
@all_vars ||= [QUEUED, CONSUMED, PREPROCESS, RUNNING, POSTPROCESS, REJECTED, DONE, INFO, WARNING, ERROR].freeze
|
|
25
|
+
@all_vars ||= [WAITING_FOR_DEPENDENCIES, QUEUED, CONSUMED, PREPROCESS, RUNNING, POSTPROCESS, REJECTED, DONE, INFO, WARNING, ERROR].freeze
|
|
25
26
|
end
|
|
26
27
|
|
|
27
28
|
# Builds the enum from string
|
|
@@ -9,6 +9,7 @@ require 'time'
|
|
|
9
9
|
|
|
10
10
|
module Authentik::Api
|
|
11
11
|
class TaskStatusEnum
|
|
12
|
+
WAITING_FOR_DEPENDENCIES = "waiting_for_dependencies".freeze
|
|
12
13
|
QUEUED = "queued".freeze
|
|
13
14
|
CONSUMED = "consumed".freeze
|
|
14
15
|
PREPROCESS = "preprocess".freeze
|
|
@@ -18,7 +19,7 @@ module Authentik::Api
|
|
|
18
19
|
DONE = "done".freeze
|
|
19
20
|
|
|
20
21
|
def self.all_vars
|
|
21
|
-
@all_vars ||= [QUEUED, CONSUMED, PREPROCESS, RUNNING, POSTPROCESS, REJECTED, DONE].freeze
|
|
22
|
+
@all_vars ||= [WAITING_FOR_DEPENDENCIES, QUEUED, CONSUMED, PREPROCESS, RUNNING, POSTPROCESS, REJECTED, DONE].freeze
|
|
22
23
|
end
|
|
23
24
|
|
|
24
25
|
# Builds the enum from string
|