Class: XTwitterScraper::Models::X::TweetDetail::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
359
|
# File 'sig/x_twitter_scraper/models/x/tweet_detail.rbs', line 359
def initialize: (
|
Instance Attribute Details
#entities ⇒ Hash{Symbol=>Object}?
471
|
# File 'lib/x_twitter_scraper/models/x/tweet_detail.rb', line 471
optional :entities, XTwitterScraper::Internal::Type::HashOf[XTwitterScraper::Internal::Type::Unknown]
|
#id ⇒ String?
466
|
# File 'lib/x_twitter_scraper/models/x/tweet_detail.rb', line 466
optional :id, String
|
#is_expandable ⇒ Boolean?
476
|
# File 'lib/x_twitter_scraper/models/x/tweet_detail.rb', line 476
optional :is_expandable, XTwitterScraper::Internal::Type::Boolean, api_name: :isExpandable
|
481
482
483
484
485
|
# File 'lib/x_twitter_scraper/models/x/tweet_detail.rb', line 481
optional :richtext_tags,
-> {
XTwitterScraper::Internal::Type::ArrayOf[XTwitterScraper::X::TweetDetail::NoteTweet::RichtextTag]
},
api_name: :richtextTags
|
#text ⇒ String
461
|
# File 'lib/x_twitter_scraper/models/x/tweet_detail.rb', line 461
required :text, String
|
Instance Method Details
#to_hash ⇒ ::Hash[Symbol, top]
367
|
# File 'sig/x_twitter_scraper/models/x/tweet_detail.rbs', line 367
def to_hash: -> ::Hash[Symbol, top]
|