Class: Onlyfans::Models::SmartLinkRetrieveStatsResponse::Data

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

Overview

See Also:

Defined Under Namespace

Classes: DailyMetric, MonthlyMetric, Summary

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(clicks: nil, revenue: nil, spenders: nil, subs: nil, timestamp: nil) ⇒ Object

Parameters:

  • clicks (Integer) (defaults to: nil)
  • revenue (Integer) (defaults to: nil)
  • spenders (Integer) (defaults to: nil)
  • subs (Integer) (defaults to: nil)
  • timestamp (String) (defaults to: nil)


# File 'lib/onlyfans/models/smart_link_retrieve_stats_response.rb', line 128

Instance Attribute Details

#daily_metricsArray<Onlyfans::Models::SmartLinkRetrieveStatsResponse::Data::DailyMetric>?



83
84
# File 'lib/onlyfans/models/smart_link_retrieve_stats_response.rb', line 83

optional :daily_metrics,
-> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::SmartLinkRetrieveStatsResponse::Data::DailyMetric] }

#monthly_metricsArray<Onlyfans::Models::SmartLinkRetrieveStatsResponse::Data::MonthlyMetric>?



89
90
# File 'lib/onlyfans/models/smart_link_retrieve_stats_response.rb', line 89

optional :monthly_metrics,
-> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::SmartLinkRetrieveStatsResponse::Data::MonthlyMetric] }

#summaryOnlyfans::Models::SmartLinkRetrieveStatsResponse::Data::Summary?



95
# File 'lib/onlyfans/models/smart_link_retrieve_stats_response.rb', line 95

optional :summary, -> { Onlyfans::Models::SmartLinkRetrieveStatsResponse::Data::Summary }