Class: Onlyfans::Models::SubscriberRetrieveStatisticsResponse::Data

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

Overview

See Also:

Defined Under Namespace

Classes: Earning, Subscribe

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(count: nil, date: nil) ⇒ Object

Parameters:

  • count (Float) (defaults to: nil)
  • date (String) (defaults to: nil)


# File 'lib/onlyfans/models/subscriber_retrieve_statistics_response.rb', line 160

Instance Attribute Details

#deltaFloat?

Returns:

  • (Float, nil)


118
# File 'lib/onlyfans/models/subscriber_retrieve_statistics_response.rb', line 118

optional :delta, Float

#earningsArray<Onlyfans::Models::SubscriberRetrieveStatisticsResponse::Data::Earning>?



123
124
# File 'lib/onlyfans/models/subscriber_retrieve_statistics_response.rb', line 123

optional :earnings,
-> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::SubscriberRetrieveStatisticsResponse::Data::Earning] }

#subscribersInteger?

Returns:

  • (Integer, nil)


129
# File 'lib/onlyfans/models/subscriber_retrieve_statistics_response.rb', line 129

optional :subscribers, Integer

#subscribesArray<Onlyfans::Models::SubscriberRetrieveStatisticsResponse::Data::Subscribe>?



134
135
# File 'lib/onlyfans/models/subscriber_retrieve_statistics_response.rb', line 134

optional :subscribes,
-> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::SubscriberRetrieveStatisticsResponse::Data::Subscribe] }

#totalFloat?

Returns:

  • (Float, nil)


140
# File 'lib/onlyfans/models/subscriber_retrieve_statistics_response.rb', line 140

optional :total, Float