Class: Spotted::Models::Me::FollowingListResponse::Artists::Cursors

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/spotted/models/me/following_list_response.rb

Overview

See Also:

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

#initialize(after: nil, before: nil) ⇒ Object

The cursors used to find the next set of items.

Parameters:

  • after (String) (defaults to: nil)

    The cursor to use as key to find the next page of items.

  • before (String) (defaults to: nil)

    The cursor to use as key to find the previous page of items.



# File 'lib/spotted/models/me/following_list_response.rb', line 83

Instance Attribute Details

#afterString?

The cursor to use as key to find the next page of items.

Returns:

  • (String, nil)


75
# File 'lib/spotted/models/me/following_list_response.rb', line 75

optional :after, String

#beforeString?

The cursor to use as key to find the previous page of items.

Returns:

  • (String, nil)


81
# File 'lib/spotted/models/me/following_list_response.rb', line 81

optional :before, String