Class: Onlyfans::Models::Statistics::StatementGetEarningsResponse::Data::Total

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/statistics/statement_get_earnings_response.rb

Overview

See Also:

Defined Under Namespace

Classes: ChartAmount, ChartCount

Instance Attribute Summary collapse

Instance Method Summary collapse

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(count: nil, date: nil) ⇒ Object

Parameters:

  • count (Float) (defaults to: nil)
  • date (String) (defaults to: nil)


# File 'lib/onlyfans/models/statistics/statement_get_earnings_response.rb', line 174

Instance Attribute Details

#chart_amountArray<Onlyfans::Models::Statistics::StatementGetEarningsResponse::Data::Total::ChartAmount>?



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

#chart_countArray<Onlyfans::Models::Statistics::StatementGetEarningsResponse::Data::Total::ChartCount>?



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

#deltaFloat?

Returns:

  • (Float, nil)


144
# File 'lib/onlyfans/models/statistics/statement_get_earnings_response.rb', line 144

optional :delta, Float

#grossFloat?

Returns:

  • (Float, nil)


149
# File 'lib/onlyfans/models/statistics/statement_get_earnings_response.rb', line 149

optional :gross, Float

#totalFloat?

Returns:

  • (Float, nil)


154
# File 'lib/onlyfans/models/statistics/statement_get_earnings_response.rb', line 154

optional :total, Float