Class: XTwitterScraper::Models::X::DmRetrieveHistoryResponse
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/x_twitter_scraper/models/x/dm_retrieve_history_response.rb,
sig/x_twitter_scraper/models/x/dm_retrieve_history_response.rbs
Overview
Defined Under Namespace
Classes: Message
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 ⇒ Object
18
|
# File 'sig/x_twitter_scraper/models/x/dm_retrieve_history_response.rbs', line 18
def initialize: (
|
Instance Attribute Details
#has_next_page ⇒ Boolean
11
|
# File 'lib/x_twitter_scraper/models/x/dm_retrieve_history_response.rb', line 11
required :has_next_page, XTwitterScraper::Internal::Type::Boolean
|
16
17
|
# File 'lib/x_twitter_scraper/models/x/dm_retrieve_history_response.rb', line 16
required :messages,
-> { XTwitterScraper::Internal::Type::ArrayOf[XTwitterScraper::Models::X::DmRetrieveHistoryResponse::Message] }
|
#next_cursor ⇒ String
22
|
# File 'lib/x_twitter_scraper/models/x/dm_retrieve_history_response.rb', line 22
required :next_cursor, String
|
Instance Method Details
#to_hash ⇒ {
24
|
# File 'sig/x_twitter_scraper/models/x/dm_retrieve_history_response.rbs', line 24
def to_hash: -> {
|