Class: XTwitterScraper::Models::DrawRunResponse
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(id:, total_entries:, tweet_id:, valid_entries:, winners:) ⇒ Object
|
# File 'lib/x_twitter_scraper/models/draw_run_response.rb', line 32
|
Instance Attribute Details
#id ⇒ String
10
|
# File 'lib/x_twitter_scraper/models/draw_run_response.rb', line 10
required :id, String
|
#total_entries ⇒ Integer
15
|
# File 'lib/x_twitter_scraper/models/draw_run_response.rb', line 15
required :total_entries, Integer, api_name: :totalEntries
|
20
|
# File 'lib/x_twitter_scraper/models/draw_run_response.rb', line 20
required :tweet_id, String, api_name: :tweetId
|
#valid_entries ⇒ Integer
25
|
# File 'lib/x_twitter_scraper/models/draw_run_response.rb', line 25
required :valid_entries, Integer, api_name: :validEntries
|