ory-client 1.17.1 → 1.18.4
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/Gemfile.lock +1 -1
- data/README.md +7 -6
- data/docs/AccountExperienceColors.md +57 -1
- data/docs/CreateProjectNormalizedPayload.md +2 -0
- data/docs/GenericErrorContent.md +2 -0
- data/docs/NormalizedProjectRevision.md +2 -0
- data/docs/NormalizedProjectRevisionSAMLProvider.md +0 -4
- data/docs/UiNode.md +1 -1
- data/docs/UiNodeAnchorAttributes.md +1 -1
- data/docs/UiNodeDivisionAttributes.md +24 -0
- data/docs/UiNodeImageAttributes.md +1 -1
- data/docs/UiNodeInputAttributes.md +1 -1
- data/docs/UiNodeScriptAttributes.md +1 -1
- data/docs/UiNodeTextAttributes.md +1 -1
- data/lib/ory-client/api/courier_api.rb +4 -4
- data/lib/ory-client/api/events_api.rb +6 -6
- data/lib/ory-client/api/frontend_api.rb +34 -34
- data/lib/ory-client/api/identity_api.rb +20 -20
- data/lib/ory-client/api/jwk_api.rb +9 -9
- data/lib/ory-client/api/metadata_api.rb +3 -3
- data/lib/ory-client/api/o_auth2_api.rb +30 -30
- data/lib/ory-client/api/oidc_api.rb +9 -9
- data/lib/ory-client/api/permission_api.rb +8 -8
- data/lib/ory-client/api/project_api.rb +19 -19
- data/lib/ory-client/api/relationship_api.rb +8 -8
- data/lib/ory-client/api/wellknown_api.rb +3 -3
- data/lib/ory-client/api/workspace_api.rb +10 -10
- data/lib/ory-client/api_client.rb +9 -10
- data/lib/ory-client/api_error.rb +2 -2
- data/lib/ory-client/configuration.rb +2 -2
- data/lib/ory-client/models/accept_o_auth2_consent_request.rb +11 -5
- data/lib/ory-client/models/accept_o_auth2_consent_request_session.rb +11 -5
- data/lib/ory-client/models/accept_o_auth2_login_request.rb +21 -5
- data/lib/ory-client/models/account_experience_colors.rb +267 -9
- data/lib/ory-client/models/account_experience_configuration.rb +121 -5
- data/lib/ory-client/models/account_experience_theme_variables.rb +11 -5
- data/lib/ory-client/models/active_project_in_console.rb +11 -5
- data/lib/ory-client/models/add_project_to_workspace_body.rb +11 -5
- data/lib/ory-client/models/attribute.rb +11 -5
- data/lib/ory-client/models/attribute_filter.rb +11 -5
- data/lib/ory-client/models/attributes_count_datapoint.rb +31 -5
- data/lib/ory-client/models/authenticator_assurance_level.rb +2 -2
- data/lib/ory-client/models/batch_check_permission_body.rb +11 -5
- data/lib/ory-client/models/batch_check_permission_result.rb +21 -5
- data/lib/ory-client/models/batch_patch_identities_response.rb +11 -5
- data/lib/ory-client/models/billing_period_bucket.rb +11 -5
- data/lib/ory-client/models/check_opl_syntax_result.rb +11 -5
- data/lib/ory-client/models/check_permission_result.rb +21 -5
- data/lib/ory-client/models/check_permission_result_with_error.rb +21 -5
- data/lib/ory-client/models/cloud_account.rb +51 -5
- data/lib/ory-client/models/consistency_request_parameters.rb +11 -5
- data/lib/ory-client/models/continue_with.rb +2 -2
- data/lib/ory-client/models/continue_with_recovery_ui.rb +21 -5
- data/lib/ory-client/models/continue_with_recovery_ui_flow.rb +21 -5
- data/lib/ory-client/models/continue_with_redirect_browser_to.rb +21 -5
- data/lib/ory-client/models/continue_with_set_ory_session_token.rb +21 -5
- data/lib/ory-client/models/continue_with_settings_ui.rb +21 -5
- data/lib/ory-client/models/continue_with_settings_ui_flow.rb +21 -5
- data/lib/ory-client/models/continue_with_verification_ui.rb +21 -5
- data/lib/ory-client/models/continue_with_verification_ui_flow.rb +31 -5
- data/lib/ory-client/models/courier_message_status.rb +2 -2
- data/lib/ory-client/models/courier_message_type.rb +2 -2
- data/lib/ory-client/models/create_custom_domain_body.rb +11 -5
- data/lib/ory-client/models/create_event_stream_body.rb +31 -5
- data/lib/ory-client/models/create_fedcm_flow_response.rb +11 -5
- data/lib/ory-client/models/create_identity_body.rb +31 -5
- data/lib/ory-client/models/create_invite_response.rb +31 -5
- data/lib/ory-client/models/create_json_web_key_set.rb +41 -5
- data/lib/ory-client/models/create_project_api_key_request.rb +21 -5
- data/lib/ory-client/models/create_project_body.rb +21 -5
- data/lib/ory-client/models/create_project_branding.rb +11 -5
- data/lib/ory-client/models/create_project_member_invite_body.rb +11 -5
- data/lib/ory-client/models/create_project_normalized_payload.rb +32 -6
- data/lib/ory-client/models/create_recovery_code_for_identity_body.rb +21 -5
- data/lib/ory-client/models/create_recovery_link_for_identity_body.rb +21 -5
- data/lib/ory-client/models/create_relationship_body.rb +11 -5
- data/lib/ory-client/models/create_subscription_body.rb +31 -5
- data/lib/ory-client/models/create_subscription_common.rb +21 -5
- data/lib/ory-client/models/create_verifiable_credential_request_body.rb +11 -5
- data/lib/ory-client/models/create_workspace_api_key_body.rb +21 -5
- data/lib/ory-client/models/create_workspace_body.rb +21 -5
- data/lib/ory-client/models/create_workspace_member_invite_body.rb +21 -5
- data/lib/ory-client/models/create_workspace_subscription_body.rb +21 -5
- data/lib/ory-client/models/credential_supported_draft00.rb +11 -5
- data/lib/ory-client/models/custom_domain.rb +11 -5
- data/lib/ory-client/models/delete_my_sessions_count.rb +11 -5
- data/lib/ory-client/models/email_template_data.rb +31 -5
- data/lib/ory-client/models/email_template_data_body.rb +31 -5
- data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +11 -5
- data/lib/ory-client/models/error_browser_location_change_required.rb +11 -5
- data/lib/ory-client/models/error_flow_replaced.rb +11 -5
- data/lib/ory-client/models/error_generic.rb +21 -5
- data/lib/ory-client/models/error_o_auth2.rb +11 -5
- data/lib/ory-client/models/event_stream.rb +11 -5
- data/lib/ory-client/models/expanded_permission_tree.rb +11 -5
- data/lib/ory-client/models/flow_error.rb +21 -5
- data/lib/ory-client/models/generic_error.rb +21 -5
- data/lib/ory-client/models/generic_error_content.rb +56 -6
- data/lib/ory-client/models/generic_usage.rb +31 -5
- data/lib/ory-client/models/get_attributes_count_response.rb +21 -5
- data/lib/ory-client/models/get_managed_identity_schema_location.rb +11 -5
- data/lib/ory-client/models/get_metrics_event_attributes_response.rb +21 -5
- data/lib/ory-client/models/get_metrics_event_types_response.rb +21 -5
- data/lib/ory-client/models/get_organization_response.rb +21 -5
- data/lib/ory-client/models/get_project_events_body.rb +31 -5
- data/lib/ory-client/models/get_project_events_response.rb +21 -5
- data/lib/ory-client/models/get_project_metrics_response.rb +21 -5
- data/lib/ory-client/models/get_session_activity_response.rb +21 -5
- data/lib/ory-client/models/get_version200_response.rb +21 -5
- data/lib/ory-client/models/health_not_ready_status.rb +11 -5
- data/lib/ory-client/models/health_status.rb +11 -5
- data/lib/ory-client/models/identity.rb +41 -5
- data/lib/ory-client/models/identity_credentials.rb +11 -5
- data/lib/ory-client/models/identity_credentials_code.rb +11 -5
- data/lib/ory-client/models/identity_credentials_code_address.rb +11 -5
- data/lib/ory-client/models/identity_credentials_oidc.rb +11 -5
- data/lib/ory-client/models/identity_credentials_oidc_provider.rb +11 -5
- data/lib/ory-client/models/identity_credentials_password.rb +11 -5
- data/lib/ory-client/models/identity_patch.rb +11 -5
- data/lib/ory-client/models/identity_patch_response.rb +11 -5
- data/lib/ory-client/models/identity_schema_container.rb +11 -5
- data/lib/ory-client/models/identity_schema_preset.rb +31 -5
- data/lib/ory-client/models/identity_with_credentials.rb +11 -5
- data/lib/ory-client/models/identity_with_credentials_oidc.rb +11 -5
- data/lib/ory-client/models/identity_with_credentials_oidc_config.rb +11 -5
- data/lib/ory-client/models/identity_with_credentials_oidc_config_provider.rb +31 -5
- data/lib/ory-client/models/identity_with_credentials_password.rb +11 -5
- data/lib/ory-client/models/identity_with_credentials_password_config.rb +11 -5
- data/lib/ory-client/models/internal_get_project_branding_body.rb +11 -5
- data/lib/ory-client/models/internal_is_ax_welcome_screen_enabled_for_project_body.rb +31 -5
- data/lib/ory-client/models/internal_is_owner_for_project_by_slug_body.rb +31 -5
- data/lib/ory-client/models/internal_is_owner_for_project_by_slug_response.rb +21 -5
- data/lib/ory-client/models/introspected_o_auth2_token.rb +21 -5
- data/lib/ory-client/models/invite_token_body.rb +21 -5
- data/lib/ory-client/models/invoice.rb +31 -5
- data/lib/ory-client/models/invoice_data_v1.rb +61 -5
- data/lib/ory-client/models/is_owner_for_project_by_slug.rb +31 -5
- data/lib/ory-client/models/json_patch.rb +21 -5
- data/lib/ory-client/models/json_web_key.rb +51 -5
- data/lib/ory-client/models/json_web_key_set.rb +11 -5
- data/lib/ory-client/models/keto_namespace.rb +11 -5
- data/lib/ory-client/models/line_item_v1.rb +11 -5
- data/lib/ory-client/models/list_event_streams.rb +11 -5
- data/lib/ory-client/models/list_invoices_response.rb +41 -5
- data/lib/ory-client/models/list_organizations_response.rb +41 -5
- data/lib/ory-client/models/list_workspace_projects.rb +41 -5
- data/lib/ory-client/models/list_workspaces.rb +41 -5
- data/lib/ory-client/models/login_flow.rb +71 -5
- data/lib/ory-client/models/login_flow_state.rb +2 -2
- data/lib/ory-client/models/logout_flow.rb +31 -5
- data/lib/ory-client/models/managed_identity_schema.rb +71 -5
- data/lib/ory-client/models/managed_identity_schema_validation_result.rb +11 -5
- data/lib/ory-client/models/member_invite.rb +71 -5
- data/lib/ory-client/models/message.rb +101 -5
- data/lib/ory-client/models/message_dispatch.rb +51 -5
- data/lib/ory-client/models/metrics_datapoint.rb +31 -5
- data/lib/ory-client/models/money.rb +11 -5
- data/lib/ory-client/models/namespace.rb +11 -5
- data/lib/ory-client/models/needs_privileged_session_error.rb +21 -5
- data/lib/ory-client/models/normalized_project.rb +71 -5
- data/lib/ory-client/models/normalized_project_revision.rb +32 -6
- data/lib/ory-client/models/normalized_project_revision_courier_channel.rb +41 -5
- data/lib/ory-client/models/normalized_project_revision_hook.rb +31 -5
- data/lib/ory-client/models/normalized_project_revision_identity_schema.rb +11 -5
- data/lib/ory-client/models/normalized_project_revision_saml_provider.rb +12 -26
- data/lib/ory-client/models/normalized_project_revision_third_party_provider.rb +11 -5
- data/lib/ory-client/models/normalized_project_revision_tokenizer_template.rb +11 -5
- data/lib/ory-client/models/o_auth2_client.rb +11 -5
- data/lib/ory-client/models/o_auth2_client_token_lifespans.rb +11 -5
- data/lib/ory-client/models/o_auth2_consent_request.rb +21 -5
- data/lib/ory-client/models/o_auth2_consent_request_open_id_connect_context.rb +11 -5
- data/lib/ory-client/models/o_auth2_consent_session.rb +11 -5
- data/lib/ory-client/models/o_auth2_consent_session_expires_at.rb +11 -5
- data/lib/ory-client/models/o_auth2_login_request.rb +61 -5
- data/lib/ory-client/models/o_auth2_logout_request.rb +11 -5
- data/lib/ory-client/models/o_auth2_redirect_to.rb +21 -5
- data/lib/ory-client/models/o_auth2_token_exchange.rb +11 -5
- data/lib/ory-client/models/oidc_configuration.rb +101 -5
- data/lib/ory-client/models/oidc_user_info.rb +11 -5
- data/lib/ory-client/models/organization.rb +71 -5
- data/lib/ory-client/models/organization_body.rb +11 -5
- data/lib/ory-client/models/pagination.rb +11 -5
- data/lib/ory-client/models/pagination_headers.rb +11 -5
- data/lib/ory-client/models/parse_error.rb +11 -5
- data/lib/ory-client/models/patch_identities_body.rb +11 -5
- data/lib/ory-client/models/perform_native_logout_body.rb +21 -5
- data/lib/ory-client/models/permissions_on_workspace.rb +11 -5
- data/lib/ory-client/models/plan.rb +31 -5
- data/lib/ory-client/models/plan_details.rb +81 -5
- data/lib/ory-client/models/post_check_permission_body.rb +11 -5
- data/lib/ory-client/models/post_check_permission_or_error_body.rb +11 -5
- data/lib/ory-client/models/project.rb +61 -5
- data/lib/ory-client/models/project_api_key.rb +41 -5
- data/lib/ory-client/models/project_branding.rb +71 -5
- data/lib/ory-client/models/project_branding_colors.rb +11 -5
- data/lib/ory-client/models/project_branding_theme.rb +61 -5
- data/lib/ory-client/models/project_cors.rb +11 -5
- data/lib/ory-client/models/project_events_datapoint.rb +41 -5
- data/lib/ory-client/models/project_host.rb +41 -5
- data/lib/ory-client/models/project_member.rb +61 -5
- data/lib/ory-client/models/project_metadata.rb +71 -5
- data/lib/ory-client/models/project_service_identity.rb +21 -5
- data/lib/ory-client/models/project_service_o_auth2.rb +21 -5
- data/lib/ory-client/models/project_service_permission.rb +21 -5
- data/lib/ory-client/models/project_services.rb +11 -5
- data/lib/ory-client/models/provider.rb +11 -5
- data/lib/ory-client/models/quota_usage.rb +71 -5
- data/lib/ory-client/models/recovery_code_for_identity.rb +31 -5
- data/lib/ory-client/models/recovery_flow.rb +71 -5
- data/lib/ory-client/models/recovery_flow_state.rb +2 -2
- data/lib/ory-client/models/recovery_identity_address.rb +41 -5
- data/lib/ory-client/models/recovery_link_for_identity.rb +21 -5
- data/lib/ory-client/models/registration_flow.rb +71 -5
- data/lib/ory-client/models/registration_flow_state.rb +2 -2
- data/lib/ory-client/models/reject_o_auth2_request.rb +11 -5
- data/lib/ory-client/models/relation_query.rb +11 -5
- data/lib/ory-client/models/relationship.rb +41 -5
- data/lib/ory-client/models/relationship_namespaces.rb +11 -5
- data/lib/ory-client/models/relationship_patch.rb +11 -5
- data/lib/ory-client/models/relationships.rb +11 -5
- data/lib/ory-client/models/rfc6749_error_json.rb +11 -5
- data/lib/ory-client/models/schema_patch.rb +31 -5
- data/lib/ory-client/models/self_service_flow_expired_error.rb +11 -5
- data/lib/ory-client/models/session.rb +21 -5
- data/lib/ory-client/models/session_activity_datapoint.rb +41 -5
- data/lib/ory-client/models/session_authentication_method.rb +11 -5
- data/lib/ory-client/models/session_device.rb +21 -5
- data/lib/ory-client/models/set_active_project_in_console_body.rb +21 -5
- data/lib/ory-client/models/set_custom_domain_body.rb +11 -5
- data/lib/ory-client/models/set_event_stream_body.rb +31 -5
- data/lib/ory-client/models/set_project.rb +51 -5
- data/lib/ory-client/models/set_project_branding_theme_body.rb +11 -5
- data/lib/ory-client/models/settings_flow.rb +81 -5
- data/lib/ory-client/models/settings_flow_state.rb +2 -2
- data/lib/ory-client/models/source_position.rb +11 -5
- data/lib/ory-client/models/subject_set.rb +41 -5
- data/lib/ory-client/models/subscription.rb +81 -5
- data/lib/ory-client/models/successful_code_exchange_response.rb +21 -5
- data/lib/ory-client/models/successful_native_login.rb +21 -5
- data/lib/ory-client/models/successful_native_registration.rb +21 -5
- data/lib/ory-client/models/successful_project_update.rb +31 -5
- data/lib/ory-client/models/tax_line_item.rb +11 -5
- data/lib/ory-client/models/time_interval.rb +31 -5
- data/lib/ory-client/models/token_pagination.rb +11 -5
- data/lib/ory-client/models/token_pagination_headers.rb +11 -5
- data/lib/ory-client/models/token_pagination_request_parameters.rb +11 -5
- data/lib/ory-client/models/token_pagination_response_headers.rb +11 -5
- data/lib/ory-client/models/trust_o_auth2_jwt_grant_issuer.rb +51 -5
- data/lib/ory-client/models/trusted_o_auth2_jwt_grant_issuer.rb +11 -5
- data/lib/ory-client/models/trusted_o_auth2_jwt_grant_json_web_key.rb +11 -5
- data/lib/ory-client/models/ui_container.rb +41 -5
- data/lib/ory-client/models/ui_node.rb +46 -10
- data/lib/ory-client/models/ui_node_anchor_attributes.rb +44 -8
- data/lib/ory-client/models/ui_node_attributes.rb +2 -2
- data/lib/ory-client/models/ui_node_division_attributes.rb +312 -0
- data/lib/ory-client/models/ui_node_image_attributes.rb +54 -8
- data/lib/ory-client/models/ui_node_input_attributes.rb +34 -8
- data/lib/ory-client/models/ui_node_meta.rb +11 -5
- data/lib/ory-client/models/ui_node_script_attributes.rb +94 -8
- data/lib/ory-client/models/ui_node_text_attributes.rb +34 -8
- data/lib/ory-client/models/ui_text.rb +31 -5
- data/lib/ory-client/models/update_fedcm_flow_body.rb +31 -5
- data/lib/ory-client/models/update_identity_body.rb +31 -5
- data/lib/ory-client/models/update_login_flow_body.rb +2 -2
- data/lib/ory-client/models/update_login_flow_with_code_method.rb +31 -5
- data/lib/ory-client/models/update_login_flow_with_identifier_first_method.rb +31 -5
- data/lib/ory-client/models/update_login_flow_with_lookup_secret_method.rb +31 -5
- data/lib/ory-client/models/update_login_flow_with_oidc_method.rb +31 -5
- data/lib/ory-client/models/update_login_flow_with_passkey_method.rb +21 -5
- data/lib/ory-client/models/update_login_flow_with_password_method.rb +41 -5
- data/lib/ory-client/models/update_login_flow_with_totp_method.rb +31 -5
- data/lib/ory-client/models/update_login_flow_with_web_authn_method.rb +31 -5
- data/lib/ory-client/models/update_recovery_flow_body.rb +2 -2
- data/lib/ory-client/models/update_recovery_flow_with_code_method.rb +11 -5
- data/lib/ory-client/models/update_recovery_flow_with_link_method.rb +21 -5
- data/lib/ory-client/models/update_registration_flow_body.rb +2 -2
- data/lib/ory-client/models/update_registration_flow_with_code_method.rb +31 -5
- data/lib/ory-client/models/update_registration_flow_with_oidc_method.rb +31 -5
- data/lib/ory-client/models/update_registration_flow_with_passkey_method.rb +31 -5
- data/lib/ory-client/models/update_registration_flow_with_password_method.rb +41 -5
- data/lib/ory-client/models/update_registration_flow_with_profile_method.rb +31 -5
- data/lib/ory-client/models/update_registration_flow_with_web_authn_method.rb +31 -5
- data/lib/ory-client/models/update_settings_flow_body.rb +2 -2
- data/lib/ory-client/models/update_settings_flow_with_lookup_method.rb +21 -5
- data/lib/ory-client/models/update_settings_flow_with_oidc_method.rb +21 -5
- data/lib/ory-client/models/update_settings_flow_with_passkey_method.rb +21 -5
- data/lib/ory-client/models/update_settings_flow_with_password_method.rb +31 -5
- data/lib/ory-client/models/update_settings_flow_with_profile_method.rb +31 -5
- data/lib/ory-client/models/update_settings_flow_with_totp_method.rb +21 -5
- data/lib/ory-client/models/update_settings_flow_with_web_authn_method.rb +21 -5
- data/lib/ory-client/models/update_subscription_body.rb +21 -5
- data/lib/ory-client/models/update_verification_flow_body.rb +2 -2
- data/lib/ory-client/models/update_verification_flow_with_code_method.rb +11 -5
- data/lib/ory-client/models/update_verification_flow_with_link_method.rb +21 -5
- data/lib/ory-client/models/update_workspace_body.rb +21 -5
- data/lib/ory-client/models/usage.rb +11 -5
- data/lib/ory-client/models/verifiable_credential_priming_response.rb +11 -5
- data/lib/ory-client/models/verifiable_credential_proof.rb +11 -5
- data/lib/ory-client/models/verifiable_credential_response.rb +11 -5
- data/lib/ory-client/models/verifiable_identity_address.rb +41 -5
- data/lib/ory-client/models/verification_flow.rb +41 -5
- data/lib/ory-client/models/verification_flow_state.rb +2 -2
- data/lib/ory-client/models/version.rb +11 -5
- data/lib/ory-client/models/warning.rb +11 -5
- data/lib/ory-client/models/workspace.rb +51 -5
- data/lib/ory-client/models/workspace_api_key.rb +41 -5
- data/lib/ory-client/version.rb +3 -3
- data/lib/ory-client.rb +3 -2
- data/ory-client.gemspec +2 -2
- data/spec/api/courier_api_spec.rb +2 -2
- data/spec/api/events_api_spec.rb +2 -2
- data/spec/api/frontend_api_spec.rb +2 -2
- data/spec/api/identity_api_spec.rb +2 -2
- data/spec/api/jwk_api_spec.rb +2 -2
- data/spec/api/metadata_api_spec.rb +2 -2
- data/spec/api/o_auth2_api_spec.rb +2 -2
- data/spec/api/oidc_api_spec.rb +2 -2
- data/spec/api/permission_api_spec.rb +2 -2
- data/spec/api/project_api_spec.rb +2 -2
- data/spec/api/relationship_api_spec.rb +2 -2
- data/spec/api/wellknown_api_spec.rb +2 -2
- data/spec/api/workspace_api_spec.rb +2 -2
- data/spec/models/accept_o_auth2_consent_request_session_spec.rb +2 -2
- data/spec/models/accept_o_auth2_consent_request_spec.rb +2 -2
- data/spec/models/accept_o_auth2_login_request_spec.rb +2 -2
- data/spec/models/account_experience_colors_spec.rb +170 -2
- data/spec/models/account_experience_configuration_spec.rb +2 -2
- data/spec/models/account_experience_theme_variables_spec.rb +2 -2
- data/spec/models/active_project_in_console_spec.rb +2 -2
- data/spec/models/add_project_to_workspace_body_spec.rb +2 -2
- data/spec/models/attribute_filter_spec.rb +2 -2
- data/spec/models/attribute_spec.rb +2 -2
- data/spec/models/attributes_count_datapoint_spec.rb +2 -2
- data/spec/models/authenticator_assurance_level_spec.rb +2 -2
- data/spec/models/batch_check_permission_body_spec.rb +2 -2
- data/spec/models/batch_check_permission_result_spec.rb +2 -2
- data/spec/models/batch_patch_identities_response_spec.rb +2 -2
- data/spec/models/billing_period_bucket_spec.rb +2 -2
- data/spec/models/check_opl_syntax_result_spec.rb +2 -2
- data/spec/models/check_permission_result_spec.rb +2 -2
- data/spec/models/check_permission_result_with_error_spec.rb +2 -2
- data/spec/models/cloud_account_spec.rb +2 -2
- data/spec/models/consistency_request_parameters_spec.rb +2 -2
- data/spec/models/continue_with_recovery_ui_flow_spec.rb +2 -2
- data/spec/models/continue_with_recovery_ui_spec.rb +2 -2
- data/spec/models/continue_with_redirect_browser_to_spec.rb +2 -2
- data/spec/models/continue_with_set_ory_session_token_spec.rb +2 -2
- data/spec/models/continue_with_settings_ui_flow_spec.rb +2 -2
- data/spec/models/continue_with_settings_ui_spec.rb +2 -2
- data/spec/models/continue_with_spec.rb +2 -2
- data/spec/models/continue_with_verification_ui_flow_spec.rb +2 -2
- data/spec/models/continue_with_verification_ui_spec.rb +2 -2
- data/spec/models/courier_message_status_spec.rb +2 -2
- data/spec/models/courier_message_type_spec.rb +2 -2
- data/spec/models/create_custom_domain_body_spec.rb +2 -2
- data/spec/models/create_event_stream_body_spec.rb +2 -2
- data/spec/models/create_fedcm_flow_response_spec.rb +2 -2
- data/spec/models/create_identity_body_spec.rb +2 -2
- data/spec/models/create_invite_response_spec.rb +2 -2
- data/spec/models/create_json_web_key_set_spec.rb +2 -2
- data/spec/models/create_project_api_key_request_spec.rb +2 -2
- data/spec/models/create_project_body_spec.rb +2 -2
- data/spec/models/create_project_branding_spec.rb +2 -2
- data/spec/models/create_project_member_invite_body_spec.rb +2 -2
- data/spec/models/create_project_normalized_payload_spec.rb +8 -2
- data/spec/models/create_recovery_code_for_identity_body_spec.rb +2 -2
- data/spec/models/create_recovery_link_for_identity_body_spec.rb +2 -2
- data/spec/models/create_relationship_body_spec.rb +2 -2
- data/spec/models/create_subscription_body_spec.rb +2 -2
- data/spec/models/create_subscription_common_spec.rb +2 -2
- data/spec/models/create_verifiable_credential_request_body_spec.rb +2 -2
- data/spec/models/create_workspace_api_key_body_spec.rb +2 -2
- data/spec/models/create_workspace_body_spec.rb +2 -2
- data/spec/models/create_workspace_member_invite_body_spec.rb +2 -2
- data/spec/models/create_workspace_subscription_body_spec.rb +2 -2
- data/spec/models/credential_supported_draft00_spec.rb +2 -2
- data/spec/models/custom_domain_spec.rb +2 -2
- data/spec/models/delete_my_sessions_count_spec.rb +2 -2
- data/spec/models/email_template_data_body_spec.rb +2 -2
- data/spec/models/email_template_data_spec.rb +2 -2
- data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +2 -2
- data/spec/models/error_browser_location_change_required_spec.rb +2 -2
- data/spec/models/error_flow_replaced_spec.rb +2 -2
- data/spec/models/error_generic_spec.rb +2 -2
- data/spec/models/error_o_auth2_spec.rb +2 -2
- data/spec/models/event_stream_spec.rb +2 -2
- data/spec/models/expanded_permission_tree_spec.rb +2 -2
- data/spec/models/flow_error_spec.rb +2 -2
- data/spec/models/generic_error_content_spec.rb +12 -2
- data/spec/models/generic_error_spec.rb +2 -2
- data/spec/models/generic_usage_spec.rb +2 -2
- data/spec/models/get_attributes_count_response_spec.rb +2 -2
- data/spec/models/get_managed_identity_schema_location_spec.rb +2 -2
- data/spec/models/get_metrics_event_attributes_response_spec.rb +2 -2
- data/spec/models/get_metrics_event_types_response_spec.rb +2 -2
- data/spec/models/get_organization_response_spec.rb +2 -2
- data/spec/models/get_project_events_body_spec.rb +2 -2
- data/spec/models/get_project_events_response_spec.rb +2 -2
- data/spec/models/get_project_metrics_response_spec.rb +2 -2
- data/spec/models/get_session_activity_response_spec.rb +2 -2
- data/spec/models/get_version200_response_spec.rb +2 -2
- data/spec/models/health_not_ready_status_spec.rb +2 -2
- data/spec/models/health_status_spec.rb +2 -2
- data/spec/models/identity_credentials_code_address_spec.rb +2 -2
- data/spec/models/identity_credentials_code_spec.rb +2 -2
- data/spec/models/identity_credentials_oidc_provider_spec.rb +2 -2
- data/spec/models/identity_credentials_oidc_spec.rb +2 -2
- data/spec/models/identity_credentials_password_spec.rb +2 -2
- data/spec/models/identity_credentials_spec.rb +2 -2
- data/spec/models/identity_patch_response_spec.rb +2 -2
- data/spec/models/identity_patch_spec.rb +2 -2
- data/spec/models/identity_schema_container_spec.rb +2 -2
- data/spec/models/identity_schema_preset_spec.rb +2 -2
- data/spec/models/identity_spec.rb +2 -2
- data/spec/models/identity_with_credentials_oidc_config_provider_spec.rb +2 -2
- data/spec/models/identity_with_credentials_oidc_config_spec.rb +2 -2
- data/spec/models/identity_with_credentials_oidc_spec.rb +2 -2
- data/spec/models/identity_with_credentials_password_config_spec.rb +2 -2
- data/spec/models/identity_with_credentials_password_spec.rb +2 -2
- data/spec/models/identity_with_credentials_spec.rb +2 -2
- data/spec/models/internal_get_project_branding_body_spec.rb +2 -2
- data/spec/models/internal_is_ax_welcome_screen_enabled_for_project_body_spec.rb +2 -2
- data/spec/models/internal_is_owner_for_project_by_slug_body_spec.rb +2 -2
- data/spec/models/internal_is_owner_for_project_by_slug_response_spec.rb +2 -2
- data/spec/models/introspected_o_auth2_token_spec.rb +2 -2
- data/spec/models/invite_token_body_spec.rb +2 -2
- data/spec/models/invoice_data_v1_spec.rb +2 -2
- data/spec/models/invoice_spec.rb +2 -2
- data/spec/models/is_owner_for_project_by_slug_spec.rb +2 -2
- data/spec/models/json_patch_spec.rb +2 -2
- data/spec/models/json_web_key_set_spec.rb +2 -2
- data/spec/models/json_web_key_spec.rb +2 -2
- data/spec/models/keto_namespace_spec.rb +2 -2
- data/spec/models/line_item_v1_spec.rb +2 -2
- data/spec/models/list_event_streams_spec.rb +2 -2
- data/spec/models/list_invoices_response_spec.rb +2 -2
- data/spec/models/list_organizations_response_spec.rb +2 -2
- data/spec/models/list_workspace_projects_spec.rb +2 -2
- data/spec/models/list_workspaces_spec.rb +2 -2
- data/spec/models/login_flow_spec.rb +2 -2
- data/spec/models/login_flow_state_spec.rb +2 -2
- data/spec/models/logout_flow_spec.rb +2 -2
- data/spec/models/managed_identity_schema_spec.rb +2 -2
- data/spec/models/managed_identity_schema_validation_result_spec.rb +2 -2
- data/spec/models/member_invite_spec.rb +2 -2
- data/spec/models/message_dispatch_spec.rb +2 -2
- data/spec/models/message_spec.rb +2 -2
- data/spec/models/metrics_datapoint_spec.rb +2 -2
- data/spec/models/money_spec.rb +2 -2
- data/spec/models/namespace_spec.rb +2 -2
- data/spec/models/needs_privileged_session_error_spec.rb +2 -2
- data/spec/models/normalized_project_revision_courier_channel_spec.rb +2 -2
- data/spec/models/normalized_project_revision_hook_spec.rb +2 -2
- data/spec/models/normalized_project_revision_identity_schema_spec.rb +2 -2
- data/spec/models/normalized_project_revision_saml_provider_spec.rb +2 -14
- data/spec/models/normalized_project_revision_spec.rb +8 -2
- data/spec/models/normalized_project_revision_third_party_provider_spec.rb +2 -2
- data/spec/models/normalized_project_revision_tokenizer_template_spec.rb +2 -2
- data/spec/models/normalized_project_spec.rb +2 -2
- data/spec/models/o_auth2_client_spec.rb +2 -2
- data/spec/models/o_auth2_client_token_lifespans_spec.rb +2 -2
- data/spec/models/o_auth2_consent_request_open_id_connect_context_spec.rb +2 -2
- data/spec/models/o_auth2_consent_request_spec.rb +2 -2
- data/spec/models/o_auth2_consent_session_expires_at_spec.rb +2 -2
- data/spec/models/o_auth2_consent_session_spec.rb +2 -2
- data/spec/models/o_auth2_login_request_spec.rb +2 -2
- data/spec/models/o_auth2_logout_request_spec.rb +2 -2
- data/spec/models/o_auth2_redirect_to_spec.rb +2 -2
- data/spec/models/o_auth2_token_exchange_spec.rb +2 -2
- data/spec/models/oidc_configuration_spec.rb +2 -2
- data/spec/models/oidc_user_info_spec.rb +2 -2
- data/spec/models/organization_body_spec.rb +2 -2
- data/spec/models/organization_spec.rb +2 -2
- data/spec/models/pagination_headers_spec.rb +2 -2
- data/spec/models/pagination_spec.rb +2 -2
- data/spec/models/parse_error_spec.rb +2 -2
- data/spec/models/patch_identities_body_spec.rb +2 -2
- data/spec/models/perform_native_logout_body_spec.rb +2 -2
- data/spec/models/permissions_on_workspace_spec.rb +2 -2
- data/spec/models/plan_details_spec.rb +2 -2
- data/spec/models/plan_spec.rb +2 -2
- data/spec/models/post_check_permission_body_spec.rb +2 -2
- data/spec/models/post_check_permission_or_error_body_spec.rb +2 -2
- data/spec/models/project_api_key_spec.rb +2 -2
- data/spec/models/project_branding_colors_spec.rb +2 -2
- data/spec/models/project_branding_spec.rb +2 -2
- data/spec/models/project_branding_theme_spec.rb +2 -2
- data/spec/models/project_cors_spec.rb +2 -2
- data/spec/models/project_events_datapoint_spec.rb +2 -2
- data/spec/models/project_host_spec.rb +2 -2
- data/spec/models/project_member_spec.rb +2 -2
- data/spec/models/project_metadata_spec.rb +2 -2
- data/spec/models/project_service_identity_spec.rb +2 -2
- data/spec/models/project_service_o_auth2_spec.rb +2 -2
- data/spec/models/project_service_permission_spec.rb +2 -2
- data/spec/models/project_services_spec.rb +2 -2
- data/spec/models/project_spec.rb +2 -2
- data/spec/models/provider_spec.rb +2 -2
- data/spec/models/quota_usage_spec.rb +2 -2
- data/spec/models/recovery_code_for_identity_spec.rb +2 -2
- data/spec/models/recovery_flow_spec.rb +2 -2
- data/spec/models/recovery_flow_state_spec.rb +2 -2
- data/spec/models/recovery_identity_address_spec.rb +2 -2
- data/spec/models/recovery_link_for_identity_spec.rb +2 -2
- data/spec/models/registration_flow_spec.rb +2 -2
- data/spec/models/registration_flow_state_spec.rb +2 -2
- data/spec/models/reject_o_auth2_request_spec.rb +2 -2
- data/spec/models/relation_query_spec.rb +2 -2
- data/spec/models/relationship_namespaces_spec.rb +2 -2
- data/spec/models/relationship_patch_spec.rb +2 -2
- data/spec/models/relationship_spec.rb +2 -2
- data/spec/models/relationships_spec.rb +2 -2
- data/spec/models/rfc6749_error_json_spec.rb +2 -2
- data/spec/models/schema_patch_spec.rb +2 -2
- data/spec/models/self_service_flow_expired_error_spec.rb +2 -2
- data/spec/models/session_activity_datapoint_spec.rb +2 -2
- data/spec/models/session_authentication_method_spec.rb +2 -2
- data/spec/models/session_device_spec.rb +2 -2
- data/spec/models/session_spec.rb +2 -2
- data/spec/models/set_active_project_in_console_body_spec.rb +2 -2
- data/spec/models/set_custom_domain_body_spec.rb +2 -2
- data/spec/models/set_event_stream_body_spec.rb +2 -2
- data/spec/models/set_project_branding_theme_body_spec.rb +2 -2
- data/spec/models/set_project_spec.rb +2 -2
- data/spec/models/settings_flow_spec.rb +2 -2
- data/spec/models/settings_flow_state_spec.rb +2 -2
- data/spec/models/source_position_spec.rb +2 -2
- data/spec/models/subject_set_spec.rb +2 -2
- data/spec/models/subscription_spec.rb +2 -2
- data/spec/models/successful_code_exchange_response_spec.rb +2 -2
- data/spec/models/successful_native_login_spec.rb +2 -2
- data/spec/models/successful_native_registration_spec.rb +2 -2
- data/spec/models/successful_project_update_spec.rb +2 -2
- data/spec/models/tax_line_item_spec.rb +2 -2
- data/spec/models/time_interval_spec.rb +2 -2
- data/spec/models/token_pagination_headers_spec.rb +2 -2
- data/spec/models/token_pagination_request_parameters_spec.rb +2 -2
- data/spec/models/token_pagination_response_headers_spec.rb +2 -2
- data/spec/models/token_pagination_spec.rb +2 -2
- data/spec/models/trust_o_auth2_jwt_grant_issuer_spec.rb +2 -2
- data/spec/models/trusted_o_auth2_jwt_grant_issuer_spec.rb +2 -2
- data/spec/models/trusted_o_auth2_jwt_grant_json_web_key_spec.rb +2 -2
- data/spec/models/ui_container_spec.rb +2 -2
- data/spec/models/ui_node_anchor_attributes_spec.rb +3 -3
- data/spec/models/ui_node_attributes_spec.rb +2 -2
- data/spec/models/ui_node_division_attributes_spec.rb +58 -0
- data/spec/models/ui_node_image_attributes_spec.rb +3 -3
- data/spec/models/ui_node_input_attributes_spec.rb +3 -3
- data/spec/models/ui_node_meta_spec.rb +2 -2
- data/spec/models/ui_node_script_attributes_spec.rb +3 -3
- data/spec/models/ui_node_spec.rb +4 -4
- data/spec/models/ui_node_text_attributes_spec.rb +3 -3
- data/spec/models/ui_text_spec.rb +2 -2
- data/spec/models/update_fedcm_flow_body_spec.rb +2 -2
- data/spec/models/update_identity_body_spec.rb +2 -2
- data/spec/models/update_login_flow_body_spec.rb +2 -2
- data/spec/models/update_login_flow_with_code_method_spec.rb +2 -2
- data/spec/models/update_login_flow_with_identifier_first_method_spec.rb +2 -2
- data/spec/models/update_login_flow_with_lookup_secret_method_spec.rb +2 -2
- data/spec/models/update_login_flow_with_oidc_method_spec.rb +2 -2
- data/spec/models/update_login_flow_with_passkey_method_spec.rb +2 -2
- data/spec/models/update_login_flow_with_password_method_spec.rb +2 -2
- data/spec/models/update_login_flow_with_totp_method_spec.rb +2 -2
- data/spec/models/update_login_flow_with_web_authn_method_spec.rb +2 -2
- data/spec/models/update_recovery_flow_body_spec.rb +2 -2
- data/spec/models/update_recovery_flow_with_code_method_spec.rb +2 -2
- data/spec/models/update_recovery_flow_with_link_method_spec.rb +2 -2
- data/spec/models/update_registration_flow_body_spec.rb +2 -2
- data/spec/models/update_registration_flow_with_code_method_spec.rb +2 -2
- data/spec/models/update_registration_flow_with_oidc_method_spec.rb +2 -2
- data/spec/models/update_registration_flow_with_passkey_method_spec.rb +2 -2
- data/spec/models/update_registration_flow_with_password_method_spec.rb +2 -2
- data/spec/models/update_registration_flow_with_profile_method_spec.rb +2 -2
- data/spec/models/update_registration_flow_with_web_authn_method_spec.rb +2 -2
- data/spec/models/update_settings_flow_body_spec.rb +2 -2
- data/spec/models/update_settings_flow_with_lookup_method_spec.rb +2 -2
- data/spec/models/update_settings_flow_with_oidc_method_spec.rb +2 -2
- data/spec/models/update_settings_flow_with_passkey_method_spec.rb +2 -2
- data/spec/models/update_settings_flow_with_password_method_spec.rb +2 -2
- data/spec/models/update_settings_flow_with_profile_method_spec.rb +2 -2
- data/spec/models/update_settings_flow_with_totp_method_spec.rb +2 -2
- data/spec/models/update_settings_flow_with_web_authn_method_spec.rb +2 -2
- data/spec/models/update_subscription_body_spec.rb +2 -2
- data/spec/models/update_verification_flow_body_spec.rb +2 -2
- data/spec/models/update_verification_flow_with_code_method_spec.rb +2 -2
- data/spec/models/update_verification_flow_with_link_method_spec.rb +2 -2
- data/spec/models/update_workspace_body_spec.rb +2 -2
- data/spec/models/usage_spec.rb +2 -2
- data/spec/models/verifiable_credential_priming_response_spec.rb +2 -2
- data/spec/models/verifiable_credential_proof_spec.rb +2 -2
- data/spec/models/verifiable_credential_response_spec.rb +2 -2
- data/spec/models/verifiable_identity_address_spec.rb +2 -2
- data/spec/models/verification_flow_spec.rb +2 -2
- data/spec/models/verification_flow_state_spec.rb +2 -2
- data/spec/models/version_spec.rb +2 -2
- data/spec/models/warning_spec.rb +2 -2
- data/spec/models/workspace_api_key_spec.rb +2 -2
- data/spec/models/workspace_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/byebug-11.1.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/ffi-1.17.1/gem_make.out +2 -2
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/jaro_winkler-1.5.6/gem_make.out +2 -2
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/psych-4.0.6/gem_make.out +2 -2
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/racc-1.8.1/gem_make.out +2 -2
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/stringio-3.1.5/gem_make.out +2 -2
- data/vendor/bundle/ruby/3.1.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.17.1/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/3.1.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/Makefile +2 -2
- data/vendor/bundle/ruby/3.1.0/gems/psych-4.0.6/ext/psych/Makefile +2 -2
- data/vendor/bundle/ruby/3.1.0/gems/racc-1.8.1/ext/racc/cparse/Makefile +2 -2
- data/vendor/bundle/ruby/3.1.0/gems/stringio-3.1.5/ext/stringio/Makefile +2 -2
- metadata +7 -3
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.18.4
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -29,9 +29,14 @@ module OryClient
|
|
29
29
|
}
|
30
30
|
end
|
31
31
|
|
32
|
+
# Returns attribute mapping this model knows about
|
33
|
+
def self.acceptable_attribute_map
|
34
|
+
attribute_map
|
35
|
+
end
|
36
|
+
|
32
37
|
# Returns all the JSON keys this model knows about
|
33
38
|
def self.acceptable_attributes
|
34
|
-
|
39
|
+
acceptable_attribute_map.values
|
35
40
|
end
|
36
41
|
|
37
42
|
# Attribute type mapping.
|
@@ -56,9 +61,10 @@ module OryClient
|
|
56
61
|
end
|
57
62
|
|
58
63
|
# check to see if the attribute exists and convert string to symbol for hash key
|
64
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
59
65
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
60
|
-
if (!
|
61
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::ErrorFlowReplaced`. Please check the name to make sure it's valid. List of attributes: " +
|
66
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
67
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::ErrorFlowReplaced`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
62
68
|
end
|
63
69
|
h[k.to_sym] = v
|
64
70
|
}
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.18.4
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -25,9 +25,14 @@ module OryClient
|
|
25
25
|
}
|
26
26
|
end
|
27
27
|
|
28
|
+
# Returns attribute mapping this model knows about
|
29
|
+
def self.acceptable_attribute_map
|
30
|
+
attribute_map
|
31
|
+
end
|
32
|
+
|
28
33
|
# Returns all the JSON keys this model knows about
|
29
34
|
def self.acceptable_attributes
|
30
|
-
|
35
|
+
acceptable_attribute_map.values
|
31
36
|
end
|
32
37
|
|
33
38
|
# Attribute type mapping.
|
@@ -51,9 +56,10 @@ module OryClient
|
|
51
56
|
end
|
52
57
|
|
53
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
|
54
60
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
55
|
-
if (!
|
56
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::ErrorGeneric`. Please check the name to make sure it's valid. List of attributes: " +
|
61
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
62
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::ErrorGeneric`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
57
63
|
end
|
58
64
|
h[k.to_sym] = v
|
59
65
|
}
|
@@ -85,6 +91,16 @@ module OryClient
|
|
85
91
|
true
|
86
92
|
end
|
87
93
|
|
94
|
+
# Custom attribute writer method with validation
|
95
|
+
# @param [Object] error Value to be assigned
|
96
|
+
def error=(error)
|
97
|
+
if error.nil?
|
98
|
+
fail ArgumentError, 'error cannot be nil'
|
99
|
+
end
|
100
|
+
|
101
|
+
@error = error
|
102
|
+
end
|
103
|
+
|
88
104
|
# Checks equality by comparing each attribute.
|
89
105
|
# @param [Object] Object to be compared
|
90
106
|
def ==(o)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.18.4
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -42,9 +42,14 @@ module OryClient
|
|
42
42
|
}
|
43
43
|
end
|
44
44
|
|
45
|
+
# Returns attribute mapping this model knows about
|
46
|
+
def self.acceptable_attribute_map
|
47
|
+
attribute_map
|
48
|
+
end
|
49
|
+
|
45
50
|
# Returns all the JSON keys this model knows about
|
46
51
|
def self.acceptable_attributes
|
47
|
-
|
52
|
+
acceptable_attribute_map.values
|
48
53
|
end
|
49
54
|
|
50
55
|
# Attribute type mapping.
|
@@ -72,9 +77,10 @@ module OryClient
|
|
72
77
|
end
|
73
78
|
|
74
79
|
# check to see if the attribute exists and convert string to symbol for hash key
|
80
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
75
81
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
76
|
-
if (!
|
77
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::ErrorOAuth2`. Please check the name to make sure it's valid. List of attributes: " +
|
82
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
83
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::ErrorOAuth2`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
78
84
|
end
|
79
85
|
h[k.to_sym] = v
|
80
86
|
}
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.18.4
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -40,9 +40,14 @@ module OryClient
|
|
40
40
|
}
|
41
41
|
end
|
42
42
|
|
43
|
+
# Returns attribute mapping this model knows about
|
44
|
+
def self.acceptable_attribute_map
|
45
|
+
attribute_map
|
46
|
+
end
|
47
|
+
|
43
48
|
# Returns all the JSON keys this model knows about
|
44
49
|
def self.acceptable_attributes
|
45
|
-
|
50
|
+
acceptable_attribute_map.values
|
46
51
|
end
|
47
52
|
|
48
53
|
# Attribute type mapping.
|
@@ -71,9 +76,10 @@ module OryClient
|
|
71
76
|
end
|
72
77
|
|
73
78
|
# check to see if the attribute exists and convert string to symbol for hash key
|
79
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
74
80
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
75
|
-
if (!
|
76
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::EventStream`. Please check the name to make sure it's valid. List of attributes: " +
|
81
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
82
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::EventStream`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
77
83
|
end
|
78
84
|
h[k.to_sym] = v
|
79
85
|
}
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.18.4
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -54,9 +54,14 @@ module OryClient
|
|
54
54
|
}
|
55
55
|
end
|
56
56
|
|
57
|
+
# Returns attribute mapping this model knows about
|
58
|
+
def self.acceptable_attribute_map
|
59
|
+
attribute_map
|
60
|
+
end
|
61
|
+
|
57
62
|
# Returns all the JSON keys this model knows about
|
58
63
|
def self.acceptable_attributes
|
59
|
-
|
64
|
+
acceptable_attribute_map.values
|
60
65
|
end
|
61
66
|
|
62
67
|
# Attribute type mapping.
|
@@ -82,9 +87,10 @@ module OryClient
|
|
82
87
|
end
|
83
88
|
|
84
89
|
# check to see if the attribute exists and convert string to symbol for hash key
|
90
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
85
91
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
86
|
-
if (!
|
87
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::ExpandedPermissionTree`. Please check the name to make sure it's valid. List of attributes: " +
|
92
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
93
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::ExpandedPermissionTree`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
88
94
|
end
|
89
95
|
h[k.to_sym] = v
|
90
96
|
}
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.18.4
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -36,9 +36,14 @@ module OryClient
|
|
36
36
|
}
|
37
37
|
end
|
38
38
|
|
39
|
+
# Returns attribute mapping this model knows about
|
40
|
+
def self.acceptable_attribute_map
|
41
|
+
attribute_map
|
42
|
+
end
|
43
|
+
|
39
44
|
# Returns all the JSON keys this model knows about
|
40
45
|
def self.acceptable_attributes
|
41
|
-
|
46
|
+
acceptable_attribute_map.values
|
42
47
|
end
|
43
48
|
|
44
49
|
# Attribute type mapping.
|
@@ -65,9 +70,10 @@ module OryClient
|
|
65
70
|
end
|
66
71
|
|
67
72
|
# check to see if the attribute exists and convert string to symbol for hash key
|
73
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
68
74
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
69
|
-
if (!
|
70
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::FlowError`. Please check the name to make sure it's valid. List of attributes: " +
|
75
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
76
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::FlowError`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
71
77
|
end
|
72
78
|
h[k.to_sym] = v
|
73
79
|
}
|
@@ -111,6 +117,16 @@ module OryClient
|
|
111
117
|
true
|
112
118
|
end
|
113
119
|
|
120
|
+
# Custom attribute writer method with validation
|
121
|
+
# @param [Object] id Value to be assigned
|
122
|
+
def id=(id)
|
123
|
+
if id.nil?
|
124
|
+
fail ArgumentError, 'id cannot be nil'
|
125
|
+
end
|
126
|
+
|
127
|
+
@id = id
|
128
|
+
end
|
129
|
+
|
114
130
|
# Checks equality by comparing each attribute.
|
115
131
|
# @param [Object] Object to be compared
|
116
132
|
def ==(o)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.18.4
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -57,9 +57,14 @@ module OryClient
|
|
57
57
|
}
|
58
58
|
end
|
59
59
|
|
60
|
+
# Returns attribute mapping this model knows about
|
61
|
+
def self.acceptable_attribute_map
|
62
|
+
attribute_map
|
63
|
+
end
|
64
|
+
|
60
65
|
# Returns all the JSON keys this model knows about
|
61
66
|
def self.acceptable_attributes
|
62
|
-
|
67
|
+
acceptable_attribute_map.values
|
63
68
|
end
|
64
69
|
|
65
70
|
# Attribute type mapping.
|
@@ -92,9 +97,10 @@ module OryClient
|
|
92
97
|
end
|
93
98
|
|
94
99
|
# check to see if the attribute exists and convert string to symbol for hash key
|
100
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
95
101
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
96
|
-
if (!
|
97
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::GenericError`. Please check the name to make sure it's valid. List of attributes: " +
|
102
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
103
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::GenericError`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
98
104
|
end
|
99
105
|
h[k.to_sym] = v
|
100
106
|
}
|
@@ -158,6 +164,16 @@ module OryClient
|
|
158
164
|
true
|
159
165
|
end
|
160
166
|
|
167
|
+
# Custom attribute writer method with validation
|
168
|
+
# @param [Object] message Value to be assigned
|
169
|
+
def message=(message)
|
170
|
+
if message.nil?
|
171
|
+
fail ArgumentError, 'message cannot be nil'
|
172
|
+
end
|
173
|
+
|
174
|
+
@message = message
|
175
|
+
end
|
176
|
+
|
161
177
|
# Checks equality by comparing each attribute.
|
162
178
|
# @param [Object] Object to be compared
|
163
179
|
def ==(o)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.18.4
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -25,26 +25,57 @@ module OryClient
|
|
25
25
|
# Description contains further information on the nature of the error.
|
26
26
|
attr_accessor :error_description
|
27
27
|
|
28
|
+
# ID is a unique error ID. feature_not_available ErrFeatureNotAvailable quota_exceeded ErrQuotaExceeded
|
29
|
+
attr_accessor :id
|
30
|
+
|
28
31
|
# Message contains the error message.
|
29
32
|
attr_accessor :message
|
30
33
|
|
31
34
|
# Code represents the error status code (404, 403, 401, ...).
|
32
35
|
attr_accessor :status_code
|
33
36
|
|
37
|
+
class EnumAttributeValidator
|
38
|
+
attr_reader :datatype
|
39
|
+
attr_reader :allowable_values
|
40
|
+
|
41
|
+
def initialize(datatype, allowable_values)
|
42
|
+
@allowable_values = allowable_values.map do |value|
|
43
|
+
case datatype.to_s
|
44
|
+
when /Integer/i
|
45
|
+
value.to_i
|
46
|
+
when /Float/i
|
47
|
+
value.to_f
|
48
|
+
else
|
49
|
+
value
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
def valid?(value)
|
55
|
+
!value || allowable_values.include?(value)
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
34
59
|
# Attribute mapping from ruby-style variable name to JSON key.
|
35
60
|
def self.attribute_map
|
36
61
|
{
|
37
62
|
:'debug' => :'debug',
|
38
63
|
:'error' => :'error',
|
39
64
|
:'error_description' => :'error_description',
|
65
|
+
:'id' => :'id',
|
40
66
|
:'message' => :'message',
|
41
67
|
:'status_code' => :'status_code'
|
42
68
|
}
|
43
69
|
end
|
44
70
|
|
71
|
+
# Returns attribute mapping this model knows about
|
72
|
+
def self.acceptable_attribute_map
|
73
|
+
attribute_map
|
74
|
+
end
|
75
|
+
|
45
76
|
# Returns all the JSON keys this model knows about
|
46
77
|
def self.acceptable_attributes
|
47
|
-
|
78
|
+
acceptable_attribute_map.values
|
48
79
|
end
|
49
80
|
|
50
81
|
# Attribute type mapping.
|
@@ -53,6 +84,7 @@ module OryClient
|
|
53
84
|
:'debug' => :'String',
|
54
85
|
:'error' => :'String',
|
55
86
|
:'error_description' => :'String',
|
87
|
+
:'id' => :'String',
|
56
88
|
:'message' => :'String',
|
57
89
|
:'status_code' => :'Integer'
|
58
90
|
}
|
@@ -72,9 +104,10 @@ module OryClient
|
|
72
104
|
end
|
73
105
|
|
74
106
|
# check to see if the attribute exists and convert string to symbol for hash key
|
107
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
75
108
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
76
|
-
if (!
|
77
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::GenericErrorContent`. Please check the name to make sure it's valid. List of attributes: " +
|
109
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
110
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::GenericErrorContent`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
78
111
|
end
|
79
112
|
h[k.to_sym] = v
|
80
113
|
}
|
@@ -91,6 +124,10 @@ module OryClient
|
|
91
124
|
self.error_description = attributes[:'error_description']
|
92
125
|
end
|
93
126
|
|
127
|
+
if attributes.key?(:'id')
|
128
|
+
self.id = attributes[:'id']
|
129
|
+
end
|
130
|
+
|
94
131
|
if attributes.key?(:'message')
|
95
132
|
self.message = attributes[:'message']
|
96
133
|
end
|
@@ -112,9 +149,21 @@ module OryClient
|
|
112
149
|
# @return true if the model is valid
|
113
150
|
def valid?
|
114
151
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
152
|
+
id_validator = EnumAttributeValidator.new('String', ["feature_not_available", "quota_exceeded"])
|
153
|
+
return false unless id_validator.valid?(@id)
|
115
154
|
true
|
116
155
|
end
|
117
156
|
|
157
|
+
# Custom attribute writer method checking allowed values (enum).
|
158
|
+
# @param [Object] id Object to be assigned
|
159
|
+
def id=(id)
|
160
|
+
validator = EnumAttributeValidator.new('String', ["feature_not_available", "quota_exceeded"])
|
161
|
+
unless validator.valid?(id)
|
162
|
+
fail ArgumentError, "invalid value for \"id\", must be one of #{validator.allowable_values}."
|
163
|
+
end
|
164
|
+
@id = id
|
165
|
+
end
|
166
|
+
|
118
167
|
# Checks equality by comparing each attribute.
|
119
168
|
# @param [Object] Object to be compared
|
120
169
|
def ==(o)
|
@@ -123,6 +172,7 @@ module OryClient
|
|
123
172
|
debug == o.debug &&
|
124
173
|
error == o.error &&
|
125
174
|
error_description == o.error_description &&
|
175
|
+
id == o.id &&
|
126
176
|
message == o.message &&
|
127
177
|
status_code == o.status_code
|
128
178
|
end
|
@@ -136,7 +186,7 @@ module OryClient
|
|
136
186
|
# Calculates hash code according to all attributes.
|
137
187
|
# @return [Integer] Hash code
|
138
188
|
def hash
|
139
|
-
[debug, error, error_description, message, status_code].hash
|
189
|
+
[debug, error, error_description, id, message, status_code].hash
|
140
190
|
end
|
141
191
|
|
142
192
|
# Builds the object from hash
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v1.
|
6
|
+
The version of the OpenAPI document: v1.18.4
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -28,9 +28,14 @@ module OryClient
|
|
28
28
|
}
|
29
29
|
end
|
30
30
|
|
31
|
+
# Returns attribute mapping this model knows about
|
32
|
+
def self.acceptable_attribute_map
|
33
|
+
attribute_map
|
34
|
+
end
|
35
|
+
|
31
36
|
# Returns all the JSON keys this model knows about
|
32
37
|
def self.acceptable_attributes
|
33
|
-
|
38
|
+
acceptable_attribute_map.values
|
34
39
|
end
|
35
40
|
|
36
41
|
# Attribute type mapping.
|
@@ -55,9 +60,10 @@ module OryClient
|
|
55
60
|
end
|
56
61
|
|
57
62
|
# check to see if the attribute exists and convert string to symbol for hash key
|
63
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
58
64
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
59
|
-
if (!
|
60
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::GenericUsage`. Please check the name to make sure it's valid. List of attributes: " +
|
65
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
66
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::GenericUsage`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
61
67
|
end
|
62
68
|
h[k.to_sym] = v
|
63
69
|
}
|
@@ -100,6 +106,26 @@ module OryClient
|
|
100
106
|
true
|
101
107
|
end
|
102
108
|
|
109
|
+
# Custom attribute writer method with validation
|
110
|
+
# @param [Object] additional_price Value to be assigned
|
111
|
+
def additional_price=(additional_price)
|
112
|
+
if additional_price.nil?
|
113
|
+
fail ArgumentError, 'additional_price cannot be nil'
|
114
|
+
end
|
115
|
+
|
116
|
+
@additional_price = additional_price
|
117
|
+
end
|
118
|
+
|
119
|
+
# Custom attribute writer method with validation
|
120
|
+
# @param [Object] included_usage Value to be assigned
|
121
|
+
def included_usage=(included_usage)
|
122
|
+
if included_usage.nil?
|
123
|
+
fail ArgumentError, 'included_usage cannot be nil'
|
124
|
+
end
|
125
|
+
|
126
|
+
@included_usage = included_usage
|
127
|
+
end
|
128
|
+
|
103
129
|
# Checks equality by comparing each attribute.
|
104
130
|
# @param [Object] Object to be compared
|
105
131
|
def ==(o)
|