Class: XapiScraper::Models::Components::GetListTweetsCursorResponse
- Inherits:
-
Object
- Object
- XapiScraper::Models::Components::GetListTweetsCursorResponse
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/xapi_scraper/models/components/getlisttweetscursorresponse.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(code:, msg:, data:, has_next_page:, next_cursor: nil) ⇒ GetListTweetsCursorResponse
constructor
A new instance of GetListTweetsCursorResponse.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(code:, msg:, data:, has_next_page:, next_cursor: nil) ⇒ GetListTweetsCursorResponse
Returns a new instance of GetListTweetsCursorResponse.
51 52 53 54 55 56 57 |
# File 'lib/xapi_scraper/models/components/getlisttweetscursorresponse.rb', line 51 def initialize(code:, msg:, data:, has_next_page:, next_cursor: nil) @code = code @msg = msg @data = data @has_next_page = has_next_page @next_cursor = next_cursor end |
Instance Method Details
#==(other) ⇒ Object
60 61 62 63 64 65 66 67 68 |
# File 'lib/xapi_scraper/models/components/getlisttweetscursorresponse.rb', line 60 def ==(other) return false unless other.is_a?(self.class) return false unless @code == other.code return false unless @msg == other.msg return false unless @data == other.data return false unless @has_next_page == other.has_next_page return false unless @next_cursor == other.next_cursor true end |