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
@@ -21,13 +21,25 @@ module Spotted
21
21
  # @return [Spotted::Models::Me::AudiobookListResponse::Audiobook, nil]
22
22
  optional :audiobook, -> { Spotted::Models::Me::AudiobookListResponse::Audiobook }
23
23
 
24
- # @!method initialize(added_at: nil, audiobook: nil)
24
+ # @!attribute published
25
+ # The playlist's public/private status (if it should be added to the user's
26
+ # profile or not): `true` the playlist will be public, `false` the playlist will
27
+ # be private, `null` the playlist status is not relevant. For more about
28
+ # public/private status, see
29
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
30
+ #
31
+ # @return [Boolean, nil]
32
+ optional :published, Spotted::Internal::Type::Boolean
33
+
34
+ # @!method initialize(added_at: nil, audiobook: nil, published: nil)
25
35
  # Some parameter documentations has been truncated, see
26
36
  # {Spotted::Models::Me::AudiobookListResponse} for more details.
27
37
  #
28
38
  # @param added_at [Time] The date and time the audiobook was saved
29
39
  #
30
40
  # @param audiobook [Spotted::Models::Me::AudiobookListResponse::Audiobook] Information about the audiobook.
41
+ #
42
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
31
43
 
32
44
  # @see Spotted::Models::Me::AudiobookListResponse#audiobook
33
45
  class Audiobook < Spotted::Models::AudiobookBase
@@ -87,7 +99,17 @@ module Spotted
87
99
  # @return [Array<Spotted::Models::SimplifiedChapterObject>, nil]
88
100
  optional :items, -> { Spotted::Internal::Type::ArrayOf[Spotted::SimplifiedChapterObject] }
89
101
 
90
- # @!method initialize(href:, limit:, next_:, offset:, previous:, total:, items: nil)
102
+ # @!attribute published
103
+ # The playlist's public/private status (if it should be added to the user's
104
+ # profile or not): `true` the playlist will be public, `false` the playlist will
105
+ # be private, `null` the playlist status is not relevant. For more about
106
+ # public/private status, see
107
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
108
+ #
109
+ # @return [Boolean, nil]
110
+ optional :published, Spotted::Internal::Type::Boolean
111
+
112
+ # @!method initialize(href:, limit:, next_:, offset:, previous:, total:, items: nil, published: nil)
91
113
  # Some parameter documentations has been truncated, see
92
114
  # {Spotted::Models::Me::AudiobookListResponse::Audiobook::Chapters} for more
93
115
  # details.
@@ -107,6 +129,8 @@ module Spotted
107
129
  # @param total [Integer] The total number of items available to return.
108
130
  #
109
131
  # @param items [Array<Spotted::Models::SimplifiedChapterObject>]
132
+ #
133
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
110
134
  end
111
135
  end
112
136
  end
@@ -16,6 +16,16 @@ module Spotted
16
16
  # @return [String, nil]
17
17
  optional :href, String
18
18
 
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
+
19
29
  # @!attribute type
20
30
  # The object type, e.g. "artist", "playlist", "album", "show".
21
31
  #
@@ -29,7 +39,7 @@ module Spotted
29
39
  # @return [String, nil]
30
40
  optional :uri, String
31
41
 
32
- # @!method initialize(external_urls: nil, href: nil, type: nil, uri: nil)
42
+ # @!method initialize(external_urls: nil, href: nil, published: nil, type: nil, uri: nil)
33
43
  # Some parameter documentations has been truncated, see
34
44
  # {Spotted::Models::Me::ContextObject} for more details.
35
45
  #
@@ -37,6 +47,8 @@ module Spotted
37
47
  #
38
48
  # @param href [String] A link to the Web API endpoint providing full details of the track.
39
49
  #
50
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
51
+ #
40
52
  # @param type [String] The object type, e.g. "artist", "playlist", "album", "show".
41
53
  #
42
54
  # @param uri [String] The [Spotify URI](/documentation/web-api/concepts/spotify-uris-ids) for the cont
@@ -39,6 +39,16 @@ module Spotted
39
39
  # @return [String, nil]
40
40
  optional :name, String
41
41
 
