Class: Privy::Models::EthereumYieldPositionsInput
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::EthereumYieldPositionsInput
- Defined in:
- lib/privy/models/ethereum_yield_positions_input.rb,
sig/privy/models/ethereum_yield_positions_input.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) ⇒ EthereumYieldPositionsInput
constructor
Input for fetching yield positions.
- #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) ⇒ EthereumYieldPositionsInput
Input for fetching yield positions.
|
|
# File 'lib/privy/models/ethereum_yield_positions_input.rb', line 18
|
Instance Attribute Details
#include_archived ⇒ Boolean?
Include archived wallets in lookup. Defaults to false.
16 |
# File 'lib/privy/models/ethereum_yield_positions_input.rb', line 16 optional :include_archived, Privy::Internal::Type::Boolean |
#vault_id ⇒ String
The vault ID to get position for.
10 |
# File 'lib/privy/models/ethereum_yield_positions_input.rb', line 10 required :vault_id, String |
Instance Method Details
#to_hash ⇒ { vault_id: String, include_archived: bool }
15 |
# File 'sig/privy/models/ethereum_yield_positions_input.rbs', line 15
def to_hash: -> { vault_id: String, include_archived: bool }
|