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

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

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(subscribes: nil, tips: nil, total_gross: nil, total_net: nil) ⇒ Object

Parameters:



181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
# File 'lib/onlyfans/models/payout_retrieve_earning_statistics_response.rb', line 181

class Subscribe < Onlyfans::Internal::Type::BaseModel
  # @!attribute gross
  #
  #   @return [Integer, nil]
  optional :gross, Integer

  # @!attribute net
  #
  #   @return [Integer, nil]
  optional :net, Integer

  # @!attribute time
  #
  #   @return [Integer, nil]
  optional :time, Integer

  # @!method initialize(gross: nil, net: nil, time: nil)
  #   @param gross [Integer]
  #   @param net [Integer]
  #   @param time [Integer]
end

Instance Attribute Details

#grossInteger?

Returns:

  • (Integer, nil)


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

optional :gross, Integer

#netInteger?

Returns:

  • (Integer, nil)


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

optional :net, Integer

#timeInteger?

Returns:

  • (Integer, nil)


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

optional :time, Integer