Class: Privy::Models::WalletRestoredWebhookPayload
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::WalletRestoredWebhookPayload
- Defined in:
- lib/privy/models/wallet_restored_webhook_payload.rb,
sig/privy/models/wallet_restored_webhook_payload.rbs
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#chain_type ⇒ String
The chain type of the restored wallet.
-
#type ⇒ Symbol, Privy::Models::WalletRestoredWebhookPayload::Type
The type of webhook event.
-
#wallet_address ⇒ String
The address of the restored wallet.
-
#wallet_id ⇒ String
The ID of the restored wallet.
Instance Method Summary collapse
-
#initialize(chain_type:, type:, wallet_address:, wallet_id:) ⇒ Object
constructor
Payload for the wallet.restored webhook event.
- #to_hash ⇒ {
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(chain_type:, type:, wallet_address:, wallet_id:) ⇒ Object
Payload for the wallet.restored webhook event.
|
|
# File 'lib/privy/models/wallet_restored_webhook_payload.rb', line 30
|
Instance Attribute Details
#chain_type ⇒ String
The chain type of the restored wallet.
10 |
# File 'lib/privy/models/wallet_restored_webhook_payload.rb', line 10 required :chain_type, String |
#type ⇒ Symbol, Privy::Models::WalletRestoredWebhookPayload::Type
The type of webhook event.
16 |
# File 'lib/privy/models/wallet_restored_webhook_payload.rb', line 16 required :type, enum: -> { Privy::WalletRestoredWebhookPayload::Type } |
#wallet_address ⇒ String
The address of the restored wallet.
22 |
# File 'lib/privy/models/wallet_restored_webhook_payload.rb', line 22 required :wallet_address, String |
#wallet_id ⇒ String
The ID of the restored wallet.
28 |
# File 'lib/privy/models/wallet_restored_webhook_payload.rb', line 28 required :wallet_id, String |
Instance Method Details
#to_hash ⇒ {
27 |
# File 'sig/privy/models/wallet_restored_webhook_payload.rbs', line 27
def to_hash: -> {
|