Class: XTwitterScraper::Models::ExtractionExportResultsParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- XTwitterScraper::Models::ExtractionExportResultsParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/x_twitter_scraper/models/extraction_export_results_params.rb,
sig/x_twitter_scraper/models/extraction_export_results_params.rbs
Overview
Defined Under Namespace
Modules: Format
Constant Summary
Constants included from Internal::Type::RequestParameters
Internal::Type::RequestParameters::XTwitterScraper
Instance Attribute Summary collapse
-
#format_ ⇒ Symbol, XTwitterScraper::Models::ExtractionExportResultsParams::Format
Export file format.
-
#has_description ⇒ Boolean?
Require a non-empty description.
-
#has_location ⇒ Boolean?
Require a non-empty location.
-
#has_media ⇒ Boolean?
Require media.
- #id ⇒ String
-
#lang ⇒ String?
Filter by language code.
-
#max_followers ⇒ Integer?
Maximum follower count.
-
#max_following ⇒ Integer?
Maximum following count.
-
#max_posts ⇒ Integer?
Maximum post count.
-
#min_followers ⇒ Integer?
Minimum follower count.
-
#min_following ⇒ Integer?
Minimum following count.
-
#min_likes ⇒ Integer?
Minimum like count.
-
#min_posts ⇒ Integer?
Minimum post count.
-
#min_replies ⇒ Integer?
Minimum reply count.
-
#min_retweets ⇒ Integer?
Minimum repost count.
-
#min_views ⇒ Integer?
Minimum view count.
-
#search ⇒ String?
Search exported result text.
-
#since_date ⇒ Date?
Include results on or after this date.
-
#until_date ⇒ Date?
Include results on or before this date.
-
#verified ⇒ Boolean?
Filter by verified status.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
- #initialize(id:, format_:, has_description: nil, has_location: nil, has_media: nil, lang: nil, max_followers: nil, max_following: nil, max_posts: nil, min_followers: nil, min_following: nil, min_likes: nil, min_posts: nil, min_replies: nil, min_retweets: nil, min_views: nil, search: nil, since_date: nil, until_date: nil, verified: 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(id:, format_:, has_description: nil, has_location: nil, has_media: nil, lang: nil, max_followers: nil, max_following: nil, max_posts: nil, min_followers: nil, min_following: nil, min_likes: nil, min_posts: nil, min_replies: nil, min_retweets: nil, min_views: nil, search: nil, since_date: nil, until_date: nil, verified: nil, request_options: {}) ⇒ Object
|
|
# File 'lib/x_twitter_scraper/models/extraction_export_results_params.rb', line 133
|
Instance Attribute Details
#format_ ⇒ Symbol, XTwitterScraper::Models::ExtractionExportResultsParams::Format
Export file format
23 |
# File 'lib/x_twitter_scraper/models/extraction_export_results_params.rb', line 23 required :format_, enum: -> { XTwitterScraper::ExtractionExportResultsParams::Format } |
#has_description ⇒ Boolean?
Require a non-empty description.
29 |
# File 'lib/x_twitter_scraper/models/extraction_export_results_params.rb', line 29 optional :has_description, XTwitterScraper::Internal::Type::Boolean |
#has_location ⇒ Boolean?
Require a non-empty location.
35 |
# File 'lib/x_twitter_scraper/models/extraction_export_results_params.rb', line 35 optional :has_location, XTwitterScraper::Internal::Type::Boolean |
#has_media ⇒ Boolean?
Require media.
41 |
# File 'lib/x_twitter_scraper/models/extraction_export_results_params.rb', line 41 optional :has_media, XTwitterScraper::Internal::Type::Boolean |
#id ⇒ String
17 |
# File 'lib/x_twitter_scraper/models/extraction_export_results_params.rb', line 17 required :id, String |
#lang ⇒ String?
Filter by language code.
47 |
# File 'lib/x_twitter_scraper/models/extraction_export_results_params.rb', line 47 optional :lang, String |
#max_followers ⇒ Integer?
Maximum follower count.
53 |
# File 'lib/x_twitter_scraper/models/extraction_export_results_params.rb', line 53 optional :max_followers, Integer |
#max_following ⇒ Integer?
Maximum following count.
59 |
# File 'lib/x_twitter_scraper/models/extraction_export_results_params.rb', line 59 optional :max_following, Integer |
#max_posts ⇒ Integer?
Maximum post count.
65 |
# File 'lib/x_twitter_scraper/models/extraction_export_results_params.rb', line 65 optional :max_posts, Integer |
#min_followers ⇒ Integer?
Minimum follower count.
71 |
# File 'lib/x_twitter_scraper/models/extraction_export_results_params.rb', line 71 optional :min_followers, Integer |
#min_following ⇒ Integer?
Minimum following count.
77 |
# File 'lib/x_twitter_scraper/models/extraction_export_results_params.rb', line 77 optional :min_following, Integer |
#min_likes ⇒ Integer?
Minimum like count.
83 |
# File 'lib/x_twitter_scraper/models/extraction_export_results_params.rb', line 83 optional :min_likes, Integer |
#min_posts ⇒ Integer?
Minimum post count.
89 |
# File 'lib/x_twitter_scraper/models/extraction_export_results_params.rb', line 89 optional :min_posts, Integer |
#min_replies ⇒ Integer?
Minimum reply count.
95 |
# File 'lib/x_twitter_scraper/models/extraction_export_results_params.rb', line 95 optional :min_replies, Integer |
#min_retweets ⇒ Integer?
Minimum repost count.
101 |
# File 'lib/x_twitter_scraper/models/extraction_export_results_params.rb', line 101 optional :min_retweets, Integer |
#min_views ⇒ Integer?
Minimum view count.
107 |
# File 'lib/x_twitter_scraper/models/extraction_export_results_params.rb', line 107 optional :min_views, Integer |
#search ⇒ String?
Search exported result text.
113 |
# File 'lib/x_twitter_scraper/models/extraction_export_results_params.rb', line 113 optional :search, String |
#since_date ⇒ Date?
Include results on or after this date.
119 |
# File 'lib/x_twitter_scraper/models/extraction_export_results_params.rb', line 119 optional :since_date, Date |
#until_date ⇒ Date?
Include results on or before this date.
125 |
# File 'lib/x_twitter_scraper/models/extraction_export_results_params.rb', line 125 optional :until_date, Date |
#verified ⇒ Boolean?
Filter by verified status.
131 |
# File 'lib/x_twitter_scraper/models/extraction_export_results_params.rb', line 131 optional :verified, XTwitterScraper::Internal::Type::Boolean |
Instance Method Details
#to_hash ⇒ {
136 |
# File 'sig/x_twitter_scraper/models/extraction_export_results_params.rbs', line 136
def to_hash: -> {
|