Class: Onlyfans::Models::StatisticGetSubscriberMetricsResponse::Data
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/onlyfans/models/statistic_get_subscriber_metrics_response.rb,
sig/onlyfans/models/statistic_get_subscriber_metrics_response.rbs
Overview
Defined Under Namespace
Classes: Detailed
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(detailed: nil, new_subscriptions: nil, renewed_subscriptions: nil, total_subscriptions: nil) ⇒ Object
|
# File 'lib/onlyfans/models/statistic_get_subscriber_metrics_response.rb', line 135
|
Instance Attribute Details
118
|
# File 'lib/onlyfans/models/statistic_get_subscriber_metrics_response.rb', line 118
optional :detailed, -> { Onlyfans::Models::StatisticGetSubscriberMetricsResponse::Data::Detailed }
|
#new_subscriptions ⇒ Integer?
123
|
# File 'lib/onlyfans/models/statistic_get_subscriber_metrics_response.rb', line 123
optional :new_subscriptions, Integer
|
#renewed_subscriptions ⇒ Integer?
128
|
# File 'lib/onlyfans/models/statistic_get_subscriber_metrics_response.rb', line 128
optional :renewed_subscriptions, Integer
|
#total_subscriptions ⇒ Integer?
133
|
# File 'lib/onlyfans/models/statistic_get_subscriber_metrics_response.rb', line 133
optional :total_subscriptions, Integer
|
Instance Method Details
#to_hash ⇒ {
185
|
# File 'sig/onlyfans/models/statistic_get_subscriber_metrics_response.rbs', line 185
def to_hash: -> {
|