Class: Onlyfans::Models::StoryRetrieveStatsResponse::Data::StoryCommentChart

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onlyfans/models/story_retrieve_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(created_at: nil, story_comment_all: nil, story_comment_chart: nil, story_comment_count: nil, story_like_all: nil, story_like_chart: nil, story_like_count: nil, story_look_all: nil, story_look_chart: nil, story_look_count: nil, story_tip_all: nil, story_tip_chart: nil, story_tip_count: nil, story_tip_sum: nil, story_tip_sum_chart: nil) ⇒ Object

Parameters:



223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
# File 'lib/onlyfans/models/story_retrieve_stats_response.rb', line 223

class StoryCommentChart < 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)


227
# File 'lib/onlyfans/models/story_retrieve_stats_response.rb', line 227

optional :count, Integer

#dateString?

Returns:

  • (String, nil)


232
# File 'lib/onlyfans/models/story_retrieve_stats_response.rb', line 232

optional :date, String