Class: XTwitterScraper::Models::X::UserRetrieveVerifiedFollowersParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rb,
sig/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rbs

Overview

See Also:

  • XTwitterScraper::Resources::X::Users#retrieve_verified_followers

Defined Under Namespace

Modules: Mode

Constant Summary

Constants included from Internal::Type::RequestParameters

Internal::Type::RequestParameters::XTwitterScraper

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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:, after: nil, bio_contains: nil, cursor: nil, has_location: nil, has_website: nil, limit: 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, mode: nil, page_size: nil, username_contains: nil, verified_only: nil, verified_type: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see XTwitterScraper::Models::X::UserRetrieveVerifiedFollowersParams for more details.

Parameters:

  • id (String)
  • after (String) (defaults to: nil)

    Legacy cursor alias. Prefer cursor.

  • bio_contains (String) (defaults to: nil)

    Match any comma-separated or line-separated bio term, ignoring case.

  • cursor (String) (defaults to: nil)

    Cursor from the previous response. Xquik cursors resume automatic coverage. Exis

  • has_location (Boolean) (defaults to: nil)

    Only return profiles with a location.

  • has_website (Boolean) (defaults to: nil)

    Only return profiles with a website.

  • limit (Integer) (defaults to: nil)

    Legacy page-size alias outside explicit coverage mode. Coverage accepts 1-10000.

  • location_contains (String) (defaults to: nil)

    Match a location substring, ignoring case.

  • max_followers (Integer) (defaults to: nil)

    Maximum follower count. Missing counts pass this maximum.

  • max_following (Integer) (defaults to: nil)

    Maximum following count.

  • max_statuses (Integer) (defaults to: nil)

    Maximum post count. maxPosts is also accepted.

  • min_account_age_days (Integer) (defaults to: nil)

    Minimum account age in whole days.

  • min_followers (Integer) (defaults to: nil)

    Minimum follower count. Filtering happens before billing.

  • min_following (Integer) (defaults to: nil)

    Minimum following count.

  • min_statuses (Integer) (defaults to: nil)

    Minimum post count. minPosts is also accepted.

  • mode (Symbol, XTwitterScraper::Models::X::UserRetrieveVerifiedFollowersParams::Mode) (defaults to: nil)

    Omit mode for resumable maximum coverage. Standard keeps legacy pagination. Cove

  • page_size (Integer) (defaults to: nil)

    Maximum user profiles: automatic 300; standard 200. Sources return fewer profile

  • username_contains (String) (defaults to: nil)

    Match a username substring, ignoring case.

  • verified_only (Boolean) (defaults to: nil)

    Only return verified profiles.

  • verified_type (String) (defaults to: nil)

    Match the verification type exactly, ignoring case.

  • request_options (XTwitterScraper::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


# File 'lib/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rb', line 138

Instance Attribute Details

#afterString?

Legacy cursor alias. Prefer cursor.

Parameters:

  • (String)

Returns:

  • (String, nil)


24
# File 'lib/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rb', line 24

optional :after, String

#bio_containsString?

Match any comma-separated or line-separated bio term, ignoring case.

Parameters:

  • (String)

Returns:

  • (String, nil)


30
# File 'lib/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rb', line 30

optional :bio_contains, String

#cursorString?

Cursor from the previous response. Xquik cursors resume automatic coverage. Existing unprefixed cursors keep legacy standard behavior.

Parameters:

  • (String)

Returns:

  • (String, nil)


37
# File 'lib/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rb', line 37

optional :cursor, String

#has_locationBoolean?

Only return profiles with a location.

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


43
# File 'lib/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rb', line 43

optional :has_location, XTwitterScraper::Internal::Type::Boolean

#has_websiteBoolean?

Only return profiles with a website.

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


49
# File 'lib/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rb', line 49

optional :has_website, XTwitterScraper::Internal::Type::Boolean

#idString

Parameters:

  • value (String)

Returns:

  • (String)


18
# File 'lib/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rb', line 18

required :id, String

#limitInteger?

Legacy page-size alias outside explicit coverage mode. Coverage accepts 1-10000. Prefer pageSize.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


56
# File 'lib/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rb', line 56

optional :limit, Integer

#location_containsString?

Match a location substring, ignoring case.

Parameters:

  • (String)

Returns:

  • (String, nil)


62
# File 'lib/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rb', line 62

optional :location_contains, String

#max_followersInteger?

Maximum follower count. Missing counts pass this maximum.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


68
# File 'lib/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rb', line 68

optional :max_followers, Integer

#max_followingInteger?

Maximum following count.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


74
# File 'lib/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rb', line 74

optional :max_following, Integer

#max_statusesInteger?

Maximum post count. maxPosts is also accepted.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


80
# File 'lib/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rb', line 80

optional :max_statuses, Integer

#min_account_age_daysInteger?

Minimum account age in whole days.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


86
# File 'lib/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rb', line 86

optional :min_account_age_days, Integer

#min_followersInteger?

Minimum follower count. Filtering happens before billing.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


92
# File 'lib/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rb', line 92

optional :min_followers, Integer

#min_followingInteger?

Minimum following count.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


98
# File 'lib/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rb', line 98

optional :min_following, Integer

#min_statusesInteger?

Minimum post count. minPosts is also accepted.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


104
# File 'lib/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rb', line 104

optional :min_statuses, Integer

#modeSymbol, ...

Omit mode for resumable maximum coverage. Standard keeps legacy pagination. Coverage returns diagnostics once and rejects cursors.



111
# File 'lib/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rb', line 111

optional :mode, enum: -> { XTwitterScraper::X::UserRetrieveVerifiedFollowersParams::Mode }

#page_sizeInteger?

Maximum user profiles: automatic 300; standard 200. Sources return fewer profiles. Continue with has_next_page.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


118
# File 'lib/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rb', line 118

optional :page_size, Integer

#username_containsString?

Match a username substring, ignoring case.

Parameters:

  • (String)

Returns:

  • (String, nil)


124
# File 'lib/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rb', line 124

optional :username_contains, String

#verified_onlyBoolean?

Only return verified profiles.

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


130
# File 'lib/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rb', line 130

optional :verified_only, XTwitterScraper::Internal::Type::Boolean

#verified_typeString?

Match the verification type exactly, ignoring case.

Parameters:

  • (String)

Returns:

  • (String, nil)


136
# File 'lib/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rb', line 136

optional :verified_type, String

Instance Method Details

#to_hash{

Returns:

  • ({)


141
# File 'sig/x_twitter_scraper/models/x/user_retrieve_verified_followers_params.rbs', line 141

def to_hash: -> {