Class: XTwitterScraper::Models::X::TweetDetail::Place
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 ⇒ Object
424
|
# File 'sig/x_twitter_scraper/models/x/tweet_detail.rbs', line 424
def initialize: (
|
Instance Attribute Details
#bounding_box ⇒ Hash{Symbol=>Object}?
529
530
531
|
# File 'lib/x_twitter_scraper/models/x/tweet_detail.rb', line 529
optional :bounding_box,
XTwitterScraper::Internal::Type::HashOf[XTwitterScraper::Internal::Type::Unknown],
api_name: :boundingBox
|
#country ⇒ String?
536
|
# File 'lib/x_twitter_scraper/models/x/tweet_detail.rb', line 536
optional :country, String
|
#country_code ⇒ String?
541
|
# File 'lib/x_twitter_scraper/models/x/tweet_detail.rb', line 541
optional :country_code, String, api_name: :countryCode
|
#full_name ⇒ String?
546
|
# File 'lib/x_twitter_scraper/models/x/tweet_detail.rb', line 546
optional :full_name, String, api_name: :fullName
|
#id ⇒ String?
524
|
# File 'lib/x_twitter_scraper/models/x/tweet_detail.rb', line 524
optional :id, String
|
#name ⇒ String?
551
|
# File 'lib/x_twitter_scraper/models/x/tweet_detail.rb', line 551
optional :name, String
|
#place_type ⇒ String?
556
|
# File 'lib/x_twitter_scraper/models/x/tweet_detail.rb', line 556
optional :place_type, String, api_name: :placeType
|
#url ⇒ String?
561
|
# File 'lib/x_twitter_scraper/models/x/tweet_detail.rb', line 561
optional :url, String
|
Instance Method Details
#to_hash ⇒ ::Hash[Symbol, top]
435
|
# File 'sig/x_twitter_scraper/models/x/tweet_detail.rbs', line 435
def to_hash: -> ::Hash[Symbol, top]
|