=begin #Ory APIs #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. The version of the OpenAPI document: v0.1.0-alpha.8 Contact: support@ory.sh Generated by: https://openapi-generator.tech OpenAPI Generator version: 5.4.0 =end require 'date' require 'time' module OryClient class NormalizedProjectRevision # The Project's Revision Creation Date attr_accessor :created_at attr_accessor :id attr_accessor :keto_namespaces attr_accessor :keto_read_max_depth # Configures the Ory Kratos Cookie SameSite Attribute This governs the \"cookies.same_site\" setting. attr_accessor :kratos_cookies_same_site # Configures the Ory Kratos SMTP Connection URI This governs the \"courier.smtp.connection_uri\" setting. attr_accessor :kratos_courier_smtp_connection_uri # Configures the Ory Kratos SMTP From Address This governs the \"courier.smtp.from_address\" setting. attr_accessor :kratos_courier_smtp_from_address # Configures the Ory Kratos SMTP From Name This governs the \"courier.smtp.from_name\" setting. attr_accessor :kratos_courier_smtp_from_name # NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- attr_accessor :kratos_courier_smtp_headers # Configures the Ory Kratos Invalid Recovery Email Body HTML Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting. attr_accessor :kratos_courier_templates_recovery_invalid_email_body_html # Configures the Ory Kratos Invalid Recovery Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.plaintext\" setting. attr_accessor :kratos_courier_templates_recovery_invalid_email_body_plaintext # Configures the Ory Kratos Invalid Recovery Email Subject Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting. attr_accessor :kratos_courier_templates_recovery_invalid_email_subject # Configures the Ory Kratos Valid Recovery Email Body HTML Template This governs the \"courier.smtp.templates.recovery.valid.email.body.html\" setting. attr_accessor :kratos_courier_templates_recovery_valid_email_body_html # Configures the Ory Kratos Valid Recovery Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery.valid.email.body.plaintext\" setting. attr_accessor :kratos_courier_templates_recovery_valid_email_body_plaintext # Configures the Ory Kratos Valid Recovery Email Subject Template This governs the \"courier.smtp.templates.recovery.valid.email.subject\" setting. attr_accessor :kratos_courier_templates_recovery_valid_email_subject # Configures the Ory Kratos Invalid Verification Email Body HTML Template This governs the \"courier.smtp.templates.verification.invalid.email.body.html\" setting. attr_accessor :kratos_courier_templates_verification_invalid_email_body_html # Configures the Ory Kratos Invalid Verification Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.plaintext\" setting. attr_accessor :kratos_courier_templates_verification_invalid_email_body_plaintext # Configures the Ory Kratos Invalid Verification Email Subject Template This governs the \"courier.smtp.templates.verification.invalid.email.subject\" setting. attr_accessor :kratos_courier_templates_verification_invalid_email_subject # Configures the Ory Kratos Valid Verification Email Body HTML Template This governs the \"courier.smtp.templates.verification.valid.email.body.html\" setting. attr_accessor :kratos_courier_templates_verification_valid_email_body_html # Configures the Ory Kratos Valid Verification Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery.valid.email.body.plaintext\" setting. attr_accessor :kratos_courier_templates_verification_valid_email_body_plaintext # Configures the Ory Kratos Valid Verification Email Subject Template This governs the \"courier.smtp.templates.verification.valid.email.subject\" setting. attr_accessor :kratos_courier_templates_verification_valid_email_subject attr_accessor :kratos_identity_schemas attr_accessor :kratos_secrets_cipher attr_accessor :kratos_secrets_cookie attr_accessor :kratos_secrets_default attr_accessor :kratos_selfservice_allowed_return_urls # Configures the Ory Kratos Default Return URL This governs the \"selfservice.allowed_return_urls\" setting. attr_accessor :kratos_selfservice_default_browser_return_url # Configures the Ory Kratos Error UI URL This governs the \"selfservice.flows.error.ui_url\" setting. attr_accessor :kratos_selfservice_flows_error_ui_url attr_accessor :kratos_selfservice_flows_hooks # Configures the Ory Kratos Login Default Return URL This governs the \"selfservice.flows.login.after.default_browser_return_url\" setting. attr_accessor :kratos_selfservice_flows_login_after_default_browser_return_url # Configures the Ory Kratos Login After OIDC Default Return URL This governs the \"selfservice.flows.login.after.oidc.default_browser_return_url\" setting. attr_accessor :kratos_selfservice_flows_login_after_oidc_default_browser_return_url # Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.login.after.password.default_browser_return_url\" setting. attr_accessor :kratos_selfservice_flows_login_after_password_default_browser_return_url # Configures the Ory Kratos Login After WebAuthn Default Return URL This governs the \"selfservice.flows.login.after.webauthn.default_browser_return_url\" setting. attr_accessor :kratos_selfservice_flows_login_after_webauthn_default_browser_return_url # Configures the Ory Kratos Login Lifespan This governs the \"selfservice.flows.login.lifespan\" setting. attr_accessor :kratos_selfservice_flows_login_lifespan # Configures the Ory Kratos Login UI URL This governs the \"selfservice.flows.login.ui_url\" setting. attr_accessor :kratos_selfservice_flows_login_ui_url # Configures the Ory Kratos Logout Default Return URL This governs the \"selfservice.flows.logout.after.default_browser_return_url\" setting. attr_accessor :kratos_selfservice_flows_logout_after_default_browser_return_url # Configures the Ory Kratos Recovery Default Return URL This governs the \"selfservice.flows.recovery.after.default_browser_return_url\" setting. attr_accessor :kratos_selfservice_flows_recovery_after_default_browser_return_url # Configures the Ory Kratos Recovery Enabled Setting This governs the \"selfservice.flows.recovery.enabled\" setting. attr_accessor :kratos_selfservice_flows_recovery_enabled # Configures the Ory Kratos Recovery Lifespan This governs the \"selfservice.flows.recovery.lifespan\" setting. attr_accessor :kratos_selfservice_flows_recovery_lifespan # Configures the Ory Kratos Recovery UI URL This governs the \"selfservice.flows.recovery.ui_url\" setting. attr_accessor :kratos_selfservice_flows_recovery_ui_url # Configures the Ory Kratos Registration Default Return URL This governs the \"selfservice.flows.registration.after.default_browser_return_url\" setting. attr_accessor :kratos_selfservice_flows_registration_after_default_browser_return_url # Configures the Ory Kratos Registration After OIDC Default Return URL This governs the \"selfservice.flows.registration.after.oidc.default_browser_return_url\" setting. attr_accessor :kratos_selfservice_flows_registration_after_oidc_default_browser_return_url # Configures the Ory Kratos Registration After Password Default Return URL This governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting. attr_accessor :kratos_selfservice_flows_registration_after_password_default_browser_return_url # Configures the Ory Kratos Registration After Password Default Return URL This governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting. attr_accessor :kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url attr_accessor :kratos_selfservice_flows_registration_enabled # Configures the Ory Kratos Registration Lifespan This governs the \"selfservice.flows.registration.lifespan\" setting. attr_accessor :kratos_selfservice_flows_registration_lifespan # Configures the Ory Kratos Registration UI URL This governs the \"selfservice.flows.registration.ui_url\" setting. attr_accessor :kratos_selfservice_flows_registration_ui_url # Configures the Ory Kratos Settings Default Return URL This governs the \"selfservice.flows.settings.after.default_browser_return_url\" setting. attr_accessor :kratos_selfservice_flows_settings_after_default_browser_return_url # Configures the Ory Kratos Settings Default Return URL After Updating Passwords This governs the \"selfservice.flows.settings.after.password.default_browser_return_url\" setting. attr_accessor :kratos_selfservice_flows_settings_after_password_default_browser_return_url # Configures the Ory Kratos Settings Default Return URL After Updating Profiles This governs the \"selfservice.flows.settings.after.profile.default_browser_return_url\" setting. attr_accessor :kratos_selfservice_flows_settings_after_profile_default_browser_return_url # Configures the Ory Kratos Settings Lifespan This governs the \"selfservice.flows.settings.lifespan\" setting. attr_accessor :kratos_selfservice_flows_settings_lifespan # Configures the Ory Kratos Settings Privileged Session Max Age This governs the \"selfservice.flows.settings.privileged_session_max_age\" setting. attr_accessor :kratos_selfservice_flows_settings_privileged_session_max_age # Configures the Ory Kratos Settings Required AAL This governs the \"selfservice.flows.settings.required_aal\" setting. attr_accessor :kratos_selfservice_flows_settings_required_aal # Configures the Ory Kratos Settings UI URL This governs the \"selfservice.flows.settings.ui_url\" setting. attr_accessor :kratos_selfservice_flows_settings_ui_url # Configures the Ory Kratos Verification Default Return URL This governs the \"selfservice.flows.verification.after.default_browser_return_url\" setting. attr_accessor :kratos_selfservice_flows_verification_after_default_browser_return_url # Configures the Ory Kratos Verification Enabled Setting This governs the \"selfservice.flows.verification.enabled\" setting. attr_accessor :kratos_selfservice_flows_verification_enabled # Configures the Ory Kratos Verification Lifespan This governs the \"selfservice.flows.verification.lifespan\" setting. attr_accessor :kratos_selfservice_flows_verification_lifespan # Configures the Ory Kratos Verification UI URL This governs the \"selfservice.flows.verification.ui_url\" setting. attr_accessor :kratos_selfservice_flows_verification_ui_url # Configures the Base URL which Recovery, Verification, and Login Links Point to It is recommended to leave this value empty. It will be appropriately configured to the best matching domain (e.g. when using custom domains) automatically. This governs the \"selfservice.methods.link.config.base_url\" setting. attr_accessor :kratos_selfservice_methods_link_config_base_url # Configures whether Ory Kratos Link Method is enabled This governs the \"selfservice.methods.link.config.lifespan\" setting. attr_accessor :kratos_selfservice_methods_link_config_lifespan attr_accessor :kratos_selfservice_methods_link_enabled attr_accessor :kratos_selfservice_methods_lookup_secret_enabled # Configures the Ory Kratos Third Party / OpenID Connect base redirect URI This governs the \"selfservice.methods.oidc.config.base_redirect_uri\" setting. attr_accessor :kratos_selfservice_methods_oidc_config_base_redirect_uri attr_accessor :kratos_selfservice_methods_oidc_config_providers # Configures whether Ory Kratos Third Party / OpenID Connect Login is enabled This governs the \"selfservice.methods.oidc.enabled\" setting. attr_accessor :kratos_selfservice_methods_oidc_enabled attr_accessor :kratos_selfservice_methods_password_config_haveibeenpwned_enabled attr_accessor :kratos_selfservice_methods_password_config_identifier_similarity_check_enabled attr_accessor :kratos_selfservice_methods_password_config_ignore_network_errors # Configures Ory Kratos Password Max Breaches Detection This governs the \"selfservice.methods.password.config.max_breaches\" setting. attr_accessor :kratos_selfservice_methods_password_config_max_breaches # Configures the minimum length of passwords. This governs the \"selfservice.methods.password.config.min_password_length\" setting. attr_accessor :kratos_selfservice_methods_password_config_min_password_length attr_accessor :kratos_selfservice_methods_password_enabled attr_accessor :kratos_selfservice_methods_profile_enabled # Configures Ory Kratos TOTP Issuer This governs the \"selfservice.methods.totp.config.issuer\" setting. attr_accessor :kratos_selfservice_methods_totp_config_issuer attr_accessor :kratos_selfservice_methods_totp_enabled # Configures whether Ory Kratos Webauthn is used for passwordless flows This governs the \"selfservice.methods.webauthn.config.passwordless\" setting. attr_accessor :kratos_selfservice_methods_webauthn_config_passwordless # Configures the Ory Kratos Webauthn RP Display Name This governs the \"selfservice.methods.webauthn.config.rp.display_name\" setting. attr_accessor :kratos_selfservice_methods_webauthn_config_rp_display_name # Configures the Ory Kratos Webauthn RP Icon This governs the \"selfservice.methods.webauthn.config.rp.icon\" setting. attr_accessor :kratos_selfservice_methods_webauthn_config_rp_icon # Configures the Ory Kratos Webauthn RP ID This governs the \"selfservice.methods.webauthn.config.rp.id\" setting. attr_accessor :kratos_selfservice_methods_webauthn_config_rp_id # Configures the Ory Kratos Webauthn RP Origin This governs the \"selfservice.methods.webauthn.config.rp.origin\" setting. attr_accessor :kratos_selfservice_methods_webauthn_config_rp_origin attr_accessor :kratos_selfservice_methods_webauthn_enabled attr_accessor :kratos_session_cookie_persistent # Configures the Ory Kratos Session Cookie SameSite Attribute This governs the \"session.cookie.same_site\" setting. attr_accessor :kratos_session_cookie_same_site # Configures the Ory Kratos Session Lifespan This governs the \"session.lifespan\" setting. attr_accessor :kratos_session_lifespan # Configures the Ory Kratos Session Whoami AAL requirement This governs the \"session.whoami.required_aal\" setting. attr_accessor :kratos_session_whoami_required_aal # The project's name. attr_accessor :name attr_accessor :project_id # Last Time Project's Revision was Updated attr_accessor :updated_at # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'created_at' => :'created_at', :'id' => :'id', :'keto_namespaces' => :'keto_namespaces', :'keto_read_max_depth' => :'keto_read_max_depth', :'kratos_cookies_same_site' => :'kratos_cookies_same_site', :'kratos_courier_smtp_connection_uri' => :'kratos_courier_smtp_connection_uri', :'kratos_courier_smtp_from_address' => :'kratos_courier_smtp_from_address', :'kratos_courier_smtp_from_name' => :'kratos_courier_smtp_from_name', :'kratos_courier_smtp_headers' => :'kratos_courier_smtp_headers', :'kratos_courier_templates_recovery_invalid_email_body_html' => :'kratos_courier_templates_recovery_invalid_email_body_html', :'kratos_courier_templates_recovery_invalid_email_body_plaintext' => :'kratos_courier_templates_recovery_invalid_email_body_plaintext', :'kratos_courier_templates_recovery_invalid_email_subject' => :'kratos_courier_templates_recovery_invalid_email_subject', :'kratos_courier_templates_recovery_valid_email_body_html' => :'kratos_courier_templates_recovery_valid_email_body_html', :'kratos_courier_templates_recovery_valid_email_body_plaintext' => :'kratos_courier_templates_recovery_valid_email_body_plaintext', :'kratos_courier_templates_recovery_valid_email_subject' => :'kratos_courier_templates_recovery_valid_email_subject', :'kratos_courier_templates_verification_invalid_email_body_html' => :'kratos_courier_templates_verification_invalid_email_body_html', :'kratos_courier_templates_verification_invalid_email_body_plaintext' => :'kratos_courier_templates_verification_invalid_email_body_plaintext', :'kratos_courier_templates_verification_invalid_email_subject' => :'kratos_courier_templates_verification_invalid_email_subject', :'kratos_courier_templates_verification_valid_email_body_html' => :'kratos_courier_templates_verification_valid_email_body_html', :'kratos_courier_templates_verification_valid_email_body_plaintext' => :'kratos_courier_templates_verification_valid_email_body_plaintext', :'kratos_courier_templates_verification_valid_email_subject' => :'kratos_courier_templates_verification_valid_email_subject', :'kratos_identity_schemas' => :'kratos_identity_schemas', :'kratos_secrets_cipher' => :'kratos_secrets_cipher', :'kratos_secrets_cookie' => :'kratos_secrets_cookie', :'kratos_secrets_default' => :'kratos_secrets_default', :'kratos_selfservice_allowed_return_urls' => :'kratos_selfservice_allowed_return_urls', :'kratos_selfservice_default_browser_return_url' => :'kratos_selfservice_default_browser_return_url', :'kratos_selfservice_flows_error_ui_url' => :'kratos_selfservice_flows_error_ui_url', :'kratos_selfservice_flows_hooks' => :'kratos_selfservice_flows_hooks', :'kratos_selfservice_flows_login_after_default_browser_return_url' => :'kratos_selfservice_flows_login_after_default_browser_return_url', :'kratos_selfservice_flows_login_after_oidc_default_browser_return_url' => :'kratos_selfservice_flows_login_after_oidc_default_browser_return_url', :'kratos_selfservice_flows_login_after_password_default_browser_return_url' => :'kratos_selfservice_flows_login_after_password_default_browser_return_url', :'kratos_selfservice_flows_login_after_webauthn_default_browser_return_url' => :'kratos_selfservice_flows_login_after_webauthn_default_browser_return_url', :'kratos_selfservice_flows_login_lifespan' => :'kratos_selfservice_flows_login_lifespan', :'kratos_selfservice_flows_login_ui_url' => :'kratos_selfservice_flows_login_ui_url', :'kratos_selfservice_flows_logout_after_default_browser_return_url' => :'kratos_selfservice_flows_logout_after_default_browser_return_url', :'kratos_selfservice_flows_recovery_after_default_browser_return_url' => :'kratos_selfservice_flows_recovery_after_default_browser_return_url', :'kratos_selfservice_flows_recovery_enabled' => :'kratos_selfservice_flows_recovery_enabled', :'kratos_selfservice_flows_recovery_lifespan' => :'kratos_selfservice_flows_recovery_lifespan', :'kratos_selfservice_flows_recovery_ui_url' => :'kratos_selfservice_flows_recovery_ui_url', :'kratos_selfservice_flows_registration_after_default_browser_return_url' => :'kratos_selfservice_flows_registration_after_default_browser_return_url', :'kratos_selfservice_flows_registration_after_oidc_default_browser_return_url' => :'kratos_selfservice_flows_registration_after_oidc_default_browser_return_url', :'kratos_selfservice_flows_registration_after_password_default_browser_return_url' => :'kratos_selfservice_flows_registration_after_password_default_browser_return_url', :'kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url' => :'kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url', :'kratos_selfservice_flows_registration_enabled' => :'kratos_selfservice_flows_registration_enabled', :'kratos_selfservice_flows_registration_lifespan' => :'kratos_selfservice_flows_registration_lifespan', :'kratos_selfservice_flows_registration_ui_url' => :'kratos_selfservice_flows_registration_ui_url', :'kratos_selfservice_flows_settings_after_default_browser_return_url' => :'kratos_selfservice_flows_settings_after_default_browser_return_url', :'kratos_selfservice_flows_settings_after_password_default_browser_return_url' => :'kratos_selfservice_flows_settings_after_password_default_browser_return_url', :'kratos_selfservice_flows_settings_after_profile_default_browser_return_url' => :'kratos_selfservice_flows_settings_after_profile_default_browser_return_url', :'kratos_selfservice_flows_settings_lifespan' => :'kratos_selfservice_flows_settings_lifespan', :'kratos_selfservice_flows_settings_privileged_session_max_age' => :'kratos_selfservice_flows_settings_privileged_session_max_age', :'kratos_selfservice_flows_settings_required_aal' => :'kratos_selfservice_flows_settings_required_aal', :'kratos_selfservice_flows_settings_ui_url' => :'kratos_selfservice_flows_settings_ui_url', :'kratos_selfservice_flows_verification_after_default_browser_return_url' => :'kratos_selfservice_flows_verification_after_default_browser_return_url', :'kratos_selfservice_flows_verification_enabled' => :'kratos_selfservice_flows_verification_enabled', :'kratos_selfservice_flows_verification_lifespan' => :'kratos_selfservice_flows_verification_lifespan', :'kratos_selfservice_flows_verification_ui_url' => :'kratos_selfservice_flows_verification_ui_url', :'kratos_selfservice_methods_link_config_base_url' => :'kratos_selfservice_methods_link_config_base_url', :'kratos_selfservice_methods_link_config_lifespan' => :'kratos_selfservice_methods_link_config_lifespan', :'kratos_selfservice_methods_link_enabled' => :'kratos_selfservice_methods_link_enabled', :'kratos_selfservice_methods_lookup_secret_enabled' => :'kratos_selfservice_methods_lookup_secret_enabled', :'kratos_selfservice_methods_oidc_config_base_redirect_uri' => :'kratos_selfservice_methods_oidc_config_base_redirect_uri', :'kratos_selfservice_methods_oidc_config_providers' => :'kratos_selfservice_methods_oidc_config_providers', :'kratos_selfservice_methods_oidc_enabled' => :'kratos_selfservice_methods_oidc_enabled', :'kratos_selfservice_methods_password_config_haveibeenpwned_enabled' => :'kratos_selfservice_methods_password_config_haveibeenpwned_enabled', :'kratos_selfservice_methods_password_config_identifier_similarity_check_enabled' => :'kratos_selfservice_methods_password_config_identifier_similarity_check_enabled', :'kratos_selfservice_methods_password_config_ignore_network_errors' => :'kratos_selfservice_methods_password_config_ignore_network_errors', :'kratos_selfservice_methods_password_config_max_breaches' => :'kratos_selfservice_methods_password_config_max_breaches', :'kratos_selfservice_methods_password_config_min_password_length' => :'kratos_selfservice_methods_password_config_min_password_length', :'kratos_selfservice_methods_password_enabled' => :'kratos_selfservice_methods_password_enabled', :'kratos_selfservice_methods_profile_enabled' => :'kratos_selfservice_methods_profile_enabled', :'kratos_selfservice_methods_totp_config_issuer' => :'kratos_selfservice_methods_totp_config_issuer', :'kratos_selfservice_methods_totp_enabled' => :'kratos_selfservice_methods_totp_enabled', :'kratos_selfservice_methods_webauthn_config_passwordless' => :'kratos_selfservice_methods_webauthn_config_passwordless', :'kratos_selfservice_methods_webauthn_config_rp_display_name' => :'kratos_selfservice_methods_webauthn_config_rp_display_name', :'kratos_selfservice_methods_webauthn_config_rp_icon' => :'kratos_selfservice_methods_webauthn_config_rp_icon', :'kratos_selfservice_methods_webauthn_config_rp_id' => :'kratos_selfservice_methods_webauthn_config_rp_id', :'kratos_selfservice_methods_webauthn_config_rp_origin' => :'kratos_selfservice_methods_webauthn_config_rp_origin', :'kratos_selfservice_methods_webauthn_enabled' => :'kratos_selfservice_methods_webauthn_enabled', :'kratos_session_cookie_persistent' => :'kratos_session_cookie_persistent', :'kratos_session_cookie_same_site' => :'kratos_session_cookie_same_site', :'kratos_session_lifespan' => :'kratos_session_lifespan', :'kratos_session_whoami_required_aal' => :'kratos_session_whoami_required_aal', :'name' => :'name', :'project_id' => :'project_id', :'updated_at' => :'updated_at' } end # Returns all the JSON keys this model knows about def self.acceptable_attributes attribute_map.values end # Attribute type mapping. def self.openapi_types { :'created_at' => :'Time', :'id' => :'String', :'keto_namespaces' => :'Array', :'keto_read_max_depth' => :'Integer', :'kratos_cookies_same_site' => :'String', :'kratos_courier_smtp_connection_uri' => :'String', :'kratos_courier_smtp_from_address' => :'String', :'kratos_courier_smtp_from_name' => :'String', :'kratos_courier_smtp_headers' => :'Object', :'kratos_courier_templates_recovery_invalid_email_body_html' => :'String', :'kratos_courier_templates_recovery_invalid_email_body_plaintext' => :'String', :'kratos_courier_templates_recovery_invalid_email_subject' => :'String', :'kratos_courier_templates_recovery_valid_email_body_html' => :'String', :'kratos_courier_templates_recovery_valid_email_body_plaintext' => :'String', :'kratos_courier_templates_recovery_valid_email_subject' => :'String', :'kratos_courier_templates_verification_invalid_email_body_html' => :'String', :'kratos_courier_templates_verification_invalid_email_body_plaintext' => :'String', :'kratos_courier_templates_verification_invalid_email_subject' => :'String', :'kratos_courier_templates_verification_valid_email_body_html' => :'String', :'kratos_courier_templates_verification_valid_email_body_plaintext' => :'String', :'kratos_courier_templates_verification_valid_email_subject' => :'String', :'kratos_identity_schemas' => :'Array', :'kratos_secrets_cipher' => :'Array', :'kratos_secrets_cookie' => :'Array', :'kratos_secrets_default' => :'Array', :'kratos_selfservice_allowed_return_urls' => :'Array', :'kratos_selfservice_default_browser_return_url' => :'String', :'kratos_selfservice_flows_error_ui_url' => :'String', :'kratos_selfservice_flows_hooks' => :'Array', :'kratos_selfservice_flows_login_after_default_browser_return_url' => :'String', :'kratos_selfservice_flows_login_after_oidc_default_browser_return_url' => :'String', :'kratos_selfservice_flows_login_after_password_default_browser_return_url' => :'String', :'kratos_selfservice_flows_login_after_webauthn_default_browser_return_url' => :'String', :'kratos_selfservice_flows_login_lifespan' => :'String', :'kratos_selfservice_flows_login_ui_url' => :'String', :'kratos_selfservice_flows_logout_after_default_browser_return_url' => :'String', :'kratos_selfservice_flows_recovery_after_default_browser_return_url' => :'String', :'kratos_selfservice_flows_recovery_enabled' => :'Boolean', :'kratos_selfservice_flows_recovery_lifespan' => :'String', :'kratos_selfservice_flows_recovery_ui_url' => :'String', :'kratos_selfservice_flows_registration_after_default_browser_return_url' => :'String', :'kratos_selfservice_flows_registration_after_oidc_default_browser_return_url' => :'String', :'kratos_selfservice_flows_registration_after_password_default_browser_return_url' => :'String', :'kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url' => :'String', :'kratos_selfservice_flows_registration_enabled' => :'Boolean', :'kratos_selfservice_flows_registration_lifespan' => :'String', :'kratos_selfservice_flows_registration_ui_url' => :'String', :'kratos_selfservice_flows_settings_after_default_browser_return_url' => :'String', :'kratos_selfservice_flows_settings_after_password_default_browser_return_url' => :'String', :'kratos_selfservice_flows_settings_after_profile_default_browser_return_url' => :'String', :'kratos_selfservice_flows_settings_lifespan' => :'String', :'kratos_selfservice_flows_settings_privileged_session_max_age' => :'String', :'kratos_selfservice_flows_settings_required_aal' => :'String', :'kratos_selfservice_flows_settings_ui_url' => :'String', :'kratos_selfservice_flows_verification_after_default_browser_return_url' => :'String', :'kratos_selfservice_flows_verification_enabled' => :'Boolean', :'kratos_selfservice_flows_verification_lifespan' => :'String', :'kratos_selfservice_flows_verification_ui_url' => :'String', :'kratos_selfservice_methods_link_config_base_url' => :'String', :'kratos_selfservice_methods_link_config_lifespan' => :'String', :'kratos_selfservice_methods_link_enabled' => :'Boolean', :'kratos_selfservice_methods_lookup_secret_enabled' => :'Boolean', :'kratos_selfservice_methods_oidc_config_base_redirect_uri' => :'String', :'kratos_selfservice_methods_oidc_config_providers' => :'Array', :'kratos_selfservice_methods_oidc_enabled' => :'Boolean', :'kratos_selfservice_methods_password_config_haveibeenpwned_enabled' => :'Boolean', :'kratos_selfservice_methods_password_config_identifier_similarity_check_enabled' => :'Boolean', :'kratos_selfservice_methods_password_config_ignore_network_errors' => :'Boolean', :'kratos_selfservice_methods_password_config_max_breaches' => :'Integer', :'kratos_selfservice_methods_password_config_min_password_length' => :'Integer', :'kratos_selfservice_methods_password_enabled' => :'Boolean', :'kratos_selfservice_methods_profile_enabled' => :'Boolean', :'kratos_selfservice_methods_totp_config_issuer' => :'String', :'kratos_selfservice_methods_totp_enabled' => :'Boolean', :'kratos_selfservice_methods_webauthn_config_passwordless' => :'Boolean', :'kratos_selfservice_methods_webauthn_config_rp_display_name' => :'String', :'kratos_selfservice_methods_webauthn_config_rp_icon' => :'String', :'kratos_selfservice_methods_webauthn_config_rp_id' => :'String', :'kratos_selfservice_methods_webauthn_config_rp_origin' => :'String', :'kratos_selfservice_methods_webauthn_enabled' => :'Boolean', :'kratos_session_cookie_persistent' => :'Boolean', :'kratos_session_cookie_same_site' => :'String', :'kratos_session_lifespan' => :'String', :'kratos_session_whoami_required_aal' => :'String', :'name' => :'String', :'project_id' => :'String', :'updated_at' => :'Time' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ :'keto_read_max_depth', :'kratos_selfservice_flows_registration_enabled', :'kratos_selfservice_methods_link_enabled', :'kratos_selfservice_methods_lookup_secret_enabled', :'kratos_selfservice_methods_password_config_haveibeenpwned_enabled', :'kratos_selfservice_methods_password_config_identifier_similarity_check_enabled', :'kratos_selfservice_methods_password_config_ignore_network_errors', :'kratos_selfservice_methods_password_enabled', :'kratos_selfservice_methods_profile_enabled', :'kratos_selfservice_methods_totp_enabled', :'kratos_selfservice_methods_webauthn_enabled', :'kratos_session_cookie_persistent', ]) end # Initializes the object # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) if (!attributes.is_a?(Hash)) fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::NormalizedProjectRevision` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::NormalizedProjectRevision`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } if attributes.key?(:'created_at') self.created_at = attributes[:'created_at'] end if attributes.key?(:'id') self.id = attributes[:'id'] end if attributes.key?(:'keto_namespaces') if (value = attributes[:'keto_namespaces']).is_a?(Array) self.keto_namespaces = value end end if attributes.key?(:'keto_read_max_depth') self.keto_read_max_depth = attributes[:'keto_read_max_depth'] end if attributes.key?(:'kratos_cookies_same_site') self.kratos_cookies_same_site = attributes[:'kratos_cookies_same_site'] end if attributes.key?(:'kratos_courier_smtp_connection_uri') self.kratos_courier_smtp_connection_uri = attributes[:'kratos_courier_smtp_connection_uri'] end if attributes.key?(:'kratos_courier_smtp_from_address') self.kratos_courier_smtp_from_address = attributes[:'kratos_courier_smtp_from_address'] end if attributes.key?(:'kratos_courier_smtp_from_name') self.kratos_courier_smtp_from_name = attributes[:'kratos_courier_smtp_from_name'] end if attributes.key?(:'kratos_courier_smtp_headers') self.kratos_courier_smtp_headers = attributes[:'kratos_courier_smtp_headers'] end if attributes.key?(:'kratos_courier_templates_recovery_invalid_email_body_html') self.kratos_courier_templates_recovery_invalid_email_body_html = attributes[:'kratos_courier_templates_recovery_invalid_email_body_html'] end if attributes.key?(:'kratos_courier_templates_recovery_invalid_email_body_plaintext') self.kratos_courier_templates_recovery_invalid_email_body_plaintext = attributes[:'kratos_courier_templates_recovery_invalid_email_body_plaintext'] end if attributes.key?(:'kratos_courier_templates_recovery_invalid_email_subject') self.kratos_courier_templates_recovery_invalid_email_subject = attributes[:'kratos_courier_templates_recovery_invalid_email_subject'] end if attributes.key?(:'kratos_courier_templates_recovery_valid_email_body_html') self.kratos_courier_templates_recovery_valid_email_body_html = attributes[:'kratos_courier_templates_recovery_valid_email_body_html'] end if attributes.key?(:'kratos_courier_templates_recovery_valid_email_body_plaintext') self.kratos_courier_templates_recovery_valid_email_body_plaintext = attributes[:'kratos_courier_templates_recovery_valid_email_body_plaintext'] end if attributes.key?(:'kratos_courier_templates_recovery_valid_email_subject') self.kratos_courier_templates_recovery_valid_email_subject = attributes[:'kratos_courier_templates_recovery_valid_email_subject'] end if attributes.key?(:'kratos_courier_templates_verification_invalid_email_body_html') self.kratos_courier_templates_verification_invalid_email_body_html = attributes[:'kratos_courier_templates_verification_invalid_email_body_html'] end if attributes.key?(:'kratos_courier_templates_verification_invalid_email_body_plaintext') self.kratos_courier_templates_verification_invalid_email_body_plaintext = attributes[:'kratos_courier_templates_verification_invalid_email_body_plaintext'] end if attributes.key?(:'kratos_courier_templates_verification_invalid_email_subject') self.kratos_courier_templates_verification_invalid_email_subject = attributes[:'kratos_courier_templates_verification_invalid_email_subject'] end if attributes.key?(:'kratos_courier_templates_verification_valid_email_body_html') self.kratos_courier_templates_verification_valid_email_body_html = attributes[:'kratos_courier_templates_verification_valid_email_body_html'] end if attributes.key?(:'kratos_courier_templates_verification_valid_email_body_plaintext') self.kratos_courier_templates_verification_valid_email_body_plaintext = attributes[:'kratos_courier_templates_verification_valid_email_body_plaintext'] end if attributes.key?(:'kratos_courier_templates_verification_valid_email_subject') self.kratos_courier_templates_verification_valid_email_subject = attributes[:'kratos_courier_templates_verification_valid_email_subject'] end if attributes.key?(:'kratos_identity_schemas') if (value = attributes[:'kratos_identity_schemas']).is_a?(Array) self.kratos_identity_schemas = value end end if attributes.key?(:'kratos_secrets_cipher') if (value = attributes[:'kratos_secrets_cipher']).is_a?(Array) self.kratos_secrets_cipher = value end end if attributes.key?(:'kratos_secrets_cookie') if (value = attributes[:'kratos_secrets_cookie']).is_a?(Array) self.kratos_secrets_cookie = value end end if attributes.key?(:'kratos_secrets_default') if (value = attributes[:'kratos_secrets_default']).is_a?(Array) self.kratos_secrets_default = value end end if attributes.key?(:'kratos_selfservice_allowed_return_urls') if (value = attributes[:'kratos_selfservice_allowed_return_urls']).is_a?(Array) self.kratos_selfservice_allowed_return_urls = value end end if attributes.key?(:'kratos_selfservice_default_browser_return_url') self.kratos_selfservice_default_browser_return_url = attributes[:'kratos_selfservice_default_browser_return_url'] end if attributes.key?(:'kratos_selfservice_flows_error_ui_url') self.kratos_selfservice_flows_error_ui_url = attributes[:'kratos_selfservice_flows_error_ui_url'] end if attributes.key?(:'kratos_selfservice_flows_hooks') if (value = attributes[:'kratos_selfservice_flows_hooks']).is_a?(Array) self.kratos_selfservice_flows_hooks = value end end if attributes.key?(:'kratos_selfservice_flows_login_after_default_browser_return_url') self.kratos_selfservice_flows_login_after_default_browser_return_url = attributes[:'kratos_selfservice_flows_login_after_default_browser_return_url'] end if attributes.key?(:'kratos_selfservice_flows_login_after_oidc_default_browser_return_url') self.kratos_selfservice_flows_login_after_oidc_default_browser_return_url = attributes[:'kratos_selfservice_flows_login_after_oidc_default_browser_return_url'] end if attributes.key?(:'kratos_selfservice_flows_login_after_password_default_browser_return_url') self.kratos_selfservice_flows_login_after_password_default_browser_return_url = attributes[:'kratos_selfservice_flows_login_after_password_default_browser_return_url'] end if attributes.key?(:'kratos_selfservice_flows_login_after_webauthn_default_browser_return_url') self.kratos_selfservice_flows_login_after_webauthn_default_browser_return_url = attributes[:'kratos_selfservice_flows_login_after_webauthn_default_browser_return_url'] end if attributes.key?(:'kratos_selfservice_flows_login_lifespan') self.kratos_selfservice_flows_login_lifespan = attributes[:'kratos_selfservice_flows_login_lifespan'] end if attributes.key?(:'kratos_selfservice_flows_login_ui_url') self.kratos_selfservice_flows_login_ui_url = attributes[:'kratos_selfservice_flows_login_ui_url'] end if attributes.key?(:'kratos_selfservice_flows_logout_after_default_browser_return_url') self.kratos_selfservice_flows_logout_after_default_browser_return_url = attributes[:'kratos_selfservice_flows_logout_after_default_browser_return_url'] end if attributes.key?(:'kratos_selfservice_flows_recovery_after_default_browser_return_url') self.kratos_selfservice_flows_recovery_after_default_browser_return_url = attributes[:'kratos_selfservice_flows_recovery_after_default_browser_return_url'] end if attributes.key?(:'kratos_selfservice_flows_recovery_enabled') self.kratos_selfservice_flows_recovery_enabled = attributes[:'kratos_selfservice_flows_recovery_enabled'] end if attributes.key?(:'kratos_selfservice_flows_recovery_lifespan') self.kratos_selfservice_flows_recovery_lifespan = attributes[:'kratos_selfservice_flows_recovery_lifespan'] end if attributes.key?(:'kratos_selfservice_flows_recovery_ui_url') self.kratos_selfservice_flows_recovery_ui_url = attributes[:'kratos_selfservice_flows_recovery_ui_url'] end if attributes.key?(:'kratos_selfservice_flows_registration_after_default_browser_return_url') self.kratos_selfservice_flows_registration_after_default_browser_return_url = attributes[:'kratos_selfservice_flows_registration_after_default_browser_return_url'] end if attributes.key?(:'kratos_selfservice_flows_registration_after_oidc_default_browser_return_url') self.kratos_selfservice_flows_registration_after_oidc_default_browser_return_url = attributes[:'kratos_selfservice_flows_registration_after_oidc_default_browser_return_url'] end if attributes.key?(:'kratos_selfservice_flows_registration_after_password_default_browser_return_url') self.kratos_selfservice_flows_registration_after_password_default_browser_return_url = attributes[:'kratos_selfservice_flows_registration_after_password_default_browser_return_url'] end if attributes.key?(:'kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url') self.kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url = attributes[:'kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url'] end if attributes.key?(:'kratos_selfservice_flows_registration_enabled') self.kratos_selfservice_flows_registration_enabled = attributes[:'kratos_selfservice_flows_registration_enabled'] end if attributes.key?(:'kratos_selfservice_flows_registration_lifespan') self.kratos_selfservice_flows_registration_lifespan = attributes[:'kratos_selfservice_flows_registration_lifespan'] end if attributes.key?(:'kratos_selfservice_flows_registration_ui_url') self.kratos_selfservice_flows_registration_ui_url = attributes[:'kratos_selfservice_flows_registration_ui_url'] end if attributes.key?(:'kratos_selfservice_flows_settings_after_default_browser_return_url') self.kratos_selfservice_flows_settings_after_default_browser_return_url = attributes[:'kratos_selfservice_flows_settings_after_default_browser_return_url'] end if attributes.key?(:'kratos_selfservice_flows_settings_after_password_default_browser_return_url') self.kratos_selfservice_flows_settings_after_password_default_browser_return_url = attributes[:'kratos_selfservice_flows_settings_after_password_default_browser_return_url'] end if attributes.key?(:'kratos_selfservice_flows_settings_after_profile_default_browser_return_url') self.kratos_selfservice_flows_settings_after_profile_default_browser_return_url = attributes[:'kratos_selfservice_flows_settings_after_profile_default_browser_return_url'] end if attributes.key?(:'kratos_selfservice_flows_settings_lifespan') self.kratos_selfservice_flows_settings_lifespan = attributes[:'kratos_selfservice_flows_settings_lifespan'] end if attributes.key?(:'kratos_selfservice_flows_settings_privileged_session_max_age') self.kratos_selfservice_flows_settings_privileged_session_max_age = attributes[:'kratos_selfservice_flows_settings_privileged_session_max_age'] end if attributes.key?(:'kratos_selfservice_flows_settings_required_aal') self.kratos_selfservice_flows_settings_required_aal = attributes[:'kratos_selfservice_flows_settings_required_aal'] end if attributes.key?(:'kratos_selfservice_flows_settings_ui_url') self.kratos_selfservice_flows_settings_ui_url = attributes[:'kratos_selfservice_flows_settings_ui_url'] end if attributes.key?(:'kratos_selfservice_flows_verification_after_default_browser_return_url') self.kratos_selfservice_flows_verification_after_default_browser_return_url = attributes[:'kratos_selfservice_flows_verification_after_default_browser_return_url'] end if attributes.key?(:'kratos_selfservice_flows_verification_enabled') self.kratos_selfservice_flows_verification_enabled = attributes[:'kratos_selfservice_flows_verification_enabled'] end if attributes.key?(:'kratos_selfservice_flows_verification_lifespan') self.kratos_selfservice_flows_verification_lifespan = attributes[:'kratos_selfservice_flows_verification_lifespan'] end if attributes.key?(:'kratos_selfservice_flows_verification_ui_url') self.kratos_selfservice_flows_verification_ui_url = attributes[:'kratos_selfservice_flows_verification_ui_url'] end if attributes.key?(:'kratos_selfservice_methods_link_config_base_url') self.kratos_selfservice_methods_link_config_base_url = attributes[:'kratos_selfservice_methods_link_config_base_url'] end if attributes.key?(:'kratos_selfservice_methods_link_config_lifespan') self.kratos_selfservice_methods_link_config_lifespan = attributes[:'kratos_selfservice_methods_link_config_lifespan'] end if attributes.key?(:'kratos_selfservice_methods_link_enabled') self.kratos_selfservice_methods_link_enabled = attributes[:'kratos_selfservice_methods_link_enabled'] end if attributes.key?(:'kratos_selfservice_methods_lookup_secret_enabled') self.kratos_selfservice_methods_lookup_secret_enabled = attributes[:'kratos_selfservice_methods_lookup_secret_enabled'] end if attributes.key?(:'kratos_selfservice_methods_oidc_config_base_redirect_uri') self.kratos_selfservice_methods_oidc_config_base_redirect_uri = attributes[:'kratos_selfservice_methods_oidc_config_base_redirect_uri'] end if attributes.key?(:'kratos_selfservice_methods_oidc_config_providers') if (value = attributes[:'kratos_selfservice_methods_oidc_config_providers']).is_a?(Array) self.kratos_selfservice_methods_oidc_config_providers = value end end if attributes.key?(:'kratos_selfservice_methods_oidc_enabled') self.kratos_selfservice_methods_oidc_enabled = attributes[:'kratos_selfservice_methods_oidc_enabled'] end if attributes.key?(:'kratos_selfservice_methods_password_config_haveibeenpwned_enabled') self.kratos_selfservice_methods_password_config_haveibeenpwned_enabled = attributes[:'kratos_selfservice_methods_password_config_haveibeenpwned_enabled'] end if attributes.key?(:'kratos_selfservice_methods_password_config_identifier_similarity_check_enabled') self.kratos_selfservice_methods_password_config_identifier_similarity_check_enabled = attributes[:'kratos_selfservice_methods_password_config_identifier_similarity_check_enabled'] end if attributes.key?(:'kratos_selfservice_methods_password_config_ignore_network_errors') self.kratos_selfservice_methods_password_config_ignore_network_errors = attributes[:'kratos_selfservice_methods_password_config_ignore_network_errors'] end if attributes.key?(:'kratos_selfservice_methods_password_config_max_breaches') self.kratos_selfservice_methods_password_config_max_breaches = attributes[:'kratos_selfservice_methods_password_config_max_breaches'] end if attributes.key?(:'kratos_selfservice_methods_password_config_min_password_length') self.kratos_selfservice_methods_password_config_min_password_length = attributes[:'kratos_selfservice_methods_password_config_min_password_length'] end if attributes.key?(:'kratos_selfservice_methods_password_enabled') self.kratos_selfservice_methods_password_enabled = attributes[:'kratos_selfservice_methods_password_enabled'] end if attributes.key?(:'kratos_selfservice_methods_profile_enabled') self.kratos_selfservice_methods_profile_enabled = attributes[:'kratos_selfservice_methods_profile_enabled'] end if attributes.key?(:'kratos_selfservice_methods_totp_config_issuer') self.kratos_selfservice_methods_totp_config_issuer = attributes[:'kratos_selfservice_methods_totp_config_issuer'] end if attributes.key?(:'kratos_selfservice_methods_totp_enabled') self.kratos_selfservice_methods_totp_enabled = attributes[:'kratos_selfservice_methods_totp_enabled'] end if attributes.key?(:'kratos_selfservice_methods_webauthn_config_passwordless') self.kratos_selfservice_methods_webauthn_config_passwordless = attributes[:'kratos_selfservice_methods_webauthn_config_passwordless'] end if attributes.key?(:'kratos_selfservice_methods_webauthn_config_rp_display_name') self.kratos_selfservice_methods_webauthn_config_rp_display_name = attributes[:'kratos_selfservice_methods_webauthn_config_rp_display_name'] end if attributes.key?(:'kratos_selfservice_methods_webauthn_config_rp_icon') self.kratos_selfservice_methods_webauthn_config_rp_icon = attributes[:'kratos_selfservice_methods_webauthn_config_rp_icon'] end if attributes.key?(:'kratos_selfservice_methods_webauthn_config_rp_id') self.kratos_selfservice_methods_webauthn_config_rp_id = attributes[:'kratos_selfservice_methods_webauthn_config_rp_id'] end if attributes.key?(:'kratos_selfservice_methods_webauthn_config_rp_origin') self.kratos_selfservice_methods_webauthn_config_rp_origin = attributes[:'kratos_selfservice_methods_webauthn_config_rp_origin'] end if attributes.key?(:'kratos_selfservice_methods_webauthn_enabled') self.kratos_selfservice_methods_webauthn_enabled = attributes[:'kratos_selfservice_methods_webauthn_enabled'] end if attributes.key?(:'kratos_session_cookie_persistent') self.kratos_session_cookie_persistent = attributes[:'kratos_session_cookie_persistent'] end if attributes.key?(:'kratos_session_cookie_same_site') self.kratos_session_cookie_same_site = attributes[:'kratos_session_cookie_same_site'] end if attributes.key?(:'kratos_session_lifespan') self.kratos_session_lifespan = attributes[:'kratos_session_lifespan'] end if attributes.key?(:'kratos_session_whoami_required_aal') self.kratos_session_whoami_required_aal = attributes[:'kratos_session_whoami_required_aal'] end if attributes.key?(:'name') self.name = attributes[:'name'] end if attributes.key?(:'project_id') self.project_id = attributes[:'project_id'] end if attributes.key?(:'updated_at') self.updated_at = attributes[:'updated_at'] end end # Show invalid properties with the reasons. Usually used together with valid? # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new if @name.nil? invalid_properties.push('invalid value for "name", name cannot be nil.') end invalid_properties end # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? return false if @name.nil? true end # Checks equality by comparing each attribute. # @param [Object] Object to be compared def ==(o) return true if self.equal?(o) self.class == o.class && created_at == o.created_at && id == o.id && keto_namespaces == o.keto_namespaces && keto_read_max_depth == o.keto_read_max_depth && kratos_cookies_same_site == o.kratos_cookies_same_site && kratos_courier_smtp_connection_uri == o.kratos_courier_smtp_connection_uri && kratos_courier_smtp_from_address == o.kratos_courier_smtp_from_address && kratos_courier_smtp_from_name == o.kratos_courier_smtp_from_name && kratos_courier_smtp_headers == o.kratos_courier_smtp_headers && kratos_courier_templates_recovery_invalid_email_body_html == o.kratos_courier_templates_recovery_invalid_email_body_html && kratos_courier_templates_recovery_invalid_email_body_plaintext == o.kratos_courier_templates_recovery_invalid_email_body_plaintext && kratos_courier_templates_recovery_invalid_email_subject == o.kratos_courier_templates_recovery_invalid_email_subject && kratos_courier_templates_recovery_valid_email_body_html == o.kratos_courier_templates_recovery_valid_email_body_html && kratos_courier_templates_recovery_valid_email_body_plaintext == o.kratos_courier_templates_recovery_valid_email_body_plaintext && kratos_courier_templates_recovery_valid_email_subject == o.kratos_courier_templates_recovery_valid_email_subject && kratos_courier_templates_verification_invalid_email_body_html == o.kratos_courier_templates_verification_invalid_email_body_html && kratos_courier_templates_verification_invalid_email_body_plaintext == o.kratos_courier_templates_verification_invalid_email_body_plaintext && kratos_courier_templates_verification_invalid_email_subject == o.kratos_courier_templates_verification_invalid_email_subject && kratos_courier_templates_verification_valid_email_body_html == o.kratos_courier_templates_verification_valid_email_body_html && kratos_courier_templates_verification_valid_email_body_plaintext == o.kratos_courier_templates_verification_valid_email_body_plaintext && kratos_courier_templates_verification_valid_email_subject == o.kratos_courier_templates_verification_valid_email_subject && kratos_identity_schemas == o.kratos_identity_schemas && kratos_secrets_cipher == o.kratos_secrets_cipher && kratos_secrets_cookie == o.kratos_secrets_cookie && kratos_secrets_default == o.kratos_secrets_default && kratos_selfservice_allowed_return_urls == o.kratos_selfservice_allowed_return_urls && kratos_selfservice_default_browser_return_url == o.kratos_selfservice_default_browser_return_url && kratos_selfservice_flows_error_ui_url == o.kratos_selfservice_flows_error_ui_url && kratos_selfservice_flows_hooks == o.kratos_selfservice_flows_hooks && kratos_selfservice_flows_login_after_default_browser_return_url == o.kratos_selfservice_flows_login_after_default_browser_return_url && kratos_selfservice_flows_login_after_oidc_default_browser_return_url == o.kratos_selfservice_flows_login_after_oidc_default_browser_return_url && kratos_selfservice_flows_login_after_password_default_browser_return_url == o.kratos_selfservice_flows_login_after_password_default_browser_return_url && kratos_selfservice_flows_login_after_webauthn_default_browser_return_url == o.kratos_selfservice_flows_login_after_webauthn_default_browser_return_url && kratos_selfservice_flows_login_lifespan == o.kratos_selfservice_flows_login_lifespan && kratos_selfservice_flows_login_ui_url == o.kratos_selfservice_flows_login_ui_url && kratos_selfservice_flows_logout_after_default_browser_return_url == o.kratos_selfservice_flows_logout_after_default_browser_return_url && kratos_selfservice_flows_recovery_after_default_browser_return_url == o.kratos_selfservice_flows_recovery_after_default_browser_return_url && kratos_selfservice_flows_recovery_enabled == o.kratos_selfservice_flows_recovery_enabled && kratos_selfservice_flows_recovery_lifespan == o.kratos_selfservice_flows_recovery_lifespan && kratos_selfservice_flows_recovery_ui_url == o.kratos_selfservice_flows_recovery_ui_url && kratos_selfservice_flows_registration_after_default_browser_return_url == o.kratos_selfservice_flows_registration_after_default_browser_return_url && kratos_selfservice_flows_registration_after_oidc_default_browser_return_url == o.kratos_selfservice_flows_registration_after_oidc_default_browser_return_url && kratos_selfservice_flows_registration_after_password_default_browser_return_url == o.kratos_selfservice_flows_registration_after_password_default_browser_return_url && kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url == o.kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url && kratos_selfservice_flows_registration_enabled == o.kratos_selfservice_flows_registration_enabled && kratos_selfservice_flows_registration_lifespan == o.kratos_selfservice_flows_registration_lifespan && kratos_selfservice_flows_registration_ui_url == o.kratos_selfservice_flows_registration_ui_url && kratos_selfservice_flows_settings_after_default_browser_return_url == o.kratos_selfservice_flows_settings_after_default_browser_return_url && kratos_selfservice_flows_settings_after_password_default_browser_return_url == o.kratos_selfservice_flows_settings_after_password_default_browser_return_url && kratos_selfservice_flows_settings_after_profile_default_browser_return_url == o.kratos_selfservice_flows_settings_after_profile_default_browser_return_url && kratos_selfservice_flows_settings_lifespan == o.kratos_selfservice_flows_settings_lifespan && kratos_selfservice_flows_settings_privileged_session_max_age == o.kratos_selfservice_flows_settings_privileged_session_max_age && kratos_selfservice_flows_settings_required_aal == o.kratos_selfservice_flows_settings_required_aal && kratos_selfservice_flows_settings_ui_url == o.kratos_selfservice_flows_settings_ui_url && kratos_selfservice_flows_verification_after_default_browser_return_url == o.kratos_selfservice_flows_verification_after_default_browser_return_url && kratos_selfservice_flows_verification_enabled == o.kratos_selfservice_flows_verification_enabled && kratos_selfservice_flows_verification_lifespan == o.kratos_selfservice_flows_verification_lifespan && kratos_selfservice_flows_verification_ui_url == o.kratos_selfservice_flows_verification_ui_url && kratos_selfservice_methods_link_config_base_url == o.kratos_selfservice_methods_link_config_base_url && kratos_selfservice_methods_link_config_lifespan == o.kratos_selfservice_methods_link_config_lifespan && kratos_selfservice_methods_link_enabled == o.kratos_selfservice_methods_link_enabled && kratos_selfservice_methods_lookup_secret_enabled == o.kratos_selfservice_methods_lookup_secret_enabled && kratos_selfservice_methods_oidc_config_base_redirect_uri == o.kratos_selfservice_methods_oidc_config_base_redirect_uri && kratos_selfservice_methods_oidc_config_providers == o.kratos_selfservice_methods_oidc_config_providers && kratos_selfservice_methods_oidc_enabled == o.kratos_selfservice_methods_oidc_enabled && kratos_selfservice_methods_password_config_haveibeenpwned_enabled == o.kratos_selfservice_methods_password_config_haveibeenpwned_enabled && kratos_selfservice_methods_password_config_identifier_similarity_check_enabled == o.kratos_selfservice_methods_password_config_identifier_similarity_check_enabled && kratos_selfservice_methods_password_config_ignore_network_errors == o.kratos_selfservice_methods_password_config_ignore_network_errors && kratos_selfservice_methods_password_config_max_breaches == o.kratos_selfservice_methods_password_config_max_breaches && kratos_selfservice_methods_password_config_min_password_length == o.kratos_selfservice_methods_password_config_min_password_length && kratos_selfservice_methods_password_enabled == o.kratos_selfservice_methods_password_enabled && kratos_selfservice_methods_profile_enabled == o.kratos_selfservice_methods_profile_enabled && kratos_selfservice_methods_totp_config_issuer == o.kratos_selfservice_methods_totp_config_issuer && kratos_selfservice_methods_totp_enabled == o.kratos_selfservice_methods_totp_enabled && kratos_selfservice_methods_webauthn_config_passwordless == o.kratos_selfservice_methods_webauthn_config_passwordless && kratos_selfservice_methods_webauthn_config_rp_display_name == o.kratos_selfservice_methods_webauthn_config_rp_display_name && kratos_selfservice_methods_webauthn_config_rp_icon == o.kratos_selfservice_methods_webauthn_config_rp_icon && kratos_selfservice_methods_webauthn_config_rp_id == o.kratos_selfservice_methods_webauthn_config_rp_id && kratos_selfservice_methods_webauthn_config_rp_origin == o.kratos_selfservice_methods_webauthn_config_rp_origin && kratos_selfservice_methods_webauthn_enabled == o.kratos_selfservice_methods_webauthn_enabled && kratos_session_cookie_persistent == o.kratos_session_cookie_persistent && kratos_session_cookie_same_site == o.kratos_session_cookie_same_site && kratos_session_lifespan == o.kratos_session_lifespan && kratos_session_whoami_required_aal == o.kratos_session_whoami_required_aal && name == o.name && project_id == o.project_id && updated_at == o.updated_at end # @see the `==` method # @param [Object] Object to be compared def eql?(o) self == o end # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash [created_at, id, keto_namespaces, keto_read_max_depth, kratos_cookies_same_site, kratos_courier_smtp_connection_uri, kratos_courier_smtp_from_address, kratos_courier_smtp_from_name, kratos_courier_smtp_headers, kratos_courier_templates_recovery_invalid_email_body_html, kratos_courier_templates_recovery_invalid_email_body_plaintext, kratos_courier_templates_recovery_invalid_email_subject, kratos_courier_templates_recovery_valid_email_body_html, kratos_courier_templates_recovery_valid_email_body_plaintext, kratos_courier_templates_recovery_valid_email_subject, kratos_courier_templates_verification_invalid_email_body_html, kratos_courier_templates_verification_invalid_email_body_plaintext, kratos_courier_templates_verification_invalid_email_subject, kratos_courier_templates_verification_valid_email_body_html, kratos_courier_templates_verification_valid_email_body_plaintext, kratos_courier_templates_verification_valid_email_subject, kratos_identity_schemas, kratos_secrets_cipher, kratos_secrets_cookie, kratos_secrets_default, kratos_selfservice_allowed_return_urls, kratos_selfservice_default_browser_return_url, kratos_selfservice_flows_error_ui_url, kratos_selfservice_flows_hooks, kratos_selfservice_flows_login_after_default_browser_return_url, kratos_selfservice_flows_login_after_oidc_default_browser_return_url, kratos_selfservice_flows_login_after_password_default_browser_return_url, kratos_selfservice_flows_login_after_webauthn_default_browser_return_url, kratos_selfservice_flows_login_lifespan, kratos_selfservice_flows_login_ui_url, kratos_selfservice_flows_logout_after_default_browser_return_url, kratos_selfservice_flows_recovery_after_default_browser_return_url, kratos_selfservice_flows_recovery_enabled, kratos_selfservice_flows_recovery_lifespan, kratos_selfservice_flows_recovery_ui_url, kratos_selfservice_flows_registration_after_default_browser_return_url, kratos_selfservice_flows_registration_after_oidc_default_browser_return_url, kratos_selfservice_flows_registration_after_password_default_browser_return_url, kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url, kratos_selfservice_flows_registration_enabled, kratos_selfservice_flows_registration_lifespan, kratos_selfservice_flows_registration_ui_url, kratos_selfservice_flows_settings_after_default_browser_return_url, kratos_selfservice_flows_settings_after_password_default_browser_return_url, kratos_selfservice_flows_settings_after_profile_default_browser_return_url, kratos_selfservice_flows_settings_lifespan, kratos_selfservice_flows_settings_privileged_session_max_age, kratos_selfservice_flows_settings_required_aal, kratos_selfservice_flows_settings_ui_url, kratos_selfservice_flows_verification_after_default_browser_return_url, kratos_selfservice_flows_verification_enabled, kratos_selfservice_flows_verification_lifespan, kratos_selfservice_flows_verification_ui_url, kratos_selfservice_methods_link_config_base_url, kratos_selfservice_methods_link_config_lifespan, kratos_selfservice_methods_link_enabled, kratos_selfservice_methods_lookup_secret_enabled, kratos_selfservice_methods_oidc_config_base_redirect_uri, kratos_selfservice_methods_oidc_config_providers, kratos_selfservice_methods_oidc_enabled, kratos_selfservice_methods_password_config_haveibeenpwned_enabled, kratos_selfservice_methods_password_config_identifier_similarity_check_enabled, kratos_selfservice_methods_password_config_ignore_network_errors, kratos_selfservice_methods_password_config_max_breaches, kratos_selfservice_methods_password_config_min_password_length, kratos_selfservice_methods_password_enabled, kratos_selfservice_methods_profile_enabled, kratos_selfservice_methods_totp_config_issuer, kratos_selfservice_methods_totp_enabled, kratos_selfservice_methods_webauthn_config_passwordless, kratos_selfservice_methods_webauthn_config_rp_display_name, kratos_selfservice_methods_webauthn_config_rp_icon, kratos_selfservice_methods_webauthn_config_rp_id, kratos_selfservice_methods_webauthn_config_rp_origin, kratos_selfservice_methods_webauthn_enabled, kratos_session_cookie_persistent, kratos_session_cookie_same_site, kratos_session_lifespan, kratos_session_whoami_required_aal, name, project_id, updated_at].hash end # Builds the object from hash # @param [Hash] attributes Model attributes in the form of hash # @return [Object] Returns the model itself def self.build_from_hash(attributes) new.build_from_hash(attributes) end # Builds the object from hash # @param [Hash] attributes Model attributes in the form of hash # @return [Object] Returns the model itself def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) elsif type =~ /\AArray<(.*)>/i # check to ensure the input is an array given that the attribute # is documented as an array but the input is not if attributes[self.class.attribute_map[key]].is_a?(Array) self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) end elsif !attributes[self.class.attribute_map[key]].nil? self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) end end self end # Deserializes the data based on type # @param string type Data type # @param string value Value to be deserialized # @return [Object] Deserialized data def _deserialize(type, value) case type.to_sym when :Time Time.parse(value) when :Date Date.parse(value) when :String value.to_s when :Integer value.to_i when :Float value.to_f when :Boolean if value.to_s =~ /\A(true|t|yes|y|1)\z/i true else false end when :Object # generic object (usually a Hash), return directly value when /\AArray<(?.+)>\z/ inner_type = Regexp.last_match[:inner_type] value.map { |v| _deserialize(inner_type, v) } when /\AHash<(?.+?), (?.+)>\z/ k_type = Regexp.last_match[:k_type] v_type = Regexp.last_match[:v_type] {}.tap do |hash| value.each do |k, v| hash[_deserialize(k_type, k)] = _deserialize(v_type, v) end end else # model # models (e.g. Pet) or oneOf klass = OryClient.const_get(type) klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) end end # Returns the string representation of the object # @return [String] String presentation of the object def to_s to_hash.to_s end # to_body is an alias to to_hash (backward compatibility) # @return [Hash] Returns the object in the form of hash def to_body to_hash end # Returns the object in the form of hash # @return [Hash] Returns the object in the form of hash def to_hash hash = {} self.class.attribute_map.each_pair do |attr, param| value = self.send(attr) if value.nil? is_nullable = self.class.openapi_nullable.include?(attr) next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) end hash[param] = _to_hash(value) end hash end # Outputs non-array value in the form of hash # For object, use to_hash. Otherwise, just return the value # @param [Object] value Any valid value # @return [Hash] Returns the value in the form of hash def _to_hash(value) if value.is_a?(Array) value.compact.map { |v| _to_hash(v) } elsif value.is_a?(Hash) {}.tap do |hash| value.each { |k, v| hash[k] = _to_hash(v) } end elsif value.respond_to? :to_hash value.to_hash else value end end end end