Class: Onlyfans::Models::PostStatsResponse::Data::CommentChart

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/post_stats_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(comment_chart: nil, comment_count: nil, has_stats: nil, has_video: nil, is_available: nil, like_chart: nil, like_count: nil, look_chart: nil, look_count: nil, look_duration: nil, look_duration_average: nil, purchased_count: nil, purchased_summ: nil, purchases_chart: nil, tip_chart: nil, tip_count: nil, tip_sum: nil, tip_sum_chart: nil, unique_look_chart: nil, unique_look_count: nil) ⇒ Object

Parameters:



251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
# File 'lib/onlyfans/models/post_stats_response.rb', line 251

class CommentChart < Onlyfans::Internal::Type::BaseModel
  # @!attribute count
  #
  #   @return [Integer, nil]
  optional :count, Integer

  # @!attribute date
  #
  #   @return [String, nil]
  optional :date, String

  # @!method initialize(count: nil, date: nil)
  #   @param count [Integer]
  #   @param date [String]
end

Instance Attribute Details

#countInteger?

Returns:

  • (Integer, nil)


255
# File 'lib/onlyfans/models/post_stats_response.rb', line 255

optional :count, Integer

#dateString?

Returns:

  • (String, nil)


260
# File 'lib/onlyfans/models/post_stats_response.rb', line 260

optional :date, String