Class: XTwitterScraper::Models::SearchTweet::PreviousCounts
Overview
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(bookmark_count: nil, like_count: nil, quote_count: nil, reply_count: nil, retweet_count: nil) ⇒ Object
Engagement counts retained from a prior tweet edit.
|
# File 'lib/x_twitter_scraper/models/search_tweet.rb', line 599
|
Instance Attribute Details
#bookmark_count ⇒ Integer?
577
|
# File 'lib/x_twitter_scraper/models/search_tweet.rb', line 577
optional :bookmark_count, Integer, api_name: :bookmarkCount
|
#like_count ⇒ Integer?
582
|
# File 'lib/x_twitter_scraper/models/search_tweet.rb', line 582
optional :like_count, Integer, api_name: :likeCount
|
#quote_count ⇒ Integer?
587
|
# File 'lib/x_twitter_scraper/models/search_tweet.rb', line 587
optional :quote_count, Integer, api_name: :quoteCount
|
#reply_count ⇒ Integer?
592
|
# File 'lib/x_twitter_scraper/models/search_tweet.rb', line 592
optional :reply_count, Integer, api_name: :replyCount
|
597
|
# File 'lib/x_twitter_scraper/models/search_tweet.rb', line 597
optional :retweet_count, Integer, api_name: :retweetCount
|
Instance Method Details
#to_hash ⇒ ::Hash[Symbol, top]
468
|
# File 'sig/x_twitter_scraper/models/search_tweet.rbs', line 468
def to_hash: -> ::Hash[Symbol, top]
|