Class: XTwitterScraper::Models::X::UserRetrieveSearchParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- XTwitterScraper::Models::X::UserRetrieveSearchParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/x_twitter_scraper/models/x/user_retrieve_search_params.rb,
sig/x_twitter_scraper/models/x/user_retrieve_search_params.rbs
Overview
Constant Summary
Constants included from Internal::Type::RequestParameters
Internal::Type::RequestParameters::XTwitterScraper
Instance Attribute Summary collapse
-
#bio_contains ⇒ String?
Match any comma-separated or line-separated bio term, ignoring case.
-
#cursor ⇒ String?
Pagination cursor for user search.
-
#has_location ⇒ Boolean?
Only return profiles with a location.
-
#has_website ⇒ Boolean?
Only return profiles with a website.
-
#location_contains ⇒ String?
Match a location substring, ignoring case.
-
#max_followers ⇒ Integer?
Maximum follower count.
-
#max_following ⇒ Integer?
Maximum following count.
-
#max_statuses ⇒ Integer?
Maximum post count.
-
#min_account_age_days ⇒ Integer?
Minimum account age in whole days.
-
#min_followers ⇒ Integer?
Minimum follower count.
-
#min_following ⇒ Integer?
Minimum following count.
-
#min_statuses ⇒ Integer?
Minimum post count.
-
#q ⇒ String
User search query.
-
#username_contains ⇒ String?
Match a username substring, ignoring case.
-
#verified_only ⇒ Boolean?
Only return verified profiles.
-
#verified_type ⇒ String?
Match the verification type exactly, ignoring case.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(q:, bio_contains: nil, cursor: nil, has_location: nil, has_website: nil, location_contains: nil, max_followers: nil, max_following: nil, max_statuses: nil, min_account_age_days: nil, min_followers: nil, min_following: nil, min_statuses: nil, username_contains: nil, verified_only: nil, verified_type: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see UserRetrieveSearchParams 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(q:, bio_contains: nil, cursor: nil, has_location: nil, has_website: nil, location_contains: nil, max_followers: nil, max_following: nil, max_statuses: nil, min_account_age_days: nil, min_followers: nil, min_following: nil, min_statuses: nil, username_contains: nil, verified_only: nil, verified_type: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see XTwitterScraper::Models::X::UserRetrieveSearchParams for more details.
|
|
# File 'lib/x_twitter_scraper/models/x/user_retrieve_search_params.rb', line 111
|
Instance Attribute Details
#bio_contains ⇒ String?
Match any comma-separated or line-separated bio term, ignoring case.
25 |
# File 'lib/x_twitter_scraper/models/x/user_retrieve_search_params.rb', line 25 optional :bio_contains, String |
#cursor ⇒ String?
Pagination cursor for user search
31 |
# File 'lib/x_twitter_scraper/models/x/user_retrieve_search_params.rb', line 31 optional :cursor, String |
#has_location ⇒ Boolean?
Only return profiles with a location.
37 |
# File 'lib/x_twitter_scraper/models/x/user_retrieve_search_params.rb', line 37 optional :has_location, XTwitterScraper::Internal::Type::Boolean |
#has_website ⇒ Boolean?
Only return profiles with a website.
43 |
# File 'lib/x_twitter_scraper/models/x/user_retrieve_search_params.rb', line 43 optional :has_website, XTwitterScraper::Internal::Type::Boolean |
#location_contains ⇒ String?
Match a location substring, ignoring case.
49 |
# File 'lib/x_twitter_scraper/models/x/user_retrieve_search_params.rb', line 49 optional :location_contains, String |
#max_followers ⇒ Integer?
Maximum follower count. Missing counts pass this maximum.
55 |
# File 'lib/x_twitter_scraper/models/x/user_retrieve_search_params.rb', line 55 optional :max_followers, Integer |
#max_following ⇒ Integer?
Maximum following count.
61 |
# File 'lib/x_twitter_scraper/models/x/user_retrieve_search_params.rb', line 61 optional :max_following, Integer |
#max_statuses ⇒ Integer?
Maximum post count. maxPosts is also accepted.
67 |
# File 'lib/x_twitter_scraper/models/x/user_retrieve_search_params.rb', line 67 optional :max_statuses, Integer |
#min_account_age_days ⇒ Integer?
Minimum account age in whole days.
73 |
# File 'lib/x_twitter_scraper/models/x/user_retrieve_search_params.rb', line 73 optional :min_account_age_days, Integer |
#min_followers ⇒ Integer?
Minimum follower count. Filtering happens before billing.
79 |
# File 'lib/x_twitter_scraper/models/x/user_retrieve_search_params.rb', line 79 optional :min_followers, Integer |
#min_following ⇒ Integer?
Minimum following count.
85 |
# File 'lib/x_twitter_scraper/models/x/user_retrieve_search_params.rb', line 85 optional :min_following, Integer |
#min_statuses ⇒ Integer?
Minimum post count. minPosts is also accepted.
91 |
# File 'lib/x_twitter_scraper/models/x/user_retrieve_search_params.rb', line 91 optional :min_statuses, Integer |
#q ⇒ String
User search query
19 |
# File 'lib/x_twitter_scraper/models/x/user_retrieve_search_params.rb', line 19 required :q, String |
#username_contains ⇒ String?
Match a username substring, ignoring case.
97 |
# File 'lib/x_twitter_scraper/models/x/user_retrieve_search_params.rb', line 97 optional :username_contains, String |
#verified_only ⇒ Boolean?
Only return verified profiles.
103 |
# File 'lib/x_twitter_scraper/models/x/user_retrieve_search_params.rb', line 103 optional :verified_only, XTwitterScraper::Internal::Type::Boolean |
#verified_type ⇒ String?
Match the verification type exactly, ignoring case.
109 |
# File 'lib/x_twitter_scraper/models/x/user_retrieve_search_params.rb', line 109 optional :verified_type, String |
Instance Method Details
#to_hash ⇒ {
115 |
# File 'sig/x_twitter_scraper/models/x/user_retrieve_search_params.rbs', line 115
def to_hash: -> {
|