42
+ # @!attribute published
43
+ # The playlist's public/private status (if it should be added to the user's
44
+ # profile or not): `true` the playlist will be public, `false` the playlist will
45
+ # be private, `null` the playlist status is not relevant. For more about
46
+ # public/private status, see
47
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
48
+ #
49
+ # @return [Boolean, nil]
50
+ optional :published, Spotted::Internal::Type::Boolean
51
+
42
52
  # @!attribute supports_volume
43
53
  # If this device can be used to set the volume.
44
54
  #
@@ -57,7 +67,7 @@ module Spotted
57
67
  # @return [Integer, nil]
58
68
  optional :volume_percent, Integer, nil?: true
59
69
 
60
- # @!method initialize(id: nil, is_active: nil, is_private_session: nil, is_restricted: nil, name: nil, supports_volume: nil, type: nil, volume_percent: nil)
70
+ # @!method initialize(id: nil, is_active: nil, is_private_session: nil, is_restricted: nil, name: nil, published: nil, supports_volume: nil, type: nil, volume_percent: nil)
61
71
  # Some parameter documentations has been truncated, see
62
72
  # {Spotted::Models::Me::DeviceObject} for more details.
63
73
  #
@@ -71,6 +81,8 @@ module Spotted
71
81
  #
72
82
  # @param name [String] A human-readable name for the device. Some devices have a name that the user can
73
83
  #
84
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
85
+ #
74
86
  # @param supports_volume [Boolean] If this device can be used to set the volume.
75
87
  #
76
88
  # @param type [String] Device type, such as "computer", "smartphone" or "speaker".
@@ -19,13 +19,25 @@ module Spotted
19
19
  # @return [Spotted::Models::EpisodeObject, nil]
20
20
  optional :episode, -> { Spotted::EpisodeObject }
21
21
 
22
- # @!method initialize(added_at: nil, episode: nil)
22
+ # @!attribute published
23
+ # The playlist's public/private status (if it should be added to the user's
24
+ # profile or not): `true` the playlist will be public, `false` the playlist will
25
+ # be private, `null` the playlist status is not relevant. For more about
26
+ # public/private status, see
27
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
28
+ #
29
+ # @return [Boolean, nil]
30
+ optional :published, Spotted::Internal::Type::Boolean
31
+
32
+ # @!method initialize(added_at: nil, episode: nil, published: nil)
23
33
  # Some parameter documentations has been truncated, see
24
34
  # {Spotted::Models::Me::EpisodeListResponse} for more details.
25
35
  #
26
36
  # @param added_at [Time] The date and time the episode was saved.
27
37
  #
28
38
  # @param episode [Spotted::Models::EpisodeObject] Information about the episode.
39
+ #
40
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
29
41
  end
30
42
  end
31
43
  end
@@ -18,12 +18,24 @@ module Spotted
18
18
  # @return [Array<String>, nil]
19
19
  optional :ids, Spotted::Internal::Type::ArrayOf[String]
20
20
 
21
- # @!method initialize(ids: nil, request_options: {})
21
+ # @!attribute published
22
+ # The playlist's public/private status (if it should be added to the user's
23
+ # profile or not): `true` the playlist will be public, `false` the playlist will
24
+ # be private, `null` the playlist status is not relevant. For more about
25
+ # public/private status, see
26
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
27
+ #
28
+ # @return [Boolean, nil]
29
+ optional :published, Spotted::Internal::Type::Boolean
30
+
31
+ # @!method initialize(ids: nil, published: nil, request_options: {})
22
32
  # Some parameter documentations has been truncated, see
23
33
  # {Spotted::Models::Me::EpisodeRemoveParams} for more details.
24
34
  #
25
35
  # @param ids [Array<String>] A JSON array of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-i
26
36
  #
37
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
38
+ #
27
39
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
28
40
  end
29
41
  end
@@ -18,12 +18,24 @@ module Spotted
18
18
  # @return [Array<String>]
19
19
  required :ids, Spotted::Internal::Type::ArrayOf[String]
20
20
 
