Class: XTwitterScraper::Models::X::Communities::JoinDeleteAllResponse::NextAction

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

Overview

See Also:

  • XTwitterScraper::Models::X::Communities::JoinDeleteAllResponse#next_action

Defined Under Namespace

Modules: Type

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

#initialize(type:, after_ms: nil, requires_new_idempotency_key: nil, url: nil) ⇒ Object

Exact follow-up an API client or agent should perform.

Parameters:



# File 'lib/x_twitter_scraper/models/x/communities/join_delete_all_response.rb', line 471

Instance Attribute Details

#after_msInteger?

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


457
# File 'lib/x_twitter_scraper/models/x/communities/join_delete_all_response.rb', line 457

optional :after_ms, Integer, api_name: :afterMs

#requires_new_idempotency_keyBoolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


462
463
464
# File 'lib/x_twitter_scraper/models/x/communities/join_delete_all_response.rb', line 462

optional :requires_new_idempotency_key,
XTwitterScraper::Internal::Type::Boolean,
api_name: :requiresNewIdempotencyKey

#typeSymbol, XTwitterScraper::Models::X::Communities::JoinDeleteAllResponse::NextAction::Type

Parameters:

  • value (XTwitterScraper::Models::X::Communities::JoinDeleteAllResponse::NextAction::type_)

Returns:



451
452
# File 'lib/x_twitter_scraper/models/x/communities/join_delete_all_response.rb', line 451

required :type,
enum: -> { XTwitterScraper::Models::X::Communities::JoinDeleteAllResponse::NextAction::Type }

#urlString?

Parameters:

  • (String)

Returns:

  • (String, nil)


469
# File 'lib/x_twitter_scraper/models/x/communities/join_delete_all_response.rb', line 469

optional :url, String

Instance Method Details

#to_hash{

Returns:

  • ({)


413
# File 'sig/x_twitter_scraper/models/x/communities/join_delete_all_response.rbs', line 413

def to_hash: -> {