Class: Privy::Models::YieldWithdrawConfirmedWebhookPayload
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/privy/models/yield_withdraw_confirmed_webhook_payload.rb,
sig/privy/models/yield_withdraw_confirmed_webhook_payload.rbs
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(assets:, caip2:, owner:, receiver:, sender:, shares:, type:, vault_address:) ⇒ Object
Payload for the yield.withdraw.confirmed webhook event.
|
# File 'lib/privy/models/yield_withdraw_confirmed_webhook_payload.rb', line 47
|
Instance Attribute Details
#assets ⇒ String
9
|
# File 'lib/privy/models/yield_withdraw_confirmed_webhook_payload.rb', line 9
required :assets, String
|
#caip2 ⇒ String
14
|
# File 'lib/privy/models/yield_withdraw_confirmed_webhook_payload.rb', line 14
required :caip2, String
|
#owner ⇒ String
19
|
# File 'lib/privy/models/yield_withdraw_confirmed_webhook_payload.rb', line 19
required :owner, String
|
#receiver ⇒ String
24
|
# File 'lib/privy/models/yield_withdraw_confirmed_webhook_payload.rb', line 24
required :receiver, String
|
#sender ⇒ String
29
|
# File 'lib/privy/models/yield_withdraw_confirmed_webhook_payload.rb', line 29
required :sender, String
|
#shares ⇒ String
34
|
# File 'lib/privy/models/yield_withdraw_confirmed_webhook_payload.rb', line 34
required :shares, String
|
The type of webhook event.
40
|
# File 'lib/privy/models/yield_withdraw_confirmed_webhook_payload.rb', line 40
required :type, enum: -> { Privy::YieldWithdrawConfirmedWebhookPayload::Type }
|
#vault_address ⇒ String
45
|
# File 'lib/privy/models/yield_withdraw_confirmed_webhook_payload.rb', line 45
required :vault_address, String
|
Instance Method Details
#to_hash ⇒ {
43
|
# File 'sig/privy/models/yield_withdraw_confirmed_webhook_payload.rbs', line 43
def to_hash: -> {
|