ory-client 0.0.1.alpha130 → 0.0.1.alpha133
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 +61 -65
- data/docs/CreateProjectBody.md +18 -0
- data/docs/GenericError.md +6 -10
- data/docs/GenericErrorContent.md +26 -0
- data/docs/{IdentityPreset.md → IdentitySchemaPreset.md} +2 -2
- data/docs/JsonPatch.md +22 -0
- data/docs/MetadataApi.md +3 -3
- data/docs/NormalizedProject.md +34 -0
- data/docs/{ProjectRevision.md → NormalizedProjectRevision.md} +45 -7
- data/docs/{ProjectRevisionHook.md → NormalizedProjectRevisionHook.md} +4 -2
- data/docs/{ProjectRevisionIdentitySchema.md → NormalizedProjectRevisionIdentitySchema.md} +2 -2
- data/docs/{ProjectRevisionThirdPartyLoginProvider.md → NormalizedProjectRevisionThirdPartyProvider.md} +2 -2
- data/docs/Project.md +7 -13
- data/docs/ProjectServiceIdentity.md +18 -0
- data/docs/{UpdateProjectConfigConfig.md → ProjectServices.md} +3 -3
- data/docs/ProvisionMockSubscriptionPayload.md +20 -0
- data/docs/{SuccessfulProjectConfigUpdate.md → SuccessfulProjectUpdate.md} +4 -4
- data/docs/UpdateProject.md +20 -0
- data/docs/V0alpha2Api.md +43 -43
- data/lib/ory-client/api/metadata_api.rb +4 -4
- data/lib/ory-client/api/v0alpha2_api.rb +48 -48
- data/lib/ory-client/api_client.rb +1 -1
- data/lib/ory-client/api_error.rb +1 -1
- data/lib/ory-client/configuration.rb +1 -1
- data/lib/ory-client/models/active_project.rb +1 -1
- data/lib/ory-client/models/admin_create_identity_body.rb +1 -1
- data/lib/ory-client/models/admin_create_identity_import_credentials_oidc.rb +1 -1
- data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_config.rb +1 -1
- data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_provider.rb +1 -1
- data/lib/ory-client/models/admin_create_identity_import_credentials_password.rb +1 -1
- data/lib/ory-client/models/admin_create_identity_import_credentials_password_config.rb +1 -1
- data/lib/ory-client/models/admin_create_self_service_recovery_link_body.rb +1 -1
- data/lib/ory-client/models/admin_identity_import_credentials.rb +1 -1
- data/lib/ory-client/models/admin_update_identity_body.rb +1 -1
- data/lib/ory-client/models/api_token.rb +1 -1
- data/lib/ory-client/models/authenticator_assurance_level.rb +1 -1
- data/lib/ory-client/models/cloud_account.rb +1 -1
- data/lib/ory-client/models/cname_settings.rb +1 -1
- data/lib/ory-client/models/create_custom_hostname_body.rb +1 -1
- data/lib/ory-client/models/{inline_object.rb → create_project_body.rb} +15 -15
- data/lib/ory-client/models/create_subscription_payload.rb +1 -1
- data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +1 -1
- data/lib/ory-client/models/generic_error.rb +8 -29
- data/lib/ory-client/models/generic_error_content.rb +260 -0
- data/lib/ory-client/models/health_not_ready_status.rb +1 -1
- data/lib/ory-client/models/health_status.rb +1 -1
- data/lib/ory-client/models/identity.rb +1 -1
- data/lib/ory-client/models/identity_credentials.rb +1 -1
- data/lib/ory-client/models/identity_credentials_oidc.rb +1 -1
- data/lib/ory-client/models/identity_credentials_oidc_provider.rb +1 -1
- data/lib/ory-client/models/identity_credentials_password.rb +1 -1
- data/lib/ory-client/models/identity_credentials_type.rb +1 -1
- data/lib/ory-client/models/identity_schema.rb +1 -1
- data/lib/ory-client/models/identity_schema_location.rb +1 -1
- data/lib/ory-client/models/{identity_preset.rb → identity_schema_preset.rb} +4 -4
- data/lib/ory-client/models/identity_schema_validation_result.rb +1 -1
- data/lib/ory-client/models/identity_state.rb +1 -1
- data/lib/ory-client/models/inline_response200.rb +1 -1
- data/lib/ory-client/models/inline_response2001.rb +1 -1
- data/lib/ory-client/models/inline_response503.rb +1 -1
- data/lib/ory-client/models/invite_payload.rb +1 -1
- data/lib/ory-client/models/is_owner_for_project_by_slug.rb +1 -1
- data/lib/ory-client/models/is_owner_for_project_by_slug_payload.rb +1 -1
- data/lib/ory-client/models/json_error.rb +1 -1
- data/lib/ory-client/models/json_patch.rb +285 -0
- data/lib/ory-client/models/needs_privileged_session_error.rb +1 -1
- data/lib/ory-client/models/normalized_project.rb +372 -0
- data/lib/ory-client/models/{project_revision.rb → normalized_project_revision.rb} +200 -10
- data/lib/ory-client/models/{project_revision_hook.rb → normalized_project_revision_hook.rb} +15 -5
- data/lib/ory-client/models/{project_revision_identity_schema.rb → normalized_project_revision_identity_schema.rb} +4 -4
- data/lib/ory-client/models/{project_revision_third_party_login_provider.rb → normalized_project_revision_third_party_provider.rb} +4 -4
- data/lib/ory-client/models/null_plan.rb +1 -1
- data/lib/ory-client/models/pagination.rb +1 -1
- data/lib/ory-client/models/project.rb +38 -80
- data/lib/ory-client/models/project_host.rb +1 -1
- data/lib/ory-client/models/project_invite.rb +1 -1
- data/lib/ory-client/models/project_service_identity.rb +223 -0
- data/lib/ory-client/models/{update_project_config_config.rb → project_services.rb} +5 -6
- data/lib/ory-client/models/project_slug.rb +1 -1
- data/lib/ory-client/models/provision_mock_subscription_payload.rb +237 -0
- data/lib/ory-client/models/quota_project_member_seats.rb +1 -1
- data/lib/ory-client/models/recovery_address.rb +1 -1
- data/lib/ory-client/models/revoked_sessions.rb +1 -1
- data/lib/ory-client/models/schema_patch.rb +1 -1
- data/lib/ory-client/models/self_service_browser_location_change_required_error.rb +1 -1
- data/lib/ory-client/models/self_service_error.rb +1 -1
- data/lib/ory-client/models/self_service_flow_expired_error.rb +1 -1
- data/lib/ory-client/models/self_service_login_flow.rb +1 -1
- data/lib/ory-client/models/self_service_logout_url.rb +1 -1
- data/lib/ory-client/models/self_service_recovery_flow.rb +1 -1
- data/lib/ory-client/models/self_service_recovery_flow_state.rb +1 -1
- data/lib/ory-client/models/self_service_recovery_link.rb +1 -1
- data/lib/ory-client/models/self_service_registration_flow.rb +1 -1
- data/lib/ory-client/models/self_service_settings_flow.rb +1 -1
- data/lib/ory-client/models/self_service_settings_flow_state.rb +1 -1
- data/lib/ory-client/models/self_service_verification_flow.rb +1 -1
- data/lib/ory-client/models/self_service_verification_flow_state.rb +1 -1
- data/lib/ory-client/models/session.rb +1 -1
- data/lib/ory-client/models/session_authentication_method.rb +1 -1
- data/lib/ory-client/models/session_device.rb +1 -1
- data/lib/ory-client/models/settings_profile_form_config.rb +1 -1
- data/lib/ory-client/models/stripe_customer_response.rb +1 -1
- data/lib/ory-client/models/submit_self_service_flow_with_web_authn_registration_method.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_with_password_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_with_totp_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_logout_flow_without_browser_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_recovery_flow_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_registration_flow_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_registration_flow_with_web_authn_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_verification_flow_body.rb +1 -1
- data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method_body.rb +1 -1
- data/lib/ory-client/models/subscription.rb +1 -1
- data/lib/ory-client/models/{successful_project_config_update.rb → successful_project_update.rb} +14 -4
- data/lib/ory-client/models/successful_self_service_login_without_browser.rb +1 -1
- data/lib/ory-client/models/successful_self_service_registration_without_browser.rb +1 -1
- data/lib/ory-client/models/ui_container.rb +1 -1
- data/lib/ory-client/models/ui_node.rb +1 -1
- data/lib/ory-client/models/ui_node_anchor_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_image_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_input_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_meta.rb +1 -1
- data/lib/ory-client/models/ui_node_script_attributes.rb +1 -1
- data/lib/ory-client/models/ui_node_text_attributes.rb +1 -1
- data/lib/ory-client/models/ui_text.rb +1 -1
- data/lib/ory-client/models/update_custom_hostname_body.rb +1 -1
- data/lib/ory-client/models/update_project.rb +238 -0
- data/lib/ory-client/models/update_subscription_payload.rb +1 -1
- data/lib/ory-client/models/verifiable_identity_address.rb +1 -1
- data/lib/ory-client/models/version.rb +1 -1
- data/lib/ory-client/models/warning.rb +1 -1
- data/lib/ory-client/version.rb +2 -2
- data/lib/ory-client.rb +15 -10
- data/ory-client.gemspec +1 -1
- data/spec/api/metadata_api_spec.rb +1 -1
- data/spec/api/v0alpha2_api_spec.rb +5 -5
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/active_project_spec.rb +1 -1
- data/spec/models/admin_create_identity_body_spec.rb +1 -1
- data/spec/models/admin_create_identity_import_credentials_oidc_config_spec.rb +1 -1
- data/spec/models/admin_create_identity_import_credentials_oidc_provider_spec.rb +1 -1
- data/spec/models/admin_create_identity_import_credentials_oidc_spec.rb +1 -1
- data/spec/models/admin_create_identity_import_credentials_password_config_spec.rb +1 -1
- data/spec/models/admin_create_identity_import_credentials_password_spec.rb +1 -1
- data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +1 -1
- data/spec/models/admin_identity_import_credentials_spec.rb +1 -1
- data/spec/models/admin_update_identity_body_spec.rb +1 -1
- data/spec/models/api_token_spec.rb +1 -1
- data/spec/models/authenticator_assurance_level_spec.rb +1 -1
- data/spec/models/cloud_account_spec.rb +1 -1
- data/spec/models/cname_settings_spec.rb +1 -1
- data/spec/models/create_custom_hostname_body_spec.rb +1 -1
- data/spec/models/{inline_object_spec.rb → create_project_body_spec.rb} +8 -8
- data/spec/models/create_subscription_payload_spec.rb +1 -1
- data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +1 -1
- data/spec/models/generic_error_content_spec.rb +58 -0
- data/spec/models/generic_error_spec.rb +1 -13
- data/spec/models/health_not_ready_status_spec.rb +1 -1
- data/spec/models/health_status_spec.rb +1 -1
- data/spec/models/identity_credentials_oidc_provider_spec.rb +1 -1
- data/spec/models/identity_credentials_oidc_spec.rb +1 -1
- data/spec/models/identity_credentials_password_spec.rb +1 -1
- data/spec/models/identity_credentials_spec.rb +1 -1
- data/spec/models/identity_credentials_type_spec.rb +1 -1
- data/spec/models/identity_schema_location_spec.rb +1 -1
- data/spec/models/{identity_preset_spec.rb → identity_schema_preset_spec.rb} +7 -7
- data/spec/models/identity_schema_spec.rb +1 -1
- data/spec/models/identity_schema_validation_result_spec.rb +1 -1
- data/spec/models/identity_spec.rb +1 -1
- data/spec/models/identity_state_spec.rb +1 -1
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/inline_response503_spec.rb +1 -1
- data/spec/models/invite_payload_spec.rb +1 -1
- data/spec/models/is_owner_for_project_by_slug_payload_spec.rb +1 -1
- data/spec/models/is_owner_for_project_by_slug_spec.rb +1 -1
- data/spec/models/json_error_spec.rb +1 -1
- data/spec/models/json_patch_spec.rb +50 -0
- data/spec/models/needs_privileged_session_error_spec.rb +1 -1
- data/spec/models/{project_revision_hook_spec.rb → normalized_project_revision_hook_spec.rb} +13 -7
- data/spec/models/{project_revision_identity_schema_spec.rb → normalized_project_revision_identity_schema_spec.rb} +7 -7
- data/spec/models/{project_revision_spec.rb → normalized_project_revision_spec.rb} +121 -7
- data/spec/models/{project_revision_third_party_login_provider_spec.rb → normalized_project_revision_third_party_provider_spec.rb} +7 -7
- data/spec/models/normalized_project_spec.rb +86 -0
- data/spec/models/null_plan_spec.rb +1 -1
- data/spec/models/pagination_spec.rb +1 -1
- data/spec/models/project_host_spec.rb +1 -1
- data/spec/models/project_invite_spec.rb +1 -1
- data/spec/models/project_service_identity_spec.rb +34 -0
- data/spec/models/{update_project_config_config_spec.rb → project_services_spec.rb} +7 -7
- data/spec/models/project_slug_spec.rb +1 -1
- data/spec/models/project_spec.rb +5 -23
- data/spec/models/provision_mock_subscription_payload_spec.rb +40 -0
- data/spec/models/quota_project_member_seats_spec.rb +1 -1
- data/spec/models/recovery_address_spec.rb +1 -1
- data/spec/models/revoked_sessions_spec.rb +1 -1
- data/spec/models/schema_patch_spec.rb +1 -1
- data/spec/models/self_service_browser_location_change_required_error_spec.rb +1 -1
- data/spec/models/self_service_error_spec.rb +1 -1
- data/spec/models/self_service_flow_expired_error_spec.rb +1 -1
- data/spec/models/self_service_login_flow_spec.rb +1 -1
- data/spec/models/self_service_logout_url_spec.rb +1 -1
- data/spec/models/self_service_recovery_flow_spec.rb +1 -1
- data/spec/models/self_service_recovery_flow_state_spec.rb +1 -1
- data/spec/models/self_service_recovery_link_spec.rb +1 -1
- data/spec/models/self_service_registration_flow_spec.rb +1 -1
- data/spec/models/self_service_settings_flow_spec.rb +1 -1
- data/spec/models/self_service_settings_flow_state_spec.rb +1 -1
- data/spec/models/self_service_verification_flow_spec.rb +1 -1
- data/spec/models/self_service_verification_flow_state_spec.rb +1 -1
- data/spec/models/session_authentication_method_spec.rb +1 -1
- data/spec/models/session_device_spec.rb +1 -1
- data/spec/models/session_spec.rb +1 -1
- data/spec/models/settings_profile_form_config_spec.rb +1 -1
- data/spec/models/stripe_customer_response_spec.rb +1 -1
- data/spec/models/submit_self_service_flow_with_web_authn_registration_method_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_body_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +1 -1
- data/spec/models/submit_self_service_recovery_flow_body_spec.rb +1 -1
- data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_registration_flow_body_spec.rb +1 -1
- data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_registration_flow_with_web_authn_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +1 -1
- data/spec/models/submit_self_service_verification_flow_body_spec.rb +1 -1
- data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +1 -1
- data/spec/models/subscription_spec.rb +1 -1
- data/spec/models/{successful_project_config_update_spec.rb → successful_project_update_spec.rb} +7 -7
- data/spec/models/successful_self_service_login_without_browser_spec.rb +1 -1
- data/spec/models/successful_self_service_registration_without_browser_spec.rb +1 -1
- data/spec/models/ui_container_spec.rb +1 -1
- data/spec/models/ui_node_anchor_attributes_spec.rb +1 -1
- data/spec/models/ui_node_attributes_spec.rb +1 -1
- data/spec/models/ui_node_image_attributes_spec.rb +1 -1
- data/spec/models/ui_node_input_attributes_spec.rb +1 -1
- data/spec/models/ui_node_meta_spec.rb +1 -1
- data/spec/models/ui_node_script_attributes_spec.rb +1 -1
- data/spec/models/ui_node_spec.rb +1 -1
- data/spec/models/ui_node_text_attributes_spec.rb +1 -1
- data/spec/models/ui_text_spec.rb +1 -1
- data/spec/models/update_custom_hostname_body_spec.rb +1 -1
- data/spec/models/update_project_spec.rb +40 -0
- data/spec/models/update_subscription_payload_spec.rb +1 -1
- data/spec/models/verifiable_identity_address_spec.rb +1 -1
- data/spec/models/version_spec.rb +1 -1
- data/spec/models/warning_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- 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.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/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.3/ext/psych/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio/Makefile +2 -2
- metadata +58 -38
- data/docs/InlineObject.md +0 -18
- data/docs/V0alpha0Api.md +0 -712
- data/lib/ory-client/api/v0alpha0_api.rb +0 -662
- data/spec/api/v0alpha0_api_spec.rb +0 -156
@@ -3,7 +3,7 @@
|
|
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.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.133
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -3,7 +3,7 @@
|
|
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.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.133
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -3,7 +3,7 @@
|
|
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.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.133
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -15,16 +15,14 @@ require 'time'
|
|
15
15
|
|
16
16
|
module OryClient
|
17
17
|
class Project
|
18
|
-
|
19
|
-
attr_accessor :created_at
|
20
|
-
|
21
|
-
attr_accessor :current_revision
|
18
|
+
attr_accessor :id
|
22
19
|
|
23
|
-
|
20
|
+
# The name of the project.
|
21
|
+
attr_accessor :name
|
24
22
|
|
25
|
-
attr_accessor :
|
23
|
+
attr_accessor :revision_id
|
26
24
|
|
27
|
-
attr_accessor :
|
25
|
+
attr_accessor :services
|
28
26
|
|
29
27
|
# The project's slug
|
30
28
|
attr_accessor :slug
|
@@ -32,11 +30,6 @@ module OryClient
|
|
32
30
|
# The state of the project.
|
33
31
|
attr_accessor :state
|
34
32
|
|
35
|
-
attr_accessor :subscription_id
|
36
|
-
|
37
|
-
# Last Time Project was Updated
|
38
|
-
attr_accessor :updated_at
|
39
|
-
|
40
33
|
class EnumAttributeValidator
|
41
34
|
attr_reader :datatype
|
42
35
|
attr_reader :allowable_values
|
@@ -62,15 +55,12 @@ module OryClient
|
|
62
55
|
# Attribute mapping from ruby-style variable name to JSON key.
|
63
56
|
def self.attribute_map
|
64
57
|
{
|
65
|
-
:'created_at' => :'created_at',
|
66
|
-
:'current_revision' => :'current_revision',
|
67
|
-
:'hosts' => :'hosts',
|
68
58
|
:'id' => :'id',
|
69
|
-
:'
|
59
|
+
:'name' => :'name',
|
60
|
+
:'revision_id' => :'revision_id',
|
61
|
+
:'services' => :'services',
|
70
62
|
:'slug' => :'slug',
|
71
|
-
:'state' => :'state'
|
72
|
-
:'subscription_id' => :'subscription_id',
|
73
|
-
:'updated_at' => :'updated_at'
|
63
|
+
:'state' => :'state'
|
74
64
|
}
|
75
65
|
end
|
76
66
|
|
@@ -82,15 +72,12 @@ module OryClient
|
|
82
72
|
# Attribute type mapping.
|
83
73
|
def self.openapi_types
|
84
74
|
{
|
85
|
-
:'created_at' => :'Time',
|
86
|
-
:'current_revision' => :'ProjectRevision',
|
87
|
-
:'hosts' => :'Array<String>',
|
88
75
|
:'id' => :'String',
|
89
|
-
:'
|
76
|
+
:'name' => :'String',
|
77
|
+
:'revision_id' => :'String',
|
78
|
+
:'services' => :'ProjectServices',
|
90
79
|
:'slug' => :'String',
|
91
|
-
:'state' => :'String'
|
92
|
-
:'subscription_id' => :'String',
|
93
|
-
:'updated_at' => :'Time'
|
80
|
+
:'state' => :'String'
|
94
81
|
}
|
95
82
|
end
|
96
83
|
|
@@ -115,28 +102,20 @@ module OryClient
|
|
115
102
|
h[k.to_sym] = v
|
116
103
|
}
|
117
104
|
|
118
|
-
if attributes.key?(:'
|
119
|
-
self.
|
120
|
-
end
|
121
|
-
|
122
|
-
if attributes.key?(:'current_revision')
|
123
|
-
self.current_revision = attributes[:'current_revision']
|
105
|
+
if attributes.key?(:'id')
|
106
|
+
self.id = attributes[:'id']
|
124
107
|
end
|
125
108
|
|
126
|
-
if attributes.key?(:'
|
127
|
-
|
128
|
-
self.hosts = value
|
129
|
-
end
|
109
|
+
if attributes.key?(:'name')
|
110
|
+
self.name = attributes[:'name']
|
130
111
|
end
|
131
112
|
|
132
|
-
if attributes.key?(:'
|
133
|
-
self.
|
113
|
+
if attributes.key?(:'revision_id')
|
114
|
+
self.revision_id = attributes[:'revision_id']
|
134
115
|
end
|
135
116
|
|
136
|
-
if attributes.key?(:'
|
137
|
-
|
138
|
-
self.revisions = value
|
139
|
-
end
|
117
|
+
if attributes.key?(:'services')
|
118
|
+
self.services = attributes[:'services']
|
140
119
|
end
|
141
120
|
|
142
121
|
if attributes.key?(:'slug')
|
@@ -146,38 +125,26 @@ module OryClient
|
|
146
125
|
if attributes.key?(:'state')
|
147
126
|
self.state = attributes[:'state']
|
148
127
|
end
|
149
|
-
|
150
|
-
if attributes.key?(:'subscription_id')
|
151
|
-
self.subscription_id = attributes[:'subscription_id']
|
152
|
-
end
|
153
|
-
|
154
|
-
if attributes.key?(:'updated_at')
|
155
|
-
self.updated_at = attributes[:'updated_at']
|
156
|
-
end
|
157
128
|
end
|
158
129
|
|
159
130
|
# Show invalid properties with the reasons. Usually used together with valid?
|
160
131
|
# @return Array for valid properties with the reasons
|
161
132
|
def list_invalid_properties
|
162
133
|
invalid_properties = Array.new
|
163
|
-
if @
|
164
|
-
invalid_properties.push('invalid value for "
|
165
|
-
end
|
166
|
-
|
167
|
-
if @current_revision.nil?
|
168
|
-
invalid_properties.push('invalid value for "current_revision", current_revision cannot be nil.')
|
134
|
+
if @id.nil?
|
135
|
+
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
169
136
|
end
|
170
137
|
|
171
|
-
if @
|
172
|
-
invalid_properties.push('invalid value for "
|
138
|
+
if @name.nil?
|
139
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
173
140
|
end
|
174
141
|
|
175
|
-
if @
|
176
|
-
invalid_properties.push('invalid value for "
|
142
|
+
if @revision_id.nil?
|
143
|
+
invalid_properties.push('invalid value for "revision_id", revision_id cannot be nil.')
|
177
144
|
end
|
178
145
|
|
179
|
-
if @
|
180
|
-
invalid_properties.push('invalid value for "
|
146
|
+
if @services.nil?
|
147
|
+
invalid_properties.push('invalid value for "services", services cannot be nil.')
|
181
148
|
end
|
182
149
|
|
183
150
|
if @slug.nil?
|
@@ -188,26 +155,20 @@ module OryClient
|
|
188
155
|
invalid_properties.push('invalid value for "state", state cannot be nil.')
|
189
156
|
end
|
190
157
|
|
191
|
-
if @updated_at.nil?
|
192
|
-
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
193
|
-
end
|
194
|
-
|
195
158
|
invalid_properties
|
196
159
|
end
|
197
160
|
|
198
161
|
# Check to see if the all the properties in the model are valid
|
199
162
|
# @return true if the model is valid
|
200
163
|
def valid?
|
201
|
-
return false if @created_at.nil?
|
202
|
-
return false if @current_revision.nil?
|
203
|
-
return false if @hosts.nil?
|
204
164
|
return false if @id.nil?
|
205
|
-
return false if @
|
165
|
+
return false if @name.nil?
|
166
|
+
return false if @revision_id.nil?
|
167
|
+
return false if @services.nil?
|
206
168
|
return false if @slug.nil?
|
207
169
|
return false if @state.nil?
|
208
170
|
state_validator = EnumAttributeValidator.new('String', ["running", "halted"])
|
209
171
|
return false unless state_validator.valid?(@state)
|
210
|
-
return false if @updated_at.nil?
|
211
172
|
true
|
212
173
|
end
|
213
174
|
|
@@ -226,15 +187,12 @@ module OryClient
|
|
226
187
|
def ==(o)
|
227
188
|
return true if self.equal?(o)
|
228
189
|
self.class == o.class &&
|
229
|
-
created_at == o.created_at &&
|
230
|
-
current_revision == o.current_revision &&
|
231
|
-
hosts == o.hosts &&
|
232
190
|
id == o.id &&
|
233
|
-
|
191
|
+
name == o.name &&
|
192
|
+
revision_id == o.revision_id &&
|
193
|
+
services == o.services &&
|
234
194
|
slug == o.slug &&
|
235
|
-
state == o.state
|
236
|
-
subscription_id == o.subscription_id &&
|
237
|
-
updated_at == o.updated_at
|
195
|
+
state == o.state
|
238
196
|
end
|
239
197
|
|
240
198
|
# @see the `==` method
|
@@ -246,7 +204,7 @@ module OryClient
|
|
246
204
|
# Calculates hash code according to all attributes.
|
247
205
|
# @return [Integer] Hash code
|
248
206
|
def hash
|
249
|
-
[
|
207
|
+
[id, name, revision_id, services, slug, state].hash
|
250
208
|
end
|
251
209
|
|
252
210
|
# Builds the object from hash
|
@@ -3,7 +3,7 @@
|
|
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.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.133
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -3,7 +3,7 @@
|
|
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.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.133
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -0,0 +1,223 @@
|
|
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.0.1-alpha.133
|
7
|
+
Contact: support@ory.sh
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module OryClient
|
17
|
+
class ProjectServiceIdentity
|
18
|
+
attr_accessor :config
|
19
|
+
|
20
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
21
|
+
def self.attribute_map
|
22
|
+
{
|
23
|
+
:'config' => :'config'
|
24
|
+
}
|
25
|
+
end
|
26
|
+
|
27
|
+
# Returns all the JSON keys this model knows about
|
28
|
+
def self.acceptable_attributes
|
29
|
+
attribute_map.values
|
30
|
+
end
|
31
|
+
|
32
|
+
# Attribute type mapping.
|
33
|
+
def self.openapi_types
|
34
|
+
{
|
35
|
+
:'config' => :'Object'
|
36
|
+
}
|
37
|
+
end
|
38
|
+
|
39
|
+
# List of attributes with nullable: true
|
40
|
+
def self.openapi_nullable
|
41
|
+
Set.new([
|
42
|
+
])
|
43
|
+
end
|
44
|
+
|
45
|
+
# Initializes the object
|
46
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
47
|
+
def initialize(attributes = {})
|
48
|
+
if (!attributes.is_a?(Hash))
|
49
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::ProjectServiceIdentity` initialize method"
|
50
|
+
end
|
51
|
+
|
52
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
53
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
54
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
55
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::ProjectServiceIdentity`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
56
|
+
end
|
57
|
+
h[k.to_sym] = v
|
58
|
+
}
|
59
|
+
|
60
|
+
if attributes.key?(:'config')
|
61
|
+
self.config = attributes[:'config']
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
66
|
+
# @return Array for valid properties with the reasons
|
67
|
+
def list_invalid_properties
|
68
|
+
invalid_properties = Array.new
|
69
|
+
if @config.nil?
|
70
|
+
invalid_properties.push('invalid value for "config", config cannot be nil.')
|
71
|
+
end
|
72
|
+
|
73
|
+
invalid_properties
|
74
|
+
end
|
75
|
+
|
76
|
+
# Check to see if the all the properties in the model are valid
|
77
|
+
# @return true if the model is valid
|
78
|
+
def valid?
|
79
|
+
return false if @config.nil?
|
80
|
+
true
|
81
|
+
end
|
82
|
+
|
83
|
+
# Checks equality by comparing each attribute.
|
84
|
+
# @param [Object] Object to be compared
|
85
|
+
def ==(o)
|
86
|
+
return true if self.equal?(o)
|
87
|
+
self.class == o.class &&
|
88
|
+
config == o.config
|
89
|
+
end
|
90
|
+
|
91
|
+
# @see the `==` method
|
92
|
+
# @param [Object] Object to be compared
|
93
|
+
def eql?(o)
|
94
|
+
self == o
|
95
|
+
end
|
96
|
+
|
97
|
+
# Calculates hash code according to all attributes.
|
98
|
+
# @return [Integer] Hash code
|
99
|
+
def hash
|
100
|
+
[config].hash
|
101
|
+
end
|
102
|
+
|
103
|
+
# Builds the object from hash
|
104
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
105
|
+
# @return [Object] Returns the model itself
|
106
|
+
def self.build_from_hash(attributes)
|
107
|
+
new.build_from_hash(attributes)
|
108
|
+
end
|
109
|
+
|
110
|
+
# Builds the object from hash
|
111
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
112
|
+
# @return [Object] Returns the model itself
|
113
|
+
def build_from_hash(attributes)
|
114
|
+
return nil unless attributes.is_a?(Hash)
|
115
|
+
self.class.openapi_types.each_pair do |key, type|
|
116
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
117
|
+
self.send("#{key}=", nil)
|
118
|
+
elsif type =~ /\AArray<(.*)>/i
|
119
|
+
# check to ensure the input is an array given that the attribute
|
120
|
+
# is documented as an array but the input is not
|
121
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
122
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
123
|
+
end
|
124
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
125
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
126
|
+
end
|
127
|
+
end
|
128
|
+
|
129
|
+
self
|
130
|
+
end
|
131
|
+
|
132
|
+
# Deserializes the data based on type
|
133
|
+
# @param string type Data type
|
134
|
+
# @param string value Value to be deserialized
|
135
|
+
# @return [Object] Deserialized data
|
136
|
+
def _deserialize(type, value)
|
137
|
+
case type.to_sym
|
138
|
+
when :Time
|
139
|
+
Time.parse(value)
|
140
|
+
when :Date
|
141
|
+
Date.parse(value)
|
142
|
+
when :String
|
143
|
+
value.to_s
|
144
|
+
when :Integer
|
145
|
+
value.to_i
|
146
|
+
when :Float
|
147
|
+
value.to_f
|
148
|
+
when :Boolean
|
149
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
150
|
+
true
|
151
|
+
else
|
152
|
+
false
|
153
|
+
end
|
154
|
+
when :Object
|
155
|
+
# generic object (usually a Hash), return directly
|
156
|
+
value
|
157
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
158
|
+
inner_type = Regexp.last_match[:inner_type]
|
159
|
+
value.map { |v| _deserialize(inner_type, v) }
|
160
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
161
|
+
k_type = Regexp.last_match[:k_type]
|
162
|
+
v_type = Regexp.last_match[:v_type]
|
163
|
+
{}.tap do |hash|
|
164
|
+
value.each do |k, v|
|
165
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
166
|
+
end
|
167
|
+
end
|
168
|
+
else # model
|
169
|
+
# models (e.g. Pet) or oneOf
|
170
|
+
klass = OryClient.const_get(type)
|
171
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
172
|
+
end
|
173
|
+
end
|
174
|
+
|
175
|
+
# Returns the string representation of the object
|
176
|
+
# @return [String] String presentation of the object
|
177
|
+
def to_s
|
178
|
+
to_hash.to_s
|
179
|
+
end
|
180
|
+
|
181
|
+
# to_body is an alias to to_hash (backward compatibility)
|
182
|
+
# @return [Hash] Returns the object in the form of hash
|
183
|
+
def to_body
|
184
|
+
to_hash
|
185
|
+
end
|
186
|
+
|
187
|
+
# Returns the object in the form of hash
|
188
|
+
# @return [Hash] Returns the object in the form of hash
|
189
|
+
def to_hash
|
190
|
+
hash = {}
|
191
|
+
self.class.attribute_map.each_pair do |attr, param|
|
192
|
+
value = self.send(attr)
|
193
|
+
if value.nil?
|
194
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
195
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
196
|
+
end
|
197
|
+
|
198
|
+
hash[param] = _to_hash(value)
|
199
|
+
end
|
200
|
+
hash
|
201
|
+
end
|
202
|
+
|
203
|
+
# Outputs non-array value in the form of hash
|
204
|
+
# For object, use to_hash. Otherwise, just return the value
|
205
|
+
# @param [Object] value Any valid value
|
206
|
+
# @return [Hash] Returns the value in the form of hash
|
207
|
+
def _to_hash(value)
|
208
|
+
if value.is_a?(Array)
|
209
|
+
value.compact.map { |v| _to_hash(v) }
|
210
|
+
elsif value.is_a?(Hash)
|
211
|
+
{}.tap do |hash|
|
212
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
213
|
+
end
|
214
|
+
elsif value.respond_to? :to_hash
|
215
|
+
value.to_hash
|
216
|
+
else
|
217
|
+
value
|
218
|
+
end
|
219
|
+
end
|
220
|
+
|
221
|
+
end
|
222
|
+
|
223
|
+
end
|
@@ -3,7 +3,7 @@
|
|
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.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.133
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -14,8 +14,7 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module OryClient
|
17
|
-
class
|
18
|
-
# The Ory Kratos config to import
|
17
|
+
class ProjectServices
|
19
18
|
attr_accessor :identity
|
20
19
|
|
21
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -33,7 +32,7 @@ module OryClient
|
|
33
32
|
# Attribute type mapping.
|
34
33
|
def self.openapi_types
|
35
34
|
{
|
36
|
-
:'identity' => :'
|
35
|
+
:'identity' => :'ProjectServiceIdentity'
|
37
36
|
}
|
38
37
|
end
|
39
38
|
|
@@ -47,13 +46,13 @@ module OryClient
|
|
47
46
|
# @param [Hash] attributes Model attributes in the form of hash
|
48
47
|
def initialize(attributes = {})
|
49
48
|
if (!attributes.is_a?(Hash))
|
50
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::
|
49
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::ProjectServices` initialize method"
|
51
50
|
end
|
52
51
|
|
53
52
|
# check to see if the attribute exists and convert string to symbol for hash key
|
54
53
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
55
54
|
if (!self.class.attribute_map.key?(k.to_sym))
|
56
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::
|
55
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::ProjectServices`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
57
56
|
end
|
58
57
|
h[k.to_sym] = v
|
59
58
|
}
|
@@ -3,7 +3,7 @@
|
|
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.0.1-alpha.
|
6
|
+
The version of the OpenAPI document: v0.0.1-alpha.133
|
7
7
|
Contact: support@ory.sh
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|