Class: Onlyfans::Models::StatisticGetOverviewResponse::Data::Posts

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

Overview

See Also:

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 (Integer) (defaults to: nil)
  • gross (Integer) (defaults to: nil)
  • total (Integer) (defaults to: nil)


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

Instance Attribute Details

#chart_dataArray<Onlyfans::Models::StatisticGetOverviewResponse::Data::Posts::ChartData>?



287
288
289
# File 'lib/onlyfans/models/statistic_get_overview_response.rb', line 287

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

#countOnlyfans::Models::StatisticGetOverviewResponse::Data::Posts::Count?



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

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

#earningsOnlyfans::Models::StatisticGetOverviewResponse::Data::Posts::Earnings?



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

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

#has_statisticBoolean?

Returns:

  • (Boolean, nil)


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

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

#viewsOnlyfans::Models::StatisticGetOverviewResponse::Data::Posts::Views?



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

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