ory-client 0.1.0.alpha12 → 0.2.0.alpha2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +13 -9
- data/docs/AdminUpdateIdentityBody.md +2 -0
- data/docs/{InlineResponse2001.md → GetVersion200Response.md} +2 -2
- data/docs/IdentitySchema.md +0 -2
- data/docs/IdentitySchemaContainer.md +20 -0
- data/docs/{InlineResponse200.md → IsAlive200Response.md} +2 -2
- data/docs/{InlineResponse503.md → IsReady503Response.md} +2 -2
- data/docs/JsonPatch.md +4 -2
- data/docs/MetadataApi.md +12 -12
- data/docs/Pagination.md +1 -1
- data/docs/SubmitSelfServiceLoginFlowWithWebAuthnMethodBody.md +1 -1
- data/docs/TokenPagination.md +20 -0
- data/docs/TokenPaginationHeaders.md +20 -0
- data/docs/UiNodeInputAttributes.md +3 -1
- data/docs/V0alpha2Api.md +96 -22
- data/docs/VerifiableIdentityAddress.md +1 -1
- data/lib/ory-client/api/metadata_api.rb +11 -11
- data/lib/ory-client/api/read_api.rb +2 -2
- data/lib/ory-client/api/v0alpha2_api.rb +98 -28
- data/lib/ory-client/api/write_api.rb +2 -2
- data/lib/ory-client/api_client.rb +5 -3
- data/lib/ory-client/api_error.rb +2 -2
- data/lib/ory-client/configuration.rb +4 -3
- data/lib/ory-client/models/active_project.rb +3 -2
- data/lib/ory-client/models/admin_create_identity_body.rb +3 -2
- data/lib/ory-client/models/admin_create_identity_import_credentials_oidc.rb +3 -2
- data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_config.rb +3 -2
- data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_provider.rb +3 -2
- data/lib/ory-client/models/admin_create_identity_import_credentials_password.rb +3 -2
- data/lib/ory-client/models/admin_create_identity_import_credentials_password_config.rb +3 -2
- data/lib/ory-client/models/admin_create_self_service_recovery_link_body.rb +3 -2
- data/lib/ory-client/models/admin_identity_import_credentials.rb +3 -2
- data/lib/ory-client/models/admin_update_identity_body.rb +13 -3
- data/lib/ory-client/models/api_token.rb +3 -2
- data/lib/ory-client/models/authenticator_assurance_level.rb +2 -2
- data/lib/ory-client/models/cloud_account.rb +3 -2
- data/lib/ory-client/models/cname_settings.rb +3 -2
- data/lib/ory-client/models/create_custom_hostname_body.rb +3 -2
- data/lib/ory-client/models/create_project_body.rb +3 -2
- data/lib/ory-client/models/create_subscription_payload.rb +3 -2
- data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +3 -2
- data/lib/ory-client/models/expand_tree.rb +3 -2
- data/lib/ory-client/models/generic_error.rb +3 -2
- data/lib/ory-client/models/generic_error_content.rb +3 -2
- data/lib/ory-client/models/get_check_response.rb +3 -2
- data/lib/ory-client/models/get_relation_tuples_response.rb +3 -2
- data/lib/ory-client/models/{inline_response2001.rb → get_version200_response.rb} +6 -5
- data/lib/ory-client/models/health_not_ready_status.rb +3 -2
- data/lib/ory-client/models/health_status.rb +3 -2
- data/lib/ory-client/models/identity.rb +3 -2
- data/lib/ory-client/models/identity_credentials.rb +3 -2
- data/lib/ory-client/models/identity_credentials_oidc.rb +3 -2
- data/lib/ory-client/models/identity_credentials_oidc_provider.rb +3 -2
- data/lib/ory-client/models/identity_credentials_password.rb +3 -2
- data/lib/ory-client/models/identity_credentials_type.rb +2 -2
- data/lib/ory-client/models/identity_schema.rb +4 -13
- data/lib/ory-client/models/identity_schema_container.rb +229 -0
- data/lib/ory-client/models/identity_schema_location.rb +3 -2
- data/lib/ory-client/models/identity_schema_preset.rb +3 -2
- data/lib/ory-client/models/identity_schema_validation_result.rb +3 -2
- data/lib/ory-client/models/identity_state.rb +2 -2
- data/lib/ory-client/models/internal_relation_tuple.rb +3 -2
- data/lib/ory-client/models/invite_payload.rb +3 -2
- data/lib/ory-client/models/{inline_response200.rb → is_alive200_response.rb} +6 -5
- data/lib/ory-client/models/is_owner_for_project_by_slug.rb +3 -2
- data/lib/ory-client/models/is_owner_for_project_by_slug_payload.rb +3 -2
- data/lib/ory-client/models/{inline_response503.rb → is_ready503_response.rb} +6 -5
- data/lib/ory-client/models/json_error.rb +3 -2
- data/lib/ory-client/models/json_patch.rb +14 -3
- data/lib/ory-client/models/keto_namespace.rb +3 -2
- data/lib/ory-client/models/needs_privileged_session_error.rb +3 -2
- data/lib/ory-client/models/normalized_project.rb +3 -2
- data/lib/ory-client/models/normalized_project_revision.rb +3 -2
- data/lib/ory-client/models/normalized_project_revision_hook.rb +3 -2
- data/lib/ory-client/models/normalized_project_revision_identity_schema.rb +3 -2
- data/lib/ory-client/models/normalized_project_revision_third_party_provider.rb +3 -2
- data/lib/ory-client/models/null_plan.rb +2 -2
- data/lib/ory-client/models/pagination.rb +4 -3
- data/lib/ory-client/models/patch_delta.rb +3 -2
- data/lib/ory-client/models/project.rb +3 -2
- data/lib/ory-client/models/project_host.rb +3 -2
- data/lib/ory-client/models/project_invite.rb +3 -2
- data/lib/ory-client/models/project_metadata.rb +3 -2
- data/lib/ory-client/models/project_service_identity.rb +3 -2
- data/lib/ory-client/models/project_service_permission.rb +3 -2
- data/lib/ory-client/models/project_services.rb +3 -2
- data/lib/ory-client/models/provision_mock_subscription_payload.rb +3 -2
- data/lib/ory-client/models/quota_custom_domains.rb +3 -2
- data/lib/ory-client/models/quota_project_member_seats.rb +3 -2
- data/lib/ory-client/models/recovery_address.rb +3 -2
- data/lib/ory-client/models/relation_query.rb +3 -2
- data/lib/ory-client/models/revoked_sessions.rb +3 -2
- data/lib/ory-client/models/schema_patch.rb +3 -2
- data/lib/ory-client/models/self_service_browser_location_change_required_error.rb +3 -2
- data/lib/ory-client/models/self_service_error.rb +3 -2
- data/lib/ory-client/models/self_service_flow_expired_error.rb +3 -2
- data/lib/ory-client/models/self_service_login_flow.rb +3 -2
- data/lib/ory-client/models/self_service_logout_url.rb +3 -2
- data/lib/ory-client/models/self_service_recovery_flow.rb +3 -2
- data/lib/ory-client/models/self_service_recovery_flow_state.rb +2 -2
- data/lib/ory-client/models/self_service_recovery_link.rb +3 -2
- data/lib/ory-client/models/self_service_registration_flow.rb +3 -2
- data/lib/ory-client/models/self_service_settings_flow.rb +3 -2
- data/lib/ory-client/models/self_service_settings_flow_state.rb +2 -2
- data/lib/ory-client/models/self_service_verification_flow.rb +3 -2
- data/lib/ory-client/models/self_service_verification_flow_state.rb +2 -2
- data/lib/ory-client/models/session.rb +3 -2
- data/lib/ory-client/models/session_authentication_method.rb +3 -2
- data/lib/ory-client/models/session_device.rb +3 -2
- data/lib/ory-client/models/settings_profile_form_config.rb +3 -2
- data/lib/ory-client/models/stripe_customer_response.rb +3 -2
- data/lib/ory-client/models/subject_set.rb +3 -2
- data/lib/ory-client/models/submit_self_service_flow_with_web_authn_registration_method.rb +3 -2
- data/lib/ory-client/models/submit_self_service_login_flow_body.rb +4 -4
- data/lib/ory-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +3 -2
- data/lib/ory-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +3 -2
- data/lib/ory-client/models/submit_self_service_login_flow_with_password_method_body.rb +3 -2
- data/lib/ory-client/models/submit_self_service_login_flow_with_totp_method_body.rb +3 -2
- data/lib/ory-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +9 -3
- data/lib/ory-client/models/submit_self_service_logout_flow_without_browser_body.rb +3 -2
- data/lib/ory-client/models/submit_self_service_recovery_flow_body.rb +4 -4
- data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +3 -2
- data/lib/ory-client/models/submit_self_service_registration_flow_body.rb +4 -4
- data/lib/ory-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +3 -2
- data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method_body.rb +3 -2
- data/lib/ory-client/models/submit_self_service_registration_flow_with_web_authn_method_body.rb +3 -2
- data/lib/ory-client/models/submit_self_service_settings_flow_body.rb +4 -4
- data/lib/ory-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +3 -2
- data/lib/ory-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +3 -2
- data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method_body.rb +3 -2
- data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +3 -2
- data/lib/ory-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +3 -2
- data/lib/ory-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +3 -2
- data/lib/ory-client/models/submit_self_service_verification_flow_body.rb +4 -4
- data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method_body.rb +3 -2
- data/lib/ory-client/models/subscription.rb +3 -2
- data/lib/ory-client/models/successful_project_update.rb +3 -2
- data/lib/ory-client/models/successful_self_service_login_without_browser.rb +3 -2
- data/lib/ory-client/models/successful_self_service_registration_without_browser.rb +3 -2
- data/lib/ory-client/models/token_pagination.rb +264 -0
- data/lib/ory-client/models/token_pagination_headers.rb +230 -0
- data/lib/ory-client/models/ui_container.rb +3 -2
- data/lib/ory-client/models/ui_node.rb +3 -2
- data/lib/ory-client/models/ui_node_anchor_attributes.rb +3 -2
- data/lib/ory-client/models/ui_node_attributes.rb +4 -4
- data/lib/ory-client/models/ui_node_image_attributes.rb +3 -2
- data/lib/ory-client/models/ui_node_input_attributes.rb +49 -3
- data/lib/ory-client/models/ui_node_meta.rb +3 -2
- data/lib/ory-client/models/ui_node_script_attributes.rb +3 -2
- data/lib/ory-client/models/ui_node_text_attributes.rb +3 -2
- data/lib/ory-client/models/ui_text.rb +3 -2
- data/lib/ory-client/models/update_custom_hostname_body.rb +3 -2
- data/lib/ory-client/models/update_project.rb +3 -2
- data/lib/ory-client/models/update_subscription_payload.rb +3 -2
- data/lib/ory-client/models/verifiable_identity_address.rb +3 -7
- data/lib/ory-client/models/version.rb +3 -2
- data/lib/ory-client/models/warning.rb +3 -2
- data/lib/ory-client/version.rb +3 -3
- data/lib/ory-client.rb +8 -5
- data/ory-client.gemspec +2 -2
- data/spec/api/metadata_api_spec.rb +5 -5
- data/spec/api/read_api_spec.rb +2 -2
- data/spec/api/v0alpha2_api_spec.rb +24 -11
- data/spec/api/write_api_spec.rb +2 -2
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/active_project_spec.rb +2 -2
- data/spec/models/admin_create_identity_body_spec.rb +2 -2
- data/spec/models/admin_create_identity_import_credentials_oidc_config_spec.rb +2 -2
- data/spec/models/admin_create_identity_import_credentials_oidc_provider_spec.rb +2 -2
- data/spec/models/admin_create_identity_import_credentials_oidc_spec.rb +2 -2
- data/spec/models/admin_create_identity_import_credentials_password_config_spec.rb +2 -2
- data/spec/models/admin_create_identity_import_credentials_password_spec.rb +2 -2
- data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +2 -2
- data/spec/models/admin_identity_import_credentials_spec.rb +2 -2
- data/spec/models/admin_update_identity_body_spec.rb +8 -2
- data/spec/models/api_token_spec.rb +2 -2
- data/spec/models/authenticator_assurance_level_spec.rb +2 -2
- data/spec/models/cloud_account_spec.rb +2 -2
- data/spec/models/cname_settings_spec.rb +2 -2
- data/spec/models/create_custom_hostname_body_spec.rb +2 -2
- data/spec/models/create_project_body_spec.rb +2 -2
- data/spec/models/create_subscription_payload_spec.rb +2 -2
- data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +2 -2
- data/spec/models/expand_tree_spec.rb +2 -2
- data/spec/models/generic_error_content_spec.rb +2 -2
- data/spec/models/generic_error_spec.rb +2 -2
- data/spec/models/get_check_response_spec.rb +2 -2
- data/spec/models/get_relation_tuples_response_spec.rb +2 -2
- data/spec/models/{inline_response2001_spec.rb → get_version200_response_spec.rb} +8 -8
- 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_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_credentials_type_spec.rb +2 -2
- data/spec/models/identity_schema_container_spec.rb +40 -0
- data/spec/models/identity_schema_location_spec.rb +2 -2
- data/spec/models/identity_schema_preset_spec.rb +2 -2
- data/spec/models/identity_schema_spec.rb +2 -8
- data/spec/models/identity_schema_validation_result_spec.rb +2 -2
- data/spec/models/identity_spec.rb +2 -2
- data/spec/models/identity_state_spec.rb +2 -2
- data/spec/models/internal_relation_tuple_spec.rb +2 -2
- data/spec/models/invite_payload_spec.rb +2 -2
- data/spec/models/{inline_response200_spec.rb → is_alive200_response_spec.rb} +8 -8
- data/spec/models/is_owner_for_project_by_slug_payload_spec.rb +2 -2
- data/spec/models/is_owner_for_project_by_slug_spec.rb +2 -2
- data/spec/models/{inline_response503_spec.rb → is_ready503_response_spec.rb} +8 -8
- data/spec/models/json_error_spec.rb +2 -2
- data/spec/models/json_patch_spec.rb +8 -2
- data/spec/models/keto_namespace_spec.rb +2 -2
- data/spec/models/needs_privileged_session_error_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_spec.rb +2 -2
- data/spec/models/normalized_project_revision_third_party_provider_spec.rb +2 -2
- data/spec/models/normalized_project_spec.rb +2 -2
- data/spec/models/null_plan_spec.rb +2 -2
- data/spec/models/pagination_spec.rb +2 -2
- data/spec/models/patch_delta_spec.rb +2 -2
- data/spec/models/project_host_spec.rb +2 -2
- data/spec/models/project_invite_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_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/provision_mock_subscription_payload_spec.rb +2 -2
- data/spec/models/quota_custom_domains_spec.rb +2 -2
- data/spec/models/quota_project_member_seats_spec.rb +2 -2
- data/spec/models/recovery_address_spec.rb +2 -2
- data/spec/models/relation_query_spec.rb +2 -2
- data/spec/models/revoked_sessions_spec.rb +2 -2
- data/spec/models/schema_patch_spec.rb +2 -2
- data/spec/models/self_service_browser_location_change_required_error_spec.rb +2 -2
- data/spec/models/self_service_error_spec.rb +2 -2
- data/spec/models/self_service_flow_expired_error_spec.rb +2 -2
- data/spec/models/self_service_login_flow_spec.rb +2 -2
- data/spec/models/self_service_logout_url_spec.rb +2 -2
- data/spec/models/self_service_recovery_flow_spec.rb +2 -2
- data/spec/models/self_service_recovery_flow_state_spec.rb +2 -2
- data/spec/models/self_service_recovery_link_spec.rb +2 -2
- data/spec/models/self_service_registration_flow_spec.rb +2 -2
- data/spec/models/self_service_settings_flow_spec.rb +2 -2
- data/spec/models/self_service_settings_flow_state_spec.rb +2 -2
- data/spec/models/self_service_verification_flow_spec.rb +2 -2
- data/spec/models/self_service_verification_flow_state_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/settings_profile_form_config_spec.rb +2 -2
- data/spec/models/stripe_customer_response_spec.rb +2 -2
- data/spec/models/subject_set_spec.rb +2 -2
- data/spec/models/submit_self_service_flow_with_web_authn_registration_method_spec.rb +2 -2
- data/spec/models/submit_self_service_login_flow_body_spec.rb +2 -2
- data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +2 -2
- data/spec/models/submit_self_service_recovery_flow_body_spec.rb +2 -2
- data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_registration_flow_body_spec.rb +2 -2
- data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_registration_flow_with_web_authn_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_settings_flow_body_spec.rb +2 -2
- data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +2 -2
- data/spec/models/submit_self_service_verification_flow_body_spec.rb +2 -2
- data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +2 -2
- data/spec/models/subscription_spec.rb +2 -2
- data/spec/models/successful_project_update_spec.rb +2 -2
- data/spec/models/successful_self_service_login_without_browser_spec.rb +2 -2
- data/spec/models/successful_self_service_registration_without_browser_spec.rb +2 -2
- data/spec/models/token_pagination_headers_spec.rb +40 -0
- data/spec/models/token_pagination_spec.rb +40 -0
- data/spec/models/ui_container_spec.rb +2 -2
- data/spec/models/ui_node_anchor_attributes_spec.rb +2 -2
- data/spec/models/ui_node_attributes_spec.rb +2 -2
- data/spec/models/ui_node_image_attributes_spec.rb +2 -2
- data/spec/models/ui_node_input_attributes_spec.rb +12 -2
- data/spec/models/ui_node_meta_spec.rb +2 -2
- data/spec/models/ui_node_script_attributes_spec.rb +2 -2
- data/spec/models/ui_node_spec.rb +2 -2
- data/spec/models/ui_node_text_attributes_spec.rb +2 -2
- data/spec/models/ui_text_spec.rb +2 -2
- data/spec/models/update_custom_hostname_body_spec.rb +2 -2
- data/spec/models/update_project_spec.rb +2 -2
- data/spec/models/update_subscription_payload_spec.rb +2 -2
- data/spec/models/verifiable_identity_address_spec.rb +2 -2
- data/spec/models/version_spec.rb +2 -2
- data/spec/models/warning_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.4/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.2/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.2/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.4/ext/psych/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.2/ext/stringio/Makefile +2 -2
- metadata +27 -15
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module OryClient
|
17
|
-
class
|
17
|
+
class GetVersion200Response
|
18
18
|
# The version of Ory Kratos.
|
19
19
|
attr_accessor :version
|
20
20
|
|
@@ -47,13 +47,13 @@ module OryClient
|
|
47
47
|
# @param [Hash] attributes Model attributes in the form of hash
|
48
48
|
def initialize(attributes = {})
|
49
49
|
if (!attributes.is_a?(Hash))
|
50
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::
|
50
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::GetVersion200Response` initialize method"
|
51
51
|
end
|
52
52
|
|
53
53
|
# check to see if the attribute exists and convert string to symbol for hash key
|
54
54
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
55
55
|
if (!self.class.attribute_map.key?(k.to_sym))
|
56
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::
|
56
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::GetVersion200Response`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
57
57
|
end
|
58
58
|
h[k.to_sym] = v
|
59
59
|
}
|
@@ -113,6 +113,7 @@ module OryClient
|
|
113
113
|
# @return [Object] Returns the model itself
|
114
114
|
def build_from_hash(attributes)
|
115
115
|
return nil unless attributes.is_a?(Hash)
|
116
|
+
attributes = attributes.transform_keys(&:to_sym)
|
116
117
|
self.class.openapi_types.each_pair do |key, type|
|
117
118
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
118
119
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -110,6 +110,7 @@ module OryClient
|
|
110
110
|
# @return [Object] Returns the model itself
|
111
111
|
def build_from_hash(attributes)
|
112
112
|
return nil unless attributes.is_a?(Hash)
|
113
|
+
attributes = attributes.transform_keys(&:to_sym)
|
113
114
|
self.class.openapi_types.each_pair do |key, type|
|
114
115
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
115
116
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -108,6 +108,7 @@ module OryClient
|
|
108
108
|
# @return [Object] Returns the model itself
|
109
109
|
def build_from_hash(attributes)
|
110
110
|
return nil unless attributes.is_a?(Hash)
|
111
|
+
attributes = attributes.transform_keys(&:to_sym)
|
111
112
|
self.class.openapi_types.each_pair do |key, type|
|
112
113
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
113
114
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -248,6 +248,7 @@ module OryClient
|
|
248
248
|
# @return [Object] Returns the model itself
|
249
249
|
def build_from_hash(attributes)
|
250
250
|
return nil unless attributes.is_a?(Hash)
|
251
|
+
attributes = attributes.transform_keys(&:to_sym)
|
251
252
|
self.class.openapi_types.each_pair do |key, type|
|
252
253
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
253
254
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -159,6 +159,7 @@ module OryClient
|
|
159
159
|
# @return [Object] Returns the model itself
|
160
160
|
def build_from_hash(attributes)
|
161
161
|
return nil unless attributes.is_a?(Hash)
|
162
|
+
attributes = attributes.transform_keys(&:to_sym)
|
162
163
|
self.class.openapi_types.each_pair do |key, type|
|
163
164
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
164
165
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -109,6 +109,7 @@ module OryClient
|
|
109
109
|
# @return [Object] Returns the model itself
|
110
110
|
def build_from_hash(attributes)
|
111
111
|
return nil unless attributes.is_a?(Hash)
|
112
|
+
attributes = attributes.transform_keys(&:to_sym)
|
112
113
|
self.class.openapi_types.each_pair do |key, type|
|
113
114
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
114
115
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -143,6 +143,7 @@ module OryClient
|
|
143
143
|
# @return [Object] Returns the model itself
|
144
144
|
def build_from_hash(attributes)
|
145
145
|
return nil unless attributes.is_a?(Hash)
|
146
|
+
attributes = attributes.transform_keys(&:to_sym)
|
146
147
|
self.class.openapi_types.each_pair do |key, type|
|
147
148
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
148
149
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -108,6 +108,7 @@ module OryClient
|
|
108
108
|
# @return [Object] Returns the model itself
|
109
109
|
def build_from_hash(attributes)
|
110
110
|
return nil unless attributes.is_a?(Hash)
|
111
|
+
attributes = attributes.transform_keys(&:to_sym)
|
111
112
|
self.class.openapi_types.each_pair do |key, type|
|
112
113
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
113
114
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -33,9 +33,6 @@ module OryClient
|
|
33
33
|
# The schema name This is set by the user and is for them to easily recognise their schema
|
34
34
|
attr_accessor :name
|
35
35
|
|
36
|
-
# The actual Identity JSON Schema
|
37
|
-
attr_accessor :schema
|
38
|
-
|
39
36
|
# Last Time Schema was Updated
|
40
37
|
attr_accessor :updated_at
|
41
38
|
|
@@ -48,7 +45,6 @@ module OryClient
|
|
48
45
|
:'created_at' => :'created_at',
|
49
46
|
:'id' => :'id',
|
50
47
|
:'name' => :'name',
|
51
|
-
:'schema' => :'schema',
|
52
48
|
:'updated_at' => :'updated_at'
|
53
49
|
}
|
54
50
|
end
|
@@ -67,7 +63,6 @@ module OryClient
|
|
67
63
|
:'created_at' => :'Time',
|
68
64
|
:'id' => :'String',
|
69
65
|
:'name' => :'String',
|
70
|
-
:'schema' => :'Object',
|
71
66
|
:'updated_at' => :'Time'
|
72
67
|
}
|
73
68
|
end
|
@@ -117,10 +112,6 @@ module OryClient
|
|
117
112
|
self.name = attributes[:'name']
|
118
113
|
end
|
119
114
|
|
120
|
-
if attributes.key?(:'schema')
|
121
|
-
self.schema = attributes[:'schema']
|
122
|
-
end
|
123
|
-
|
124
115
|
if attributes.key?(:'updated_at')
|
125
116
|
self.updated_at = attributes[:'updated_at']
|
126
117
|
end
|
@@ -180,7 +171,6 @@ module OryClient
|
|
180
171
|
created_at == o.created_at &&
|
181
172
|
id == o.id &&
|
182
173
|
name == o.name &&
|
183
|
-
schema == o.schema &&
|
184
174
|
updated_at == o.updated_at
|
185
175
|
end
|
186
176
|
|
@@ -193,7 +183,7 @@ module OryClient
|
|
193
183
|
# Calculates hash code according to all attributes.
|
194
184
|
# @return [Integer] Hash code
|
195
185
|
def hash
|
196
|
-
[blob_name, blob_url, content_hash, created_at, id, name,
|
186
|
+
[blob_name, blob_url, content_hash, created_at, id, name, updated_at].hash
|
197
187
|
end
|
198
188
|
|
199
189
|
# Builds the object from hash
|
@@ -208,6 +198,7 @@ module OryClient
|
|
208
198
|
# @return [Object] Returns the model itself
|
209
199
|
def build_from_hash(attributes)
|
210
200
|
return nil unless attributes.is_a?(Hash)
|
201
|
+
attributes = attributes.transform_keys(&:to_sym)
|
211
202
|
self.class.openapi_types.each_pair do |key, type|
|
212
203
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
213
204
|
self.send("#{key}=", nil)
|
@@ -0,0 +1,229 @@
|
|
1
|
+
=begin
|
2
|
+
#Ory APIs
|
3
|
+
|
4
|
+
#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.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.2
|
7
|
+
Contact: support@ory.sh
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module OryClient
|
17
|
+
class IdentitySchemaContainer
|
18
|
+
# The ID of the Identity JSON Schema
|
19
|
+
attr_accessor :id
|
20
|
+
|
21
|
+
attr_accessor :schema
|
22
|
+
|
23
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
24
|
+
def self.attribute_map
|
25
|
+
{
|
26
|
+
:'id' => :'id',
|
27
|
+
:'schema' => :'schema'
|
28
|
+
}
|
29
|
+
end
|
30
|
+
|
31
|
+
# Returns all the JSON keys this model knows about
|
32
|
+
def self.acceptable_attributes
|
33
|
+
attribute_map.values
|
34
|
+
end
|
35
|
+
|
36
|
+
# Attribute type mapping.
|
37
|
+
def self.openapi_types
|
38
|
+
{
|
39
|
+
:'id' => :'String',
|
40
|
+
:'schema' => :'IdentitySchema'
|
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 Model attributes in the form of hash
|
52
|
+
def initialize(attributes = {})
|
53
|
+
if (!attributes.is_a?(Hash))
|
54
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::IdentitySchemaContainer` initialize method"
|
55
|
+
end
|
56
|
+
|
57
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
58
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
59
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
60
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::IdentitySchemaContainer`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
61
|
+
end
|
62
|
+
h[k.to_sym] = v
|
63
|
+
}
|
64
|
+
|
65
|
+
if attributes.key?(:'id')
|
66
|
+
self.id = attributes[:'id']
|
67
|
+
end
|
68
|
+
|
69
|
+
if attributes.key?(:'schema')
|
70
|
+
self.schema = attributes[:'schema']
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
75
|
+
# @return Array for valid properties with the reasons
|
76
|
+
def list_invalid_properties
|
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
|
+
true
|
85
|
+
end
|
86
|
+
|
87
|
+
# Checks equality by comparing each attribute.
|
88
|
+
# @param [Object] Object to be compared
|
89
|
+
def ==(o)
|
90
|
+
return true if self.equal?(o)
|
91
|
+
self.class == o.class &&
|
92
|
+
id == o.id &&
|
93
|
+
schema == o.schema
|
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
|
+
[id, schema].hash
|
106
|
+
end
|
107
|
+
|
108
|
+
# Builds the object from hash
|
109
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
110
|
+
# @return [Object] Returns the model itself
|
111
|
+
def self.build_from_hash(attributes)
|
112
|
+
new.build_from_hash(attributes)
|
113
|
+
end
|
114
|
+
|
115
|
+
# Builds the object from hash
|
116
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
117
|
+
# @return [Object] Returns the model itself
|
118
|
+
def build_from_hash(attributes)
|
119
|
+
return nil unless attributes.is_a?(Hash)
|
120
|
+
attributes = attributes.transform_keys(&:to_sym)
|
121
|
+
self.class.openapi_types.each_pair do |key, type|
|
122
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
123
|
+
self.send("#{key}=", nil)
|
124
|
+
elsif type =~ /\AArray<(.*)>/i
|
125
|
+
# check to ensure the input is an array given that the attribute
|
126
|
+
# is documented as an array but the input is not
|
127
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
128
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
129
|
+
end
|
130
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
131
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
self
|
136
|
+
end
|
137
|
+
|
138
|
+
# Deserializes the data based on type
|
139
|
+
# @param string type Data type
|
140
|
+
# @param string value Value to be deserialized
|
141
|
+
# @return [Object] Deserialized data
|
142
|
+
def _deserialize(type, value)
|
143
|
+
case type.to_sym
|
144
|
+
when :Time
|
145
|
+
Time.parse(value)
|
146
|
+
when :Date
|
147
|
+
Date.parse(value)
|
148
|
+
when :String
|
149
|
+
value.to_s
|
150
|
+
when :Integer
|
151
|
+
value.to_i
|
152
|
+
when :Float
|
153
|
+
value.to_f
|
154
|
+
when :Boolean
|
155
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
156
|
+
true
|
157
|
+
else
|
158
|
+
false
|
159
|
+
end
|
160
|
+
when :Object
|
161
|
+
# generic object (usually a Hash), return directly
|
162
|
+
value
|
163
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
164
|
+
inner_type = Regexp.last_match[:inner_type]
|
165
|
+
value.map { |v| _deserialize(inner_type, v) }
|
166
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
167
|
+
k_type = Regexp.last_match[:k_type]
|
168
|
+
v_type = Regexp.last_match[:v_type]
|
169
|
+
{}.tap do |hash|
|
170
|
+
value.each do |k, v|
|
171
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
172
|
+
end
|
173
|
+
end
|
174
|
+
else # model
|
175
|
+
# models (e.g. Pet) or oneOf
|
176
|
+
klass = OryClient.const_get(type)
|
177
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
178
|
+
end
|
179
|
+
end
|
180
|
+
|
181
|
+
# Returns the string representation of the object
|
182
|
+
# @return [String] String presentation of the object
|
183
|
+
def to_s
|
184
|
+
to_hash.to_s
|
185
|
+
end
|
186
|
+
|
187
|
+
# to_body is an alias to to_hash (backward compatibility)
|
188
|
+
# @return [Hash] Returns the object in the form of hash
|
189
|
+
def to_body
|
190
|
+
to_hash
|
191
|
+
end
|
192
|
+
|
193
|
+
# Returns the object in the form of hash
|
194
|
+
# @return [Hash] Returns the object in the form of hash
|
195
|
+
def to_hash
|
196
|
+
hash = {}
|
197
|
+
self.class.attribute_map.each_pair do |attr, param|
|
198
|
+
value = self.send(attr)
|
199
|
+
if value.nil?
|
200
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
201
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
202
|
+
end
|
203
|
+
|
204
|
+
hash[param] = _to_hash(value)
|
205
|
+
end
|
206
|
+
hash
|
207
|
+
end
|
208
|
+
|
209
|
+
# Outputs non-array value in the form of hash
|
210
|
+
# For object, use to_hash. Otherwise, just return the value
|
211
|
+
# @param [Object] value Any valid value
|
212
|
+
# @return [Hash] Returns the value in the form of hash
|
213
|
+
def _to_hash(value)
|
214
|
+
if value.is_a?(Array)
|
215
|
+
value.compact.map { |v| _to_hash(v) }
|
216
|
+
elsif value.is_a?(Hash)
|
217
|
+
{}.tap do |hash|
|
218
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
219
|
+
end
|
220
|
+
elsif value.respond_to? :to_hash
|
221
|
+
value.to_hash
|
222
|
+
else
|
223
|
+
value
|
224
|
+
end
|
225
|
+
end
|
226
|
+
|
227
|
+
end
|
228
|
+
|
229
|
+
end
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -107,6 +107,7 @@ module OryClient
|
|
107
107
|
# @return [Object] Returns the model itself
|
108
108
|
def build_from_hash(attributes)
|
109
109
|
return nil unless attributes.is_a?(Hash)
|
110
|
+
attributes = attributes.transform_keys(&:to_sym)
|
110
111
|
self.class.openapi_types.each_pair do |key, type|
|
111
112
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
112
113
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -128,6 +128,7 @@ module OryClient
|
|
128
128
|
# @return [Object] Returns the model itself
|
129
129
|
def build_from_hash(attributes)
|
130
130
|
return nil unless attributes.is_a?(Hash)
|
131
|
+
attributes = attributes.transform_keys(&:to_sym)
|
131
132
|
self.class.openapi_types.each_pair do |key, type|
|
132
133
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
133
134
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -116,6 +116,7 @@ module OryClient
|
|
116
116
|
# @return [Object] Returns the model itself
|
117
117
|
def build_from_hash(attributes)
|
118
118
|
return nil unless attributes.is_a?(Hash)
|
119
|
+
attributes = attributes.transform_keys(&:to_sym)
|
119
120
|
self.class.openapi_types.each_pair do |key, type|
|
120
121
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
121
122
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -162,6 +162,7 @@ module OryClient
|
|
162
162
|
# @return [Object] Returns the model itself
|
163
163
|
def build_from_hash(attributes)
|
164
164
|
return nil unless attributes.is_a?(Hash)
|
165
|
+
attributes = attributes.transform_keys(&:to_sym)
|
165
166
|
self.class.openapi_types.each_pair do |key, type|
|
166
167
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
167
168
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v0.
|
6
|
+
The version of the OpenAPI document: v0.2.0-alpha.2
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -107,6 +107,7 @@ module OryClient
|
|
107
107
|
# @return [Object] Returns the model itself
|
108
108
|
def build_from_hash(attributes)
|
109
109
|
return nil unless attributes.is_a?(Hash)
|
110
|
+
attributes = attributes.transform_keys(&:to_sym)
|
110
111
|
self.class.openapi_types.each_pair do |key, type|
|
111
112
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
112
113
|
self.send("#{key}=", nil)
|