Class: XTwitterScraper::Models::X::TweetCreateResponse::NextAction
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- XTwitterScraper::Models::X::TweetCreateResponse::NextAction
- Defined in:
- lib/x_twitter_scraper/models/x/tweet_create_response.rb,
sig/x_twitter_scraper/models/x/tweet_create_response.rbs
Overview
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
- #after_ms ⇒ Integer?
- #requires_new_idempotency_key ⇒ Boolean?
- #type ⇒ Symbol, XTwitterScraper::Models::X::TweetCreateResponse::NextAction::Type
- #url ⇒ String?
Instance Method Summary collapse
-
#initialize(type:, after_ms: nil, requires_new_idempotency_key: nil, url: nil) ⇒ Object
constructor
Exact follow-up an API client or agent should perform.
- #to_hash ⇒ {
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.
|
|
# File 'lib/x_twitter_scraper/models/x/tweet_create_response.rb', line 461
|
Instance Attribute Details
#after_ms ⇒ Integer?
447 |
# File 'lib/x_twitter_scraper/models/x/tweet_create_response.rb', line 447 optional :after_ms, Integer, api_name: :afterMs |
#requires_new_idempotency_key ⇒ Boolean?
452 453 454 |
# File 'lib/x_twitter_scraper/models/x/tweet_create_response.rb', line 452 optional :requires_new_idempotency_key, XTwitterScraper::Internal::Type::Boolean, api_name: :requiresNewIdempotencyKey |
#type ⇒ Symbol, XTwitterScraper::Models::X::TweetCreateResponse::NextAction::Type
442 |
# File 'lib/x_twitter_scraper/models/x/tweet_create_response.rb', line 442 required :type, enum: -> { XTwitterScraper::Models::X::TweetCreateResponse::NextAction::Type } |
#url ⇒ String?
459 |
# File 'lib/x_twitter_scraper/models/x/tweet_create_response.rb', line 459 optional :url, String |
Instance Method Details
#to_hash ⇒ {
412 |
# File 'sig/x_twitter_scraper/models/x/tweet_create_response.rbs', line 412
def to_hash: -> {
|