Class: Privy::Models::KrakenEmbedUpcomingReward
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::KrakenEmbedUpcomingReward
- Defined in:
- lib/privy/models/kraken_embed_upcoming_reward.rb,
sig/privy/models/kraken_embed_upcoming_reward.rbs
Instance Attribute Summary collapse
-
#accumulated_amount ⇒ Privy::Models::KrakenEmbedEarnAmount
An earn amount with native and converted values.
- #asset ⇒ String
- #date ⇒ Time
-
#estimated_pending_amount ⇒ Privy::Models::KrakenEmbedEarnAmount?
An earn amount with native and converted values.
Instance Method Summary collapse
-
#initialize(accumulated_amount:, asset:, date:, estimated_pending_amount:) ⇒ Object
constructor
An upcoming earn reward for a specific asset.
- #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(accumulated_amount:, asset:, date:, estimated_pending_amount:) ⇒ Object
An upcoming earn reward for a specific asset.
|
|
# File 'lib/privy/models/kraken_embed_upcoming_reward.rb', line 28
|
Instance Attribute Details
#accumulated_amount ⇒ Privy::Models::KrakenEmbedEarnAmount
An earn amount with native and converted values.
10 |
# File 'lib/privy/models/kraken_embed_upcoming_reward.rb', line 10 required :accumulated_amount, -> { Privy::KrakenEmbedEarnAmount } |
#asset ⇒ String
15 |
# File 'lib/privy/models/kraken_embed_upcoming_reward.rb', line 15 required :asset, String |
#date ⇒ Time
20 |
# File 'lib/privy/models/kraken_embed_upcoming_reward.rb', line 20 required :date, Time |
#estimated_pending_amount ⇒ Privy::Models::KrakenEmbedEarnAmount?
An earn amount with native and converted values.
26 |
# File 'lib/privy/models/kraken_embed_upcoming_reward.rb', line 26 required :estimated_pending_amount, -> { Privy::KrakenEmbedEarnAmount }, nil?: true |
Instance Method Details
#to_hash ⇒ {
27 |
# File 'sig/privy/models/kraken_embed_upcoming_reward.rbs', line 27
def to_hash: -> {
|