Class: Onlyfans::Models::Analytics::SummaryGetPeriodComparisonParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Onlyfans::Models::Analytics::SummaryGetPeriodComparisonParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/onlyfans/models/analytics/summary_get_period_comparison_params.rb
Overview
Defined Under Namespace
Modules: Granularity, StatType Classes: PeriodA, PeriodB
Instance Attribute Summary collapse
-
#account_ids ⇒ Array<String>
Array of account prefixed IDs to compare.
-
#granularity ⇒ Symbol, ...
Comparison granularity.
-
#period_a ⇒ Onlyfans::Models::Analytics::SummaryGetPeriodComparisonParams::PeriodA
First period to compare.
-
#period_b ⇒ Onlyfans::Models::Analytics::SummaryGetPeriodComparisonParams::PeriodB
Second period to compare.
-
#stat_type ⇒ Symbol, ...
The statistic type to compare.
Attributes included from Internal::Type::RequestParameters
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(end_:, start:) ⇒ Object
constructor
Some parameter documentations has been truncated, see PeriodB for more details.
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(end_:, start:) ⇒ Object
Some parameter documentations has been truncated, see PeriodB for more details.
Second period to compare
|
|
# File 'lib/onlyfans/models/analytics/summary_get_period_comparison_params.rb', line 68
|
Instance Attribute Details
#account_ids ⇒ Array<String>
Array of account prefixed IDs to compare
15 |
# File 'lib/onlyfans/models/analytics/summary_get_period_comparison_params.rb', line 15 required :account_ids, Onlyfans::Internal::Type::ArrayOf[String] |
#granularity ⇒ Symbol, ...
Comparison granularity
33 |
# File 'lib/onlyfans/models/analytics/summary_get_period_comparison_params.rb', line 33 optional :granularity, enum: -> { Onlyfans::Analytics::SummaryGetPeriodComparisonParams::Granularity } |
#period_a ⇒ Onlyfans::Models::Analytics::SummaryGetPeriodComparisonParams::PeriodA
First period to compare
21 |
# File 'lib/onlyfans/models/analytics/summary_get_period_comparison_params.rb', line 21 required :period_a, -> { Onlyfans::Analytics::SummaryGetPeriodComparisonParams::PeriodA } |
#period_b ⇒ Onlyfans::Models::Analytics::SummaryGetPeriodComparisonParams::PeriodB
Second period to compare
27 |
# File 'lib/onlyfans/models/analytics/summary_get_period_comparison_params.rb', line 27 required :period_b, -> { Onlyfans::Analytics::SummaryGetPeriodComparisonParams::PeriodB } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/onlyfans/models/analytics/summary_get_period_comparison_params.rb', line 115
|