Class: Onlyfans::Models::Analytics::FinancialGetForecastResponse
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/onlyfans/models/analytics/financial_get_forecast_response.rb,
sig/onlyfans/models/analytics/financial_get_forecast_response.rbs
Overview
Defined Under Namespace
Classes: Forecast, Historical
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(date: nil, value: nil) ⇒ Object
|
# File 'lib/onlyfans/models/analytics/financial_get_forecast_response.rb', line 47
|
Instance Attribute Details
11
12
|
# File 'lib/onlyfans/models/analytics/financial_get_forecast_response.rb', line 11
optional :forecast,
-> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::Analytics::FinancialGetForecastResponse::Forecast] }
|
17
18
|
# File 'lib/onlyfans/models/analytics/financial_get_forecast_response.rb', line 17
optional :historical,
-> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::Analytics::FinancialGetForecastResponse::Historical] }
|
#metric ⇒ String?
23
|
# File 'lib/onlyfans/models/analytics/financial_get_forecast_response.rb', line 23
optional :metric, String
|
#model ⇒ String?
28
|
# File 'lib/onlyfans/models/analytics/financial_get_forecast_response.rb', line 28
optional :model, String
|
Instance Method Details
#to_hash ⇒ {
40
|
# File 'sig/onlyfans/models/analytics/financial_get_forecast_response.rbs', line 40
def to_hash: -> {
|