Class: Onlyfans::Models::PayoutRetrieveEarningStatisticsResponse::Data::List::Months::Const1735689661

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/onlyfans/models/payout_retrieve_earning_statistics_response.rb,
sig/onlyfans/models/payout_retrieve_earning_statistics_response.rbs

Overview

See Also:

  • Onlyfans::Models::PayoutRetrieveEarningStatisticsResponse::Data::List::Months#number_1735689661

Defined Under Namespace

Classes: Subscribe, Tip

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(gross: nil, net: nil, time: nil) ⇒ Object

Parameters:

  • gross (Integer) (defaults to: nil)
  • net (Integer) (defaults to: nil)
  • time (Integer) (defaults to: nil)


# File 'lib/onlyfans/models/payout_retrieve_earning_statistics_response.rb', line 197

Instance Attribute Details

#subscribes ⇒ Array<Onlyfans::Models::PayoutRetrieveEarningStatisticsResponse::Data::List::Months::Const1735689661::Subscribe>?



156
157
# File 'lib/onlyfans/models/payout_retrieve_earning_statistics_response.rb', line 156

optional :subscribes,
-> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::PayoutRetrieveEarningStatisticsResponse::Data::List::Months::Const1735689661::Subscribe] }

#tips ⇒ Array<Onlyfans::Models::PayoutRetrieveEarningStatisticsResponse::Data::List::Months::Const1735689661::Tip>?



162
163
# File 'lib/onlyfans/models/payout_retrieve_earning_statistics_response.rb', line 162

optional :tips,
-> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::PayoutRetrieveEarningStatisticsResponse::Data::List::Months::Const1735689661::Tip] }

#total_gross ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


168
# File 'lib/onlyfans/models/payout_retrieve_earning_statistics_response.rb', line 168

optional :total_gross, Integer

#total_net ⇒ Integer?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


173
# File 'lib/onlyfans/models/payout_retrieve_earning_statistics_response.rb', line 173

optional :total_net, Integer

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


256
# File 'sig/onlyfans/models/payout_retrieve_earning_statistics_response.rbs', line 256

def to_hash: -> {