21
- # @!method initialize(ids:, request_options: {})
21
+ # @!attribute published
22
+ # The playlist's public/private status (if it should be added to the user's
23
+ # profile or not): `true` the playlist will be public, `false` the playlist will
24
+ # be private, `null` the playlist status is not relevant. For more about
25
+ # public/private status, see
26
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
27
+ #
28
+ # @return [Boolean, nil]
29
+ optional :published, Spotted::Internal::Type::Boolean
30
+
31
+ # @!method initialize(ids:, published: nil, request_options: {})
22
32
  # Some parameter documentations has been truncated, see
23
33
  # {Spotted::Models::Me::EpisodeSaveParams} for more details.
24
34
  #
25
35
  # @param ids [Array<String>] A JSON array of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-i
26
36
  #
37
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
38
+ #
27
39
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
28
40
  end
29
41
  end
@@ -44,13 +44,23 @@ module Spotted
44
44
  # @return [String, nil]
45
45
  optional :next_, String, api_name: :next
46
46
 
47
+ # @!attribute published
48
+ # The playlist's public/private status (if it should be added to the user's
49
+ # profile or not): `true` the playlist will be public, `false` the playlist will
50
+ # be private, `null` the playlist status is not relevant. For more about
51
+ # public/private status, see
52
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
53
+ #
54
+ # @return [Boolean, nil]
55
+ optional :published, Spotted::Internal::Type::Boolean
56
+
47
57
  # @!attribute total
48
58
  # The total number of items available to return.
49
59
  #
50
60
  # @return [Integer, nil]
51
61
  optional :total, Integer
52
62
 
53
- # @!method initialize(cursors: nil, href: nil, items: nil, limit: nil, next_: nil, total: nil)
63
+ # @!method initialize(cursors: nil, href: nil, items: nil, limit: nil, next_: nil, published: nil, total: nil)
54
64
  # Some parameter documentations has been truncated, see
55
65
  # {Spotted::Models::Me::FollowingBulkRetrieveResponse::Artists} for more details.
56
66
  #
@@ -64,6 +74,8 @@ module Spotted
64
74
  #
65
75
  # @param next_ [String] URL to the next page of items. ( `null` if none)
66
76
  #
77
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
78
+ #
67
79
  # @param total [Integer] The total number of items available to return.
68
80
 
69
81
  # @see Spotted::Models::Me::FollowingBulkRetrieveResponse::Artists#cursors
@@ -80,12 +92,28 @@ module Spotted
80
92
  # @return [String, nil]
81
93
  optional :before, String
82
94
 
83
- # @!method initialize(after: nil, before: nil)
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
+
105
+ # @!method initialize(after: nil, before: nil, published: nil)
106
+ # Some parameter documentations has been truncated, see
107
+ # {Spotted::Models::Me::FollowingBulkRetrieveResponse::Artists::Cursors} for more
108
+ # details.
109
+ #
84
110
  # The cursors used to find the next set of items.
85
111
  #
86
112
  # @param after [String] The cursor to use as key to find the next page of items.
87
113
  #
88
114
  # @param before [String] The cursor to use as key to find the previous page of items.
115
+ #
116
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
89
117
  end
90
118
  end
91
119
  end
@@ -18,12 +18,24 @@ module Spotted
18
18
  # @return [Array<String>]
19
19
  required :ids, Spotted::Internal::Type::ArrayOf[String]
20
20
 
21
- # @!method initialize(ids:, request_options: {})
21
+ # @!attribute published
22
+ # The playlist's public/private status (if it should be added to the user's
23
+ # profile or not): `true` the playlist will be public, `false` the playlist will
24
+ # be private, `null` the playlist status is not relevant. For more about
25
+ # public/private status, see
26
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
27
+ #
28
+ # @return [Boolean, nil]
29
+ optional :published, Spotted::Internal::Type::Boolean
30
+
31
+ # @!method initialize(ids:, published: nil, request_options: {})
22
32
  # Some parameter documentations has been truncated, see
23
33
  # {Spotted::Models::Me::FollowingFollowParams} for more details.
24
34
  #
25
35
  # @param ids [Array<String>] A JSON array of the artist or user [Spotify IDs](/documentation/web-api/concepts
26
36
  #
37
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
38
+ #
27
39
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
28
40
  end
