Class: Onlyfans::Models::StatisticGetOverviewResponse::Data::Streams
- 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, Count, Earnings, Views
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, gross: nil, total: nil) ⇒ Object
|
# File 'lib/onlyfans/models/statistic_get_overview_response.rb', line 439
|
Instance Attribute Details
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
|
404
|
# File 'lib/onlyfans/models/statistic_get_overview_response.rb', line 404
optional :count, -> { Onlyfans::Models::StatisticGetOverviewResponse::Data::Streams::Count }
|
409
|
# File 'lib/onlyfans/models/statistic_get_overview_response.rb', line 409
optional :earnings, -> { Onlyfans::Models::StatisticGetOverviewResponse::Data::Streams::Earnings }
|
#has_statistic ⇒ Boolean?
414
|
# File 'lib/onlyfans/models/statistic_get_overview_response.rb', line 414
optional :has_statistic, Onlyfans::Internal::Type::Boolean, api_name: :hasStatistic
|
419
|
# File 'lib/onlyfans/models/statistic_get_overview_response.rb', line 419
optional :views, -> { Onlyfans::Models::StatisticGetOverviewResponse::Data::Streams::Views }
|
Instance Method Details
#to_hash ⇒ {
527
|
# File 'sig/onlyfans/models/statistic_get_overview_response.rbs', line 527
def to_hash: -> {
|