Class: Onlyfans::Models::PostStatsResponse::Data
Overview
Defined Under Namespace
Classes: CommentChart, LikeChart, LookChart, PurchasesChart, TipChart, TipSumChart, UniqueLookChart
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(count: nil, date: nil) ⇒ Object
|
# File 'lib/onlyfans/models/post_stats_response.rb', line 262
|
Instance Attribute Details
118
119
120
|
# File 'lib/onlyfans/models/post_stats_response.rb', line 118
optional :comment_chart,
-> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::PostStatsResponse::Data::CommentChart] },
api_name: :commentChart
|
125
|
# File 'lib/onlyfans/models/post_stats_response.rb', line 125
optional :comment_count, Integer, api_name: :commentCount
|
#has_stats ⇒ Boolean?
130
|
# File 'lib/onlyfans/models/post_stats_response.rb', line 130
optional :has_stats, Onlyfans::Internal::Type::Boolean, api_name: :hasStats
|
#has_video ⇒ Boolean?
135
|
# File 'lib/onlyfans/models/post_stats_response.rb', line 135
optional :has_video, Onlyfans::Internal::Type::Boolean, api_name: :hasVideo
|
#is_available ⇒ Boolean?
140
|
# File 'lib/onlyfans/models/post_stats_response.rb', line 140
optional :is_available, Onlyfans::Internal::Type::Boolean, api_name: :isAvailable
|
145
146
147
|
# File 'lib/onlyfans/models/post_stats_response.rb', line 145
optional :like_chart,
-> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::PostStatsResponse::Data::LikeChart] },
api_name: :likeChart
|
#like_count ⇒ Integer?
152
|
# File 'lib/onlyfans/models/post_stats_response.rb', line 152
optional :like_count, Integer, api_name: :likeCount
|
157
158
159
|
# File 'lib/onlyfans/models/post_stats_response.rb', line 157
optional :look_chart,
-> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::PostStatsResponse::Data::LookChart] },
api_name: :lookChart
|
#look_count ⇒ Integer?
164
|
# File 'lib/onlyfans/models/post_stats_response.rb', line 164
optional :look_count, Integer, api_name: :lookCount
|
#look_duration ⇒ Integer?
169
|
# File 'lib/onlyfans/models/post_stats_response.rb', line 169
optional :look_duration, Integer, api_name: :lookDuration
|
#look_duration_average ⇒ Integer?
174
|
# File 'lib/onlyfans/models/post_stats_response.rb', line 174
optional :look_duration_average, Integer, api_name: :lookDurationAverage
|
#purchased_count ⇒ Integer?
179
|
# File 'lib/onlyfans/models/post_stats_response.rb', line 179
optional :purchased_count, Integer, api_name: :purchasedCount
|
#purchased_summ ⇒ Integer?
184
|
# File 'lib/onlyfans/models/post_stats_response.rb', line 184
optional :purchased_summ, Integer, api_name: :purchasedSumm
|
189
190
191
|
# File 'lib/onlyfans/models/post_stats_response.rb', line 189
optional :purchases_chart,
-> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::PostStatsResponse::Data::PurchasesChart] },
api_name: :purchasesChart
|
196
197
198
|
# File 'lib/onlyfans/models/post_stats_response.rb', line 196
optional :tip_chart,
-> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::PostStatsResponse::Data::TipChart] },
api_name: :tipChart
|
#tip_count ⇒ Integer?
203
|
# File 'lib/onlyfans/models/post_stats_response.rb', line 203
optional :tip_count, Integer, api_name: :tipCount
|
#tip_sum ⇒ Integer?
208
|
# File 'lib/onlyfans/models/post_stats_response.rb', line 208
optional :tip_sum, Integer, api_name: :tipSum
|
213
214
215
|
# File 'lib/onlyfans/models/post_stats_response.rb', line 213
optional :tip_sum_chart,
-> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::PostStatsResponse::Data::TipSumChart] },
api_name: :tipSumChart
|
220
221
222
|
# File 'lib/onlyfans/models/post_stats_response.rb', line 220
optional :unique_look_chart,
-> { Onlyfans::Internal::Type::ArrayOf[Onlyfans::Models::PostStatsResponse::Data::UniqueLookChart] },
api_name: :uniqueLookChart
|
#unique_look_count ⇒ Integer?
227
|
# File 'lib/onlyfans/models/post_stats_response.rb', line 227
optional :unique_look_count, Integer, api_name: :uniqueLookCount
|
Instance Method Details
#to_hash ⇒ {
293
|
# File 'sig/onlyfans/models/post_stats_response.rbs', line 293
def to_hash: -> {
|