Class: XTwitterScraper::Models::X::AccountConnectionAttemptRetrieveResponse::XAccountConnectionChallenge
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- XTwitterScraper::Models::X::AccountConnectionAttemptRetrieveResponse::XAccountConnectionChallenge
show all
- Defined in:
- lib/x_twitter_scraper/models/x/account_connection_attempt_retrieve_response.rb,
sig/x_twitter_scraper/models/x/account_connection_attempt_retrieve_response.rbs
Defined Under Namespace
Modules: Object, Status
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id:, expires_at:, message:, object:, status:, username:) ⇒ Object
Resumable account connection challenge. Submit the email code to finish the same
connection attempt.
|
# File 'lib/x_twitter_scraper/models/x/account_connection_attempt_retrieve_response.rb', line 153
|
Instance Attribute Details
#expires_at ⇒ Time
129
|
# File 'lib/x_twitter_scraper/models/x/account_connection_attempt_retrieve_response.rb', line 129
required :expires_at, Time, api_name: :expiresAt
|
#id ⇒ String
124
|
# File 'lib/x_twitter_scraper/models/x/account_connection_attempt_retrieve_response.rb', line 124
required :id, String
|
#message ⇒ String
134
|
# File 'lib/x_twitter_scraper/models/x/account_connection_attempt_retrieve_response.rb', line 134
required :message, String
|
139
140
|
# File 'lib/x_twitter_scraper/models/x/account_connection_attempt_retrieve_response.rb', line 139
required :object,
enum: -> { XTwitterScraper::Models::X::AccountConnectionAttemptRetrieveResponse::XAccountConnectionChallenge::Object }
|
145
146
|
# File 'lib/x_twitter_scraper/models/x/account_connection_attempt_retrieve_response.rb', line 145
required :status,
enum: -> { XTwitterScraper::Models::X::AccountConnectionAttemptRetrieveResponse::XAccountConnectionChallenge::Status }
|
#username ⇒ String
151
|
# File 'lib/x_twitter_scraper/models/x/account_connection_attempt_retrieve_response.rb', line 151
required :username, String
|
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/x_twitter_scraper/models/x/account_connection_attempt_retrieve_response.rb', line 170
|
Instance Method Details
#to_hash ⇒ {
148
|
# File 'sig/x_twitter_scraper/models/x/account_connection_attempt_retrieve_response.rbs', line 148
def to_hash: -> {
|