29
41
  end
@@ -18,12 +18,24 @@ module Spotted
18
18
  # @return [Array<String>, nil]
19
19
  optional :ids, Spotted::Internal::Type::ArrayOf[String]
20
20
 
21
- # @!method initialize(ids: nil, request_options: {})
21
+ # @!attribute published
22
+ # The playlist's public/private status (if it should be added to the user's
23
+ # profile or not): `true` the playlist will be public, `false` the playlist will
24
+ # be private, `null` the playlist status is not relevant. For more about
25
+ # public/private status, see
26
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
27
+ #
28
+ # @return [Boolean, nil]
29
+ optional :published, Spotted::Internal::Type::Boolean
30
+
31
+ # @!method initialize(ids: nil, published: nil, request_options: {})
22
32
  # Some parameter documentations has been truncated, see
23
33
  # {Spotted::Models::Me::FollowingUnfollowParams} for more details.
24
34
  #
25
35
  # @param ids [Array<String>] A JSON array of the artist or user [Spotify IDs](/documentation/web-api/concepts
26
36
  #
37
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
38
+ #
27
39
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
28
40
  end
29
41
  end
@@ -12,6 +12,16 @@ module Spotted
12
12
  # @return [Spotted::Models::TrackObject, Spotted::Models::EpisodeObject, nil]
13
13
  optional :currently_playing, union: -> { Spotted::Models::Me::Player::QueueGetResponse::CurrentlyPlaying }
14
14
 
15
+ # @!attribute published
16
+ # The playlist's public/private status (if it should be added to the user's
17
+ # profile or not): `true` the playlist will be public, `false` the playlist will
18
+ # be private, `null` the playlist status is not relevant. For more about
19
+ # public/private status, see
20
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
21
+ #
22
+ # @return [Boolean, nil]
23
+ optional :published, Spotted::Internal::Type::Boolean
24
+
15
25
  # @!attribute queue
16
26
  # The tracks or episodes in the queue. Can be empty.
17
27
  #
@@ -19,9 +29,14 @@ module Spotted
19
29
  optional :queue,
20
30
  -> { Spotted::Internal::Type::ArrayOf[union: Spotted::Models::Me::Player::QueueGetResponse::Queue] }
21
31
 
22
- # @!method initialize(currently_playing: nil, queue: nil)
32
+ # @!method initialize(currently_playing: nil, published: nil, queue: nil)
33
+ # Some parameter documentations has been truncated, see
34
+ # {Spotted::Models::Me::Player::QueueGetResponse} for more details.
35
+ #
23
36
  # @param currently_playing [Spotted::Models::TrackObject, Spotted::Models::EpisodeObject] The currently playing track or episode. Can be `null`.
24
37
  #
38
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
39
+ #
25
40
  # @param queue [Array<Spotted::Models::TrackObject, Spotted::Models::EpisodeObject>] The tracks or episodes in the queue. Can be empty.
26
41
 
27
42
  # The currently playing track or episode. Can be `null`.
@@ -43,13 +43,23 @@ module Spotted
43
43
  # @return [Integer, nil]
44
44
  optional :progress_ms, Integer
45
45
 
46
+ # @!attribute published
47
+ # The playlist's public/private status (if it should be added to the user's
48
+ # profile or not): `true` the playlist will be public, `false` the playlist will
49
+ # be private, `null` the playlist status is not relevant. For more about
50
+ # public/private status, see
51
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
52
+ #
53
+ # @return [Boolean, nil]
54
+ optional :published, Spotted::Internal::Type::Boolean
55
+
46
56
  # @!attribute timestamp
47
57
  # Unix Millisecond Timestamp when data was fetched
48
58
  #
49
59
  # @return [Integer, nil]
50
60
  optional :timestamp, Integer
51
61
 
52
- # @!method initialize(actions: nil, context: nil, currently_playing_type: nil, is_playing: nil, item: nil, progress_ms: nil, timestamp: nil)
62
+ # @!method initialize(actions: nil, context: nil, currently_playing_type: nil, is_playing: nil, item: nil, progress_ms: nil, published: nil, timestamp: nil)
53
63
  # Some parameter documentations has been truncated, see
