Class: WhopSDK::Models::User::BalanceHistory
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::User::BalanceHistory
- Defined in:
- lib/whop_sdk/models/user.rb,
sig/whop_sdk/models/user.rbs
Overview
Defined Under Namespace
Classes: Data
Instance Attribute Summary collapse
- #data ⇒ Array<WhopSDK::Models::User::BalanceHistory::Data>
-
#last ⇒ Float
Value of the most recent point, in USD.
-
#max ⇒ Float
Maximum value across the window, in USD.
-
#min ⇒ Float
Minimum value across the window, in USD.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #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 ⇒ Object
86 |
# File 'sig/whop_sdk/models/user.rbs', line 86
def initialize: (
|
Instance Attribute Details
#data ⇒ Array<WhopSDK::Models::User::BalanceHistory::Data>
113 |
# File 'lib/whop_sdk/models/user.rb', line 113 required :data, -> { WhopSDK::Internal::Type::ArrayOf[WhopSDK::User::BalanceHistory::Data] } |
#last ⇒ Float
Value of the most recent point, in USD.
119 |
# File 'lib/whop_sdk/models/user.rb', line 119 required :last, Float |
#max ⇒ Float
Maximum value across the window, in USD.
125 |
# File 'lib/whop_sdk/models/user.rb', line 125 required :max, Float |
#min ⇒ Float
Minimum value across the window, in USD.
131 |
# File 'lib/whop_sdk/models/user.rb', line 131 required :min, Float |
Instance Method Details
#to_hash ⇒ {
93 |
# File 'sig/whop_sdk/models/user.rbs', line 93
def to_hash: -> {
|