Class: Privy::Models::PrivateKeyExportWebhookPayload

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/privy/models/private_key_export_webhook_payload.rb

Defined Under Namespace

Modules: ExportSource, Type

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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

Payload for the wallet.private_key_export webhook event.

Parameters:



# File 'lib/privy/models/private_key_export_webhook_payload.rb', line 35

Instance Attribute Details

#export_sourceSymbol, ...



33
# File 'lib/privy/models/private_key_export_webhook_payload.rb', line 33

optional :export_source, enum: -> { Privy::PrivateKeyExportWebhookPayload::ExportSource }

#typeSymbol, 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_idString

The ID of the user who exported the key.

Returns:

  • (String)


16
# File 'lib/privy/models/private_key_export_webhook_payload.rb', line 16

required :user_id, String

#wallet_addressString

The address of the wallet.

Returns:

  • (String)


22
# File 'lib/privy/models/private_key_export_webhook_payload.rb', line 22

required :wallet_address, String

#wallet_idString

The ID of the wallet.

Returns:

  • (String)


28
# File 'lib/privy/models/private_key_export_webhook_payload.rb', line 28

required :wallet_id, String

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/privy/models/private_key_export_webhook_payload.rb', line 56