54
64
  # {Spotted::Models::Me::PlayerGetCurrentlyPlayingResponse} for more details.
55
65
  #
@@ -65,6 +75,8 @@ module Spotted
65
75
  #
66
76
  # @param progress_ms [Integer] Progress into the currently playing track or episode. Can be `null`.
67
77
  #
78
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
79
+ #
68
80
  # @param timestamp [Integer] Unix Millisecond Timestamp when data was fetched
69
81
 
70
82
  # @see Spotted::Models::Me::PlayerGetCurrentlyPlayingResponse#actions
@@ -81,6 +93,16 @@ module Spotted
81
93
  # @return [Boolean, nil]
82
94
  optional :pausing, Spotted::Internal::Type::Boolean
83
95
 
96
+ # @!attribute published
97
+ # The playlist's public/private status (if it should be added to the user's
98
+ # profile or not): `true` the playlist will be public, `false` the playlist will
99
+ # be private, `null` the playlist status is not relevant. For more about
100
+ # public/private status, see
101
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
102
+ #
103
+ # @return [Boolean, nil]
104
+ optional :published, Spotted::Internal::Type::Boolean
105
+
84
106
  # @!attribute resuming
85
107
  # Resuming. Optional field.
86
108
  #
@@ -129,7 +151,11 @@ module Spotted
129
151
  # @return [Boolean, nil]
130
152
  optional :transferring_playback, Spotted::Internal::Type::Boolean
131
153
 
132
- # @!method initialize(interrupting_playback: nil, pausing: nil, resuming: nil, seeking: nil, skipping_next: nil, skipping_prev: nil, toggling_repeat_context: nil, toggling_repeat_track: nil, toggling_shuffle: nil, transferring_playback: nil)
154
+ # @!method initialize(interrupting_playback: nil, pausing: nil, published: nil, resuming: nil, seeking: nil, skipping_next: nil, skipping_prev: nil, toggling_repeat_context: nil, toggling_repeat_track: nil, toggling_shuffle: nil, transferring_playback: nil)
155
+ # Some parameter documentations has been truncated, see
156
+ # {Spotted::Models::Me::PlayerGetCurrentlyPlayingResponse::Actions} for more
157
+ # details.
158
+ #
133
159
  # Allows to update the user interface based on which playback actions are
134
160
  # available within the current context.
135
161
  #
@@ -137,6 +163,8 @@ module Spotted
137
163
  #
138
164
  # @param pausing [Boolean] Pausing. Optional field.
139
165
  #
166
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
167
+ #
140
168
  # @param resuming [Boolean] Resuming. Optional field.
141
169
  #
142
170
  # @param seeking [Boolean] Seeking playback location. Optional field.
@@ -49,6 +49,16 @@ module Spotted
49
49
  # @return [Integer, nil]
50
50
  optional :progress_ms, Integer
51
51
 
52
+ # @!attribute published
53
+ # The playlist's public/private status (if it should be added to the user's
54
+ # profile or not): `true` the playlist will be public, `false` the playlist will
55
+ # be private, `null` the playlist status is not relevant. For more about
56
+ # public/private status, see
57
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
58
+ #
59
+ # @return [Boolean, nil]
60
+ optional :published, Spotted::Internal::Type::Boolean
61
+
52
62
  # @!attribute repeat_state
53
63
  # off, track, context
54
64
  #
@@ -68,7 +78,7 @@ module Spotted
68
78
  # @return [Integer, nil]
69
79
  optional :timestamp, Integer
70
80
 
71
- # @!method initialize(actions: nil, context: nil, currently_playing_type: nil, device: nil, is_playing: nil, item: nil, progress_ms: nil, repeat_state: nil, shuffle_state: nil, timestamp: nil)
81
+ # @!method initialize(actions: nil, context: nil, currently_playing_type: nil, device: nil, is_playing: nil, item: nil, progress_ms: nil, published: nil, repeat_state: nil, shuffle_state: nil, timestamp: nil)
72
82
  # Some parameter documentations has been truncated, see
73
83
  # {Spotted::Models::Me::PlayerGetStateResponse} for more details.
