Class: XTwitterScraper::Models::EmbeddedTweet::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/embedded_tweet.rb', line 583
|
Instance Attribute Details
#bookmark_count ⇒ Integer?
561
|
# File 'lib/x_twitter_scraper/models/embedded_tweet.rb', line 561
optional :bookmark_count, Integer, api_name: :bookmarkCount
|
#like_count ⇒ Integer?
566
|
# File 'lib/x_twitter_scraper/models/embedded_tweet.rb', line 566
optional :like_count, Integer, api_name: :likeCount
|
#quote_count ⇒ Integer?
571
|
# File 'lib/x_twitter_scraper/models/embedded_tweet.rb', line 571
optional :quote_count, Integer, api_name: :quoteCount
|
#reply_count ⇒ Integer?
576
|
# File 'lib/x_twitter_scraper/models/embedded_tweet.rb', line 576
optional :reply_count, Integer, api_name: :replyCount
|
581
|
# File 'lib/x_twitter_scraper/models/embedded_tweet.rb', line 581
optional :retweet_count, Integer, api_name: :retweetCount
|
Instance Method Details
#to_hash ⇒ ::Hash[Symbol, top]
468
|
# File 'sig/x_twitter_scraper/models/embedded_tweet.rbs', line 468
def to_hash: -> ::Hash[Symbol, top]
|