Class: XTwitterScraper::Models::X::CommunityDeleteResponse::Request

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

Overview

See Also:

  • XTwitterScraper::Models::X::CommunityDeleteResponse#request

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



440
# File 'sig/x_twitter_scraper/models/x/community_delete_response.rbs', line 440

def initialize: (

Instance Attribute Details

#hash_String?

Stable hash of account, action, target, and payload.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


489
# File 'lib/x_twitter_scraper/models/x/community_delete_response.rb', line 489

required :hash_, String, api_name: :hash, nil?: true

#payloadHash{Symbol=>Object}?

Exact sanitized payload dispatched for this action.

Parameters:

  • value (::Hash[Symbol, top], nil)

Returns:

  • (Hash{Symbol=>Object}, nil)


495
496
497
# File 'lib/x_twitter_scraper/models/x/community_delete_response.rb', line 495

required :payload,
XTwitterScraper::Internal::Type::HashOf[XTwitterScraper::Internal::Type::Unknown],
nil?: true

Instance Method Details

#to_hash{ hash_: String?, payload: ::Hash[Symbol, top]? }

Returns:

  • ({ hash_: String?, payload: ::Hash[Symbol, top]? })


445
# File 'sig/x_twitter_scraper/models/x/community_delete_response.rbs', line 445

def to_hash: -> { hash_: String?, payload: ::Hash[Symbol, top]? }