spotted 0.24.0 → 0.26.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.
Files changed (275) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/README.md +1 -1
  4. data/lib/spotted/internal/type/base_model.rb +1 -0
  5. data/lib/spotted/models/album_bulk_retrieve_response.rb +26 -2
  6. data/lib/spotted/models/album_restriction_object.rb +13 -1
  7. data/lib/spotted/models/album_retrieve_response.rb +26 -2
  8. data/lib/spotted/models/artist_list_albums_response.rb +13 -1
  9. data/lib/spotted/models/artist_object.rb +13 -1
  10. data/lib/spotted/models/audio_analysis_retrieve_response.rb +39 -3
  11. data/lib/spotted/models/audio_feature_bulk_retrieve_response.rb +13 -1
  12. data/lib/spotted/models/audio_feature_retrieve_response.rb +13 -1
  13. data/lib/spotted/models/audiobook_base.rb +13 -1
  14. data/lib/spotted/models/audiobook_bulk_retrieve_response.rb +13 -1
  15. data/lib/spotted/models/audiobook_retrieve_response.rb +13 -1
  16. data/lib/spotted/models/author_object.rb +13 -1
  17. data/lib/spotted/models/browse/category_get_playlists_response.rb +13 -1
  18. data/lib/spotted/models/browse/category_list_response.rb +26 -2
  19. data/lib/spotted/models/browse/category_retrieve_response.rb +13 -1
  20. data/lib/spotted/models/browse_get_featured_playlists_response.rb +13 -1
  21. data/lib/spotted/models/browse_get_new_releases_response.rb +26 -2
  22. data/lib/spotted/models/chapter_bulk_retrieve_response.rb +13 -1
  23. data/lib/spotted/models/chapter_restriction_object.rb +13 -1
  24. data/lib/spotted/models/chapter_retrieve_response.rb +13 -1
  25. data/lib/spotted/models/copyright_object.rb +13 -1
  26. data/lib/spotted/models/episode_object.rb +13 -1
  27. data/lib/spotted/models/episode_restriction_object.rb +13 -1
  28. data/lib/spotted/models/external_id_object.rb +13 -1
  29. data/lib/spotted/models/external_url_object.rb +13 -1
  30. data/lib/spotted/models/followers_object.rb +13 -1
  31. data/lib/spotted/models/image_object.rb +13 -1
  32. data/lib/spotted/models/linked_track_object.rb +13 -1
  33. data/lib/spotted/models/me/album_list_response.rb +39 -3
  34. data/lib/spotted/models/me/album_remove_params.rb +13 -1
  35. data/lib/spotted/models/me/album_save_params.rb +13 -1
  36. data/lib/spotted/models/me/audiobook_list_response.rb +26 -2
  37. data/lib/spotted/models/me/context_object.rb +13 -1
  38. data/lib/spotted/models/me/device_object.rb +13 -1
  39. data/lib/spotted/models/me/episode_list_response.rb +13 -1
  40. data/lib/spotted/models/me/episode_remove_params.rb +13 -1
  41. data/lib/spotted/models/me/episode_save_params.rb +13 -1
  42. data/lib/spotted/models/me/following_bulk_retrieve_response.rb +30 -2
  43. data/lib/spotted/models/me/following_follow_params.rb +13 -1
  44. data/lib/spotted/models/me/following_unfollow_params.rb +13 -1
  45. data/lib/spotted/models/me/player/queue_get_response.rb +16 -1
  46. data/lib/spotted/models/me/player_get_currently_playing_response.rb +30 -2
  47. data/lib/spotted/models/me/player_get_state_response.rb +29 -2
  48. data/lib/spotted/models/me/player_list_recently_played_response.rb +16 -1
  49. data/lib/spotted/models/me/player_start_playback_params.rb +13 -1
  50. data/lib/spotted/models/me/player_transfer_params.rb +13 -1
  51. data/lib/spotted/models/me/show_list_response.rb +13 -1
  52. data/lib/spotted/models/me/show_remove_params.rb +13 -1
  53. data/lib/spotted/models/me/show_save_params.rb +13 -1
  54. data/lib/spotted/models/me/track_list_response.rb +13 -1
  55. data/lib/spotted/models/me/track_remove_params.rb +13 -1
  56. data/lib/spotted/models/me/track_save_params.rb +13 -1
  57. data/lib/spotted/models/me_retrieve_response.rb +26 -2
  58. data/lib/spotted/models/narrator_object.rb +13 -1
  59. data/lib/spotted/models/paging_playlist_object.rb +13 -1
  60. data/lib/spotted/models/playlist_retrieve_response.rb +18 -5
  61. data/lib/spotted/models/playlist_track_object.rb +13 -1
  62. data/lib/spotted/models/playlist_tracks_ref_object.rb +13 -1
  63. data/lib/spotted/models/playlist_update_params.rb +13 -1
  64. data/lib/spotted/models/playlist_user_object.rb +13 -1
  65. data/lib/spotted/models/playlists/follower_follow_params.rb +13 -1
  66. data/lib/spotted/models/playlists/track_add_params.rb +13 -1
  67. data/lib/spotted/models/playlists/track_remove_params.rb +13 -1
  68. data/lib/spotted/models/playlists/track_update_params.rb +13 -1
  69. data/lib/spotted/models/recommendation_get_response.rb +26 -2
  70. data/lib/spotted/models/resume_point_object.rb +13 -1
  71. data/lib/spotted/models/search_query_response.rb +91 -7
  72. data/lib/spotted/models/show_base.rb +13 -1
  73. data/lib/spotted/models/show_retrieve_response.rb +13 -1
  74. data/lib/spotted/models/simplified_artist_object.rb +13 -1
  75. data/lib/spotted/models/simplified_chapter_object.rb +13 -1
  76. data/lib/spotted/models/simplified_episode_object.rb +13 -1
  77. data/lib/spotted/models/simplified_playlist_object.rb +5 -4
  78. data/lib/spotted/models/simplified_track_object.rb +13 -1
  79. data/lib/spotted/models/time_interval_object.rb +16 -1
  80. data/lib/spotted/models/track_object.rb +26 -2
  81. data/lib/spotted/models/track_restriction_object.rb +13 -1
  82. data/lib/spotted/models/user_retrieve_profile_response.rb +13 -1
  83. data/lib/spotted/models/users/playlist_create_params.rb +13 -1
  84. data/lib/spotted/models/users/playlist_create_response.rb +18 -5
  85. data/lib/spotted/resources/me/albums.rb +6 -2
  86. data/lib/spotted/resources/me/episodes.rb +6 -2
  87. data/lib/spotted/resources/me/following.rb +6 -2
  88. data/lib/spotted/resources/me/player.rb +6 -2
  89. data/lib/spotted/resources/me/shows.rb +6 -2
  90. data/lib/spotted/resources/me/tracks.rb +6 -2
  91. data/lib/spotted/resources/playlists/followers.rb +3 -1
  92. data/lib/spotted/resources/playlists/tracks.rb +9 -3
  93. data/lib/spotted/resources/playlists.rb +3 -1
  94. data/lib/spotted/resources/users/playlists.rb +3 -1
  95. data/lib/spotted/version.rb +1 -1
  96. data/rbi/spotted/models/album_bulk_retrieve_response.rbi +41 -3
  97. data/rbi/spotted/models/album_restriction_object.rbi +22 -1
  98. data/rbi/spotted/models/album_retrieve_response.rbi +41 -3
  99. data/rbi/spotted/models/artist_list_albums_response.rbi +19 -0
  100. data/rbi/spotted/models/artist_object.rbi +19 -0
  101. data/rbi/spotted/models/audio_analysis_retrieve_response.rbi +57 -0
  102. data/rbi/spotted/models/audio_feature_bulk_retrieve_response.rbi +19 -0
  103. data/rbi/spotted/models/audio_feature_retrieve_response.rbi +19 -0
  104. data/rbi/spotted/models/audiobook_base.rbi +20 -1
  105. data/rbi/spotted/models/audiobook_bulk_retrieve_response.rbi +22 -3
  106. data/rbi/spotted/models/audiobook_retrieve_response.rbi +22 -3
  107. data/rbi/spotted/models/author_object.rbi +22 -3
  108. data/rbi/spotted/models/browse/category_get_playlists_response.rbi +25 -3
  109. data/rbi/spotted/models/browse/category_list_response.rbi +44 -6
  110. data/rbi/spotted/models/browse/category_retrieve_response.rbi +22 -3
  111. data/rbi/spotted/models/browse_get_featured_playlists_response.rbi +25 -3
  112. data/rbi/spotted/models/browse_get_new_releases_response.rbi +41 -3
  113. data/rbi/spotted/models/chapter_bulk_retrieve_response.rbi +19 -0
  114. data/rbi/spotted/models/chapter_restriction_object.rbi +21 -2
  115. data/rbi/spotted/models/chapter_retrieve_response.rbi +19 -0
  116. data/rbi/spotted/models/copyright_object.rbi +25 -2
  117. data/rbi/spotted/models/episode_object.rbi +19 -0
  118. data/rbi/spotted/models/episode_restriction_object.rbi +21 -2
  119. data/rbi/spotted/models/external_id_object.rbi +28 -2
  120. data/rbi/spotted/models/external_url_object.rbi +21 -2
  121. data/rbi/spotted/models/followers_object.rbi +27 -4
  122. data/rbi/spotted/models/image_object.rbi +26 -3
  123. data/rbi/spotted/models/linked_track_object.rbi +19 -0
  124. data/rbi/spotted/models/me/album_list_response.rbi +63 -6
  125. data/rbi/spotted/models/me/album_remove_params.rbi +23 -1
  126. data/rbi/spotted/models/me/album_save_params.rbi +23 -1
  127. data/rbi/spotted/models/me/audiobook_list_response.rbi +44 -6
  128. data/rbi/spotted/models/me/context_object.rbi +19 -0
  129. data/rbi/spotted/models/me/device_object.rbi +19 -0
  130. data/rbi/spotted/models/me/episode_list_response.rbi +27 -3
  131. data/rbi/spotted/models/me/episode_remove_params.rbi +23 -1
  132. data/rbi/spotted/models/me/episode_save_params.rbi +23 -1
  133. data/rbi/spotted/models/me/following_bulk_retrieve_response.rbi +47 -3
  134. data/rbi/spotted/models/me/following_follow_params.rbi +23 -1
  135. data/rbi/spotted/models/me/following_unfollow_params.rbi +23 -1
  136. data/rbi/spotted/models/me/player/queue_get_response.rbi +19 -0
  137. data/rbi/spotted/models/me/player_get_currently_playing_response.rbi +38 -0
  138. data/rbi/spotted/models/me/player_get_state_response.rbi +38 -0
  139. data/rbi/spotted/models/me/player_list_recently_played_response.rbi +19 -0
  140. data/rbi/spotted/models/me/player_start_playback_params.rbi +19 -0
  141. data/rbi/spotted/models/me/player_transfer_params.rbi +19 -0
  142. data/rbi/spotted/models/me/show_list_response.rbi +27 -4
  143. data/rbi/spotted/models/me/show_remove_params.rbi +23 -1
  144. data/rbi/spotted/models/me/show_save_params.rbi +23 -1
  145. data/rbi/spotted/models/me/track_list_response.rbi +29 -4
  146. data/rbi/spotted/models/me/track_remove_params.rbi +23 -1
  147. data/rbi/spotted/models/me/track_save_params.rbi +19 -0
  148. data/rbi/spotted/models/me_retrieve_response.rbi +47 -5
  149. data/rbi/spotted/models/narrator_object.rbi +22 -3
  150. data/rbi/spotted/models/paging_playlist_object.rbi +22 -3
  151. data/rbi/spotted/models/playlist_retrieve_response.rbi +30 -9
  152. data/rbi/spotted/models/playlist_track_object.rbi +19 -0
  153. data/rbi/spotted/models/playlist_tracks_ref_object.rbi +27 -2
  154. data/rbi/spotted/models/playlist_update_params.rbi +19 -0
  155. data/rbi/spotted/models/playlist_user_object.rbi +19 -0
  156. data/rbi/spotted/models/playlists/follower_follow_params.rbi +23 -1
  157. data/rbi/spotted/models/playlists/track_add_params.rbi +19 -0
  158. data/rbi/spotted/models/playlists/track_remove_params.rbi +19 -0
  159. data/rbi/spotted/models/playlists/track_update_params.rbi +19 -0
  160. data/rbi/spotted/models/recommendation_get_response.rbi +41 -3
  161. data/rbi/spotted/models/resume_point_object.rbi +27 -4
  162. data/rbi/spotted/models/search_query_response.rbi +151 -18
  163. data/rbi/spotted/models/show_base.rbi +20 -1
  164. data/rbi/spotted/models/show_retrieve_response.rbi +22 -3
  165. data/rbi/spotted/models/simplified_artist_object.rbi +19 -0
  166. data/rbi/spotted/models/simplified_chapter_object.rbi +19 -0
  167. data/rbi/spotted/models/simplified_episode_object.rbi +19 -0
  168. data/rbi/spotted/models/simplified_playlist_object.rbi +8 -6
  169. data/rbi/spotted/models/simplified_track_object.rbi +19 -0
  170. data/rbi/spotted/models/time_interval_object.rbi +31 -4
  171. data/rbi/spotted/models/track_object.rbi +38 -0
  172. data/rbi/spotted/models/track_restriction_object.rbi +21 -2
  173. data/rbi/spotted/models/user_retrieve_profile_response.rbi +19 -0
  174. data/rbi/spotted/models/users/playlist_create_params.rbi +19 -0
  175. data/rbi/spotted/models/users/playlist_create_response.rbi +30 -9
  176. data/rbi/spotted/resources/me/albums.rbi +14 -0
  177. data/rbi/spotted/resources/me/episodes.rbi +14 -0
  178. data/rbi/spotted/resources/me/following.rbi +14 -0
  179. data/rbi/spotted/resources/me/player.rbi +14 -0
  180. data/rbi/spotted/resources/me/shows.rbi +14 -0
  181. data/rbi/spotted/resources/me/tracks.rbi +14 -0
  182. data/rbi/spotted/resources/playlists/followers.rbi +7 -0
  183. data/rbi/spotted/resources/playlists/tracks.rbi +21 -0
  184. data/rbi/spotted/resources/playlists.rbi +7 -0
  185. data/rbi/spotted/resources/users/playlists.rbi +7 -0
  186. data/sig/spotted/models/album_bulk_retrieve_response.rbs +17 -3
  187. data/sig/spotted/models/album_restriction_object.rbs +10 -1
  188. data/sig/spotted/models/album_retrieve_response.rbs +17 -3
  189. data/sig/spotted/models/artist_list_albums_response.rbs +7 -0
  190. data/sig/spotted/models/artist_object.rbs +7 -0
  191. data/sig/spotted/models/audio_analysis_retrieve_response.rbs +21 -0
  192. data/sig/spotted/models/audio_feature_bulk_retrieve_response.rbs +7 -0
  193. data/sig/spotted/models/audio_feature_retrieve_response.rbs +7 -0
  194. data/sig/spotted/models/audiobook_base.rbs +9 -2
  195. data/sig/spotted/models/audiobook_bulk_retrieve_response.rbs +10 -3
  196. data/sig/spotted/models/audiobook_retrieve_response.rbs +10 -3
  197. data/sig/spotted/models/author_object.rbs +7 -3
  198. data/sig/spotted/models/browse/category_get_playlists_response.rbs +13 -3
  199. data/sig/spotted/models/browse/category_list_response.rbs +20 -6
  200. data/sig/spotted/models/browse/category_retrieve_response.rbs +10 -3
  201. data/sig/spotted/models/browse_get_featured_playlists_response.rbs +13 -3
  202. data/sig/spotted/models/browse_get_new_releases_response.rbs +17 -3
  203. data/sig/spotted/models/chapter_bulk_retrieve_response.rbs +7 -0
  204. data/sig/spotted/models/chapter_restriction_object.rbs +7 -3
  205. data/sig/spotted/models/chapter_retrieve_response.rbs +7 -0
  206. data/sig/spotted/models/copyright_object.rbs +7 -3
  207. data/sig/spotted/models/episode_object.rbs +7 -0
  208. data/sig/spotted/models/episode_restriction_object.rbs +7 -3
  209. data/sig/spotted/models/external_id_object.rbs +19 -4
  210. data/sig/spotted/models/external_url_object.rbs +7 -3
  211. data/sig/spotted/models/followers_object.rbs +11 -3
  212. data/sig/spotted/models/image_object.rbs +18 -3
  213. data/sig/spotted/models/linked_track_object.rbs +7 -0
  214. data/sig/spotted/models/me/album_list_response.rbs +30 -6
  215. data/sig/spotted/models/me/album_remove_params.rbs +8 -1
  216. data/sig/spotted/models/me/album_save_params.rbs +8 -1
  217. data/sig/spotted/models/me/audiobook_list_response.rbs +20 -6
  218. data/sig/spotted/models/me/context_object.rbs +7 -0
  219. data/sig/spotted/models/me/device_object.rbs +7 -0
  220. data/sig/spotted/models/me/episode_list_response.rbs +12 -3
  221. data/sig/spotted/models/me/episode_remove_params.rbs +8 -1
  222. data/sig/spotted/models/me/episode_save_params.rbs +8 -1
  223. data/sig/spotted/models/me/following_bulk_retrieve_response.rbs +18 -3
  224. data/sig/spotted/models/me/following_follow_params.rbs +8 -1
  225. data/sig/spotted/models/me/following_unfollow_params.rbs +8 -1
  226. data/sig/spotted/models/me/player/queue_get_response.rbs +7 -0
  227. data/sig/spotted/models/me/player_get_currently_playing_response.rbs +14 -0
  228. data/sig/spotted/models/me/player_get_state_response.rbs +14 -0
  229. data/sig/spotted/models/me/player_list_recently_played_response.rbs +7 -0
  230. data/sig/spotted/models/me/player_start_playback_params.rbs +7 -0
  231. data/sig/spotted/models/me/player_transfer_params.rbs +7 -1
  232. data/sig/spotted/models/me/show_list_response.rbs +16 -3
  233. data/sig/spotted/models/me/show_remove_params.rbs +8 -1
  234. data/sig/spotted/models/me/show_save_params.rbs +8 -1
  235. data/sig/spotted/models/me/track_list_response.rbs +16 -3
  236. data/sig/spotted/models/me/track_remove_params.rbs +8 -1
  237. data/sig/spotted/models/me/track_save_params.rbs +7 -0
  238. data/sig/spotted/models/me_retrieve_response.rbs +23 -3
  239. data/sig/spotted/models/narrator_object.rbs +7 -3
  240. data/sig/spotted/models/paging_playlist_object.rbs +10 -3
  241. data/sig/spotted/models/playlist_retrieve_response.rbs +10 -3
  242. data/sig/spotted/models/playlist_track_object.rbs +7 -0
  243. data/sig/spotted/models/playlist_tracks_ref_object.rbs +8 -3
  244. data/sig/spotted/models/playlist_update_params.rbs +13 -1
  245. data/sig/spotted/models/playlist_user_object.rbs +7 -0
  246. data/sig/spotted/models/playlists/follower_follow_params.rbs +8 -1
  247. data/sig/spotted/models/playlists/track_add_params.rbs +7 -1
  248. data/sig/spotted/models/playlists/track_remove_params.rbs +7 -0
  249. data/sig/spotted/models/playlists/track_update_params.rbs +7 -0
  250. data/sig/spotted/models/recommendation_get_response.rbs +17 -3
  251. data/sig/spotted/models/resume_point_object.rbs +11 -2
  252. data/sig/spotted/models/search_query_response.rbs +67 -18
  253. data/sig/spotted/models/show_base.rbs +9 -2
  254. data/sig/spotted/models/show_retrieve_response.rbs +10 -3
  255. data/sig/spotted/models/simplified_artist_object.rbs +7 -0
  256. data/sig/spotted/models/simplified_chapter_object.rbs +7 -0
  257. data/sig/spotted/models/simplified_episode_object.rbs +7 -0
  258. data/sig/spotted/models/simplified_track_object.rbs +7 -0
  259. data/sig/spotted/models/time_interval_object.rbs +12 -2
  260. data/sig/spotted/models/track_object.rbs +14 -0
  261. data/sig/spotted/models/track_restriction_object.rbs +7 -3
  262. data/sig/spotted/models/user_retrieve_profile_response.rbs +7 -0
  263. data/sig/spotted/models/users/playlist_create_params.rbs +13 -1
  264. data/sig/spotted/models/users/playlist_create_response.rbs +10 -3
  265. data/sig/spotted/resources/me/albums.rbs +2 -0
  266. data/sig/spotted/resources/me/episodes.rbs +2 -0
  267. data/sig/spotted/resources/me/following.rbs +2 -0
  268. data/sig/spotted/resources/me/player.rbs +2 -0
  269. data/sig/spotted/resources/me/shows.rbs +2 -0
  270. data/sig/spotted/resources/me/tracks.rbs +2 -0
  271. data/sig/spotted/resources/playlists/followers.rbs +1 -0
  272. data/sig/spotted/resources/playlists/tracks.rbs +3 -0
  273. data/sig/spotted/resources/playlists.rbs +1 -0
  274. data/sig/spotted/resources/users/playlists.rbs +1 -0
  275. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4728ca8f7d0ce058d5687cbc7a697fe87e70f54cdb95f47844345501d89a9652