74
84
  #
@@ -86,6 +96,8 @@ module Spotted
86
96
  #
87
97
  # @param progress_ms [Integer] Progress into the currently playing track or episode. Can be `null`.
88
98
  #
99
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
100
+ #
89
101
  # @param repeat_state [String] off, track, context
90
102
  #
91
103
  # @param shuffle_state [Boolean] If shuffle is on or off.
@@ -106,6 +118,16 @@ module Spotted
106
118
  # @return [Boolean, nil]
107
119
  optional :pausing, Spotted::Internal::Type::Boolean
108
120
 
121
+ # @!attribute published
122
+ # The playlist's public/private status (if it should be added to the user's
123
+ # profile or not): `true` the playlist will be public, `false` the playlist will
124
+ # be private, `null` the playlist status is not relevant. For more about
125
+ # public/private status, see
126
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
127
+ #
128
+ # @return [Boolean, nil]
129
+ optional :published, Spotted::Internal::Type::Boolean
130
+
109
131
  # @!attribute resuming
110
132
  # Resuming. Optional field.
111
133
  #
@@ -154,7 +176,10 @@ module Spotted
154
176
  # @return [Boolean, nil]
155
177
  optional :transferring_playback, Spotted::Internal::Type::Boolean
156
178
 
157
- # @!method initialize(interrupting_playback: nil, pausing: nil, resuming: nil, seeking: nil, skipping_next: nil, skipping_prev: nil, toggling_repeat_context: nil, toggling_repeat_track: nil, toggling_shuffle: nil, transferring_playback: nil)
179
+ # @!method initialize(interrupting_playback: nil, pausing: nil, published: nil, resuming: nil, seeking: nil, skipping_next: nil, skipping_prev: nil, toggling_repeat_context: nil, toggling_repeat_track: nil, toggling_shuffle: nil, transferring_playback: nil)
180
+ # Some parameter documentations has been truncated, see
181
+ # {Spotted::Models::Me::PlayerGetStateResponse::Actions} for more details.
182
+ #
158
183
  # Allows to update the user interface based on which playback actions are
159
184
  # available within the current context.
160
185
  #
@@ -162,6 +187,8 @@ module Spotted
162
187
  #
163
188
  # @param pausing [Boolean] Pausing. Optional field.
164
189
  #
190
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
191
+ #
165
192
  # @param resuming [Boolean] Resuming. Optional field.
166
193
  #
167
194
  # @param seeking [Boolean] Seeking playback location. Optional field.
@@ -17,17 +17,32 @@ module Spotted
17
17
  # @return [Time, nil]
18
18
  optional :played_at, Time
19
19
 
20
+ # @!attribute published
21
+ # The playlist's public/private status (if it should be added to the user's
22
+ # profile or not): `true` the playlist will be public, `false` the playlist will
23
+ # be private, `null` the playlist status is not relevant. For more about
24
+ # public/private status, see
25
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
26
+ #
27
+ # @return [Boolean, nil]
28
+ optional :published, Spotted::Internal::Type::Boolean
29
+
20
30
  # @!attribute track
21
31
  # The track the user listened to.
22
32
  #
23
33
  # @return [Spotted::Models::TrackObject, nil]
24
34
  optional :track, -> { Spotted::TrackObject }
25
35
 
26
- # @!method initialize(context: nil, played_at: nil, track: nil)
36
+ # @!method initialize(context: nil, played_at: nil, published: nil, track: nil)
37
+ # Some parameter documentations has been truncated, see
38
+ # {Spotted::Models::Me::PlayerListRecentlyPlayedResponse} for more details.
39
+ #
27
40
  # @param context [Spotted::Models::Me::ContextObject] The context the track was played from.
28
41
  #
29
42
  # @param played_at [Time] The date and time the track was played.
30
43
  #
44
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
45
+ #
31
46
  # @param track [Spotted::Models::TrackObject] The track the user listened to.
32
47
  end
33
48
  end
@@ -40,6 +40,16 @@ module Spotted
40
40
  # @return [Integer, nil]
41
41
  optional :position_ms, Integer
42
42
 
