Class: XTwitterScraper::Models::TweetMedia::VideoVariant
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(content_type:, url:, bitrate: nil) ⇒ Object
|
# File 'lib/x_twitter_scraper/models/tweet_media.rb', line 286
|
Instance Attribute Details
#bitrate ⇒ Integer?
284
|
# File 'lib/x_twitter_scraper/models/tweet_media.rb', line 284
optional :bitrate, Integer
|
#content_type ⇒ String
274
|
# File 'lib/x_twitter_scraper/models/tweet_media.rb', line 274
required :content_type, String, api_name: :contentType
|
#url ⇒ String
279
|
# File 'lib/x_twitter_scraper/models/tweet_media.rb', line 279
required :url, String
|
Instance Method Details
#to_hash ⇒ ::Hash[Symbol, top]
203
|
# File 'sig/x_twitter_scraper/models/tweet_media.rbs', line 203
def to_hash: -> ::Hash[Symbol, top]
|