zitadel-client 1.4.2 → 1.5.0
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.md +17 -17
- data/lib/{zitadel-client → zitadel/client}/api/feature_service_api.rb +1 -3
- data/lib/{zitadel-client → zitadel/client}/api/identity_provider_service_api.rb +1 -3
- data/lib/{zitadel-client → zitadel/client}/api/o_i_d_c_service_api.rb +1 -3
- data/lib/{zitadel-client → zitadel/client}/api/organization_service_api.rb +1 -3
- data/lib/{zitadel-client → zitadel/client}/api/s_a_m_l_service_api.rb +1 -3
- data/lib/{zitadel-client → zitadel/client}/api/session_service_api.rb +1 -3
- data/lib/{zitadel-client → zitadel/client}/api/settings_api.rb +1 -3
- data/lib/{zitadel-client → zitadel/client}/api/settings_service_api.rb +1 -3
- data/lib/{zitadel-client → zitadel/client}/api/user_service_api.rb +1 -3
- data/lib/zitadel/client/api_client.rb +378 -0
- data/lib/zitadel/client/api_error.rb +31 -0
- data/lib/zitadel/client/auth/authenticator.rb +80 -0
- data/lib/zitadel/client/auth/client_credentials_authenticator.rb +65 -0
- data/lib/zitadel/client/auth/no_auth_authenticator.rb +35 -0
- data/lib/zitadel/client/auth/o_auth_authenticator.rb +99 -0
- data/lib/zitadel/client/auth/open_id.rb +54 -0
- data/lib/zitadel/client/auth/personal_access_token_authenticator.rb +37 -0
- data/lib/zitadel/client/auth/web_token_authenticator.rb +163 -0
- data/lib/zitadel/client/configuration.rb +180 -0
- data/lib/{zitadel-client → zitadel/client}/models/feature_service_details.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/feature_service_feature_flag.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/feature_service_get_instance_features_response.rb +4 -4
- data/lib/{zitadel-client/models/feature_service_reset_organization_features_response.rb → zitadel/client/models/feature_service_get_organization_features_response.rb} +5 -5
- data/lib/{zitadel-client → zitadel/client}/models/feature_service_get_system_features_response.rb +4 -4
- data/lib/{zitadel-client/models/feature_service_set_system_features_response.rb → zitadel/client/models/feature_service_get_user_features_response.rb} +5 -5
- data/lib/{zitadel-client → zitadel/client}/models/feature_service_improved_performance.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/feature_service_improved_performance_feature_flag.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/feature_service_login_v2.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/feature_service_login_v2_feature_flag.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/feature_service_protobuf_any.rb +4 -4
- data/lib/{zitadel-client/models/feature_service_set_organization_features_response.rb → zitadel/client/models/feature_service_reset_instance_features_response.rb} +5 -5
- data/lib/zitadel/client/models/feature_service_reset_organization_features_response.rb +230 -0
- data/lib/zitadel/client/models/feature_service_reset_system_features_response.rb +230 -0
- data/lib/{zitadel-client/models/feature_service_reset_system_features_response.rb → zitadel/client/models/feature_service_reset_user_features_response.rb} +5 -5
- data/lib/{zitadel-client → zitadel/client}/models/feature_service_rpc_status.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/feature_service_set_instance_features_request.rb +4 -4
- data/lib/{zitadel-client/models/feature_service_reset_instance_features_response.rb → zitadel/client/models/feature_service_set_instance_features_response.rb} +5 -5
- data/lib/{zitadel-client/models/feature_service_get_organization_features_response.rb → zitadel/client/models/feature_service_set_organization_features_response.rb} +5 -5
- data/lib/{zitadel-client → zitadel/client}/models/feature_service_set_system_features_request.rb +4 -4
- data/lib/{zitadel-client/models/feature_service_set_instance_features_response.rb → zitadel/client/models/feature_service_set_system_features_response.rb} +5 -5
- data/lib/{zitadel-client/models/feature_service_reset_user_features_response.rb → zitadel/client/models/feature_service_set_user_features_response.rb} +5 -5
- data/lib/{zitadel-client → zitadel/client}/models/feature_service_source.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/identity_provider_service_apple_config.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/identity_provider_service_auto_linking_option.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/identity_provider_service_azure_a_d_config.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/identity_provider_service_azure_a_d_tenant.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/identity_provider_service_azure_a_d_tenant_type.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/identity_provider_service_details.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/identity_provider_service_generic_o_i_d_c_config.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/identity_provider_service_get_i_d_p_by_i_d_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/identity_provider_service_git_hub_config.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/identity_provider_service_git_hub_enterprise_server_config.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/identity_provider_service_git_lab_config.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/identity_provider_service_git_lab_self_hosted_config.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/identity_provider_service_google_config.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/identity_provider_service_i_d_p.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/identity_provider_service_i_d_p_config.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/identity_provider_service_i_d_p_state.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/identity_provider_service_i_d_p_type.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/identity_provider_service_j_w_t_config.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/identity_provider_service_l_d_a_p_attributes.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/identity_provider_service_l_d_a_p_config.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/identity_provider_service_o_auth_config.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/identity_provider_service_options.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/identity_provider_service_protobuf_any.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/identity_provider_service_rpc_status.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/identity_provider_service_s_a_m_l_binding.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/identity_provider_service_s_a_m_l_config.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/identity_provider_service_s_a_m_l_name_i_d_format.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/o_i_d_c_service_auth_request.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/o_i_d_c_service_authorization_error.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/o_i_d_c_service_authorize_or_deny_device_authorization_request.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/o_i_d_c_service_create_callback_request.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/o_i_d_c_service_create_callback_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/o_i_d_c_service_details.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/o_i_d_c_service_device_authorization_request.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/o_i_d_c_service_error_reason.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/o_i_d_c_service_get_auth_request_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/o_i_d_c_service_get_device_authorization_request_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/o_i_d_c_service_prompt.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/o_i_d_c_service_protobuf_any.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/o_i_d_c_service_rpc_status.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/o_i_d_c_service_session.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/organization_service_add_human_user_request.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/organization_service_add_organization_request.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/organization_service_add_organization_request_admin.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/organization_service_add_organization_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/organization_service_add_organization_response_created_admin.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/organization_service_details.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/organization_service_gender.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/organization_service_hashed_password.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/organization_service_i_d_p_link.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/organization_service_list_details.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/organization_service_list_organizations_request.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/organization_service_list_organizations_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/organization_service_list_query.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/organization_service_organization_domain_query.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/organization_service_organization_field_name.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/organization_service_organization_i_d_query.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/organization_service_organization_name_query.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/organization_service_organization_state.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/organization_service_organization_state_query.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/organization_service_password.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/organization_service_protobuf_any.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/organization_service_rpc_status.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/organization_service_search_query.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/organization_service_send_email_verification_code.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/organization_service_set_human_email.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/organization_service_set_human_phone.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/organization_service_set_human_profile.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/organization_service_set_metadata_entry.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/organization_service_text_query_method.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/s_a_m_l_service_authorization_error.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/s_a_m_l_service_create_response_request.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/s_a_m_l_service_create_response_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/s_a_m_l_service_details.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/s_a_m_l_service_error_reason.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/s_a_m_l_service_get_s_a_m_l_request_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/s_a_m_l_service_post_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/s_a_m_l_service_protobuf_any.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/s_a_m_l_service_rpc_status.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/s_a_m_l_service_s_a_m_l_request.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/s_a_m_l_service_session.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_challenges.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_challenges_web_auth_n.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_check_i_d_p_intent.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_check_o_t_p.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_check_password.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_check_t_o_t_p.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_check_user.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_check_web_auth_n.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_checks.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_create_session_request.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_create_session_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_creation_date_query.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_creator_query.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_delete_session_request.rb +4 -4
- data/lib/zitadel/client/models/session_service_delete_session_response.rb +230 -0
- data/lib/{zitadel-client → zitadel/client}/models/session_service_details.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_factors.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_get_session_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_i_ds_query.rb +4 -4
- data/lib/{zitadel-client/models/session_service_password_factor.rb → zitadel/client/models/session_service_intent_factor.rb} +6 -6
- data/lib/{zitadel-client → zitadel/client}/models/session_service_list_details.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_list_query.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_list_sessions_request.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_list_sessions_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_o_t_p_email_send_code.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_o_t_p_factor.rb +4 -4
- data/lib/{zitadel-client/models/session_service_t_o_t_p_factor.rb → zitadel/client/models/session_service_password_factor.rb} +6 -6
- data/lib/{zitadel-client → zitadel/client}/models/session_service_protobuf_any.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_request_challenges.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_request_challenges_o_t_p_email.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_request_challenges_o_t_p_s_m_s.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_request_challenges_web_auth_n.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_rpc_status.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_search_query.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_session.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_session_field_name.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/session_service_set_session_request.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_set_session_response.rb +4 -4
- data/lib/{zitadel-client/models/session_service_intent_factor.rb → zitadel/client/models/session_service_t_o_t_p_factor.rb} +6 -6
- data/lib/{zitadel-client → zitadel/client}/models/session_service_timestamp_query_method.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/session_service_user_agent.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_user_agent_header_values.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_user_agent_query.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_user_factor.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_user_i_d_query.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/session_service_user_verification_requirement.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/session_service_web_auth_n_factor.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/settings_service_auto_linking_option.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/settings_service_branding_settings.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/settings_service_details.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/settings_service_domain_settings.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/settings_service_embedded_iframe_settings.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/settings_service_get_active_identity_providers_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/settings_service_get_branding_settings_response.rb +4 -4
- data/lib/{zitadel-client/models/settings_service_get_security_settings_response.rb → zitadel/client/models/settings_service_get_domain_settings_response.rb} +6 -6
- data/lib/{zitadel-client → zitadel/client}/models/settings_service_get_general_settings_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/settings_service_get_legal_and_support_settings_response.rb +4 -4
- data/lib/{zitadel-client/models/settings_service_get_login_settings_response.rb → zitadel/client/models/settings_service_get_lockout_settings_response.rb} +6 -6
- data/lib/{zitadel-client/models/settings_service_get_lockout_settings_response.rb → zitadel/client/models/settings_service_get_login_settings_response.rb} +6 -6
- data/lib/{zitadel-client → zitadel/client}/models/settings_service_get_password_complexity_settings_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/settings_service_get_password_expiry_settings_response.rb +4 -4
- data/lib/{zitadel-client/models/settings_service_get_domain_settings_response.rb → zitadel/client/models/settings_service_get_security_settings_response.rb} +6 -6
- data/lib/{zitadel-client → zitadel/client}/models/settings_service_identity_provider.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/settings_service_identity_provider_type.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/settings_service_legal_and_support_settings.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/settings_service_list_details.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/settings_service_lockout_settings.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/settings_service_login_settings.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/settings_service_multi_factor_type.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/settings_service_options.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/settings_service_passkeys_type.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/settings_service_password_complexity_settings.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/settings_service_password_expiry_settings.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/settings_service_protobuf_any.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/settings_service_resource_owner_type.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/settings_service_rpc_status.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/settings_service_second_factor_type.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/settings_service_security_settings.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/settings_service_set_security_settings_request.rb +4 -4
- data/lib/{zitadel-client/models/user_service_verify_passkey_registration_response.rb → zitadel/client/models/settings_service_set_security_settings_response.rb} +6 -6
- data/lib/{zitadel-client → zitadel/client}/models/settings_service_theme.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/settings_service_theme_mode.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/user_service_access_token_type.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/user_service_add_human_user_request.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_add_human_user_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_add_i_d_p_link_request.rb +4 -4
- data/lib/{zitadel-client/models/user_service_remove_o_t_p_s_m_s_response.rb → zitadel/client/models/user_service_add_i_d_p_link_response.rb} +5 -5
- data/lib/{zitadel-client/models/user_service_remove_i_d_p_link_response.rb → zitadel/client/models/user_service_add_o_t_p_email_response.rb} +5 -5
- data/lib/{zitadel-client/models/user_service_add_o_t_p_email_response.rb → zitadel/client/models/user_service_add_o_t_p_s_m_s_response.rb} +5 -5
- data/lib/{zitadel-client → zitadel/client}/models/user_service_and_query.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_auth_factor.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_auth_factor_state.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/user_service_auth_factor_u2_f.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_authentication_method_type.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/user_service_create_invite_code_request.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_create_invite_code_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_create_passkey_registration_link_request.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_create_passkey_registration_link_response.rb +4 -4
- data/lib/{zitadel-client/models/user_service_resend_invite_code_response.rb → zitadel/client/models/user_service_deactivate_user_response.rb} +5 -5
- data/lib/{zitadel-client → zitadel/client}/models/user_service_delete_user_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_details.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_display_name_query.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_email_query.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_first_name_query.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_gender.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/user_service_get_user_by_i_d_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_hashed_password.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_human_email.rb +4 -4
- data/lib/{zitadel-client/models/user_service_verify_u2_f_registration_response.rb → zitadel/client/models/user_service_human_m_f_a_init_skipped_response.rb} +5 -5
- data/lib/{zitadel-client → zitadel/client}/models/user_service_human_phone.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_human_profile.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_human_user.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_i_d_p_information.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_i_d_p_intent.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_i_d_p_l_d_a_p_access_information.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_i_d_p_link.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_i_d_p_o_auth_access_information.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_i_d_p_s_a_m_l_access_information.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_in_user_emails_query.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_in_user_i_d_query.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_l_d_a_p_credentials.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_last_name_query.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_list_authentication_factors_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_list_authentication_method_types_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_list_details.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_list_i_d_p_links_request.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_list_i_d_p_links_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_list_passkeys_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_list_query.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_list_users_request.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_list_users_response.rb +4 -4
- data/lib/{zitadel-client/models/user_service_unlock_user_response.rb → zitadel/client/models/user_service_lock_user_response.rb} +5 -5
- data/lib/{zitadel-client → zitadel/client}/models/user_service_login_name_query.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_machine_user.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_nick_name_query.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_not_query.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_notification_type.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/user_service_or_query.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_organization.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_organization_id_query.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_passkey.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_passkey_authenticator.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/user_service_passkey_registration_code.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_password.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_password_reset_request.rb +4 -4
- data/lib/{zitadel-client/models/user_service_resend_phone_code_response.rb → zitadel/client/models/user_service_password_reset_response.rb} +5 -5
- data/lib/{zitadel-client → zitadel/client}/models/user_service_phone_query.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_protobuf_any.rb +4 -4
- data/lib/{zitadel-client/models/user_service_verify_invite_code_response.rb → zitadel/client/models/user_service_reactivate_user_response.rb} +5 -5
- data/lib/{zitadel-client → zitadel/client}/models/user_service_redirect_u_r_ls.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_register_passkey_request.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_register_passkey_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_register_t_o_t_p_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_register_u2_f_request.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_register_u2_f_response.rb +4 -4
- data/lib/{zitadel-client/models/user_service_deactivate_user_response.rb → zitadel/client/models/user_service_remove_i_d_p_link_response.rb} +5 -5
- data/lib/{zitadel-client/models/session_service_delete_session_response.rb → zitadel/client/models/user_service_remove_o_t_p_email_response.rb} +6 -6
- data/lib/{zitadel-client/models/user_service_reactivate_user_response.rb → zitadel/client/models/user_service_remove_o_t_p_s_m_s_response.rb} +5 -5
- data/lib/{zitadel-client/models/user_service_add_o_t_p_s_m_s_response.rb → zitadel/client/models/user_service_remove_passkey_response.rb} +5 -5
- data/lib/{zitadel-client/models/user_service_remove_passkey_response.rb → zitadel/client/models/user_service_remove_phone_response.rb} +5 -5
- data/lib/{zitadel-client → zitadel/client}/models/user_service_remove_t_o_t_p_response.rb +4 -4
- data/lib/{zitadel-client/models/user_service_remove_phone_response.rb → zitadel/client/models/user_service_remove_u2_f_response.rb} +5 -5
- data/lib/{zitadel-client/models/user_service_send_email_code_request.rb → zitadel/client/models/user_service_resend_email_code_request.rb} +5 -5
- data/lib/{zitadel-client/models/user_service_send_email_code_response.rb → zitadel/client/models/user_service_resend_email_code_response.rb} +5 -5
- data/lib/{zitadel-client/models/feature_service_get_user_features_response.rb → zitadel/client/models/user_service_resend_invite_code_response.rb} +6 -6
- data/lib/{zitadel-client → zitadel/client}/models/user_service_resend_phone_code_request.rb +4 -4
- data/lib/{zitadel-client/models/user_service_password_reset_response.rb → zitadel/client/models/user_service_resend_phone_code_response.rb} +5 -5
- data/lib/{zitadel-client → zitadel/client}/models/user_service_retrieve_identity_provider_intent_request.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_retrieve_identity_provider_intent_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_rpc_status.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_search_query.rb +4 -4
- data/lib/{zitadel-client/models/user_service_resend_email_code_request.rb → zitadel/client/models/user_service_send_email_code_request.rb} +5 -5
- data/lib/{zitadel-client/models/user_service_resend_email_code_response.rb → zitadel/client/models/user_service_send_email_code_response.rb} +5 -5
- data/lib/{zitadel-client → zitadel/client}/models/user_service_send_email_verification_code.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_send_invite_code.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_send_passkey_registration_link.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_send_password_reset_link.rb +4 -4
- data/lib/{zitadel-client/models/user_service_set_human_email.rb → zitadel/client/models/user_service_set_email_request.rb} +5 -5
- data/lib/{zitadel-client → zitadel/client}/models/user_service_set_email_response.rb +4 -4
- data/lib/{zitadel-client/models/user_service_set_email_request.rb → zitadel/client/models/user_service_set_human_email.rb} +5 -5
- data/lib/{zitadel-client → zitadel/client}/models/user_service_set_human_phone.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_set_human_profile.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_set_metadata_entry.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_set_password.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_set_password_request.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_set_password_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_set_phone_request.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_set_phone_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_start_identity_provider_intent_request.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_start_identity_provider_intent_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_state_query.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_text_query_method.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/user_service_type.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/user_service_type_query.rb +4 -4
- data/lib/{zitadel-client/models/user_service_add_i_d_p_link_response.rb → zitadel/client/models/user_service_unlock_user_response.rb} +5 -5
- data/lib/{zitadel-client → zitadel/client}/models/user_service_update_human_user_request.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_update_human_user_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_user.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_user_field_name.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/user_service_user_name_query.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_user_state.rb +2 -2
- data/lib/{zitadel-client → zitadel/client}/models/user_service_verify_email_request.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_verify_email_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_verify_invite_code_request.rb +4 -4
- data/lib/{zitadel-client/models/feature_service_set_user_features_response.rb → zitadel/client/models/user_service_verify_invite_code_response.rb} +6 -6
- data/lib/{zitadel-client → zitadel/client}/models/user_service_verify_passkey_registration_request.rb +4 -4
- data/lib/zitadel/client/models/user_service_verify_passkey_registration_response.rb +230 -0
- data/lib/{zitadel-client → zitadel/client}/models/user_service_verify_phone_request.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_verify_phone_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_verify_t_o_t_p_registration_request.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_verify_t_o_t_p_registration_response.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/user_service_verify_u2_f_registration_request.rb +4 -4
- data/lib/{zitadel-client/models/settings_service_set_security_settings_response.rb → zitadel/client/models/user_service_verify_u2_f_registration_response.rb} +6 -6
- data/lib/{zitadel-client → zitadel/client}/models/zitadelobjectv2_organization.rb +4 -4
- data/lib/{zitadel-client → zitadel/client}/models/zitadelorgv2_organization.rb +4 -4
- data/lib/zitadel/client/utils/url_util.rb +25 -0
- data/lib/zitadel/client/version.rb +7 -0
- data/lib/zitadel/client/zitadel.rb +84 -0
- data/lib/zitadel/client/zitadel_error.rb +10 -0
- data/lib/zitadel_client.rb +20 -6
- data/sig/lib.rbs +186 -183
- metadata +346 -346
- data/lib/zitadel-client/api_client.rb +0 -376
- data/lib/zitadel-client/api_error.rb +0 -29
- data/lib/zitadel-client/auth/authenticator.rb +0 -78
- data/lib/zitadel-client/auth/client_credentials_authenticator.rb +0 -63
- data/lib/zitadel-client/auth/no_auth_authenticator.rb +0 -33
- data/lib/zitadel-client/auth/o_auth_authenticator.rb +0 -97
- data/lib/zitadel-client/auth/open_id.rb +0 -52
- data/lib/zitadel-client/auth/personal_access_token_authenticator.rb +0 -35
- data/lib/zitadel-client/auth/web_token_authenticator.rb +0 -161
- data/lib/zitadel-client/configuration.rb +0 -178
- data/lib/zitadel-client/models/user_service_human_m_f_a_init_skipped_response.rb +0 -230
- data/lib/zitadel-client/models/user_service_lock_user_response.rb +0 -230
- data/lib/zitadel-client/models/user_service_remove_o_t_p_email_response.rb +0 -230
- data/lib/zitadel-client/models/user_service_remove_u2_f_response.rb +0 -230
- data/lib/zitadel-client/utils/url_util.rb +0 -23
- data/lib/zitadel-client/version.rb +0 -5
- data/lib/zitadel-client/zitadel.rb +0 -82
- data/lib/zitadel-client/zitadel_error.rb +0 -8
- /data/lib/{zitadel-client → zitadel/client}/api/.openapi +0 -0
- /data/lib/{zitadel-client → zitadel/client}/models/.openapi +0 -0
@@ -0,0 +1,230 @@
|
|
1
|
+
=begin
|
2
|
+
#Zitadel SDK
|
3
|
+
|
4
|
+
#The Zitadel SDK is a convenience wrapper around the Zitadel APIs to assist you in integrating with your Zitadel environment. This SDK enables you to handle resources, settings, and configurations within the Zitadel platform.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.12.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module Zitadel::Client::Models
|
17
|
+
class FeatureServiceResetOrganizationFeaturesResponse
|
18
|
+
attr_accessor :details
|
19
|
+
|
20
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
21
|
+
def self.attribute_map
|
22
|
+
{
|
23
|
+
:'details' => :'details'
|
24
|
+
}
|
25
|
+
end
|
26
|
+
|
27
|
+
# Returns attribute mapping this model knows about
|
28
|
+
def self.acceptable_attribute_map
|
29
|
+
attribute_map
|
30
|
+
end
|
31
|
+
|
32
|
+
# Returns all the JSON keys this model knows about
|
33
|
+
def self.acceptable_attributes
|
34
|
+
acceptable_attribute_map.values
|
35
|
+
end
|
36
|
+
|
37
|
+
# Attribute type mapping.
|
38
|
+
def self.openapi_types
|
39
|
+
{
|
40
|
+
:'details' => :'FeatureServiceDetails'
|
41
|
+
}
|
42
|
+
end
|
43
|
+
|
44
|
+
# List of attributes with nullable: true
|
45
|
+
def self.openapi_nullable
|
46
|
+
Set.new([
|
47
|
+
])
|
48
|
+
end
|
49
|
+
|
50
|
+
# Initializes the object
|
51
|
+
# @param [Hash] attributes Models attributes in the form of hash
|
52
|
+
def initialize(attributes = {})
|
53
|
+
if (!attributes.is_a?(Hash))
|
54
|
+
# MODIFIED: Updated class name in error message
|
55
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Zitadel::Client::Models::FeatureServiceResetOrganizationFeaturesResponse` initialize method"
|
56
|
+
end
|
57
|
+
|
58
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
59
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
60
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
61
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
62
|
+
# MODIFIED: Updated class name in error message
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Zitadel::Client::Models::FeatureServiceResetOrganizationFeaturesResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
64
|
+
end
|
65
|
+
h[k.to_sym] = v
|
66
|
+
}
|
67
|
+
|
68
|
+
if attributes.key?(:'details')
|
69
|
+
self.details = attributes[:'details']
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
74
|
+
# @return Array for valid properties with the reasons
|
75
|
+
def list_invalid_properties
|
76
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
77
|
+
invalid_properties = Array.new
|
78
|
+
invalid_properties
|
79
|
+
end
|
80
|
+
|
81
|
+
# Check to see if the all the properties in the model are valid
|
82
|
+
# @return true if the model is valid
|
83
|
+
def valid?
|
84
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
85
|
+
true
|
86
|
+
end
|
87
|
+
|
88
|
+
# Checks equality by comparing each attribute.
|
89
|
+
# @param [Object] Object to be compared
|
90
|
+
def ==(o)
|
91
|
+
return true if self.equal?(o)
|
92
|
+
self.class == o.class &&
|
93
|
+
details == o.details
|
94
|
+
end
|
95
|
+
|
96
|
+
# @see the `==` method
|
97
|
+
# @param [Object] Object to be compared
|
98
|
+
def eql?(o)
|
99
|
+
self == o
|
100
|
+
end
|
101
|
+
|
102
|
+
# Calculates hash code according to all attributes.
|
103
|
+
# @return [Integer] Hash code
|
104
|
+
def hash
|
105
|
+
[details].hash
|
106
|
+
end
|
107
|
+
|
108
|
+
# Builds the object from hash
|
109
|
+
# @param [Hash] attributes Models attributes in the form of hash
|
110
|
+
# @return [Object] Returns the model itself
|
111
|
+
def self.build_from_hash(attributes)
|
112
|
+
return nil unless attributes.is_a?(Hash)
|
113
|
+
attributes = attributes.transform_keys(&:to_sym)
|
114
|
+
transformed_hash = {}
|
115
|
+
openapi_types.each_pair do |key, type|
|
116
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
117
|
+
transformed_hash["#{key}"] = nil
|
118
|
+
elsif type =~ /\AArray<(.*)>/i
|
119
|
+
# check to ensure the input is an array given that the attribute
|
120
|
+
# is documented as an array but the input is not
|
121
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
122
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
123
|
+
end
|
124
|
+
elsif !attributes[attribute_map[key]].nil?
|
125
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
126
|
+
end
|
127
|
+
end
|
128
|
+
new(transformed_hash) # `new` will call the initialize method of the specific model class.
|
129
|
+
end
|
130
|
+
|
131
|
+
# Deserializes the data based on type
|
132
|
+
# @param string type Data type
|
133
|
+
# @param string value Value to be deserialized
|
134
|
+
# @return [Object] Deserialized data
|
135
|
+
def self._deserialize(type, value)
|
136
|
+
case type.to_sym
|
137
|
+
when :Time
|
138
|
+
Time.parse(value)
|
139
|
+
when :Date
|
140
|
+
Date.parse(value)
|
141
|
+
when :String
|
142
|
+
value.to_s
|
143
|
+
when :Integer
|
144
|
+
value.to_i
|
145
|
+
when :Float
|
146
|
+
value.to_f
|
147
|
+
when :Boolean
|
148
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
149
|
+
true
|
150
|
+
else
|
151
|
+
false
|
152
|
+
end
|
153
|
+
when :Object
|
154
|
+
# generic object (usually a Hash), return directly
|
155
|
+
value
|
156
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
157
|
+
inner_type = Regexp.last_match[:inner_type]
|
158
|
+
value.map { |v| _deserialize(inner_type, v) }
|
159
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
160
|
+
k_type = Regexp.last_match[:k_type]
|
161
|
+
v_type = Regexp.last_match[:v_type]
|
162
|
+
{}.tap do |hash|
|
163
|
+
value.each do |k, v|
|
164
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
165
|
+
end
|
166
|
+
end
|
167
|
+
else # model
|
168
|
+
# models (e.g. Pet) or oneOf/anyOf constructs that resolve to a model name
|
169
|
+
# MODIFIED: Ensure model is looked up in the Models namespace
|
170
|
+
# 'type' here is expected to be the simple class name (e.g., "User", "OrderDetails")
|
171
|
+
klass = Zitadel::Client::Models.const_get(type)
|
172
|
+
# The `klass.build` method is for oneOf/anyOf types (defined in partial_oneof_module.mustache / partial_anyof_module.mustache)
|
173
|
+
# The `klass.build_from_hash` is for regular model types (defined in this base_object.mustache itself)
|
174
|
+
if klass.respond_to?(:openapi_one_of) || klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_allOf)
|
175
|
+
klass.build(value) # For oneOf/anyOf/allOf, delegate to their specific build method
|
176
|
+
else
|
177
|
+
klass.build_from_hash(value) # For regular models
|
178
|
+
end
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
182
|
+
# Returns the string representation of the object
|
183
|
+
# @return [String] String presentation of the object
|
184
|
+
def to_s
|
185
|
+
to_hash.to_s
|
186
|
+
end
|
187
|
+
|
188
|
+
# to_body is an alias to to_hash (backward compatibility)
|
189
|
+
# @return [Hash] Returns the object in the form of hash
|
190
|
+
def to_body
|
191
|
+
to_hash
|
192
|
+
end
|
193
|
+
|
194
|
+
# Returns the object in the form of hash
|
195
|
+
# @return [Hash] Returns the object in the form of hash
|
196
|
+
def to_hash
|
197
|
+
hash = {} # Calls super.to_hash if parent exists
|
198
|
+
self.class.attribute_map.each_pair do |attr, param|
|
199
|
+
value = self.send(attr)
|
200
|
+
if value.nil?
|
201
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
202
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
203
|
+
end
|
204
|
+
|
205
|
+
hash[param] = _to_hash(value)
|
206
|
+
end
|
207
|
+
hash
|
208
|
+
end
|
209
|
+
|
210
|
+
# Outputs non-array value in the form of hash
|
211
|
+
# For object, use to_hash. Otherwise, just return the value
|
212
|
+
# @param [Object] value Any valid value
|
213
|
+
# @return [Hash] Returns the value in the form of hash
|
214
|
+
def _to_hash(value)
|
215
|
+
if value.is_a?(Array)
|
216
|
+
value.compact.map { |v| _to_hash(v) }
|
217
|
+
elsif value.is_a?(Hash)
|
218
|
+
{}.tap do |hash|
|
219
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
220
|
+
end
|
221
|
+
elsif value.respond_to? :to_hash
|
222
|
+
value.to_hash
|
223
|
+
else
|
224
|
+
value
|
225
|
+
end
|
226
|
+
end
|
227
|
+
|
228
|
+
end
|
229
|
+
|
230
|
+
end
|
@@ -0,0 +1,230 @@
|
|
1
|
+
=begin
|
2
|
+
#Zitadel SDK
|
3
|
+
|
4
|
+
#The Zitadel SDK is a convenience wrapper around the Zitadel APIs to assist you in integrating with your Zitadel environment. This SDK enables you to handle resources, settings, and configurations within the Zitadel platform.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.12.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module Zitadel::Client::Models
|
17
|
+
class FeatureServiceResetSystemFeaturesResponse
|
18
|
+
attr_accessor :details
|
19
|
+
|
20
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
21
|
+
def self.attribute_map
|
22
|
+
{
|
23
|
+
:'details' => :'details'
|
24
|
+
}
|
25
|
+
end
|
26
|
+
|
27
|
+
# Returns attribute mapping this model knows about
|
28
|
+
def self.acceptable_attribute_map
|
29
|
+
attribute_map
|
30
|
+
end
|
31
|
+
|
32
|
+
# Returns all the JSON keys this model knows about
|
33
|
+
def self.acceptable_attributes
|
34
|
+
acceptable_attribute_map.values
|
35
|
+
end
|
36
|
+
|
37
|
+
# Attribute type mapping.
|
38
|
+
def self.openapi_types
|
39
|
+
{
|
40
|
+
:'details' => :'FeatureServiceDetails'
|
41
|
+
}
|
42
|
+
end
|
43
|
+
|
44
|
+
# List of attributes with nullable: true
|
45
|
+
def self.openapi_nullable
|
46
|
+
Set.new([
|
47
|
+
])
|
48
|
+
end
|
49
|
+
|
50
|
+
# Initializes the object
|
51
|
+
# @param [Hash] attributes Models attributes in the form of hash
|
52
|
+
def initialize(attributes = {})
|
53
|
+
if (!attributes.is_a?(Hash))
|
54
|
+
# MODIFIED: Updated class name in error message
|
55
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Zitadel::Client::Models::FeatureServiceResetSystemFeaturesResponse` initialize method"
|
56
|
+
end
|
57
|
+
|
58
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
59
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
60
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
61
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
62
|
+
# MODIFIED: Updated class name in error message
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Zitadel::Client::Models::FeatureServiceResetSystemFeaturesResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
64
|
+
end
|
65
|
+
h[k.to_sym] = v
|
66
|
+
}
|
67
|
+
|
68
|
+
if attributes.key?(:'details')
|
69
|
+
self.details = attributes[:'details']
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
74
|
+
# @return Array for valid properties with the reasons
|
75
|
+
def list_invalid_properties
|
76
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
77
|
+
invalid_properties = Array.new
|
78
|
+
invalid_properties
|
79
|
+
end
|
80
|
+
|
81
|
+
# Check to see if the all the properties in the model are valid
|
82
|
+
# @return true if the model is valid
|
83
|
+
def valid?
|
84
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
85
|
+
true
|
86
|
+
end
|
87
|
+
|
88
|
+
# Checks equality by comparing each attribute.
|
89
|
+
# @param [Object] Object to be compared
|
90
|
+
def ==(o)
|
91
|
+
return true if self.equal?(o)
|
92
|
+
self.class == o.class &&
|
93
|
+
details == o.details
|
94
|
+
end
|
95
|
+
|
96
|
+
# @see the `==` method
|
97
|
+
# @param [Object] Object to be compared
|
98
|
+
def eql?(o)
|
99
|
+
self == o
|
100
|
+
end
|
101
|
+
|
102
|
+
# Calculates hash code according to all attributes.
|
103
|
+
# @return [Integer] Hash code
|
104
|
+
def hash
|
105
|
+
[details].hash
|
106
|
+
end
|
107
|
+
|
108
|
+
# Builds the object from hash
|
109
|
+
# @param [Hash] attributes Models attributes in the form of hash
|
110
|
+
# @return [Object] Returns the model itself
|
111
|
+
def self.build_from_hash(attributes)
|
112
|
+
return nil unless attributes.is_a?(Hash)
|
113
|
+
attributes = attributes.transform_keys(&:to_sym)
|
114
|
+
transformed_hash = {}
|
115
|
+
openapi_types.each_pair do |key, type|
|
116
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
117
|
+
transformed_hash["#{key}"] = nil
|
118
|
+
elsif type =~ /\AArray<(.*)>/i
|
119
|
+
# check to ensure the input is an array given that the attribute
|
120
|
+
# is documented as an array but the input is not
|
121
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
122
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
123
|
+
end
|
124
|
+
elsif !attributes[attribute_map[key]].nil?
|
125
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
126
|
+
end
|
127
|
+
end
|
128
|
+
new(transformed_hash) # `new` will call the initialize method of the specific model class.
|
129
|
+
end
|
130
|
+
|
131
|
+
# Deserializes the data based on type
|
132
|
+
# @param string type Data type
|
133
|
+
# @param string value Value to be deserialized
|
134
|
+
# @return [Object] Deserialized data
|
135
|
+
def self._deserialize(type, value)
|
136
|
+
case type.to_sym
|
137
|
+
when :Time
|
138
|
+
Time.parse(value)
|
139
|
+
when :Date
|
140
|
+
Date.parse(value)
|
141
|
+
when :String
|
142
|
+
value.to_s
|
143
|
+
when :Integer
|
144
|
+
value.to_i
|
145
|
+
when :Float
|
146
|
+
value.to_f
|
147
|
+
when :Boolean
|
148
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
149
|
+
true
|
150
|
+
else
|
151
|
+
false
|
152
|
+
end
|
153
|
+
when :Object
|
154
|
+
# generic object (usually a Hash), return directly
|
155
|
+
value
|
156
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
157
|
+
inner_type = Regexp.last_match[:inner_type]
|
158
|
+
value.map { |v| _deserialize(inner_type, v) }
|
159
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
160
|
+
k_type = Regexp.last_match[:k_type]
|
161
|
+
v_type = Regexp.last_match[:v_type]
|
162
|
+
{}.tap do |hash|
|
163
|
+
value.each do |k, v|
|
164
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
165
|
+
end
|
166
|
+
end
|
167
|
+
else # model
|
168
|
+
# models (e.g. Pet) or oneOf/anyOf constructs that resolve to a model name
|
169
|
+
# MODIFIED: Ensure model is looked up in the Models namespace
|
170
|
+
# 'type' here is expected to be the simple class name (e.g., "User", "OrderDetails")
|
171
|
+
klass = Zitadel::Client::Models.const_get(type)
|
172
|
+
# The `klass.build` method is for oneOf/anyOf types (defined in partial_oneof_module.mustache / partial_anyof_module.mustache)
|
173
|
+
# The `klass.build_from_hash` is for regular model types (defined in this base_object.mustache itself)
|
174
|
+
if klass.respond_to?(:openapi_one_of) || klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_allOf)
|
175
|
+
klass.build(value) # For oneOf/anyOf/allOf, delegate to their specific build method
|
176
|
+
else
|
177
|
+
klass.build_from_hash(value) # For regular models
|
178
|
+
end
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
182
|
+
# Returns the string representation of the object
|
183
|
+
# @return [String] String presentation of the object
|
184
|
+
def to_s
|
185
|
+
to_hash.to_s
|
186
|
+
end
|
187
|
+
|
188
|
+
# to_body is an alias to to_hash (backward compatibility)
|
189
|
+
# @return [Hash] Returns the object in the form of hash
|
190
|
+
def to_body
|
191
|
+
to_hash
|
192
|
+
end
|
193
|
+
|
194
|
+
# Returns the object in the form of hash
|
195
|
+
# @return [Hash] Returns the object in the form of hash
|
196
|
+
def to_hash
|
197
|
+
hash = {} # Calls super.to_hash if parent exists
|
198
|
+
self.class.attribute_map.each_pair do |attr, param|
|
199
|
+
value = self.send(attr)
|
200
|
+
if value.nil?
|
201
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
202
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
203
|
+
end
|
204
|
+
|
205
|
+
hash[param] = _to_hash(value)
|
206
|
+
end
|
207
|
+
hash
|
208
|
+
end
|
209
|
+
|
210
|
+
# Outputs non-array value in the form of hash
|
211
|
+
# For object, use to_hash. Otherwise, just return the value
|
212
|
+
# @param [Object] value Any valid value
|
213
|
+
# @return [Hash] Returns the value in the form of hash
|
214
|
+
def _to_hash(value)
|
215
|
+
if value.is_a?(Array)
|
216
|
+
value.compact.map { |v| _to_hash(v) }
|
217
|
+
elsif value.is_a?(Hash)
|
218
|
+
{}.tap do |hash|
|
219
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
220
|
+
end
|
221
|
+
elsif value.respond_to? :to_hash
|
222
|
+
value.to_hash
|
223
|
+
else
|
224
|
+
value
|
225
|
+
end
|
226
|
+
end
|
227
|
+
|
228
|
+
end
|
229
|
+
|
230
|
+
end
|
@@ -13,8 +13,8 @@ Generator version: 7.12.0
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
17
|
-
class
|
16
|
+
module Zitadel::Client::Models
|
17
|
+
class FeatureServiceResetUserFeaturesResponse
|
18
18
|
attr_accessor :details
|
19
19
|
|
20
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -52,7 +52,7 @@ module ZitadelClient::Models
|
|
52
52
|
def initialize(attributes = {})
|
53
53
|
if (!attributes.is_a?(Hash))
|
54
54
|
# MODIFIED: Updated class name in error message
|
55
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
55
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Zitadel::Client::Models::FeatureServiceResetUserFeaturesResponse` initialize method"
|
56
56
|
end
|
57
57
|
|
58
58
|
# check to see if the attribute exists and convert string to symbol for hash key
|
@@ -60,7 +60,7 @@ module ZitadelClient::Models
|
|
60
60
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
61
61
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
62
62
|
# MODIFIED: Updated class name in error message
|
63
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Zitadel::Client::Models::FeatureServiceResetUserFeaturesResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
64
64
|
end
|
65
65
|
h[k.to_sym] = v
|
66
66
|
}
|
@@ -168,7 +168,7 @@ def self._deserialize(type, value)
|
|
168
168
|
# models (e.g. Pet) or oneOf/anyOf constructs that resolve to a model name
|
169
169
|
# MODIFIED: Ensure model is looked up in the Models namespace
|
170
170
|
# 'type' here is expected to be the simple class name (e.g., "User", "OrderDetails")
|
171
|
-
klass =
|
171
|
+
klass = Zitadel::Client::Models.const_get(type)
|
172
172
|
# The `klass.build` method is for oneOf/anyOf types (defined in partial_oneof_module.mustache / partial_anyof_module.mustache)
|
173
173
|
# The `klass.build_from_hash` is for regular model types (defined in this base_object.mustache itself)
|
174
174
|
if klass.respond_to?(:openapi_one_of) || klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_allOf)
|
@@ -13,7 +13,7 @@ Generator version: 7.12.0
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module Zitadel::Client::Models
|
17
17
|
class FeatureServiceRpcStatus
|
18
18
|
attr_accessor :code
|
19
19
|
|
@@ -60,7 +60,7 @@ module ZitadelClient::Models
|
|
60
60
|
def initialize(attributes = {})
|
61
61
|
if (!attributes.is_a?(Hash))
|
62
62
|
# MODIFIED: Updated class name in error message
|
63
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
63
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Zitadel::Client::Models::FeatureServiceRpcStatus` initialize method"
|
64
64
|
end
|
65
65
|
|
66
66
|
# check to see if the attribute exists and convert string to symbol for hash key
|
@@ -68,7 +68,7 @@ module ZitadelClient::Models
|
|
68
68
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
69
69
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
70
70
|
# MODIFIED: Updated class name in error message
|
71
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
71
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Zitadel::Client::Models::FeatureServiceRpcStatus`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
72
72
|
end
|
73
73
|
h[k.to_sym] = v
|
74
74
|
}
|
@@ -188,7 +188,7 @@ def self._deserialize(type, value)
|
|
188
188
|
# models (e.g. Pet) or oneOf/anyOf constructs that resolve to a model name
|
189
189
|
# MODIFIED: Ensure model is looked up in the Models namespace
|
190
190
|
# 'type' here is expected to be the simple class name (e.g., "User", "OrderDetails")
|
191
|
-
klass =
|
191
|
+
klass = Zitadel::Client::Models.const_get(type)
|
192
192
|
# The `klass.build` method is for oneOf/anyOf types (defined in partial_oneof_module.mustache / partial_anyof_module.mustache)
|
193
193
|
# The `klass.build_from_hash` is for regular model types (defined in this base_object.mustache itself)
|
194
194
|
if klass.respond_to?(:openapi_one_of) || klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_allOf)
|
data/lib/{zitadel-client → zitadel/client}/models/feature_service_set_instance_features_request.rb
RENAMED
@@ -13,7 +13,7 @@ Generator version: 7.12.0
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module Zitadel::Client::Models
|
17
17
|
class FeatureServiceSetInstanceFeaturesRequest
|
18
18
|
# The login UI will use the settings of the default org (and not from the instance) if no organization context is set
|
19
19
|
attr_accessor :login_default_org
|
@@ -122,7 +122,7 @@ module ZitadelClient::Models
|
|
122
122
|
def initialize(attributes = {})
|
123
123
|
if (!attributes.is_a?(Hash))
|
124
124
|
# MODIFIED: Updated class name in error message
|
125
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
125
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Zitadel::Client::Models::FeatureServiceSetInstanceFeaturesRequest` initialize method"
|
126
126
|
end
|
127
127
|
|
128
128
|
# check to see if the attribute exists and convert string to symbol for hash key
|
@@ -130,7 +130,7 @@ module ZitadelClient::Models
|
|
130
130
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
131
131
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
132
132
|
# MODIFIED: Updated class name in error message
|
133
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
133
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Zitadel::Client::Models::FeatureServiceSetInstanceFeaturesRequest`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
134
134
|
end
|
135
135
|
h[k.to_sym] = v
|
136
136
|
}
|
@@ -310,7 +310,7 @@ def self._deserialize(type, value)
|
|
310
310
|
# models (e.g. Pet) or oneOf/anyOf constructs that resolve to a model name
|
311
311
|
# MODIFIED: Ensure model is looked up in the Models namespace
|
312
312
|
# 'type' here is expected to be the simple class name (e.g., "User", "OrderDetails")
|
313
|
-
klass =
|
313
|
+
klass = Zitadel::Client::Models.const_get(type)
|
314
314
|
# The `klass.build` method is for oneOf/anyOf types (defined in partial_oneof_module.mustache / partial_anyof_module.mustache)
|
315
315
|
# The `klass.build_from_hash` is for regular model types (defined in this base_object.mustache itself)
|
316
316
|
if klass.respond_to?(:openapi_one_of) || klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_allOf)
|
@@ -13,8 +13,8 @@ Generator version: 7.12.0
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
17
|
-
class
|
16
|
+
module Zitadel::Client::Models
|
17
|
+
class FeatureServiceSetInstanceFeaturesResponse
|
18
18
|
attr_accessor :details
|
19
19
|
|
20
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -52,7 +52,7 @@ module ZitadelClient::Models
|
|
52
52
|
def initialize(attributes = {})
|
53
53
|
if (!attributes.is_a?(Hash))
|
54
54
|
# MODIFIED: Updated class name in error message
|
55
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
55
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Zitadel::Client::Models::FeatureServiceSetInstanceFeaturesResponse` initialize method"
|
56
56
|
end
|
57
57
|
|
58
58
|
# check to see if the attribute exists and convert string to symbol for hash key
|
@@ -60,7 +60,7 @@ module ZitadelClient::Models
|
|
60
60
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
61
61
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
62
62
|
# MODIFIED: Updated class name in error message
|
63
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Zitadel::Client::Models::FeatureServiceSetInstanceFeaturesResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
64
64
|
end
|
65
65
|
h[k.to_sym] = v
|
66
66
|
}
|
@@ -168,7 +168,7 @@ def self._deserialize(type, value)
|
|
168
168
|
# models (e.g. Pet) or oneOf/anyOf constructs that resolve to a model name
|
169
169
|
# MODIFIED: Ensure model is looked up in the Models namespace
|
170
170
|
# 'type' here is expected to be the simple class name (e.g., "User", "OrderDetails")
|
171
|
-
klass =
|
171
|
+
klass = Zitadel::Client::Models.const_get(type)
|
172
172
|
# The `klass.build` method is for oneOf/anyOf types (defined in partial_oneof_module.mustache / partial_anyof_module.mustache)
|
173
173
|
# The `klass.build_from_hash` is for regular model types (defined in this base_object.mustache itself)
|
174
174
|
if klass.respond_to?(:openapi_one_of) || klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_allOf)
|
@@ -13,8 +13,8 @@ Generator version: 7.12.0
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
17
|
-
class
|
16
|
+
module Zitadel::Client::Models
|
17
|
+
class FeatureServiceSetOrganizationFeaturesResponse
|
18
18
|
attr_accessor :details
|
19
19
|
|
20
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -52,7 +52,7 @@ module ZitadelClient::Models
|
|
52
52
|
def initialize(attributes = {})
|
53
53
|
if (!attributes.is_a?(Hash))
|
54
54
|
# MODIFIED: Updated class name in error message
|
55
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
55
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Zitadel::Client::Models::FeatureServiceSetOrganizationFeaturesResponse` initialize method"
|
56
56
|
end
|
57
57
|
|
58
58
|
# check to see if the attribute exists and convert string to symbol for hash key
|
@@ -60,7 +60,7 @@ module ZitadelClient::Models
|
|
60
60
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
61
61
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
62
62
|
# MODIFIED: Updated class name in error message
|
63
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Zitadel::Client::Models::FeatureServiceSetOrganizationFeaturesResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
64
64
|
end
|
65
65
|
h[k.to_sym] = v
|
66
66
|
}
|
@@ -168,7 +168,7 @@ def self._deserialize(type, value)
|
|
168
168
|
# models (e.g. Pet) or oneOf/anyOf constructs that resolve to a model name
|
169
169
|
# MODIFIED: Ensure model is looked up in the Models namespace
|
170
170
|
# 'type' here is expected to be the simple class name (e.g., "User", "OrderDetails")
|
171
|
-
klass =
|
171
|
+
klass = Zitadel::Client::Models.const_get(type)
|
172
172
|
# The `klass.build` method is for oneOf/anyOf types (defined in partial_oneof_module.mustache / partial_anyof_module.mustache)
|
173
173
|
# The `klass.build_from_hash` is for regular model types (defined in this base_object.mustache itself)
|
174
174
|
if klass.respond_to?(:openapi_one_of) || klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_allOf)
|
data/lib/{zitadel-client → zitadel/client}/models/feature_service_set_system_features_request.rb
RENAMED
@@ -13,7 +13,7 @@ Generator version: 7.12.0
|
|
13
13
|
require 'date'
|
14
14
|
require 'time'
|
15
15
|
|
16
|
-
module
|
16
|
+
module Zitadel::Client::Models
|
17
17
|
class FeatureServiceSetSystemFeaturesRequest
|
18
18
|
# The login UI will use the settings of the default org (and not from the instance) if no organization context is set
|
19
19
|
attr_accessor :login_default_org
|
@@ -107,7 +107,7 @@ module ZitadelClient::Models
|
|
107
107
|
def initialize(attributes = {})
|
108
108
|
if (!attributes.is_a?(Hash))
|
109
109
|
# MODIFIED: Updated class name in error message
|
110
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
110
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Zitadel::Client::Models::FeatureServiceSetSystemFeaturesRequest` initialize method"
|
111
111
|
end
|
112
112
|
|
113
113
|
# check to see if the attribute exists and convert string to symbol for hash key
|
@@ -115,7 +115,7 @@ module ZitadelClient::Models
|
|
115
115
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
116
116
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
117
117
|
# MODIFIED: Updated class name in error message
|
118
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
118
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Zitadel::Client::Models::FeatureServiceSetSystemFeaturesRequest`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
119
119
|
end
|
120
120
|
h[k.to_sym] = v
|
121
121
|
}
|
@@ -280,7 +280,7 @@ def self._deserialize(type, value)
|
|
280
280
|
# models (e.g. Pet) or oneOf/anyOf constructs that resolve to a model name
|
281
281
|
# MODIFIED: Ensure model is looked up in the Models namespace
|
282
282
|
# 'type' here is expected to be the simple class name (e.g., "User", "OrderDetails")
|
283
|
-
klass =
|
283
|
+
klass = Zitadel::Client::Models.const_get(type)
|
284
284
|
# The `klass.build` method is for oneOf/anyOf types (defined in partial_oneof_module.mustache / partial_anyof_module.mustache)
|
285
285
|
# The `klass.build_from_hash` is for regular model types (defined in this base_object.mustache itself)
|
286
286
|
if klass.respond_to?(:openapi_one_of) || klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_allOf)
|