Class: XTwitterScraper::Models::SearchTweet::NoteTweet
Overview
Defined Under Namespace
Classes: RichtextTag
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 ⇒ Object
358
|
# File 'sig/x_twitter_scraper/models/search_tweet.rbs', line 358
def initialize: (
|
Instance Attribute Details
#entities ⇒ Hash{Symbol=>Object}?
467
|
# File 'lib/x_twitter_scraper/models/search_tweet.rb', line 467
optional :entities, XTwitterScraper::Internal::Type::HashOf[XTwitterScraper::Internal::Type::Unknown]
|
#id ⇒ String?
462
|
# File 'lib/x_twitter_scraper/models/search_tweet.rb', line 462
optional :id, String
|
#is_expandable ⇒ Boolean?
472
|
# File 'lib/x_twitter_scraper/models/search_tweet.rb', line 472
optional :is_expandable, XTwitterScraper::Internal::Type::Boolean, api_name: :isExpandable
|
477
478
479
480
481
|
# File 'lib/x_twitter_scraper/models/search_tweet.rb', line 477
optional :richtext_tags,
-> {
XTwitterScraper::Internal::Type::ArrayOf[XTwitterScraper::SearchTweet::NoteTweet::RichtextTag]
},
api_name: :richtextTags
|
#text ⇒ String
457
|
# File 'lib/x_twitter_scraper/models/search_tweet.rb', line 457
required :text, String
|
Instance Method Details
#to_hash ⇒ ::Hash[Symbol, top]
366
|
# File 'sig/x_twitter_scraper/models/search_tweet.rbs', line 366
def to_hash: -> ::Hash[Symbol, top]
|