Class: Privy::Models::UserUpdatedAccountWebhookPayload
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::UserUpdatedAccountWebhookPayload
- Defined in:
- lib/privy/models/user_updated_account_webhook_payload.rb
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#account ⇒ Privy::Models::LinkedAccountEmail, ...
A linked account for the user.
-
#type ⇒ Symbol, Privy::Models::UserUpdatedAccountWebhookPayload::Type
The type of webhook event.
-
#user ⇒ Privy::Models::User
A Privy user object.
Instance Method Summary collapse
-
#initialize(account:, type:, user:) ⇒ Object
constructor
Payload for the user.updated_account webhook event.
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(account:, type:, user:) ⇒ Object
Payload for the user.updated_account webhook event.
|
|
# File 'lib/privy/models/user_updated_account_webhook_payload.rb', line 24
|
Instance Attribute Details
#account ⇒ Privy::Models::LinkedAccountEmail, ...
A linked account for the user.
10 |
# File 'lib/privy/models/user_updated_account_webhook_payload.rb', line 10 required :account, union: -> { Privy::LinkedAccount } |
#type ⇒ Symbol, Privy::Models::UserUpdatedAccountWebhookPayload::Type
The type of webhook event.
16 |
# File 'lib/privy/models/user_updated_account_webhook_payload.rb', line 16 required :type, enum: -> { Privy::UserUpdatedAccountWebhookPayload::Type } |
#user ⇒ Privy::Models::User
A Privy user object.
22 |
# File 'lib/privy/models/user_updated_account_webhook_payload.rb', line 22 required :user, -> { Privy::User } |