Class: Onlyfans::Models::TrackingLinkListSpendersResponse::Data::Revenue
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Onlyfans::Models::TrackingLinkListSpendersResponse::Data::Revenue
- Defined in:
- lib/onlyfans/models/tracking_link_list_spenders_response.rb,
sig/onlyfans/models/tracking_link_list_spenders_response.rbs
Overview
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(calculated_at: nil, total: nil) ⇒ Revenue
constructor
A new instance of Revenue.
- #to_hash ⇒ { calculated_at: String, total: Float }
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(calculated_at: nil, total: nil) ⇒ Revenue
Returns a new instance of Revenue.
|
|
# File 'lib/onlyfans/models/tracking_link_list_spenders_response.rb', line 147
|
Instance Attribute Details
#calculated_at ⇒ String?
140 |
# File 'lib/onlyfans/models/tracking_link_list_spenders_response.rb', line 140 optional :calculated_at, String |
#total ⇒ Float?
145 |
# File 'lib/onlyfans/models/tracking_link_list_spenders_response.rb', line 145 optional :total, Float |
Instance Method Details
#to_hash ⇒ { calculated_at: String, total: Float }
198 |
# File 'sig/onlyfans/models/tracking_link_list_spenders_response.rbs', line 198
def to_hash: -> { calculated_at: String, total: Float }
|