Class: Onlyfans::Models::StatisticGetOverviewResponse::Data::Streams

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 439

Instance Attribute Details

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



397
398
399
# File 'lib/onlyfans/models/statistic_get_overview_response.rb', line 397

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

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



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

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

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



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

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

#has_statisticBoolean?

Returns:

  • (Boolean, nil)


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

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

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



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

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