Class: XTwitterScraper::Models::EventListResponse
Overview
Instance Attribute 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(events:, has_more:, next_cursor: nil) ⇒ Object
|
# File 'lib/x_twitter_scraper/models/event_list_response.rb', line 22
|
Instance Attribute Details
10
|
# File 'lib/x_twitter_scraper/models/event_list_response.rb', line 10
required :events, -> { XTwitterScraper::Internal::Type::ArrayOf[XTwitterScraper::Event] }
|
#has_more ⇒ Boolean
15
|
# File 'lib/x_twitter_scraper/models/event_list_response.rb', line 15
required :has_more, XTwitterScraper::Internal::Type::Boolean, api_name: :hasMore
|
#next_cursor ⇒ String?
20
|
# File 'lib/x_twitter_scraper/models/event_list_response.rb', line 20
optional :next_cursor, String, api_name: :nextCursor
|
Instance Method Details
#to_hash ⇒ {
25
|
# File 'sig/x_twitter_scraper/models/event_list_response.rbs', line 25
def to_hash: -> {
|