Class: Onlyfans::Models::Analytics::FinancialGetForecastResponse::Historical
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Onlyfans::Models::Analytics::FinancialGetForecastResponse::Historical
- Defined in:
- lib/onlyfans/models/analytics/financial_get_forecast_response.rb,
sig/onlyfans/models/analytics/financial_get_forecast_response.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(date: nil, value: nil) ⇒ Historical
constructor
A new instance of Historical.
- #to_hash ⇒ { date: String, value: 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(date: nil, value: nil) ⇒ Historical
Returns a new instance of Historical.
|
|
# File 'lib/onlyfans/models/analytics/financial_get_forecast_response.rb', line 63
|
Instance Attribute Details
#date ⇒ String?
56 |
# File 'lib/onlyfans/models/analytics/financial_get_forecast_response.rb', line 56 optional :date, String |
#value ⇒ Float?
61 |
# File 'lib/onlyfans/models/analytics/financial_get_forecast_response.rb', line 61 optional :value, Float |
Instance Method Details
#to_hash ⇒ { date: String, value: Float }
76 |
# File 'sig/onlyfans/models/analytics/financial_get_forecast_response.rbs', line 76
def to_hash: -> { date: String, value: Float }
|