43
+ # @!attribute published
44
+ # The playlist's public/private status (if it should be added to the user's
45
+ # profile or not): `true` the playlist will be public, `false` the playlist will
46
+ # be private, `null` the playlist status is not relevant. For more about
47
+ # public/private status, see
48
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
49
+ #
50
+ # @return [Boolean, nil]
51
+ optional :published, Spotted::Internal::Type::Boolean
52
+
43
53
  # @!attribute uris
44
54
  # Optional. A JSON array of the Spotify track URIs to play. For example:
45
55
  # `{"uris": ["spotify:track:4iV5W9uYEdYUVa79Axb7Rh", "spotify:track:1301WleyT98MSxVHPZCA6M"]}`
@@ -47,7 +57,7 @@ module Spotted
47
57
  # @return [Array<String>, nil]
48
58
  optional :uris, Spotted::Internal::Type::ArrayOf[String]
49
59
 
50
- # @!method initialize(device_id: nil, context_uri: nil, offset: nil, position_ms: nil, uris: nil, request_options: {})
60
+ # @!method initialize(device_id: nil, context_uri: nil, offset: nil, position_ms: nil, published: nil, uris: nil, request_options: {})
51
61
  # Some parameter documentations has been truncated, see
52
62
  # {Spotted::Models::Me::PlayerStartPlaybackParams} for more details.
53
63
  #
@@ -59,6 +69,8 @@ module Spotted
59
69
  #
60
70
  # @param position_ms [Integer] Indicates from what position to start playback. Must be a positive number. Passi
61
71
  #
72
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
73
+ #
62
74
  # @param uris [Array<String>] Optional. A JSON array of the Spotify track URIs to play.
63
75
  #
64
76
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
@@ -25,7 +25,17 @@ module Spotted
25
25
  # @return [Boolean, nil]
26
26
  optional :play, Spotted::Internal::Type::Boolean
27
27
 
28
- # @!method initialize(device_ids:, play: nil, request_options: {})
28
+ # @!attribute published
29
+ # The playlist's public/private status (if it should be added to the user's
30
+ # profile or not): `true` the playlist will be public, `false` the playlist will
31
+ # be private, `null` the playlist status is not relevant. For more about
32
+ # public/private status, see
33
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
34
+ #
35
+ # @return [Boolean, nil]
36
+ optional :published, Spotted::Internal::Type::Boolean
37
+
38
+ # @!method initialize(device_ids:, play: nil, published: nil, request_options: {})
29
39
  # Some parameter documentations has been truncated, see
30
40
  # {Spotted::Models::Me::PlayerTransferParams} for more details.
31
41
  #
@@ -33,6 +43,8 @@ module Spotted
33
43
  #
34
44
  # @param play [Boolean] **true**: ensure playback happens on new device.<br/>**false** or not provided:
35
45
  #
46
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
47
+ #
36
48
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
37
49
  end
38
50
  end
@@ -15,18 +15,30 @@ module Spotted
15
15
  # @return [Time, nil]
16
16
  optional :added_at, Time
17
17
 
18
+ # @!attribute published
19
+ # The playlist's public/private status (if it should be added to the user's
20
+ # profile or not): `true` the playlist will be public, `false` the playlist will
21
+ # be private, `null` the playlist status is not relevant. For more about
22
+ # public/private status, see
23
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
24
+ #
25
+ # @return [Boolean, nil]
26
+ optional :published, Spotted::Internal::Type::Boolean
27
+
18
28
  # @!attribute show
19
29
  # Information about the show.
20
30
  #
21
31
  # @return [Spotted::Models::ShowBase, nil]
22
32
  optional :show, -> { Spotted::ShowBase }
23
33
 
24
- # @!method initialize(added_at: nil, show: nil)
34
+ # @!method initialize(added_at: nil, published: nil, show: nil)
25
35
  # Some parameter documentations has been truncated, see
26
36
  # {Spotted::Models::Me::ShowListResponse} for more details.
27
37
  #
28
38
  # @param added_at [Time] The date and time the show was saved.
29
39
  #
40
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
41
+ #
30
42
  # @param show [Spotted::Models::ShowBase] Information about the show.
31
43
  end
32
44
  end