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