Class: Onlyfans::Models::StatisticGetOverviewResponse::Data::MassMessages

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/statistic_get_overview_response.rb,
sig/onlyfans/models/statistic_get_overview_response.rbs

Overview

See Also:

  • Onlyfans::Models::StatisticGetOverviewResponse::Data#mass_messages

Defined Under Namespace

Classes: ChartData, Count, Earnings, Views

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(delta: nil, gross: nil, total: nil) ⇒ Object

Parameters:

  • delta (Float) (defaults to: nil)
  • gross (Float) (defaults to: nil)
  • total (Float) (defaults to: nil)


# File 'lib/onlyfans/models/statistic_get_overview_response.rb', line 219

Instance Attribute Details

#chart_data ⇒ Array<Onlyfans::Models::StatisticGetOverviewResponse::Data::MassMessages::ChartData>?



177
178
179
# File 'lib/onlyfans/models/statistic_get_overview_response.rb', line 177

optional :chart_data,
-> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::StatisticGetOverviewResponse::Data::MassMessages::ChartData] },
api_name: :chartData

#count ⇒ Onlyfans::Models::StatisticGetOverviewResponse::Data::MassMessages::Count?



184
# File 'lib/onlyfans/models/statistic_get_overview_response.rb', line 184

optional :count, -> { Onlyfans::Models::StatisticGetOverviewResponse::Data::MassMessages::Count }

#earnings ⇒ Onlyfans::Models::StatisticGetOverviewResponse::Data::MassMessages::Earnings?



189
# File 'lib/onlyfans/models/statistic_get_overview_response.rb', line 189

optional :earnings, -> { Onlyfans::Models::StatisticGetOverviewResponse::Data::MassMessages::Earnings }

#has_statistic ⇒ Boolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


194
# File 'lib/onlyfans/models/statistic_get_overview_response.rb', line 194

optional :has_statistic, Onlyfans::Internal::Type::Boolean, api_name: :hasStatistic

#views ⇒ Onlyfans::Models::StatisticGetOverviewResponse::Data::MassMessages::Views?



199
# File 'lib/onlyfans/models/statistic_get_overview_response.rb', line 199

optional :views, -> { Onlyfans::Models::StatisticGetOverviewResponse::Data::MassMessages::Views }

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


273
# File 'sig/onlyfans/models/statistic_get_overview_response.rbs', line 273

def to_hash: -> {