Class: Spotted::Models::Me::FollowingBulkRetrieveResponse::Artists::Cursors

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/spotted/models/me/following_bulk_retrieve_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, published: nil) ⇒ Object

Some parameter documentations has been truncated, see Spotted::Models::Me::FollowingBulkRetrieveResponse::Artists::Cursors for more details.

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.

  • published (Boolean) (defaults to: nil)

    The playlist’s public/private status (if it should be added to the user’s profil



# File 'lib/spotted/models/me/following_bulk_retrieve_response.rb', line 105

Instance Attribute Details

#afterString?

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

Returns:

  • (String, nil)


87
# File 'lib/spotted/models/me/following_bulk_retrieve_response.rb', line 87

optional :after, String

#beforeString?

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

Returns:

  • (String, nil)


93
# File 'lib/spotted/models/me/following_bulk_retrieve_response.rb', line 93

optional :before, String

#publishedBoolean?

The playlist’s public/private status (if it should be added to the user’s profile or not): ‘true` the playlist will be public, `false` the playlist will be private, `null` the playlist status is not relevant. For more about public/private status, see [Working with Playlists](/documentation/web-api/concepts/playlists)

Returns:

  • (Boolean, nil)


103
# File 'lib/spotted/models/me/following_bulk_retrieve_response.rb', line 103

optional :published, Spotted::Internal::Type::Boolean