Class: Onlyfans::Models::ChargebackListStatisticsResponse::Data::ChartAmount
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Onlyfans::Models::ChargebackListStatisticsResponse::Data::ChartAmount
- Defined in:
- lib/onlyfans/models/chargeback_list_statistics_response.rb,
sig/onlyfans/models/chargeback_list_statistics_response.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(chart_amount: nil, chart_count: nil, delta: nil, total: nil) ⇒ ChartAmount
constructor
A new instance of ChartAmount.
- #to_hash ⇒ { count: Float, date: String }
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(chart_amount: nil, chart_count: nil, delta: nil, total: nil) ⇒ ChartAmount
Returns a new instance of ChartAmount.
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/onlyfans/models/chargeback_list_statistics_response.rb', line 145 class ChartAmount < Onlyfans::Internal::Type::BaseModel # @!attribute count # # @return [Float, nil] optional :count, Float # @!attribute date # # @return [String, nil] optional :date, String # @!method initialize(count: nil, date: nil) # @param count [Float] # @param date [String] end |
Instance Attribute Details
#count ⇒ Float?
149 |
# File 'lib/onlyfans/models/chargeback_list_statistics_response.rb', line 149 optional :count, Float |
#date ⇒ String?
154 |
# File 'lib/onlyfans/models/chargeback_list_statistics_response.rb', line 154 optional :date, String |
Instance Method Details
#to_hash ⇒ { count: Float, date: String }
207 |
# File 'sig/onlyfans/models/chargeback_list_statistics_response.rbs', line 207
def to_hash: -> { count: Float, date: String }
|