4
- data.tar.gz: 503b6ecefed8e7b1d964dbe16487473fb97e1d55dbfbb7a94c36a53f8781893b
3
+ metadata.gz: 273b0ff942d6a42d20cffcf0cfa84767fdb24696f553259175b2788ec719e4ed
4
+ data.tar.gz: 46136ddfd8d60cac9f3b5ff98544980693b6a48845eb35001b18a902a6b2661a
5
5
  SHA512:
6
- metadata.gz: dc7f94d0065d47ca6285d19220b9d465cfec10f040a452f76306b68d1528bfd1e39726dbe6fe8b1ecd3021373c49700a8746abdbc3f8f39218c55d9c236418df
7
- data.tar.gz: bc8a7ab138de2fb29e4e46a41ce8c903dcb0c7f72932f94a29a63c2f043310844097f94062594961b538d4542c40d3356dd8c197357f83df30ea3f7f6e66ec43
6
+ metadata.gz: 75986a855704b26e9d522919c127e716438e116e6bc27f6233c49eb034c8d2bb74bc3f9e0b4745af1f95a70416f3cfdf1c5acbf865cf136ed3c4611f8077c317
7
+ data.tar.gz: 52d767d404553ac3ae44d5923eb60aa51aaaa82755e8db68506d70c20b082d7d9b4c124f829c9460121911ddededfea9bc402f58b6d95ceb10fed57cac3e4942
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.26.0 (2025-12-16)
4
+
5
+ Full Changelog: [v0.25.0...v0.26.0](https://github.com/cjavdev/spotted/compare/v0.25.0...v0.26.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** manual updates ([7faf357](https://github.com/cjavdev/spotted/commit/7faf357bcad345d96695ef8d36077f271dce8889))
10
+
11
+ ## 0.25.0 (2025-12-16)
12
+
13
+ Full Changelog: [v0.24.0...v0.25.0](https://github.com/cjavdev/spotted/compare/v0.24.0...v0.25.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** manual updates ([6028352](https://github.com/cjavdev/spotted/commit/602835203696fd5da6c72668cd04b5ebb777c0ea))
18
+
3
19
  ## 0.24.0 (2025-12-10)
4
20
 
5
21
  Full Changelog: [v0.23.0...v0.24.0](https://github.com/cjavdev/spotted/compare/v0.23.0...v0.24.0)
data/README.md CHANGED
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
17
17
  <!-- x-release-please-start-version -->
18
18
 
19
19
  ```ruby
20
- gem "spotted", "~> 0.24.0"
20
+ gem "spotted", "~> 0.26.0"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -440,6 +440,7 @@ module Spotted
440
440
  # @example
441
441
  # # `album_restriction_object` is a `Spotted::AlbumRestrictionObject`
442
442
  # album_restriction_object => {
443
+ # published: published,
443
444
  # reason: reason
444
445
  # }
445
446
  def deconstruct_keys(keys)
@@ -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
- # @!method initialize(href:, limit:, next_:, offset:, previous:, total:, items: nil)
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
- # @!method initialize(href:, limit:, next_:, offset:, previous:, total:, items: nil)
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
- # @!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, type: :audiobook)
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
- # @!method initialize(href:, limit:, next_:, offset:, previous:, total:, items: nil)
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
- # @!method initialize(href:, limit:, next_:, offset:, previous:, total:, items: nil)
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
- # @!method initialize(name: nil)
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
- # @!method initialize(message: nil, playlists: nil)
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
- # @!method initialize(href:, limit:, next_:, offset:, previous:, total:, items: nil)
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
- # @!method initialize(id:, href:, icons:, name:)
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