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

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

Overview

See Also:

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_total: nil, revenue_total: nil, spenders_total: nil, subs_total: nil) ⇒ Object

Parameters:

  • clicks_total (Integer) (defaults to: nil)
  • revenue_total (Integer) (defaults to: nil)
  • spenders_total (Integer) (defaults to: nil)
  • subs_total (Integer) (defaults to: nil)


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

Instance Attribute Details

#clicks_totalInteger?

Returns:

  • (Integer, nil)


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

optional :clicks_total, Integer

#revenue_totalInteger?

Returns:

  • (Integer, nil)


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

optional :revenue_total, Integer

#spenders_totalInteger?

Returns:

  • (Integer, nil)


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

optional :spenders_total, Integer

#subs_totalInteger?

Returns:

  • (Integer, nil)


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

optional :subs_total, Integer