Class: Onlyfans::Models::Analytics::SummaryGetEarningsOverviewResponse

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

Overview

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(messages: nil, posts: nil, streams: nil, subscriptions: nil, tips: nil, total_accounts: nil, total_earnings: nil, total_images: nil, total_messages: nil, total_videos: nil) ⇒ Object

Parameters:

  • messages (Float) (defaults to: nil)
  • posts (Float) (defaults to: nil)
  • streams (Float) (defaults to: nil)
  • subscriptions (Float) (defaults to: nil)
  • tips (Float) (defaults to: nil)
  • total_accounts (Integer) (defaults to: nil)
  • total_earnings (Float) (defaults to: nil)
  • total_images (Integer) (defaults to: nil)
  • total_messages (Integer) (defaults to: nil)
  • total_videos (Integer) (defaults to: nil)


# File 'lib/onlyfans/models/analytics/summary_get_earnings_overview_response.rb', line 58

Instance Attribute Details

#messagesFloat?

Returns:

  • (Float, nil)


11
# File 'lib/onlyfans/models/analytics/summary_get_earnings_overview_response.rb', line 11

optional :messages, Float

#postsFloat?

Returns:

  • (Float, nil)


16
# File 'lib/onlyfans/models/analytics/summary_get_earnings_overview_response.rb', line 16

optional :posts, Float

#streamsFloat?

Returns:

  • (Float, nil)


21
# File 'lib/onlyfans/models/analytics/summary_get_earnings_overview_response.rb', line 21

optional :streams, Float

#subscriptionsFloat?

Returns:

  • (Float, nil)


26
# File 'lib/onlyfans/models/analytics/summary_get_earnings_overview_response.rb', line 26

optional :subscriptions, Float

#tipsFloat?

Returns:

  • (Float, nil)


31
# File 'lib/onlyfans/models/analytics/summary_get_earnings_overview_response.rb', line 31

optional :tips, Float

#total_accountsInteger?

Returns:

  • (Integer, nil)


36
# File 'lib/onlyfans/models/analytics/summary_get_earnings_overview_response.rb', line 36

optional :total_accounts, Integer

#total_earningsFloat?

Returns:

  • (Float, nil)


41
# File 'lib/onlyfans/models/analytics/summary_get_earnings_overview_response.rb', line 41

optional :total_earnings, Float

#total_imagesInteger?

Returns:

  • (Integer, nil)


46
# File 'lib/onlyfans/models/analytics/summary_get_earnings_overview_response.rb', line 46

optional :total_images, Integer

#total_messagesInteger?

Returns:

  • (Integer, nil)


51
# File 'lib/onlyfans/models/analytics/summary_get_earnings_overview_response.rb', line 51

optional :total_messages, Integer

#total_videosInteger?

Returns:

  • (Integer, nil)


56
# File 'lib/onlyfans/models/analytics/summary_get_earnings_overview_response.rb', line 56

optional :total_videos, Integer