Class: Spotted::Models::Users::PlaylistCreateResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Spotted::Models::Users::PlaylistCreateResponse
- Defined in:
- lib/spotted/models/users/playlist_create_response.rb
Overview
Defined Under Namespace
Instance Attribute Summary collapse
-
#collaborative ⇒ Boolean?
‘true` if the owner allows other users to modify the playlist.
-
#description ⇒ String?
The playlist description.
-
#external_urls ⇒ Spotted::Models::ExternalURLObject?
Known external URLs for this playlist.
-
#followers ⇒ Spotted::Models::FollowersObject?
Information about the followers of the playlist.
-
#href ⇒ String?
A link to the Web API endpoint providing full details of the playlist.
-
#id ⇒ String?
The [Spotify ID](/documentation/web-api/concepts/spotify-uris-ids) for the playlist.
-
#images ⇒ Array<Spotted::Models::ImageObject>?
Images for the playlist.
-
#name ⇒ String?
The name of the playlist.
-
#owner ⇒ Spotted::Models::Users::PlaylistCreateResponse::Owner?
The user who owns the playlist.
-
#public ⇒ Boolean?
The playlist’s public/private status (if it is added to the user’s profile): ‘true` the playlist is public, `false` the playlist is private, `null` the playlist status is not relevant.
-
#snapshot_id ⇒ String?
The version identifier for the current playlist.
-
#tracks ⇒ Spotted::Models::Users::PlaylistCreateResponse::Tracks?
The tracks of the playlist.
-
#type ⇒ String?
The object type: “playlist”.
-
#uri ⇒ String?
The [Spotify URI](/documentation/web-api/concepts/spotify-uris-ids) for the playlist.
Instance Method Summary collapse
-
#initialize(display_name: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see Owner for more details.
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(display_name: nil) ⇒ Object
Some parameter documentations has been truncated, see Owner for more details.
The user who owns the playlist
|
|
# File 'lib/spotted/models/users/playlist_create_response.rb', line 103
|
Instance Attribute Details
#collaborative ⇒ Boolean?
‘true` if the owner allows other users to modify the playlist.
19 |
# File 'lib/spotted/models/users/playlist_create_response.rb', line 19 optional :collaborative, Spotted::Internal::Type::Boolean |
#description ⇒ String?
The playlist description. _Only returned for modified, verified playlists, otherwise_ ‘null`.
26 |
# File 'lib/spotted/models/users/playlist_create_response.rb', line 26 optional :description, String, nil?: true |
#external_urls ⇒ Spotted::Models::ExternalURLObject?
Known external URLs for this playlist.
32 |
# File 'lib/spotted/models/users/playlist_create_response.rb', line 32 optional :external_urls, -> { Spotted::ExternalURLObject } |
#followers ⇒ Spotted::Models::FollowersObject?
Information about the followers of the playlist.
38 |
# File 'lib/spotted/models/users/playlist_create_response.rb', line 38 optional :followers, -> { Spotted::FollowersObject } |
#href ⇒ String?
A link to the Web API endpoint providing full details of the playlist.
44 |
# File 'lib/spotted/models/users/playlist_create_response.rb', line 44 optional :href, String |
#id ⇒ String?
The [Spotify ID](/documentation/web-api/concepts/spotify-uris-ids) for the playlist.
13 |
# File 'lib/spotted/models/users/playlist_create_response.rb', line 13 optional :id, String |
#images ⇒ Array<Spotted::Models::ImageObject>?
Images for the playlist. The array may be empty or contain up to three images. The images are returned by size in descending order. See [Working with Playlists](/documentation/web-api/concepts/playlists). _Note: If returned, the source URL for the image (‘url`) is temporary and will expire in less than a day._
54 |
# File 'lib/spotted/models/users/playlist_create_response.rb', line 54 optional :images, -> { Spotted::Internal::Type::ArrayOf[Spotted::ImageObject] } |
#name ⇒ String?
The name of the playlist.
60 |
# File 'lib/spotted/models/users/playlist_create_response.rb', line 60 optional :name, String |
#owner ⇒ Spotted::Models::Users::PlaylistCreateResponse::Owner?
The user who owns the playlist
66 |
# File 'lib/spotted/models/users/playlist_create_response.rb', line 66 optional :owner, -> { Spotted::Models::Users::PlaylistCreateResponse::Owner } |
#public ⇒ Boolean?
The playlist’s public/private status (if it is added to the user’s profile): ‘true` the playlist is public, `false` the playlist is private, `null` the playlist status is not relevant. For more about public/private status, see [Working with Playlists](/documentation/web-api/concepts/playlists)
75 |
# File 'lib/spotted/models/users/playlist_create_response.rb', line 75 optional :public, Spotted::Internal::Type::Boolean |
#snapshot_id ⇒ String?
The version identifier for the current playlist. Can be supplied in other requests to target a specific playlist version
82 |
# File 'lib/spotted/models/users/playlist_create_response.rb', line 82 optional :snapshot_id, String |
#tracks ⇒ Spotted::Models::Users::PlaylistCreateResponse::Tracks?
The tracks of the playlist.
88 |
# File 'lib/spotted/models/users/playlist_create_response.rb', line 88 optional :tracks, -> { Spotted::Models::Users::PlaylistCreateResponse::Tracks } |
#type ⇒ String?
The object type: “playlist”
94 |
# File 'lib/spotted/models/users/playlist_create_response.rb', line 94 optional :type, String |
#uri ⇒ String?
The [Spotify URI](/documentation/web-api/concepts/spotify-uris-ids) for the playlist.
101 |
# File 'lib/spotted/models/users/playlist_create_response.rb', line 101 optional :uri, String |