Class: Privy::Models::UnlinkPasskeyInput
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::UnlinkPasskeyInput
- Defined in:
- lib/privy/models/unlink_passkey_input.rb,
sig/privy/models/unlink_passkey_input.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(credential_id:, remove_as_mfa: nil) ⇒ UnlinkPasskeyInput
constructor
Input for unlinking a passkey credential.
- #to_hash ⇒ { credential_id: String, remove_as_mfa: bool }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(credential_id:, remove_as_mfa: nil) ⇒ UnlinkPasskeyInput
Input for unlinking a passkey credential.
|
|
# File 'lib/privy/models/unlink_passkey_input.rb', line 16
|
Instance Attribute Details
#credential_id ⇒ String
9 |
# File 'lib/privy/models/unlink_passkey_input.rb', line 9 required :credential_id, String |
#remove_as_mfa ⇒ Boolean?
14 |
# File 'lib/privy/models/unlink_passkey_input.rb', line 14 optional :remove_as_mfa, Privy::Internal::Type::Boolean |
Instance Method Details
#to_hash ⇒ { credential_id: String, remove_as_mfa: bool }
14 |
# File 'sig/privy/models/unlink_passkey_input.rbs', line 14
def to_hash: -> { credential_id: String, remove_as_mfa: bool }
|