Class: XTwitterScraper::Models::ExtractionEstimateCostParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- XTwitterScraper::Models::ExtractionEstimateCostParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb,
sig/x_twitter_scraper/models/extraction_estimate_cost_params.rbs
Overview
Defined Under Namespace
Modules: MediaType, Quotes, Replies, Retweets, ToolType
Constant Summary
Constants included from Internal::Type::RequestParameters
Internal::Type::RequestParameters::XTwitterScraper
Instance Attribute Summary collapse
-
#advanced_query ⇒ String?
Raw advanced query string appended to the estimate (tweet_search_extractor).
-
#any_words ⇒ String?
Alternative words or quoted phrases for estimated results.
-
#bounding_box ⇒ String?
Geo bounding box used for estimation, e.g.
-
#cashtags ⇒ String?
Cashtags applied to the estimate, separated by spaces, commas, or lines.
-
#conversation_id ⇒ String?
Conversation ID filter used for estimation (tweet_search_extractor).
-
#exact_phrase ⇒ String?
Exact phrase filter for search estimation.
-
#exclude_words ⇒ String?
Words or quoted phrases excluded from estimated results.
-
#from_user ⇒ String?
Estimate only tweets from this author username (tweet_search_extractor).
-
#hashtags ⇒ String?
Hashtags applied to the estimate, separated by spaces, commas, or lines.
-
#in_reply_to_tweet_id ⇒ String?
Estimate only replies to this tweet ID (tweet_search_extractor).
-
#language ⇒ String?
Language code used for estimate filtering (tweet_search_extractor).
-
#list_id ⇒ String?
Estimate search results within this list ID (tweet_search_extractor).
-
#media_type ⇒ Symbol, ...
Media type used for estimate filtering (tweet_search_extractor).
-
#mentioning ⇒ String?
Estimate tweets mentioning this username (tweet_search_extractor).
-
#min_faves ⇒ Integer?
Minimum likes threshold for estimated results (tweet_search_extractor).
-
#min_quotes ⇒ Integer?
Minimum quote count threshold for estimated results (tweet_search_extractor).
-
#min_replies ⇒ Integer?
Minimum replies threshold for estimated results (tweet_search_extractor).
-
#min_retweets ⇒ Integer?
Minimum retweets threshold for estimated results (tweet_search_extractor).
-
#place ⇒ String?
Estimate search results within this place ID (tweet_search_extractor).
-
#place_country ⇒ String?
Estimate search results within this country code (tweet_search_extractor).
-
#point_radius ⇒ String?
Geo point radius used for estimation, e.g.
-
#quotes ⇒ Symbol, ...
Quote mode used for estimation (tweet_search_extractor).
-
#quotes_of_tweet_id ⇒ String?
Estimate only quotes of this tweet ID (tweet_search_extractor).
-
#replies ⇒ Symbol, ...
Reply mode used for estimation (tweet_search_extractor).
-
#results_limit ⇒ Integer?
Maximum number of results to estimate.
-
#retweets ⇒ Symbol, ...
Retweet mode used for estimation (tweet_search_extractor).
-
#retweets_of_tweet_id ⇒ String?
Estimate only retweets of this tweet ID (tweet_search_extractor).
-
#search_query ⇒ String?
Required for tweet_search_extractor & community_search.
-
#since_date ⇒ Date?
Estimate start date in YYYY-MM-DD format (tweet_search_extractor).
-
#target_community_id ⇒ String?
Required for community_post_extractor & community_search.
-
#target_list_id ⇒ String?
Required for list_follower_explorer, list_member_extractor & list_post_extractor.
-
#target_space_id ⇒ String?
Required for space_explorer.
- #target_tweet_id ⇒ String?
- #target_username ⇒ String?
-
#to_user ⇒ String?
Estimate replies sent to this username (tweet_search_extractor).
-
#tool_type ⇒ Symbol, XTwitterScraper::Models::ExtractionEstimateCostParams::ToolType
Identifier for the extraction tool used to run a job.
-
#until_date ⇒ Date?
Estimate end date in YYYY-MM-DD format (tweet_search_extractor).
-
#url ⇒ String?
URL substring or domain filter used for estimation (tweet_search_extractor).
-
#verified_only ⇒ Boolean?
Estimate only verified authors (tweet_search_extractor).
Attributes included from Internal::Type::RequestParameters
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(tool_type:, advanced_query: nil, any_words: nil, bounding_box: nil, cashtags: nil, conversation_id: nil, exact_phrase: nil, exclude_words: nil, from_user: nil, hashtags: nil, in_reply_to_tweet_id: nil, language: nil, list_id: nil, media_type: nil, mentioning: nil, min_faves: nil, min_quotes: nil, min_replies: nil, min_retweets: nil, place: nil, place_country: nil, point_radius: nil, quotes: nil, quotes_of_tweet_id: nil, replies: nil, results_limit: nil, retweets: nil, retweets_of_tweet_id: nil, search_query: nil, since_date: nil, target_community_id: nil, target_list_id: nil, target_space_id: nil, target_tweet_id: nil, target_username: nil, to_user: nil, until_date: nil, url: nil, verified_only: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see ExtractionEstimateCostParams for more details.
- #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(tool_type:, advanced_query: nil, any_words: nil, bounding_box: nil, cashtags: nil, conversation_id: nil, exact_phrase: nil, exclude_words: nil, from_user: nil, hashtags: nil, in_reply_to_tweet_id: nil, language: nil, list_id: nil, media_type: nil, mentioning: nil, min_faves: nil, min_quotes: nil, min_replies: nil, min_retweets: nil, place: nil, place_country: nil, point_radius: nil, quotes: nil, quotes_of_tweet_id: nil, replies: nil, results_limit: nil, retweets: nil, retweets_of_tweet_id: nil, search_query: nil, since_date: nil, target_community_id: nil, target_list_id: nil, target_space_id: nil, target_tweet_id: nil, target_username: nil, to_user: nil, until_date: nil, url: nil, verified_only: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see XTwitterScraper::Models::ExtractionEstimateCostParams for more details.
|
|
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 252
|
Instance Attribute Details
#advanced_query ⇒ String?
Raw advanced query string appended to the estimate (tweet_search_extractor)
22 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 22 optional :advanced_query, String, api_name: :advancedQuery |
#any_words ⇒ String?
Alternative words or quoted phrases for estimated results. Separate with spaces, commas, or lines.
29 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 29 optional :any_words, String, api_name: :anyWords |
#bounding_box ⇒ String?
Geo bounding box used for estimation, e.g. -74.1 40.6 -73.9 40.8 (tweet_search_extractor)
36 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 36 optional :bounding_box, String, api_name: :boundingBox |
#cashtags ⇒ String?
Cashtags applied to the estimate, separated by spaces, commas, or lines.
42 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 42 optional :cashtags, String |
#conversation_id ⇒ String?
Conversation ID filter used for estimation (tweet_search_extractor)
48 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 48 optional :conversation_id, String, api_name: :conversationId |
#exact_phrase ⇒ String?
Exact phrase filter for search estimation
54 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 54 optional :exact_phrase, String, api_name: :exactPhrase |
#exclude_words ⇒ String?
Words or quoted phrases excluded from estimated results. Separate with spaces, commas, or lines.
61 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 61 optional :exclude_words, String, api_name: :excludeWords |
#from_user ⇒ String?
Estimate only tweets from this author username (tweet_search_extractor)
67 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 67 optional :from_user, String, api_name: :fromUser |
#hashtags ⇒ String?
Hashtags applied to the estimate, separated by spaces, commas, or lines.
73 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 73 optional :hashtags, String |
#in_reply_to_tweet_id ⇒ String?
Estimate only replies to this tweet ID (tweet_search_extractor)
79 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 79 optional :in_reply_to_tweet_id, String, api_name: :inReplyToTweetId |
#language ⇒ String?
Language code used for estimate filtering (tweet_search_extractor)
85 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 85 optional :language, String |
#list_id ⇒ String?
Estimate search results within this list ID (tweet_search_extractor)
91 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 91 optional :list_id, String, api_name: :listId |
#media_type ⇒ Symbol, ...
Media type used for estimate filtering (tweet_search_extractor)
97 98 99 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 97 optional :media_type, enum: -> { XTwitterScraper::ExtractionEstimateCostParams::MediaType }, api_name: :mediaType |
#mentioning ⇒ String?
Estimate tweets mentioning this username (tweet_search_extractor)
105 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 105 optional :mentioning, String |
#min_faves ⇒ Integer?
Minimum likes threshold for estimated results (tweet_search_extractor)
111 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 111 optional :min_faves, Integer, api_name: :minFaves |
#min_quotes ⇒ Integer?
Minimum quote count threshold for estimated results (tweet_search_extractor)
117 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 117 optional :min_quotes, Integer, api_name: :minQuotes |
#min_replies ⇒ Integer?
Minimum replies threshold for estimated results (tweet_search_extractor)
123 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 123 optional :min_replies, Integer, api_name: :minReplies |
#min_retweets ⇒ Integer?
Minimum retweets threshold for estimated results (tweet_search_extractor)
129 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 129 optional :min_retweets, Integer, api_name: :minRetweets |
#place ⇒ String?
Estimate search results within this place ID (tweet_search_extractor)
135 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 135 optional :place, String |
#place_country ⇒ String?
Estimate search results within this country code (tweet_search_extractor)
141 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 141 optional :place_country, String, api_name: :placeCountry |
#point_radius ⇒ String?
Geo point radius used for estimation, e.g. -73.99 40.73 25mi (tweet_search_extractor)
148 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 148 optional :point_radius, String, api_name: :pointRadius |
#quotes ⇒ Symbol, ...
Quote mode used for estimation (tweet_search_extractor)
154 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 154 optional :quotes, enum: -> { XTwitterScraper::ExtractionEstimateCostParams::Quotes } |
#quotes_of_tweet_id ⇒ String?
Estimate only quotes of this tweet ID (tweet_search_extractor)
160 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 160 optional :quotes_of_tweet_id, String, api_name: :quotesOfTweetId |
#replies ⇒ Symbol, ...
Reply mode used for estimation (tweet_search_extractor)
166 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 166 optional :replies, enum: -> { XTwitterScraper::ExtractionEstimateCostParams::Replies } |
#results_limit ⇒ Integer?
Maximum number of results to estimate. When set, the estimate caps projected results to this value.
173 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 173 optional :results_limit, Integer, api_name: :resultsLimit |
#retweets ⇒ Symbol, ...
Retweet mode used for estimation (tweet_search_extractor)
179 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 179 optional :retweets, enum: -> { XTwitterScraper::ExtractionEstimateCostParams::Retweets } |
#retweets_of_tweet_id ⇒ String?
Estimate only retweets of this tweet ID (tweet_search_extractor)
185 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 185 optional :retweets_of_tweet_id, String, api_name: :retweetsOfTweetId |
#search_query ⇒ String?
Required for tweet_search_extractor & community_search.
191 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 191 optional :search_query, String, api_name: :searchQuery |
#since_date ⇒ Date?
Estimate start date in YYYY-MM-DD format (tweet_search_extractor)
197 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 197 optional :since_date, Date, api_name: :sinceDate |
#target_community_id ⇒ String?
Required for community_post_extractor & community_search.
203 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 203 optional :target_community_id, String, api_name: :targetCommunityId |
#target_list_id ⇒ String?
Required for list_follower_explorer, list_member_extractor & list_post_extractor.
210 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 210 optional :target_list_id, String, api_name: :targetListId |
#target_space_id ⇒ String?
Required for space_explorer.
216 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 216 optional :target_space_id, String, api_name: :targetSpaceId |
#target_tweet_id ⇒ String?
221 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 221 optional :target_tweet_id, String, api_name: :targetTweetId |
#target_username ⇒ String?
226 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 226 optional :target_username, String, api_name: :targetUsername |
#to_user ⇒ String?
Estimate replies sent to this username (tweet_search_extractor)
232 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 232 optional :to_user, String, api_name: :toUser |
#tool_type ⇒ Symbol, XTwitterScraper::Models::ExtractionEstimateCostParams::ToolType
Identifier for the extraction tool used to run a job.
14 15 16 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 14 required :tool_type, enum: -> { XTwitterScraper::ExtractionEstimateCostParams::ToolType }, api_name: :toolType |
#until_date ⇒ Date?
Estimate end date in YYYY-MM-DD format (tweet_search_extractor)
238 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 238 optional :until_date, Date, api_name: :untilDate |
#url ⇒ String?
URL substring or domain filter used for estimation (tweet_search_extractor)
244 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 244 optional :url, String |
#verified_only ⇒ Boolean?
Estimate only verified authors (tweet_search_extractor)
250 |
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 250 optional :verified_only, XTwitterScraper::Internal::Type::Boolean, api_name: :verifiedOnly |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/x_twitter_scraper/models/extraction_estimate_cost_params.rb', line 364
|
Instance Method Details
#to_hash ⇒ {
256 |
# File 'sig/x_twitter_scraper/models/extraction_estimate_cost_params.rbs', line 256
def to_hash: -> {
|