Class: Onlyfans::Models::StatisticGetOverviewResponse::Data::Visitors
- 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
Defined Under Namespace
Classes: ChartData, Earnings, Subscriptions, Visitors
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(delta: nil, total: nil) ⇒ Object
|
# File 'lib/onlyfans/models/statistic_get_overview_response.rb', line 550
|
Instance Attribute Details
507
508
509
|
# File 'lib/onlyfans/models/statistic_get_overview_response.rb', line 507
optional :chart_data,
-> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::StatisticGetOverviewResponse::Data::Visitors::ChartData] },
api_name: :chartData
|
514
|
# File 'lib/onlyfans/models/statistic_get_overview_response.rb', line 514
optional :earnings, -> { Onlyfans::Models::StatisticGetOverviewResponse::Data::Visitors::Earnings }
|
#has_statistic ⇒ Boolean?
519
|
# File 'lib/onlyfans/models/statistic_get_overview_response.rb', line 519
optional :has_statistic, Onlyfans::Internal::Type::Boolean, api_name: :hasStatistic
|
524
525
|
# File 'lib/onlyfans/models/statistic_get_overview_response.rb', line 524
optional :subscriptions,
-> { Onlyfans::Models::StatisticGetOverviewResponse::Data::Visitors::Subscriptions }
|
530
|
# File 'lib/onlyfans/models/statistic_get_overview_response.rb', line 530
optional :visitors, -> { Onlyfans::Models::StatisticGetOverviewResponse::Data::Visitors::Visitors }
|
Instance Method Details
#to_hash ⇒ {
654
|
# File 'sig/onlyfans/models/statistic_get_overview_response.rbs', line 654
def to_hash: -> {
|