Class: Privy::Models::YieldClaimConfirmedWebhookPayload
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::YieldClaimConfirmedWebhookPayload
- Defined in:
- lib/privy/models/yield_claim_confirmed_webhook_payload.rb,
sig/privy/models/yield_claim_confirmed_webhook_payload.rbs
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
- #caip2 ⇒ String
- #rewards ⇒ Array<Privy::Models::YieldClaimReward>
- #transaction_id ⇒ String
-
#type ⇒ Symbol, Privy::Models::YieldClaimConfirmedWebhookPayload::Type
The type of webhook event.
- #wallet_id ⇒ String
Instance Method Summary collapse
-
#initialize(caip2:, rewards:, transaction_id:, type:, wallet_id:) ⇒ Object
constructor
Payload for the yield.claim.confirmed 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(caip2:, rewards:, transaction_id:, type:, wallet_id:) ⇒ Object
Payload for the yield.claim.confirmed webhook event.
|
|
# File 'lib/privy/models/yield_claim_confirmed_webhook_payload.rb', line 32
|
Instance Attribute Details
#caip2 ⇒ String
9 |
# File 'lib/privy/models/yield_claim_confirmed_webhook_payload.rb', line 9 required :caip2, String |
#rewards ⇒ Array<Privy::Models::YieldClaimReward>
14 |
# File 'lib/privy/models/yield_claim_confirmed_webhook_payload.rb', line 14 required :rewards, -> { Privy::Internal::Type::ArrayOf[Privy::YieldClaimReward] } |
#transaction_id ⇒ String
19 |
# File 'lib/privy/models/yield_claim_confirmed_webhook_payload.rb', line 19 required :transaction_id, String |
#type ⇒ Symbol, Privy::Models::YieldClaimConfirmedWebhookPayload::Type
The type of webhook event.
25 |
# File 'lib/privy/models/yield_claim_confirmed_webhook_payload.rb', line 25 required :type, enum: -> { Privy::YieldClaimConfirmedWebhookPayload::Type } |
#wallet_id ⇒ String
30 |
# File 'lib/privy/models/yield_claim_confirmed_webhook_payload.rb', line 30 required :wallet_id, String |
Instance Method Details
#to_hash ⇒ {
31 |
# File 'sig/privy/models/yield_claim_confirmed_webhook_payload.rbs', line 31
def to_hash: -> {
|