Class: XTwitterScraper::Models::X::AccountCreateResponse::XAccountConnectionAttemptPending

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/x_twitter_scraper/models/x/account_create_response.rb,
sig/x_twitter_scraper/models/x/account_create_response.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#initializeObject



96
# File 'sig/x_twitter_scraper/models/x/account_create_response.rbs', line 96

def initialize: (

Instance Attribute Details

#idString

Parameters:

  • value (String)

Returns:

  • (String)


87
# File 'lib/x_twitter_scraper/models/x/account_create_response.rb', line 87

required :id, String

#objectSymbol, :x_account_connection_attempt

Parameters:

  • value (:x_account_connection_attempt)

Returns:

  • (Symbol, :x_account_connection_attempt)


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

required :object, const: :x_account_connection_attempt

#poll_after_msInteger

Parameters:

  • value (Integer)

Returns:

  • (Integer)


97
# File 'lib/x_twitter_scraper/models/x/account_create_response.rb', line 97

required :poll_after_ms, Integer, api_name: :pollAfterMs

#statusSymbol, :pending

Parameters:

  • value (:pending)

Returns:

  • (Symbol, :pending)


102
# File 'lib/x_twitter_scraper/models/x/account_create_response.rb', line 102

required :status, const: :pending

Instance Method Details

#to_hash{

Returns:

  • ({)


103
# File 'sig/x_twitter_scraper/models/x/account_create_response.rbs', line 103

def to_hash: -> {