Class: Onlyfans::Models::Statistics::StatementGetEarningsResponse::Data::Total
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/onlyfans/models/statistics/statement_get_earnings_response.rb,
sig/onlyfans/models/statistics/statement_get_earnings_response.rbs
Overview
Defined Under Namespace
Classes: ChartAmount, ChartCount
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(count: nil, date: nil) ⇒ Object
|
# File 'lib/onlyfans/models/statistics/statement_get_earnings_response.rb', line 174
|
Instance Attribute Details
130
131
132
|
# File 'lib/onlyfans/models/statistics/statement_get_earnings_response.rb', line 130
optional :chart_amount,
-> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::Statistics::StatementGetEarningsResponse::Data::Total::ChartAmount] },
api_name: :chartAmount
|
137
138
139
|
# File 'lib/onlyfans/models/statistics/statement_get_earnings_response.rb', line 137
optional :chart_count,
-> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::Statistics::StatementGetEarningsResponse::Data::Total::ChartCount] },
api_name: :chartCount
|
#delta ⇒ Float?
144
|
# File 'lib/onlyfans/models/statistics/statement_get_earnings_response.rb', line 144
optional :delta, Float
|
#gross ⇒ Float?
149
|
# File 'lib/onlyfans/models/statistics/statement_get_earnings_response.rb', line 149
optional :gross, Float
|
#total ⇒ Float?
154
|
# File 'lib/onlyfans/models/statistics/statement_get_earnings_response.rb', line 154
optional :total, Float
|
Instance Method Details
#to_hash ⇒ {
214
|
# File 'sig/onlyfans/models/statistics/statement_get_earnings_response.rbs', line 214
def to_hash: -> {
|