Class: Privy::Models::PrivateKeyExportWebhookPayload
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::PrivateKeyExportWebhookPayload
- Defined in:
- lib/privy/models/private_key_export_webhook_payload.rb,
sig/privy/models/private_key_export_webhook_payload.rbs
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#export_source ⇒ Symbol, ...
The export type.
-
#type ⇒ Symbol, Privy::Models::PrivateKeyExportWebhookPayload::Type
The type of webhook event.
-
#user_id ⇒ String
The ID of the user who exported the key.
-
#wallet_address ⇒ String
The address of the wallet.
-
#wallet_id ⇒ String
The ID of the wallet.
Instance Method Summary collapse
-
#initialize(type:, user_id:, wallet_address:, wallet_id:, export_source: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see PrivateKeyExportWebhookPayload for more details.
- #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(type:, user_id:, wallet_address:, wallet_id:, export_source: nil) ⇒ Object
Some parameter documentations has been truncated, see Privy::Models::PrivateKeyExportWebhookPayload for more details.
Payload for the wallet.private_key_export webhook event.
|
|
# File 'lib/privy/models/private_key_export_webhook_payload.rb', line 37
|
Instance Attribute Details
#export_source ⇒ Symbol, ...
The export type. 'display' is for showing the key to the user in the UI, 'client' is for exporting to the client application.
35 |
# File 'lib/privy/models/private_key_export_webhook_payload.rb', line 35 optional :export_source, enum: -> { Privy::ExportType } |
#type ⇒ Symbol, Privy::Models::PrivateKeyExportWebhookPayload::Type
The type of webhook event.
10 |
# File 'lib/privy/models/private_key_export_webhook_payload.rb', line 10 required :type, enum: -> { Privy::PrivateKeyExportWebhookPayload::Type } |
#user_id ⇒ String
The ID of the user who exported the key.
16 |
# File 'lib/privy/models/private_key_export_webhook_payload.rb', line 16 required :user_id, String |
#wallet_address ⇒ String
The address of the wallet.
22 |
# File 'lib/privy/models/private_key_export_webhook_payload.rb', line 22 required :wallet_address, String |
#wallet_id ⇒ String
The ID of the wallet.
28 |
# File 'lib/privy/models/private_key_export_webhook_payload.rb', line 28 required :wallet_id, String |
Instance Method Details
#to_hash ⇒ {
35 |
# File 'sig/privy/models/private_key_export_webhook_payload.rbs', line 35
def to_hash: -> {
|