Class: XTwitterScraper::Models::X::MediaDownloadParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- XTwitterScraper::Models::X::MediaDownloadParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/x_twitter_scraper/models/x/media_download_params.rb,
sig/x_twitter_scraper/models/x/media_download_params.rbs
Overview
Constant Summary
Constants included from Internal::Type::RequestParameters
Internal::Type::RequestParameters::XTwitterScraper
Instance Attribute Summary collapse
-
#tweet_ids ⇒ Array<String>?
Array of tweet URLs or IDs (bulk, max 50).
-
#tweet_input ⇒ String?
Tweet URL or ID (single tweet).
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
- #initialize(tweet_ids: nil, tweet_input: nil, request_options: {}) ⇒ Object constructor
- #to_hash ⇒ {
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
==, #==, #[], 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
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(tweet_ids: nil, tweet_input: nil, request_options: {}) ⇒ Object
|
|
# File 'lib/x_twitter_scraper/models/x/media_download_params.rb', line 23
|
Instance Attribute Details
#tweet_ids ⇒ Array<String>?
Array of tweet URLs or IDs (bulk, max 50)
15 |
# File 'lib/x_twitter_scraper/models/x/media_download_params.rb', line 15 optional :tweet_ids, XTwitterScraper::Internal::Type::ArrayOf[String], api_name: :tweetIds |
#tweet_input ⇒ String?
Tweet URL or ID (single tweet)
21 |
# File 'lib/x_twitter_scraper/models/x/media_download_params.rb', line 21 optional :tweet_input, String, api_name: :tweetInput |
Instance Method Details
#to_hash ⇒ {
26 |
# File 'sig/x_twitter_scraper/models/x/media_download_params.rbs', line 26
def to_hash: -> {
|