Class: Privy::Models::Wallets::EthereumEarnPositionQuery
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::Wallets::EthereumEarnPositionQuery
- Defined in:
- lib/privy/models/wallets/ethereum_earn_position_query.rb,
sig/privy/models/wallets/ethereum_earn_position_query.rbs
Instance Attribute Summary collapse
-
#include_archived ⇒ Boolean?
Include archived wallets in lookup.
-
#vault_id ⇒ String
The vault ID to get position for.
Instance Method Summary collapse
-
#initialize(vault_id:, include_archived: nil) ⇒ EthereumEarnPositionQuery
constructor
Query parameters for fetching an earn vault position.
- #to_hash ⇒ { vault_id: String, include_archived: bool }
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(vault_id:, include_archived: nil) ⇒ EthereumEarnPositionQuery
Query parameters for fetching an earn vault position.
|
|
# File 'lib/privy/models/wallets/ethereum_earn_position_query.rb', line 19
|
Instance Attribute Details
#include_archived ⇒ Boolean?
Include archived wallets in lookup. Defaults to false.
17 |
# File 'lib/privy/models/wallets/ethereum_earn_position_query.rb', line 17 optional :include_archived, Privy::Internal::Type::Boolean |
#vault_id ⇒ String
The vault ID to get position for.
11 |
# File 'lib/privy/models/wallets/ethereum_earn_position_query.rb', line 11 required :vault_id, String |
Instance Method Details
#to_hash ⇒ { vault_id: String, include_archived: bool }
16 |
# File 'sig/privy/models/wallets/ethereum_earn_position_query.rbs', line 16
def to_hash: -> { vault_id: String, include_archived: bool }
|