spotted 0.23.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/spotted/internal/type/base_model.rb +1 -0
- data/lib/spotted/models/album_bulk_retrieve_response.rb +26 -2
- data/lib/spotted/models/album_restriction_object.rb +13 -1
- data/lib/spotted/models/album_retrieve_response.rb +26 -2
- data/lib/spotted/models/artist_list_albums_response.rb +13 -1
- data/lib/spotted/models/artist_object.rb +13 -1
- data/lib/spotted/models/audio_analysis_retrieve_response.rb +39 -3
- data/lib/spotted/models/audio_feature_bulk_retrieve_response.rb +13 -1
- data/lib/spotted/models/audio_feature_retrieve_response.rb +13 -1
- data/lib/spotted/models/audiobook_base.rb +13 -1
- data/lib/spotted/models/audiobook_bulk_retrieve_response.rb +13 -1
- data/lib/spotted/models/audiobook_retrieve_response.rb +13 -1
- data/lib/spotted/models/author_object.rb +13 -1
- data/lib/spotted/models/browse/category_get_playlists_response.rb +13 -1
- data/lib/spotted/models/browse/category_list_response.rb +26 -2
- data/lib/spotted/models/browse/category_retrieve_response.rb +13 -1
- data/lib/spotted/models/browse_get_featured_playlists_response.rb +13 -1
- data/lib/spotted/models/browse_get_new_releases_response.rb +26 -2
- data/lib/spotted/models/chapter_bulk_retrieve_response.rb +13 -1
- data/lib/spotted/models/chapter_restriction_object.rb +13 -1
- data/lib/spotted/models/chapter_retrieve_response.rb +13 -1
- data/lib/spotted/models/copyright_object.rb +13 -1
- data/lib/spotted/models/episode_object.rb +13 -1
- data/lib/spotted/models/episode_restriction_object.rb +13 -1
- data/lib/spotted/models/external_id_object.rb +13 -1
- data/lib/spotted/models/external_url_object.rb +13 -1
- data/lib/spotted/models/followers_object.rb +13 -1
- data/lib/spotted/models/image_object.rb +13 -1
- data/lib/spotted/models/linked_track_object.rb +13 -1
- data/lib/spotted/models/me/album_list_response.rb +39 -3
- data/lib/spotted/models/me/audiobook_list_response.rb +26 -2
- data/lib/spotted/models/me/context_object.rb +13 -1
- data/lib/spotted/models/me/device_object.rb +13 -1
- data/lib/spotted/models/me/episode_list_response.rb +13 -1
- data/lib/spotted/models/me/following_bulk_retrieve_response.rb +30 -2
- data/lib/spotted/models/me/player/queue_get_response.rb +16 -1
- data/lib/spotted/models/me/player_get_currently_playing_response.rb +30 -2
- data/lib/spotted/models/me/player_get_state_response.rb +29 -2
- data/lib/spotted/models/me/player_list_recently_played_response.rb +16 -1
- data/lib/spotted/models/me/show_list_response.rb +13 -1
- data/lib/spotted/models/me/track_list_response.rb +13 -1
- data/lib/spotted/models/me_retrieve_response.rb +26 -2
- data/lib/spotted/models/narrator_object.rb +13 -1
- data/lib/spotted/models/paging_playlist_object.rb +13 -1
- data/lib/spotted/models/playlist_retrieve_response.rb +21 -8
- data/lib/spotted/models/playlist_track_object.rb +13 -1
- data/lib/spotted/models/playlist_tracks_ref_object.rb +13 -1
- data/lib/spotted/models/playlist_user_object.rb +13 -1
- data/lib/spotted/models/recommendation_get_response.rb +26 -2
- data/lib/spotted/models/resume_point_object.rb +13 -1
- data/lib/spotted/models/search_query_response.rb +91 -7
- data/lib/spotted/models/show_base.rb +13 -1
- data/lib/spotted/models/show_retrieve_response.rb +13 -1
- data/lib/spotted/models/simplified_artist_object.rb +13 -1
- data/lib/spotted/models/simplified_chapter_object.rb +13 -1
- data/lib/spotted/models/simplified_episode_object.rb +13 -1
- data/lib/spotted/models/simplified_playlist_object.rb +8 -7
- data/lib/spotted/models/simplified_track_object.rb +13 -1
- data/lib/spotted/models/time_interval_object.rb +16 -1
- data/lib/spotted/models/track_object.rb +26 -2
- data/lib/spotted/models/track_restriction_object.rb +13 -1
- data/lib/spotted/models/user_retrieve_profile_response.rb +13 -1
- data/lib/spotted/models/users/playlist_create_response.rb +21 -8
- data/lib/spotted/version.rb +1 -1
- data/rbi/spotted/models/album_bulk_retrieve_response.rbi +41 -3
- data/rbi/spotted/models/album_restriction_object.rbi +22 -1
- data/rbi/spotted/models/album_retrieve_response.rbi +41 -3
- data/rbi/spotted/models/artist_list_albums_response.rbi +19 -0
- data/rbi/spotted/models/artist_object.rbi +19 -0
- data/rbi/spotted/models/audio_analysis_retrieve_response.rbi +57 -0
- data/rbi/spotted/models/audio_feature_bulk_retrieve_response.rbi +19 -0
- data/rbi/spotted/models/audio_feature_retrieve_response.rbi +19 -0
- data/rbi/spotted/models/audiobook_base.rbi +20 -1
- data/rbi/spotted/models/audiobook_bulk_retrieve_response.rbi +22 -3
- data/rbi/spotted/models/audiobook_retrieve_response.rbi +22 -3
- data/rbi/spotted/models/author_object.rbi +22 -3
- data/rbi/spotted/models/browse/category_get_playlists_response.rbi +25 -3
- data/rbi/spotted/models/browse/category_list_response.rbi +44 -6
- data/rbi/spotted/models/browse/category_retrieve_response.rbi +22 -3
- data/rbi/spotted/models/browse_get_featured_playlists_response.rbi +25 -3
- data/rbi/spotted/models/browse_get_new_releases_response.rbi +41 -3
- data/rbi/spotted/models/chapter_bulk_retrieve_response.rbi +19 -0
- data/rbi/spotted/models/chapter_restriction_object.rbi +21 -2
- data/rbi/spotted/models/chapter_retrieve_response.rbi +19 -0
- data/rbi/spotted/models/copyright_object.rbi +25 -2
- data/rbi/spotted/models/episode_object.rbi +19 -0
- data/rbi/spotted/models/episode_restriction_object.rbi +21 -2
- data/rbi/spotted/models/external_id_object.rbi +28 -2
- data/rbi/spotted/models/external_url_object.rbi +21 -2
- data/rbi/spotted/models/followers_object.rbi +27 -4
- data/rbi/spotted/models/image_object.rbi +26 -3
- data/rbi/spotted/models/linked_track_object.rbi +19 -0
- data/rbi/spotted/models/me/album_list_response.rbi +63 -6
- data/rbi/spotted/models/me/audiobook_list_response.rbi +44 -6
- data/rbi/spotted/models/me/context_object.rbi +19 -0
- data/rbi/spotted/models/me/device_object.rbi +19 -0
- data/rbi/spotted/models/me/episode_list_response.rbi +27 -3
- data/rbi/spotted/models/me/following_bulk_retrieve_response.rbi +47 -3
- data/rbi/spotted/models/me/player/queue_get_response.rbi +19 -0
- data/rbi/spotted/models/me/player_get_currently_playing_response.rbi +38 -0
- data/rbi/spotted/models/me/player_get_state_response.rbi +38 -0
- data/rbi/spotted/models/me/player_list_recently_played_response.rbi +19 -0
- data/rbi/spotted/models/me/show_list_response.rbi +27 -4
- data/rbi/spotted/models/me/track_list_response.rbi +29 -4
- data/rbi/spotted/models/me_retrieve_response.rbi +47 -5
- data/rbi/spotted/models/narrator_object.rbi +22 -3
- data/rbi/spotted/models/paging_playlist_object.rbi +22 -3
- data/rbi/spotted/models/playlist_retrieve_response.rbi +36 -15
- data/rbi/spotted/models/playlist_track_object.rbi +19 -0
- data/rbi/spotted/models/playlist_tracks_ref_object.rbi +27 -2
- data/rbi/spotted/models/playlist_user_object.rbi +19 -0
- data/rbi/spotted/models/recommendation_get_response.rbi +41 -3
- data/rbi/spotted/models/resume_point_object.rbi +27 -4
- data/rbi/spotted/models/search_query_response.rbi +151 -18
- data/rbi/spotted/models/show_base.rbi +20 -1
- data/rbi/spotted/models/show_retrieve_response.rbi +22 -3
- data/rbi/spotted/models/simplified_artist_object.rbi +19 -0
- data/rbi/spotted/models/simplified_chapter_object.rbi +19 -0
- data/rbi/spotted/models/simplified_episode_object.rbi +19 -0
- data/rbi/spotted/models/simplified_playlist_object.rbi +14 -12
- data/rbi/spotted/models/simplified_track_object.rbi +19 -0
- data/rbi/spotted/models/time_interval_object.rbi +31 -4
- data/rbi/spotted/models/track_object.rbi +38 -0
- data/rbi/spotted/models/track_restriction_object.rbi +21 -2
- data/rbi/spotted/models/user_retrieve_profile_response.rbi +19 -0
- data/rbi/spotted/models/users/playlist_create_response.rbi +36 -15
- data/sig/spotted/models/album_bulk_retrieve_response.rbs +17 -3
- data/sig/spotted/models/album_restriction_object.rbs +10 -1
- data/sig/spotted/models/album_retrieve_response.rbs +17 -3
- data/sig/spotted/models/artist_list_albums_response.rbs +7 -0
- data/sig/spotted/models/artist_object.rbs +7 -0
- data/sig/spotted/models/audio_analysis_retrieve_response.rbs +21 -0
- data/sig/spotted/models/audio_feature_bulk_retrieve_response.rbs +7 -0
- data/sig/spotted/models/audio_feature_retrieve_response.rbs +7 -0
- data/sig/spotted/models/audiobook_base.rbs +9 -2
- data/sig/spotted/models/audiobook_bulk_retrieve_response.rbs +10 -3
- data/sig/spotted/models/audiobook_retrieve_response.rbs +10 -3
- data/sig/spotted/models/author_object.rbs +7 -3
- data/sig/spotted/models/browse/category_get_playlists_response.rbs +13 -3
- data/sig/spotted/models/browse/category_list_response.rbs +20 -6
- data/sig/spotted/models/browse/category_retrieve_response.rbs +10 -3
- data/sig/spotted/models/browse_get_featured_playlists_response.rbs +13 -3
- data/sig/spotted/models/browse_get_new_releases_response.rbs +17 -3
- data/sig/spotted/models/chapter_bulk_retrieve_response.rbs +7 -0
- data/sig/spotted/models/chapter_restriction_object.rbs +7 -3
- data/sig/spotted/models/chapter_retrieve_response.rbs +7 -0
- data/sig/spotted/models/copyright_object.rbs +7 -3
- data/sig/spotted/models/episode_object.rbs +7 -0
- data/sig/spotted/models/episode_restriction_object.rbs +7 -3
- data/sig/spotted/models/external_id_object.rbs +19 -4
- data/sig/spotted/models/external_url_object.rbs +7 -3
- data/sig/spotted/models/followers_object.rbs +11 -3
- data/sig/spotted/models/image_object.rbs +18 -3
- data/sig/spotted/models/linked_track_object.rbs +7 -0
- data/sig/spotted/models/me/album_list_response.rbs +30 -6
- data/sig/spotted/models/me/audiobook_list_response.rbs +20 -6
- data/sig/spotted/models/me/context_object.rbs +7 -0
- data/sig/spotted/models/me/device_object.rbs +7 -0
- data/sig/spotted/models/me/episode_list_response.rbs +12 -3
- data/sig/spotted/models/me/following_bulk_retrieve_response.rbs +18 -3
- data/sig/spotted/models/me/player/queue_get_response.rbs +7 -0
- data/sig/spotted/models/me/player_get_currently_playing_response.rbs +14 -0
- data/sig/spotted/models/me/player_get_state_response.rbs +14 -0
- data/sig/spotted/models/me/player_list_recently_played_response.rbs +7 -0
- data/sig/spotted/models/me/show_list_response.rbs +16 -3
- data/sig/spotted/models/me/track_list_response.rbs +16 -3
- data/sig/spotted/models/me_retrieve_response.rbs +23 -3
- data/sig/spotted/models/narrator_object.rbs +7 -3
- data/sig/spotted/models/paging_playlist_object.rbs +10 -3
- data/sig/spotted/models/playlist_retrieve_response.rbs +15 -8
- data/sig/spotted/models/playlist_track_object.rbs +7 -0
- data/sig/spotted/models/playlist_tracks_ref_object.rbs +8 -3
- data/sig/spotted/models/playlist_user_object.rbs +7 -0
- data/sig/spotted/models/recommendation_get_response.rbs +17 -3
- data/sig/spotted/models/resume_point_object.rbs +11 -2
- data/sig/spotted/models/search_query_response.rbs +67 -18
- data/sig/spotted/models/show_base.rbs +9 -2
- data/sig/spotted/models/show_retrieve_response.rbs +10 -3
- data/sig/spotted/models/simplified_artist_object.rbs +7 -0
- data/sig/spotted/models/simplified_chapter_object.rbs +7 -0
- data/sig/spotted/models/simplified_episode_object.rbs +7 -0
- data/sig/spotted/models/simplified_playlist_object.rbs +5 -5
- data/sig/spotted/models/simplified_track_object.rbs +7 -0
- data/sig/spotted/models/time_interval_object.rbs +12 -2
- data/sig/spotted/models/track_object.rbs +14 -0
- data/sig/spotted/models/track_restriction_object.rbs +7 -3
- data/sig/spotted/models/user_retrieve_profile_response.rbs +7 -0
- data/sig/spotted/models/users/playlist_create_response.rbs +15 -8
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9e0681c24c6515cdcc779e0386c2eca78a0fe7810eb0c56993fda662ec3a00a5
|
|
4
|
+
data.tar.gz: 51b5066568a8051049575a36bf829410e97f8274fc0c4e431986db1966cd970d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 745968a15999b6ed47ac42f0b2fa6261ec0f41b5c85f1c67c38496f970bd2f3e84fdbc6838e140e5b2a62dde69c6fecf32e71e5b80e6ca59d7bde49ccd825904
|
|
7
|
+
data.tar.gz: 3ad3cc42a108f040f196e9a64082659ef169987552d6948a4e48152990d0b283272af48932dc442da2b1f9a7dfe4681a4eb1bcf53c00a2df59187732b9f4e1d6
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.25.0 (2025-12-16)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.24.0...v0.25.0](https://github.com/cjavdev/spotted/compare/v0.24.0...v0.25.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** manual updates ([6028352](https://github.com/cjavdev/spotted/commit/602835203696fd5da6c72668cd04b5ebb777c0ea))
|
|
10
|
+
|
|
11
|
+
## 0.24.0 (2025-12-10)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v0.23.0...v0.24.0](https://github.com/cjavdev/spotted/compare/v0.23.0...v0.24.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** manual updates ([412a14b](https://github.com/cjavdev/spotted/commit/412a14b53554fd250b472eda56f6539666231929))
|
|
18
|
+
|
|
3
19
|
## 0.23.0 (2025-12-10)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v0.22.0...v0.23.0](https://github.com/cjavdev/spotted/compare/v0.22.0...v0.23.0)
|
data/README.md
CHANGED
|
@@ -133,6 +133,16 @@ module Spotted
|
|
|
133
133
|
# @return [Integer, nil]
|
|
134
134
|
optional :popularity, Integer
|
|
135
135
|
|
|
136
|
+
# @!attribute published
|
|
137
|
+
# The playlist's public/private status (if it should be added to the user's
|
|
138
|
+
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
139
|
+
# be private, `null` the playlist status is not relevant. For more about
|
|
140
|
+
# public/private status, see
|
|
141
|
+
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
142
|
+
#
|
|
143
|
+
# @return [Boolean, nil]
|
|
144
|
+
optional :published, Spotted::Internal::Type::Boolean
|
|
145
|
+
|
|
136
146
|
# @!attribute restrictions
|
|
137
147
|
# Included in the response when a content restriction is applied.
|
|
138
148
|
#
|
|
@@ -145,7 +155,7 @@ module Spotted
|
|
|
145
155
|
# @return [Spotted::Models::AlbumBulkRetrieveResponse::Album::Tracks, nil]
|
|
146
156
|
optional :tracks, -> { Spotted::Models::AlbumBulkRetrieveResponse::Album::Tracks }
|
|
147
157
|
|
|
148
|
-
# @!method initialize(id:, album_type:, available_markets:, external_urls:, href:, images:, name:, release_date:, release_date_precision:, total_tracks:, uri:, artists: nil, copyrights: nil, external_ids: nil, genres: nil, label: nil, popularity: nil, restrictions: nil, tracks: nil, type: :album)
|
|
158
|
+
# @!method initialize(id:, album_type:, available_markets:, external_urls:, href:, images:, name:, release_date:, release_date_precision:, total_tracks:, uri:, artists: nil, copyrights: nil, external_ids: nil, genres: nil, label: nil, popularity: nil, published: nil, restrictions: nil, tracks: nil, type: :album)
|
|
149
159
|
# Some parameter documentations has been truncated, see
|
|
150
160
|
# {Spotted::Models::AlbumBulkRetrieveResponse::Album} for more details.
|
|
151
161
|
#
|
|
@@ -183,6 +193,8 @@ module Spotted
|
|
|
183
193
|
#
|
|
184
194
|
# @param popularity [Integer] The popularity of the album. The value will be between 0 and 100, with 100 being
|
|
185
195
|
#
|
|
196
|
+
# @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
|
|
197
|
+
#
|
|
186
198
|
# @param restrictions [Spotted::Models::AlbumRestrictionObject] Included in the response when a content restriction is applied.
|
|
187
199
|
#
|
|
188
200
|
# @param tracks [Spotted::Models::AlbumBulkRetrieveResponse::Album::Tracks] The tracks of the album.
|
|
@@ -260,7 +272,17 @@ module Spotted
|
|
|
260
272
|
# @return [Array<Spotted::Models::SimplifiedTrackObject>, nil]
|
|
261
273
|
optional :items, -> { Spotted::Internal::Type::ArrayOf[Spotted::SimplifiedTrackObject] }
|
|
262
274
|
|
|
263
|
-
# @!
|
|
275
|
+
# @!attribute published
|
|
276
|
+
# The playlist's public/private status (if it should be added to the user's
|
|
277
|
+
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
278
|
+
# be private, `null` the playlist status is not relevant. For more about
|
|
279
|
+
# public/private status, see
|
|
280
|
+
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
281
|
+
#
|
|
282
|
+
# @return [Boolean, nil]
|
|
283
|
+
optional :published, Spotted::Internal::Type::Boolean
|
|
284
|
+
|
|
285
|
+
# @!method initialize(href:, limit:, next_:, offset:, previous:, total:, items: nil, published: nil)
|
|
264
286
|
# Some parameter documentations has been truncated, see
|
|
265
287
|
# {Spotted::Models::AlbumBulkRetrieveResponse::Album::Tracks} for more details.
|
|
266
288
|
#
|
|
@@ -279,6 +301,8 @@ module Spotted
|
|
|
279
301
|
# @param total [Integer] The total number of items available to return.
|
|
280
302
|
#
|
|
281
303
|
# @param items [Array<Spotted::Models::SimplifiedTrackObject>]
|
|
304
|
+
#
|
|
305
|
+
# @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
|
|
282
306
|
end
|
|
283
307
|
end
|
|
284
308
|
end
|
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
module Spotted
|
|
4
4
|
module Models
|
|
5
5
|
class AlbumRestrictionObject < Spotted::Internal::Type::BaseModel
|
|
6
|
+
# @!attribute published
|
|
7
|
+
# The playlist's public/private status (if it should be added to the user's
|
|
8
|
+
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
9
|
+
# be private, `null` the playlist status is not relevant. For more about
|
|
10
|
+
# public/private status, see
|
|
11
|
+
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
12
|
+
#
|
|
13
|
+
# @return [Boolean, nil]
|
|
14
|
+
optional :published, Spotted::Internal::Type::Boolean
|
|
15
|
+
|
|
6
16
|
# @!attribute reason
|
|
7
17
|
# The reason for the restriction. Albums may be restricted if the content is not
|
|
8
18
|
# available in a given market, to the user's subscription type, or when the user's
|
|
@@ -12,10 +22,12 @@ module Spotted
|
|
|
12
22
|
# @return [Symbol, Spotted::Models::AlbumRestrictionObject::Reason, nil]
|
|
13
23
|
optional :reason, enum: -> { Spotted::AlbumRestrictionObject::Reason }
|
|
14
24
|
|
|
15
|
-
# @!method initialize(reason: nil)
|
|
25
|
+
# @!method initialize(published: nil, reason: nil)
|
|
16
26
|
# Some parameter documentations has been truncated, see
|
|
17
27
|
# {Spotted::Models::AlbumRestrictionObject} for more details.
|
|
18
28
|
#
|
|
29
|
+
# @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
|
|
30
|
+
#
|
|
19
31
|
# @param reason [Symbol, Spotted::Models::AlbumRestrictionObject::Reason] The reason for the restriction. Albums may be restricted if the content is not a
|
|
20
32
|
|
|
21
33
|
# The reason for the restriction. Albums may be restricted if the content is not
|
|
@@ -123,6 +123,16 @@ module Spotted
|
|
|
123
123
|
# @return [Integer, nil]
|
|
124
124
|
optional :popularity, Integer
|
|
125
125
|
|
|
126
|
+
# @!attribute published
|
|
127
|
+
# The playlist's public/private status (if it should be added to the user's
|
|
128
|
+
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
129
|
+
# be private, `null` the playlist status is not relevant. For more about
|
|
130
|
+
# public/private status, see
|
|
131
|
+
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
132
|
+
#
|
|
133
|
+
# @return [Boolean, nil]
|
|
134
|
+
optional :published, Spotted::Internal::Type::Boolean
|
|
135
|
+
|
|
126
136
|
# @!attribute restrictions
|
|
127
137
|
# Included in the response when a content restriction is applied.
|
|
128
138
|
#
|
|
@@ -135,7 +145,7 @@ module Spotted
|
|
|
135
145
|
# @return [Spotted::Models::AlbumRetrieveResponse::Tracks, nil]
|
|
136
146
|
optional :tracks, -> { Spotted::Models::AlbumRetrieveResponse::Tracks }
|
|
137
147
|
|
|
138
|
-
# @!method initialize(id:, album_type:, available_markets:, external_urls:, href:, images:, name:, release_date:, release_date_precision:, total_tracks:, uri:, artists: nil, copyrights: nil, external_ids: nil, genres: nil, label: nil, popularity: nil, restrictions: nil, tracks: nil, type: :album)
|
|
148
|
+
# @!method initialize(id:, album_type:, available_markets:, external_urls:, href:, images:, name:, release_date:, release_date_precision:, total_tracks:, uri:, artists: nil, copyrights: nil, external_ids: nil, genres: nil, label: nil, popularity: nil, published: nil, restrictions: nil, tracks: nil, type: :album)
|
|
139
149
|
# Some parameter documentations has been truncated, see
|
|
140
150
|
# {Spotted::Models::AlbumRetrieveResponse} for more details.
|
|
141
151
|
#
|
|
@@ -173,6 +183,8 @@ module Spotted
|
|
|
173
183
|
#
|
|
174
184
|
# @param popularity [Integer] The popularity of the album. The value will be between 0 and 100, with 100 being
|
|
175
185
|
#
|
|
186
|
+
# @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
|
|
187
|
+
#
|
|
176
188
|
# @param restrictions [Spotted::Models::AlbumRestrictionObject] Included in the response when a content restriction is applied.
|
|
177
189
|
#
|
|
178
190
|
# @param tracks [Spotted::Models::AlbumRetrieveResponse::Tracks] The tracks of the album.
|
|
@@ -250,7 +262,17 @@ module Spotted
|
|
|
250
262
|
# @return [Array<Spotted::Models::SimplifiedTrackObject>, nil]
|
|
251
263
|
optional :items, -> { Spotted::Internal::Type::ArrayOf[Spotted::SimplifiedTrackObject] }
|
|
252
264
|
|
|
253
|
-
# @!
|
|
265
|
+
# @!attribute published
|
|
266
|
+
# The playlist's public/private status (if it should be added to the user's
|
|
267
|
+
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
268
|
+
# be private, `null` the playlist status is not relevant. For more about
|
|
269
|
+
# public/private status, see
|
|
270
|
+
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
271
|
+
#
|
|
272
|
+
# @return [Boolean, nil]
|
|
273
|
+
optional :published, Spotted::Internal::Type::Boolean
|
|
274
|
+
|
|
275
|
+
# @!method initialize(href:, limit:, next_:, offset:, previous:, total:, items: nil, published: nil)
|
|
254
276
|
# Some parameter documentations has been truncated, see
|
|
255
277
|
# {Spotted::Models::AlbumRetrieveResponse::Tracks} for more details.
|
|
256
278
|
#
|
|
@@ -269,6 +291,8 @@ module Spotted
|
|
|
269
291
|
# @param total [Integer] The total number of items available to return.
|
|
270
292
|
#
|
|
271
293
|
# @param items [Array<Spotted::Models::SimplifiedTrackObject>]
|
|
294
|
+
#
|
|
295
|
+
# @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
|
|
272
296
|
end
|
|
273
297
|
end
|
|
274
298
|
end
|
|
@@ -96,13 +96,23 @@ module Spotted
|
|
|
96
96
|
# @return [String]
|
|
97
97
|
required :uri, String
|
|
98
98
|
|
|
99
|
+
# @!attribute published
|
|
100
|
+
# The playlist's public/private status (if it should be added to the user's
|
|
101
|
+
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
102
|
+
# be private, `null` the playlist status is not relevant. For more about
|
|
103
|
+
# public/private status, see
|
|
104
|
+
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
105
|
+
#
|
|
106
|
+
# @return [Boolean, nil]
|
|
107
|
+
optional :published, Spotted::Internal::Type::Boolean
|
|
108
|
+
|
|
99
109
|
# @!attribute restrictions
|
|
100
110
|
# Included in the response when a content restriction is applied.
|
|
101
111
|
#
|
|
102
112
|
# @return [Spotted::Models::AlbumRestrictionObject, nil]
|
|
103
113
|
optional :restrictions, -> { Spotted::AlbumRestrictionObject }
|
|
104
114
|
|
|
105
|
-
# @!method initialize(id:, album_group:, album_type:, artists:, available_markets:, external_urls:, href:, images:, name:, release_date:, release_date_precision:, total_tracks:, uri:, restrictions: nil, type: :album)
|
|
115
|
+
# @!method initialize(id:, album_group:, album_type:, artists:, available_markets:, external_urls:, href:, images:, name:, release_date:, release_date_precision:, total_tracks:, uri:, published: nil, restrictions: nil, type: :album)
|
|
106
116
|
# Some parameter documentations has been truncated, see
|
|
107
117
|
# {Spotted::Models::ArtistListAlbumsResponse} for more details.
|
|
108
118
|
#
|
|
@@ -132,6 +142,8 @@ module Spotted
|
|
|
132
142
|
#
|
|
133
143
|
# @param uri [String] The [Spotify URI](/documentation/web-api/concepts/spotify-uris-ids) for the albu
|
|
134
144
|
#
|
|
145
|
+
# @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
|
|
146
|
+
#
|
|
135
147
|
# @param restrictions [Spotted::Models::AlbumRestrictionObject] Included in the response when a content restriction is applied.
|
|
136
148
|
#
|
|
137
149
|
# @param type [Symbol, :album] The object type.
|
|
@@ -55,6 +55,16 @@ module Spotted
|
|
|
55
55
|
# @return [Integer, nil]
|
|
56
56
|
optional :popularity, Integer
|
|
57
57
|
|
|
58
|
+
# @!attribute published
|
|
59
|
+
# The playlist's public/private status (if it should be added to the user's
|
|
60
|
+
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
61
|
+
# be private, `null` the playlist status is not relevant. For more about
|
|
62
|
+
# public/private status, see
|
|
63
|
+
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
64
|
+
#
|
|
65
|
+
# @return [Boolean, nil]
|
|
66
|
+
optional :published, Spotted::Internal::Type::Boolean
|
|
67
|
+
|
|
58
68
|
# @!attribute type
|
|
59
69
|
# The object type.
|
|
60
70
|
#
|
|
@@ -68,7 +78,7 @@ module Spotted
|
|
|
68
78
|
# @return [String, nil]
|
|
69
79
|
optional :uri, String
|
|
70
80
|
|
|
71
|
-
# @!method initialize(id: nil, external_urls: nil, followers: nil, genres: nil, href: nil, images: nil, name: nil, popularity: nil, type: nil, uri: nil)
|
|
81
|
+
# @!method initialize(id: nil, external_urls: nil, followers: nil, genres: nil, href: nil, images: nil, name: nil, popularity: nil, published: nil, type: nil, uri: nil)
|
|
72
82
|
# Some parameter documentations has been truncated, see
|
|
73
83
|
# {Spotted::Models::ArtistObject} for more details.
|
|
74
84
|
#
|
|
@@ -88,6 +98,8 @@ module Spotted
|
|
|
88
98
|
#
|
|
89
99
|
# @param popularity [Integer] The popularity of the artist. The value will be between 0 and 100, with 100 bein
|
|
90
100
|
#
|
|
101
|
+
# @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
|
|
102
|
+
#
|
|
91
103
|
# @param type [Symbol, Spotted::Models::ArtistObject::Type] The object type.
|
|
92
104
|
#
|
|
93
105
|
# @param uri [String] The [Spotify URI](/documentation/web-api/concepts/spotify-uris-ids) for the arti
|
|
@@ -24,6 +24,16 @@ module Spotted
|
|
|
24
24
|
# @return [Spotted::Models::AudioAnalysisRetrieveResponse::Meta, nil]
|
|
25
25
|
optional :meta, -> { Spotted::Models::AudioAnalysisRetrieveResponse::Meta }
|
|
26
26
|
|
|
27
|
+
# @!attribute published
|
|
28
|
+
# The playlist's public/private status (if it should be added to the user's
|
|
29
|
+
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
30
|
+
# be private, `null` the playlist status is not relevant. For more about
|
|
31
|
+
# public/private status, see
|
|
32
|
+
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
33
|
+
#
|
|
34
|
+
# @return [Boolean, nil]
|
|
35
|
+
optional :published, Spotted::Internal::Type::Boolean
|
|
36
|
+
|
|
27
37
|
# @!attribute sections
|
|
28
38
|
# Sections are defined by large variations in rhythm or timbre, e.g. chorus,
|
|
29
39
|
# verse, bridge, guitar solo, etc. Each section contains its own descriptions of
|
|
@@ -52,7 +62,7 @@ module Spotted
|
|
|
52
62
|
# @return [Spotted::Models::AudioAnalysisRetrieveResponse::Track, nil]
|
|
53
63
|
optional :track, -> { Spotted::Models::AudioAnalysisRetrieveResponse::Track }
|
|
54
64
|
|
|
55
|
-
# @!method initialize(bars: nil, beats: nil, meta: nil, sections: nil, segments: nil, tatums: nil, track: nil)
|
|
65
|
+
# @!method initialize(bars: nil, beats: nil, meta: nil, published: nil, sections: nil, segments: nil, tatums: nil, track: nil)
|
|
56
66
|
# Some parameter documentations has been truncated, see
|
|
57
67
|
# {Spotted::Models::AudioAnalysisRetrieveResponse} for more details.
|
|
58
68
|
#
|
|
@@ -62,6 +72,8 @@ module Spotted
|
|
|
62
72
|
#
|
|
63
73
|
# @param meta [Spotted::Models::AudioAnalysisRetrieveResponse::Meta]
|
|
64
74
|
#
|
|
75
|
+
# @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
|
|
76
|
+
#
|
|
65
77
|
# @param sections [Array<Spotted::Models::AudioAnalysisRetrieveResponse::Section>] Sections are defined by large variations in rhythm or timbre, e.g. chorus, verse
|
|
66
78
|
#
|
|
67
79
|
# @param segments [Array<Spotted::Models::AudioAnalysisRetrieveResponse::Segment>] Each segment contains a roughly conisistent sound throughout its duration.
|
|
@@ -187,6 +199,16 @@ module Spotted
|
|
|
187
199
|
# @return [Float, nil]
|
|
188
200
|
optional :mode_confidence, Float
|
|
189
201
|
|
|
202
|
+
# @!attribute published
|
|
203
|
+
# The playlist's public/private status (if it should be added to the user's
|
|
204
|
+
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
205
|
+
# be private, `null` the playlist status is not relevant. For more about
|
|
206
|
+
# public/private status, see
|
|
207
|
+
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
208
|
+
#
|
|
209
|
+
# @return [Boolean, nil]
|
|
210
|
+
optional :published, Spotted::Internal::Type::Boolean
|
|
211
|
+
|
|
190
212
|
# @!attribute start
|
|
191
213
|
# The starting point (in seconds) of the section.
|
|
192
214
|
#
|
|
@@ -224,7 +246,7 @@ module Spotted
|
|
|
224
246
|
# @return [Float, nil]
|
|
225
247
|
optional :time_signature_confidence, Float
|
|
226
248
|
|
|
227
|
-
# @!method initialize(confidence: nil, duration: nil, key: nil, key_confidence: nil, loudness: nil, mode: nil, mode_confidence: nil, start: nil, tempo: nil, tempo_confidence: nil, time_signature: nil, time_signature_confidence: nil)
|
|
249
|
+
# @!method initialize(confidence: nil, duration: nil, key: nil, key_confidence: nil, loudness: nil, mode: nil, mode_confidence: nil, published: nil, start: nil, tempo: nil, tempo_confidence: nil, time_signature: nil, time_signature_confidence: nil)
|
|
228
250
|
# Some parameter documentations has been truncated, see
|
|
229
251
|
# {Spotted::Models::AudioAnalysisRetrieveResponse::Section} for more details.
|
|
230
252
|
#
|
|
@@ -242,6 +264,8 @@ module Spotted
|
|
|
242
264
|
#
|
|
243
265
|
# @param mode_confidence [Float] The confidence, from 0.0 to 1.0, of the reliability of the `mode`.
|
|
244
266
|
#
|
|
267
|
+
# @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
|
|
268
|
+
#
|
|
245
269
|
# @param start [Float] The starting point (in seconds) of the section.
|
|
246
270
|
#
|
|
247
271
|
# @param tempo [Float] The overall estimated tempo of the section in beats per minute (BPM). In musical
|
|
@@ -333,6 +357,16 @@ module Spotted
|
|
|
333
357
|
# @return [Array<Float>, nil]
|
|
334
358
|
optional :pitches, Spotted::Internal::Type::ArrayOf[Float]
|
|
335
359
|
|
|
360
|
+
# @!attribute published
|
|
361
|
+
# The playlist's public/private status (if it should be added to the user's
|
|
362
|
+
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
363
|
+
# be private, `null` the playlist status is not relevant. For more about
|
|
364
|
+
# public/private status, see
|
|
365
|
+
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
366
|
+
#
|
|
367
|
+
# @return [Boolean, nil]
|
|
368
|
+
optional :published, Spotted::Internal::Type::Boolean
|
|
369
|
+
|
|
336
370
|
# @!attribute start
|
|
337
371
|
# The starting point (in seconds) of the segment.
|
|
338
372
|
#
|
|
@@ -363,7 +397,7 @@ module Spotted
|
|
|
363
397
|
# @return [Array<Float>, nil]
|
|
364
398
|
optional :timbre, Spotted::Internal::Type::ArrayOf[Float]
|
|
365
399
|
|
|
366
|
-
# @!method initialize(confidence: nil, duration: nil, loudness_end: nil, loudness_max: nil, loudness_max_time: nil, loudness_start: nil, pitches: nil, start: nil, timbre: nil)
|
|
400
|
+
# @!method initialize(confidence: nil, duration: nil, loudness_end: nil, loudness_max: nil, loudness_max_time: nil, loudness_start: nil, pitches: nil, published: nil, start: nil, timbre: nil)
|
|
367
401
|
# Some parameter documentations has been truncated, see
|
|
368
402
|
# {Spotted::Models::AudioAnalysisRetrieveResponse::Segment} for more details.
|
|
369
403
|
#
|
|
@@ -381,6 +415,8 @@ module Spotted
|
|
|
381
415
|
#
|
|
382
416
|
# @param pitches [Array<Float>] Pitch content is given by a “chroma” vector, corresponding to the 12 pitch class
|
|
383
417
|
#
|
|
418
|
+
# @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
|
|
419
|
+
#
|
|
384
420
|
# @param start [Float] The starting point (in seconds) of the segment.
|
|
385
421
|
#
|
|
386
422
|
# @param timbre [Array<Float>] Timbre is the quality of a musical note or sound that distinguishes different ty
|
|
@@ -102,6 +102,16 @@ module Spotted
|
|
|
102
102
|
# @return [Integer, nil]
|
|
103
103
|
optional :mode, Integer
|
|
104
104
|
|
|
105
|
+
# @!attribute published
|
|
106
|
+
# The playlist's public/private status (if it should be added to the user's
|
|
107
|
+
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
108
|
+
# be private, `null` the playlist status is not relevant. For more about
|
|
109
|
+
# public/private status, see
|
|
110
|
+
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
111
|
+
#
|
|
112
|
+
# @return [Boolean, nil]
|
|
113
|
+
optional :published, Spotted::Internal::Type::Boolean
|
|
114
|
+
|
|
105
115
|
# @!attribute speechiness
|
|
106
116
|
# Speechiness detects the presence of spoken words in a track. The more
|
|
107
117
|
# exclusively speech-like the recording (e.g. talk show, audio book, poetry), the
|
|
@@ -157,7 +167,7 @@ module Spotted
|
|
|
157
167
|
# @return [Float, nil]
|
|
158
168
|
optional :valence, Float
|
|
159
169
|
|
|
160
|
-
# @!method initialize(id: nil, acousticness: nil, analysis_url: nil, danceability: nil, duration_ms: nil, energy: nil, instrumentalness: nil, key: nil, liveness: nil, loudness: nil, mode: nil, speechiness: nil, tempo: nil, time_signature: nil, track_href: nil, type: nil, uri: nil, valence: nil)
|
|
170
|
+
# @!method initialize(id: nil, acousticness: nil, analysis_url: nil, danceability: nil, duration_ms: nil, energy: nil, instrumentalness: nil, key: nil, liveness: nil, loudness: nil, mode: nil, published: nil, speechiness: nil, tempo: nil, time_signature: nil, track_href: nil, type: nil, uri: nil, valence: nil)
|
|
161
171
|
# Some parameter documentations has been truncated, see
|
|
162
172
|
# {Spotted::Models::AudioFeatureBulkRetrieveResponse::AudioFeature} for more
|
|
163
173
|
# details.
|
|
@@ -184,6 +194,8 @@ module Spotted
|
|
|
184
194
|
#
|
|
185
195
|
# @param mode [Integer] Mode indicates the modality (major or minor) of a track, the type of scale from
|
|
186
196
|
#
|
|
197
|
+
# @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
|
|
198
|
+
#
|
|
187
199
|
# @param speechiness [Float] Speechiness detects the presence of spoken words in a track. The more exclusivel
|
|
188
200
|
#
|
|
189
201
|
# @param tempo [Float] The overall estimated tempo of a track in beats per minute (BPM). In musical ter
|
|
@@ -92,6 +92,16 @@ module Spotted
|
|
|
92
92
|
# @return [Integer, nil]
|
|
93
93
|
optional :mode, Integer
|
|
94
94
|
|
|
95
|
+
# @!attribute published
|
|
96
|
+
# The playlist's public/private status (if it should be added to the user's
|
|
97
|
+
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
98
|
+
# be private, `null` the playlist status is not relevant. For more about
|
|
99
|
+
# public/private status, see
|
|
100
|
+
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
101
|
+
#
|
|
102
|
+
# @return [Boolean, nil]
|
|
103
|
+
optional :published, Spotted::Internal::Type::Boolean
|
|
104
|
+
|
|
95
105
|
# @!attribute speechiness
|
|
96
106
|
# Speechiness detects the presence of spoken words in a track. The more
|
|
97
107
|
# exclusively speech-like the recording (e.g. talk show, audio book, poetry), the
|
|
@@ -147,7 +157,7 @@ module Spotted
|
|
|
147
157
|
# @return [Float, nil]
|
|
148
158
|
optional :valence, Float
|
|
149
159
|
|
|
150
|
-
# @!method initialize(id: nil, acousticness: nil, analysis_url: nil, danceability: nil, duration_ms: nil, energy: nil, instrumentalness: nil, key: nil, liveness: nil, loudness: nil, mode: nil, speechiness: nil, tempo: nil, time_signature: nil, track_href: nil, type: nil, uri: nil, valence: nil)
|
|
160
|
+
# @!method initialize(id: nil, acousticness: nil, analysis_url: nil, danceability: nil, duration_ms: nil, energy: nil, instrumentalness: nil, key: nil, liveness: nil, loudness: nil, mode: nil, published: nil, speechiness: nil, tempo: nil, time_signature: nil, track_href: nil, type: nil, uri: nil, valence: nil)
|
|
151
161
|
# Some parameter documentations has been truncated, see
|
|
152
162
|
# {Spotted::Models::AudioFeatureRetrieveResponse} for more details.
|
|
153
163
|
#
|
|
@@ -173,6 +183,8 @@ module Spotted
|
|
|
173
183
|
#
|
|
174
184
|
# @param mode [Integer] Mode indicates the modality (major or minor) of a track, the type of scale from
|
|
175
185
|
#
|
|
186
|
+
# @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
|
|
187
|
+
#
|
|
176
188
|
# @param speechiness [Float] Speechiness detects the presence of spoken words in a track. The more exclusivel
|
|
177
189
|
#
|
|
178
190
|
# @param tempo [Float] The overall estimated tempo of a track in beats per minute (BPM). In musical ter
|
|
@@ -124,7 +124,17 @@ module Spotted
|
|
|
124
124
|
# @return [String, nil]
|
|
125
125
|
optional :edition, String
|
|
126
126
|
|
|
127
|
-
# @!
|
|
127
|
+
# @!attribute published
|
|
128
|
+
# The playlist's public/private status (if it should be added to the user's
|
|
129
|
+
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
130
|
+
# be private, `null` the playlist status is not relevant. For more about
|
|
131
|
+
# public/private status, see
|
|
132
|
+
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
133
|
+
#
|
|
134
|
+
# @return [Boolean, nil]
|
|
135
|
+
optional :published, Spotted::Internal::Type::Boolean
|
|
136
|
+
|
|
137
|
+
# @!method initialize(id:, authors:, available_markets:, copyrights:, description:, explicit:, external_urls:, href:, html_description:, images:, languages:, media_type:, name:, narrators:, publisher:, total_chapters:, uri:, edition: nil, published: nil, type: :audiobook)
|
|
128
138
|
# Some parameter documentations has been truncated, see
|
|
129
139
|
# {Spotted::Models::AudiobookBase} for more details.
|
|
130
140
|
#
|
|
@@ -164,6 +174,8 @@ module Spotted
|
|
|
164
174
|
#
|
|
165
175
|
# @param edition [String] The edition of the audiobook.
|
|
166
176
|
#
|
|
177
|
+
# @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
|
|
178
|
+
#
|
|
167
179
|
# @param type [Symbol, :audiobook] The object type.
|
|
168
180
|
end
|
|
169
181
|
end
|
|
@@ -68,7 +68,17 @@ module Spotted
|
|
|
68
68
|
# @return [Array<Spotted::Models::SimplifiedChapterObject>, nil]
|
|
69
69
|
optional :items, -> { Spotted::Internal::Type::ArrayOf[Spotted::SimplifiedChapterObject] }
|
|
70
70
|
|
|
71
|
-
# @!
|
|
71
|
+
# @!attribute published
|
|
72
|
+
# The playlist's public/private status (if it should be added to the user's
|
|
73
|
+
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
74
|
+
# be private, `null` the playlist status is not relevant. For more about
|
|
75
|
+
# public/private status, see
|
|
76
|
+
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
77
|
+
#
|
|
78
|
+
# @return [Boolean, nil]
|
|
79
|
+
optional :published, Spotted::Internal::Type::Boolean
|
|
80
|
+
|
|
81
|
+
# @!method initialize(href:, limit:, next_:, offset:, previous:, total:, items: nil, published: nil)
|
|
72
82
|
# Some parameter documentations has been truncated, see
|
|
73
83
|
# {Spotted::Models::AudiobookBulkRetrieveResponse::Audiobook::Chapters} for more
|
|
74
84
|
# details.
|
|
@@ -88,6 +98,8 @@ module Spotted
|
|
|
88
98
|
# @param total [Integer] The total number of items available to return.
|
|
89
99
|
#
|
|
90
100
|
# @param items [Array<Spotted::Models::SimplifiedChapterObject>]
|
|
101
|
+
#
|
|
102
|
+
# @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
|
|
91
103
|
end
|
|
92
104
|
end
|
|
93
105
|
end
|
|
@@ -58,7 +58,17 @@ module Spotted
|
|
|
58
58
|
# @return [Array<Spotted::Models::SimplifiedChapterObject>, nil]
|
|
59
59
|
optional :items, -> { Spotted::Internal::Type::ArrayOf[Spotted::SimplifiedChapterObject] }
|
|
60
60
|
|
|
61
|
-
# @!
|
|
61
|
+
# @!attribute published
|
|
62
|
+
# The playlist's public/private status (if it should be added to the user's
|
|
63
|
+
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
64
|
+
# be private, `null` the playlist status is not relevant. For more about
|
|
65
|
+
# public/private status, see
|
|
66
|
+
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
67
|
+
#
|
|
68
|
+
# @return [Boolean, nil]
|
|
69
|
+
optional :published, Spotted::Internal::Type::Boolean
|
|
70
|
+
|
|
71
|
+
# @!method initialize(href:, limit:, next_:, offset:, previous:, total:, items: nil, published: nil)
|
|
62
72
|
# Some parameter documentations has been truncated, see
|
|
63
73
|
# {Spotted::Models::AudiobookRetrieveResponse::Chapters} for more details.
|
|
64
74
|
#
|
|
@@ -77,6 +87,8 @@ module Spotted
|
|
|
77
87
|
# @param total [Integer] The total number of items available to return.
|
|
78
88
|
#
|
|
79
89
|
# @param items [Array<Spotted::Models::SimplifiedChapterObject>]
|
|
90
|
+
#
|
|
91
|
+
# @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
|
|
80
92
|
end
|
|
81
93
|
end
|
|
82
94
|
end
|
|
@@ -9,11 +9,23 @@ module Spotted
|
|
|
9
9
|
# @return [String, nil]
|
|
10
10
|
optional :name, String
|
|
11
11
|
|
|
12
|
-
# @!
|
|
12
|
+
# @!attribute published
|
|
13
|
+
# The playlist's public/private status (if it should be added to the user's
|
|
14
|
+
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
15
|
+
# be private, `null` the playlist status is not relevant. For more about
|
|
16
|
+
# public/private status, see
|
|
17
|
+
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
18
|
+
#
|
|
19
|
+
# @return [Boolean, nil]
|
|
20
|
+
optional :published, Spotted::Internal::Type::Boolean
|
|
21
|
+
|
|
22
|
+
# @!method initialize(name: nil, published: nil)
|
|
13
23
|
# Some parameter documentations has been truncated, see
|
|
14
24
|
# {Spotted::Models::AuthorObject} for more details.
|
|
15
25
|
#
|
|
16
26
|
# @param name [String] The name of the author.
|
|
27
|
+
#
|
|
28
|
+
# @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
|
|
17
29
|
end
|
|
18
30
|
end
|
|
19
31
|
end
|
|
@@ -16,13 +16,25 @@ module Spotted
|
|
|
16
16
|
# @return [Spotted::Models::PagingPlaylistObject, nil]
|
|
17
17
|
optional :playlists, -> { Spotted::PagingPlaylistObject }
|
|
18
18
|
|
|
19
|
-
# @!
|
|
19
|
+
# @!attribute published
|
|
20
|
+
# The playlist's public/private status (if it should be added to the user's
|
|
21
|
+
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
22
|
+
# be private, `null` the playlist status is not relevant. For more about
|
|
23
|
+
# public/private status, see
|
|
24
|
+
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
25
|
+
#
|
|
26
|
+
# @return [Boolean, nil]
|
|
27
|
+
optional :published, Spotted::Internal::Type::Boolean
|
|
28
|
+
|
|
29
|
+
# @!method initialize(message: nil, playlists: nil, published: nil)
|
|
20
30
|
# Some parameter documentations has been truncated, see
|
|
21
31
|
# {Spotted::Models::Browse::CategoryGetPlaylistsResponse} for more details.
|
|
22
32
|
#
|
|
23
33
|
# @param message [String] The localized message of a playlist.
|
|
24
34
|
#
|
|
25
35
|
# @param playlists [Spotted::Models::PagingPlaylistObject]
|
|
36
|
+
#
|
|
37
|
+
# @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
|
|
26
38
|
end
|
|
27
39
|
end
|
|
28
40
|
end
|
|
@@ -57,7 +57,17 @@ module Spotted
|
|
|
57
57
|
optional :items,
|
|
58
58
|
-> { Spotted::Internal::Type::ArrayOf[Spotted::Models::Browse::CategoryListResponse::Categories::Item] }
|
|
59
59
|
|
|
60
|
-
# @!
|
|
60
|
+
# @!attribute published
|
|
61
|
+
# The playlist's public/private status (if it should be added to the user's
|
|
62
|
+
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
63
|
+
# be private, `null` the playlist status is not relevant. For more about
|
|
64
|
+
# public/private status, see
|
|
65
|
+
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
66
|
+
#
|
|
67
|
+
# @return [Boolean, nil]
|
|
68
|
+
optional :published, Spotted::Internal::Type::Boolean
|
|
69
|
+
|
|
70
|
+
# @!method initialize(href:, limit:, next_:, offset:, previous:, total:, items: nil, published: nil)
|
|
61
71
|
# Some parameter documentations has been truncated, see
|
|
62
72
|
# {Spotted::Models::Browse::CategoryListResponse::Categories} for more details.
|
|
63
73
|
#
|
|
@@ -74,6 +84,8 @@ module Spotted
|
|
|
74
84
|
# @param total [Integer] The total number of items available to return.
|
|
75
85
|
#
|
|
76
86
|
# @param items [Array<Spotted::Models::Browse::CategoryListResponse::Categories::Item>]
|
|
87
|
+
#
|
|
88
|
+
# @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
|
|
77
89
|
|
|
78
90
|
class Item < Spotted::Internal::Type::BaseModel
|
|
79
91
|
# @!attribute id
|
|
@@ -101,7 +113,17 @@ module Spotted
|
|
|
101
113
|
# @return [String]
|
|
102
114
|
required :name, String
|
|
103
115
|
|
|
104
|
-
# @!
|
|
116
|
+
# @!attribute published
|
|
117
|
+
# The playlist's public/private status (if it should be added to the user's
|
|
118
|
+
# profile or not): `true` the playlist will be public, `false` the playlist will
|
|
119
|
+
# be private, `null` the playlist status is not relevant. For more about
|
|
120
|
+
# public/private status, see
|
|
121
|
+
# [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
122
|
+
#
|
|
123
|
+
# @return [Boolean, nil]
|
|
124
|
+
optional :published, Spotted::Internal::Type::Boolean
|
|
125
|
+
|
|
126
|
+
# @!method initialize(id:, href:, icons:, name:, published: nil)
|
|
105
127
|
# Some parameter documentations has been truncated, see
|
|
106
128
|
# {Spotted::Models::Browse::CategoryListResponse::Categories::Item} for more
|
|
107
129
|
# details.
|
|
@@ -113,6 +135,8 @@ module Spotted
|
|
|
113
135
|
# @param icons [Array<Spotted::Models::ImageObject>] The category icon, in various sizes.
|
|
114
136
|
#
|
|
115
137
|
# @param name [String] The name of the category.
|
|
138
|
+
#
|
|
139
|
+
# @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
|
|
116
140
|
end
|
|
117
141
|
end
|
|
118
142
|
end
|