spotted 0.15.0 → 0.16.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 (32) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +9 -0
  3. data/README.md +1 -1
  4. data/lib/spotted/models/playlist_retrieve_response.rb +5 -5
  5. data/lib/spotted/models/playlist_update_params.rb +15 -13
  6. data/lib/spotted/models/playlists/follower_follow_params.rb +6 -4
  7. data/lib/spotted/models/simplified_playlist_object.rb +5 -5
  8. data/lib/spotted/models/users/playlist_create_params.rb +17 -15
  9. data/lib/spotted/models/users/playlist_create_response.rb +5 -5
  10. data/lib/spotted/resources/playlists/followers.rb +2 -2
  11. data/lib/spotted/resources/playlists.rb +3 -3
  12. data/lib/spotted/resources/users/playlists.rb +3 -3
  13. data/lib/spotted/version.rb +1 -1
  14. data/rbi/spotted/models/playlist_retrieve_response.rbi +6 -6
  15. data/rbi/spotted/models/playlist_update_params.rbi +26 -19
  16. data/rbi/spotted/models/playlists/follower_follow_params.rbi +16 -6
  17. data/rbi/spotted/models/simplified_playlist_object.rbi +6 -6
  18. data/rbi/spotted/models/users/playlist_create_params.rbi +30 -23
  19. data/rbi/spotted/models/users/playlist_create_response.rbi +6 -6
  20. data/rbi/spotted/resources/playlists/followers.rbi +3 -2
  21. data/rbi/spotted/resources/playlists.rbi +8 -7
  22. data/rbi/spotted/resources/users/playlists.rbi +10 -9
  23. data/sig/spotted/models/playlist_retrieve_response.rbs +5 -5
  24. data/sig/spotted/models/playlist_update_params.rbs +14 -7
  25. data/sig/spotted/models/playlists/follower_follow_params.rbs +10 -5
  26. data/sig/spotted/models/simplified_playlist_object.rbs +5 -5
  27. data/sig/spotted/models/users/playlist_create_params.rbs +14 -7
  28. data/sig/spotted/models/users/playlist_create_response.rbs +5 -5
  29. data/sig/spotted/resources/playlists/followers.rbs +1 -1
  30. data/sig/spotted/resources/playlists.rbs +1 -1
  31. data/sig/spotted/resources/users/playlists.rbs +1 -1
  32. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 876d338985770508cd636ab2530a79c1ae2488bc4134c8122308e82ff06ba3d2
4
- data.tar.gz: 8aaefc5fc189b8c1be42be31bb8aed0821ce819fc1f3cd4125df2c30dd95e82d
3
+ metadata.gz: bb54512892bb18866b6a5514180384bd8892837b78b77445ec36ccd5ed5ede1c
4
+ data.tar.gz: a3c830fa41960ac1bf93db153daaee037dca07a61eaef45b13915c62e34cddec
5
5
  SHA512:
6
- metadata.gz: e7ab3678bdf2bad35edb85ca81f8973a05bc87097b069038d5bee6392475f5808c29c6e4d7aee62a7b86ef0084c1c0efab7c62960df1d389faa33fe02f304adf
7
- data.tar.gz: b420315dd00f45f166e08aa052359a65b8040e662eb0e18aa4dd6334aae173174e745520c44a35d37a71761104a529303c548e4b2cc08a14de7faf92e31ffb74
6
+ metadata.gz: db63d4e55021ee1baf59e7da75200c0d0736db5b6028ba3cb351d5fc9477cc3588c5cf9d2cd2fbb98275ee6f19796942cec708ab5025e430fa4946475ac7ff47
7
+ data.tar.gz: f2272ea192e2f114d571533d8f8dc1cbd439d0dd675eba0e72abe7c27b44b59e370e3985b902a776b8e220cad7815c56d0a1fdff7a4d54be8095bd717112e27e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.16.0 (2025-11-20)
4
+
5
+ Full Changelog: [v0.15.0...v0.16.0](https://github.com/cjavdev/spotted/compare/v0.15.0...v0.16.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** manual updates ([6ebdb60](https://github.com/cjavdev/spotted/commit/6ebdb6088ced2f5143877e29a7b464c94c5ba1cb))
10
+ * **api:** rename public to published for java ([f2ce035](https://github.com/cjavdev/spotted/commit/f2ce0357f1546dd741f2f539a2869954722b40d1))
11
+
3
12
  ## 0.15.0 (2025-11-20)
4
13
 
5
14
  Full Changelog: [v0.14.0...v0.15.0](https://github.com/cjavdev/spotted/compare/v0.14.0...v0.15.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.15.0"
20
+ gem "spotted", "~> 0.16.0"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -11,16 +11,16 @@ module Spotted
11
11
  # @return [String, nil]
12
12
  optional :id, String
13
13
 
14
- # @!attribute components_schemas_properties_is_public
14
+ # @!attribute components_schemas_properties_published
15
15
  # The playlist's public/private status (if it is added to the user's profile):
16
16
  # `true` the playlist is public, `false` the playlist is private, `null` the
17
17
  # playlist status is not relevant. For more about public/private status, see
18
18
  # [Working with Playlists](/documentation/web-api/concepts/playlists)
19
19
  #
20
20
  # @return [Boolean, nil]
21
- optional :components_schemas_properties_is_public,
21
+ optional :components_schemas_properties_published,
22
22
  Spotted::Internal::Type::Boolean,
23
- api_name: :"$.components.schemas.*.properties.is_public"
23
+ api_name: :"$.components.schemas.*.properties.published"
24
24
 
25
25
  # @!attribute collaborative
26
26
  # `true` if the owner allows other users to modify the playlist.
@@ -101,13 +101,13 @@ module Spotted
101
101
  # @return [String, nil]
102
102
  optional :uri, String
103
103
 
104
- # @!method initialize(id: nil, components_schemas_properties_is_public: nil, collaborative: nil, description: nil, external_urls: nil, followers: nil, href: nil, images: nil, name: nil, owner: nil, snapshot_id: nil, tracks: nil, type: nil, uri: nil)
104
+ # @!method initialize(id: nil, components_schemas_properties_published: nil, collaborative: nil, description: nil, external_urls: nil, followers: nil, href: nil, images: nil, name: nil, owner: nil, snapshot_id: nil, tracks: nil, type: nil, uri: nil)
105
105
  # Some parameter documentations has been truncated, see
106
106
  # {Spotted::Models::PlaylistRetrieveResponse} for more details.
107
107
  #
108
108
  # @param id [String] The [Spotify ID](/documentation/web-api/concepts/spotify-uris-ids) for the playl
109
109
  #
110
- # @param components_schemas_properties_is_public [Boolean] The playlist's public/private status (if it is added to the user's profile): `tr
110
+ # @param components_schemas_properties_published [Boolean] The playlist's public/private status (if it is added to the user's profile): `tr
111
111
  #
112
112
  # @param collaborative [Boolean] `true` if the owner allows other users to modify the playlist.
113
113
  #
@@ -7,6 +7,18 @@ module Spotted
7
7
  extend Spotted::Internal::Type::RequestParameters::Converter
8
8
  include Spotted::Internal::Type::RequestParameters
9
9
 
10
+ # @!attribute paths_request_body_content_application_json_schema_properties_published
11
+ # The playlist's public/private status (if it should be added to the user's
12
+ # profile or not): `true` the playlist will be public, `false` the playlist will
13
+ # be private, `null` the playlist status is not relevant. For more about
14
+ # public/private status, see
15
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
16
+ #
17
+ # @return [Boolean, nil]
18
+ optional :paths_request_body_content_application_json_schema_properties_published,
19
+ Spotted::Internal::Type::Boolean,
20
+ api_name: :"$.paths['*'].*.requestBody.content['application/json'].schema.properties.published"
21
+
10
22
  # @!attribute collaborative
11
23
  # If `true`, the playlist will become collaborative and other users will be able
12
24
  # to modify the playlist in their Spotify client. <br/> _**Note**: You can only
@@ -28,28 +40,18 @@ module Spotted
28
40
  # @return [String, nil]
29
41
  optional :name, String
30
42
 
31
- # @!attribute public
32
- # The playlist's public/private status (if it should be added to the user's
33
- # profile or not): `true` the playlist will be public, `false` the playlist will
34
- # be private, `null` the playlist status is not relevant. For more about
35
- # public/private status, see
36
- # [Working with Playlists](/documentation/web-api/concepts/playlists)
37
- #
38
- # @return [Boolean, nil]
39
- optional :public, Spotted::Internal::Type::Boolean
40
-
41
- # @!method initialize(collaborative: nil, description: nil, name: nil, public: nil, request_options: {})
43
+ # @!method initialize(paths_request_body_content_application_json_schema_properties_published: nil, collaborative: nil, description: nil, name: nil, request_options: {})
42
44
  # Some parameter documentations has been truncated, see
43
45
  # {Spotted::Models::PlaylistUpdateParams} for more details.
44
46
  #
47
+ # @param paths_request_body_content_application_json_schema_properties_published [Boolean] The playlist's public/private status (if it should be added to the user's profil
48
+ #
45
49
  # @param collaborative [Boolean] If `true`, the playlist will become collaborative and other users will be able t
46
50
  #
47
51
  # @param description [String] Value for playlist description as displayed in Spotify Clients and in the Web AP
48
52
  #
49
53
  # @param name [String] The new name for the playlist, for example `"My New Playlist Title"`
50
54
  #
51
- # @param public [Boolean] The playlist's public/private status (if it should be added to the user's profil
52
- #
53
55
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
54
56
  end
55
57
  end
@@ -8,20 +8,22 @@ module Spotted
8
8
  extend Spotted::Internal::Type::RequestParameters::Converter
9
9
  include Spotted::Internal::Type::RequestParameters
10
10
 
11
- # @!attribute public
11
+ # @!attribute paths_request_body_content_application_json_schema_properties_published
12
12
  # Defaults to `true`. If `true` the playlist will be included in user's public
13
13
  # playlists (added to profile), if `false` it will remain private. For more about
14
14
  # public/private status, see
15
15
  # [Working with Playlists](/documentation/web-api/concepts/playlists)
16
16
  #
17
17
  # @return [Boolean, nil]
18
- optional :public, Spotted::Internal::Type::Boolean
18
+ optional :paths_request_body_content_application_json_schema_properties_published,
19
+ Spotted::Internal::Type::Boolean,
20
+ api_name: :"$.paths['*'].*.requestBody.content['application/json'].schema.properties.published"
19
21
 
20
- # @!method initialize(public: nil, request_options: {})
22
+ # @!method initialize(paths_request_body_content_application_json_schema_properties_published: nil, request_options: {})
21
23
  # Some parameter documentations has been truncated, see
22
24
  # {Spotted::Models::Playlists::FollowerFollowParams} for more details.
23
25
  #
24
- # @param public [Boolean] Defaults to `true`. If `true` the playlist will be included in user's public pla
26
+ # @param paths_request_body_content_application_json_schema_properties_published [Boolean] Defaults to `true`. If `true` the playlist will be included in user's public pla
25
27
  #
26
28
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
27
29
  end
@@ -10,16 +10,16 @@ module Spotted
10
10
  # @return [String, nil]
11
11
  optional :id, String
12
12
 
13
- # @!attribute components_schemas_properties_is_public
13
+ # @!attribute components_schemas_properties_published
14
14
  # The playlist's public/private status (if it is added to the user's profile):
15
15
  # `true` the playlist is public, `false` the playlist is private, `null` the
16
16
  # playlist status is not relevant. For more about public/private status, see
17
17
  # [Working with Playlists](/documentation/web-api/concepts/playlists)
18
18
  #
19
19
  # @return [Boolean, nil]
20
- optional :components_schemas_properties_is_public,
20
+ optional :components_schemas_properties_published,
21
21
  Spotted::Internal::Type::Boolean,
22
- api_name: :"$.components.schemas.*.properties.is_public"
22
+ api_name: :"$.components.schemas.*.properties.published"
23
23
 
24
24
  # @!attribute collaborative
25
25
  # `true` if the owner allows other users to modify the playlist.
@@ -97,13 +97,13 @@ module Spotted
97
97
  # @return [String, nil]
98
98
  optional :uri, String
99
99
 
100
- # @!method initialize(id: nil, components_schemas_properties_is_public: nil, collaborative: nil, description: nil, external_urls: nil, href: nil, images: nil, name: nil, owner: nil, snapshot_id: nil, tracks: nil, type: nil, uri: nil)
100
+ # @!method initialize(id: nil, components_schemas_properties_published: nil, collaborative: nil, description: nil, external_urls: nil, href: nil, images: nil, name: nil, owner: nil, snapshot_id: nil, tracks: nil, type: nil, uri: nil)
101
101
  # Some parameter documentations has been truncated, see
102
102
  # {Spotted::Models::SimplifiedPlaylistObject} for more details.
103
103
  #
104
104
  # @param id [String] The [Spotify ID](/documentation/web-api/concepts/spotify-uris-ids) for the playl
105
105
  #
106
- # @param components_schemas_properties_is_public [Boolean] The playlist's public/private status (if it is added to the user's profile): `tr
106
+ # @param components_schemas_properties_published [Boolean] The playlist's public/private status (if it is added to the user's profile): `tr
107
107
  #
108
108
  # @param collaborative [Boolean] `true` if the owner allows other users to modify the playlist.
109
109
  #
@@ -16,6 +16,20 @@ module Spotted
16
16
  # @return [String]
17
17
  required :name, String
18
18
 
19
+ # @!attribute paths_request_body_content_application_json_schema_properties_published
20
+ # Defaults to `true`. The playlist's public/private status (if it should be added
21
+ # to the user's profile or not): `true` the playlist will be public, `false` the
22
+ # playlist will be private. To be able to create private playlists, the user must
23
+ # have granted the `playlist-modify-private`
24
+ # [scope](/documentation/web-api/concepts/scopes/#list-of-scopes). For more about
25
+ # public/private status, see
26
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
27
+ #
28
+ # @return [Boolean, nil]
29
+ optional :paths_request_body_content_application_json_schema_properties_published,
30
+ Spotted::Internal::Type::Boolean,
31
+ api_name: :"$.paths['*'].*.requestBody.content['application/json'].schema.properties.published"
32
+
19
33
  # @!attribute collaborative
20
34
  # Defaults to `false`. If `true` the playlist will be collaborative. _**Note**: to
21
35
  # create a collaborative playlist you must also set `public` to `false`. To create
@@ -33,31 +47,19 @@ module Spotted
33
47
  # @return [String, nil]
34
48
  optional :description, String
35
49
 
36
- # @!attribute public
37
- # Defaults to `true`. The playlist's public/private status (if it should be added
38
- # to the user's profile or not): `true` the playlist will be public, `false` the
39
- # playlist will be private. To be able to create private playlists, the user must
40
- # have granted the `playlist-modify-private`
41
- # [scope](/documentation/web-api/concepts/scopes/#list-of-scopes). For more about
42
- # public/private status, see
43
- # [Working with Playlists](/documentation/web-api/concepts/playlists)
44
- #
45
- # @return [Boolean, nil]
46
- optional :public, Spotted::Internal::Type::Boolean
47
-
48
- # @!method initialize(name:, collaborative: nil, description: nil, public: nil, request_options: {})
50
+ # @!method initialize(name:, paths_request_body_content_application_json_schema_properties_published: nil, collaborative: nil, description: nil, request_options: {})
49
51
  # Some parameter documentations has been truncated, see
50
52
  # {Spotted::Models::Users::PlaylistCreateParams} for more details.
51
53
  #
52
54
  # @param name [String] The name for the new playlist, for example `"Your Coolest Playlist"`. This name
53
55
  #
56
+ # @param paths_request_body_content_application_json_schema_properties_published [Boolean] Defaults to `true`. The playlist's public/private status (if it should be added
57
+ #
54
58
  # @param collaborative [Boolean] Defaults to `false`. If `true` the playlist will be collaborative. \_**Note**:
55
59
  # to
56
60
  #
57
61
  # @param description [String] value for playlist description as displayed in Spotify Clients and in the Web AP
58
62
  #
59
- # @param public [Boolean] Defaults to `true`. The playlist's public/private status (if it should be added
60
- #
61
63
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
62
64
  end
63
65
  end
@@ -12,16 +12,16 @@ module Spotted
12
12
  # @return [String, nil]
13
13
  optional :id, String
14
14
 
15
- # @!attribute components_schemas_properties_is_public
15
+ # @!attribute components_schemas_properties_published
16
16
  # The playlist's public/private status (if it is added to the user's profile):
17
17
  # `true` the playlist is public, `false` the playlist is private, `null` the
18
18
  # playlist status is not relevant. For more about public/private status, see
19
19
  # [Working with Playlists](/documentation/web-api/concepts/playlists)
20
20
  #
21
21
  # @return [Boolean, nil]
22
- optional :components_schemas_properties_is_public,
22
+ optional :components_schemas_properties_published,
23
23
  Spotted::Internal::Type::Boolean,
24
- api_name: :"$.components.schemas.*.properties.is_public"
24
+ api_name: :"$.components.schemas.*.properties.published"
25
25
 
26
26
  # @!attribute collaborative
27
27
  # `true` if the owner allows other users to modify the playlist.
@@ -102,13 +102,13 @@ module Spotted
102
102
  # @return [String, nil]
103
103
  optional :uri, String
104
104
 
105
- # @!method initialize(id: nil, components_schemas_properties_is_public: nil, collaborative: nil, description: nil, external_urls: nil, followers: nil, href: nil, images: nil, name: nil, owner: nil, snapshot_id: nil, tracks: nil, type: nil, uri: nil)
105
+ # @!method initialize(id: nil, components_schemas_properties_published: nil, collaborative: nil, description: nil, external_urls: nil, followers: nil, href: nil, images: nil, name: nil, owner: nil, snapshot_id: nil, tracks: nil, type: nil, uri: nil)
106
106
  # Some parameter documentations has been truncated, see
107
107
  # {Spotted::Models::Users::PlaylistCreateResponse} for more details.
108
108
  #
109
109
  # @param id [String] The [Spotify ID](/documentation/web-api/concepts/spotify-uris-ids) for the playl
110
110
  #
111
- # @param components_schemas_properties_is_public [Boolean] The playlist's public/private status (if it is added to the user's profile): `tr
111
+ # @param components_schemas_properties_published [Boolean] The playlist's public/private status (if it is added to the user's profile): `tr
112
112
  #
113
113
  # @param collaborative [Boolean] `true` if the owner allows other users to modify the playlist.
114
114
  #
@@ -36,11 +36,11 @@ module Spotted
36
36
  #
37
37
  # Add the current user as a follower of a playlist.
38
38
  #
39
- # @overload follow(playlist_id, public: nil, request_options: {})
39
+ # @overload follow(playlist_id, paths_request_body_content_application_json_schema_properties_published: nil, request_options: {})
40
40
  #
41
41
  # @param playlist_id [String] The [Spotify ID](/documentation/web-api/concepts/spotify-uris-ids) of the playli
42
42
  #
43
- # @param public [Boolean] Defaults to `true`. If `true` the playlist will be included in user's public pla
43
+ # @param paths_request_body_content_application_json_schema_properties_published [Boolean] Defaults to `true`. If `true` the playlist will be included in user's public pla
44
44
  #
45
45
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}, nil]
46
46
  #
@@ -49,18 +49,18 @@ module Spotted
49
49
  # Change a playlist's name and public/private state. (The user must, of course,
50
50
  # own the playlist.)
51
51
  #
52
- # @overload update(playlist_id, collaborative: nil, description: nil, name: nil, public: nil, request_options: {})
52
+ # @overload update(playlist_id, paths_request_body_content_application_json_schema_properties_published: nil, collaborative: nil, description: nil, name: nil, request_options: {})
53
53
  #
54
54
  # @param playlist_id [String] The [Spotify ID](/documentation/web-api/concepts/spotify-uris-ids) of the playli
55
55
  #
56
+ # @param paths_request_body_content_application_json_schema_properties_published [Boolean] The playlist's public/private status (if it should be added to the user's profil
57
+ #
56
58
  # @param collaborative [Boolean] If `true`, the playlist will become collaborative and other users will be able t
57
59
  #
58
60
  # @param description [String] Value for playlist description as displayed in Spotify Clients and in the Web AP
59
61
  #
60
62
  # @param name [String] The new name for the playlist, for example `"My New Playlist Title"`
61
63
  #
62
- # @param public [Boolean] The playlist's public/private status (if it should be added to the user's profil
63
- #
64
64
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}, nil]
65
65
  #
66
66
  # @return [nil]
@@ -11,19 +11,19 @@ module Spotted
11
11
  # [add tracks](/documentation/web-api/reference/add-tracks-to-playlist).) Each
12
12
  # user is generally limited to a maximum of 11000 playlists.
13
13
  #
14
- # @overload create(user_id, name:, collaborative: nil, description: nil, public: nil, request_options: {})
14
+ # @overload create(user_id, name:, paths_request_body_content_application_json_schema_properties_published: nil, collaborative: nil, description: nil, request_options: {})
15
15
  #
16
16
  # @param user_id [String] The user's [Spotify user ID](/documentation/web-api/concepts/spotify-uris-ids).
17
17
  #
18
18
  # @param name [String] The name for the new playlist, for example `"Your Coolest Playlist"`. This name
19
19
  #
20
+ # @param paths_request_body_content_application_json_schema_properties_published [Boolean] Defaults to `true`. The playlist's public/private status (if it should be added
21
+ #
20
22
  # @param collaborative [Boolean] Defaults to `false`. If `true` the playlist will be collaborative. \_**Note**:
21
23
  # to
22
24
  #
23
25
  # @param description [String] value for playlist description as displayed in Spotify Clients and in the Web AP
24
26
  #
25
- # @param public [Boolean] Defaults to `true`. The playlist's public/private status (if it should be added
26
- #
27
27
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}, nil]
28
28
  #
29
29
  # @return [Spotted::Models::Users::PlaylistCreateResponse]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Spotted
4
- VERSION = "0.15.0"
4
+ VERSION = "0.16.0"
5
5
  end
@@ -24,10 +24,10 @@ module Spotted
24
24
  # playlist status is not relevant. For more about public/private status, see
25
25
  # [Working with Playlists](/documentation/web-api/concepts/playlists)
26
26
  sig { returns(T.nilable(T::Boolean)) }
27
- attr_reader :components_schemas_properties_is_public
27
+ attr_reader :components_schemas_properties_published
28
28
 
29
- sig { params(components_schemas_properties_is_public: T::Boolean).void }
30
- attr_writer :components_schemas_properties_is_public
29
+ sig { params(components_schemas_properties_published: T::Boolean).void }
30
+ attr_writer :components_schemas_properties_published
31
31
 
32
32
  # `true` if the owner allows other users to modify the playlist.
33
33
  sig { returns(T.nilable(T::Boolean)) }
@@ -132,7 +132,7 @@ module Spotted
132
132
  sig do
133
133
  params(
134
134
  id: String,
135
- components_schemas_properties_is_public: T::Boolean,
135
+ components_schemas_properties_published: T::Boolean,
136
136
  collaborative: T::Boolean,
137
137
  description: T.nilable(String),
138
138
  external_urls: Spotted::ExternalURLObject::OrHash,
@@ -155,7 +155,7 @@ module Spotted
155
155
  # `true` the playlist is public, `false` the playlist is private, `null` the
156
156
  # playlist status is not relevant. For more about public/private status, see
157
157
  # [Working with Playlists](/documentation/web-api/concepts/playlists)
158
- components_schemas_properties_is_public: nil,
158
+ components_schemas_properties_published: nil,
159
159
  # `true` if the owner allows other users to modify the playlist.
160
160
  collaborative: nil,
161
161
  # The playlist description. _Only returned for modified, verified playlists,
@@ -194,7 +194,7 @@ module Spotted
194
194
  override.returns(
195
195
  {
196
196
  id: String,
197
- components_schemas_properties_is_public: T::Boolean,
197
+ components_schemas_properties_published: T::Boolean,
198
198
  collaborative: T::Boolean,
199
199
  description: T.nilable(String),
200
200
  external_urls: Spotted::ExternalURLObject,
@@ -11,6 +11,22 @@ module Spotted
11
11
  T.any(Spotted::PlaylistUpdateParams, Spotted::Internal::AnyHash)
12
12
  end
13
13
 
14
+ # The playlist's public/private status (if it should be added to the user's
15
+ # profile or not): `true` the playlist will be public, `false` the playlist will
16
+ # be private, `null` the playlist status is not relevant. For more about
17
+ # public/private status, see
18
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
19
+ sig { returns(T.nilable(T::Boolean)) }
20
+ attr_reader :paths_request_body_content_application_json_schema_properties_published
21
+
22
+ sig do
23
+ params(
24
+ paths_request_body_content_application_json_schema_properties_published:
25
+ T::Boolean
26
+ ).void
27
+ end
28
+ attr_writer :paths_request_body_content_application_json_schema_properties_published
29
+
14
30
  # If `true`, the playlist will become collaborative and other users will be able
15
31
  # to modify the playlist in their Spotify client. <br/> _**Note**: You can only
16
32
  # set `collaborative` to `true` on non-public playlists._
@@ -35,27 +51,23 @@ module Spotted
35
51
  sig { params(name: String).void }
36
52
  attr_writer :name
37
53
 
38
- # The playlist's public/private status (if it should be added to the user's
39
- # profile or not): `true` the playlist will be public, `false` the playlist will
40
- # be private, `null` the playlist status is not relevant. For more about
41
- # public/private status, see
42
- # [Working with Playlists](/documentation/web-api/concepts/playlists)
43
- sig { returns(T.nilable(T::Boolean)) }
44
- attr_reader :public
45
-
46
- sig { params(public: T::Boolean).void }
47
- attr_writer :public
48
-
49
54
  sig do
50
55
  params(
56
+ paths_request_body_content_application_json_schema_properties_published:
57
+ T::Boolean,
51
58
  collaborative: T::Boolean,
52
59
  description: String,
53
60
  name: String,
54
- public: T::Boolean,
55
61
  request_options: Spotted::RequestOptions::OrHash
56
62
  ).returns(T.attached_class)
57
63
  end
58
64
  def self.new(
65
+ # The playlist's public/private status (if it should be added to the user's
66
+ # profile or not): `true` the playlist will be public, `false` the playlist will
67
+ # be private, `null` the playlist status is not relevant. For more about
68
+ # public/private status, see
69
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
70
+ paths_request_body_content_application_json_schema_properties_published: nil,
59
71
  # If `true`, the playlist will become collaborative and other users will be able
60
72
  # to modify the playlist in their Spotify client. <br/> _**Note**: You can only
61
73
  # set `collaborative` to `true` on non-public playlists._
@@ -65,12 +77,6 @@ module Spotted
65
77
  description: nil,
66
78
  # The new name for the playlist, for example `"My New Playlist Title"`
67
79
  name: nil,
68
- # The playlist's public/private status (if it should be added to the user's
69
- # profile or not): `true` the playlist will be public, `false` the playlist will
70
- # be private, `null` the playlist status is not relevant. For more about
71
- # public/private status, see
72
- # [Working with Playlists](/documentation/web-api/concepts/playlists)
73
- public: nil,
74
80
  request_options: {}
75
81
  )
76
82
  end
@@ -78,10 +84,11 @@ module Spotted
78
84
  sig do
79
85
  override.returns(
80
86
  {
87
+ paths_request_body_content_application_json_schema_properties_published:
88
+ T::Boolean,
81
89
  collaborative: T::Boolean,
82
90
  description: String,
83
91
  name: String,
84
- public: T::Boolean,
85
92
  request_options: Spotted::RequestOptions
86
93
  }
87
94
  )
@@ -20,14 +20,20 @@ module Spotted
20
20
  # public/private status, see
21
21
  # [Working with Playlists](/documentation/web-api/concepts/playlists)
22
22
  sig { returns(T.nilable(T::Boolean)) }
23
- attr_reader :public
23
+ attr_reader :paths_request_body_content_application_json_schema_properties_published
24
24
 
25
- sig { params(public: T::Boolean).void }
26
- attr_writer :public
25
+ sig do
26
+ params(
27
+ paths_request_body_content_application_json_schema_properties_published:
28
+ T::Boolean
29
+ ).void
30
+ end
31
+ attr_writer :paths_request_body_content_application_json_schema_properties_published
27
32
 
28
33
  sig do
29
34
  params(
30
- public: T::Boolean,
35
+ paths_request_body_content_application_json_schema_properties_published:
36
+ T::Boolean,
31
37
  request_options: Spotted::RequestOptions::OrHash
32
38
  ).returns(T.attached_class)
33
39
  end
@@ -36,14 +42,18 @@ module Spotted
36
42
  # playlists (added to profile), if `false` it will remain private. For more about
37
43
  # public/private status, see
38
44
  # [Working with Playlists](/documentation/web-api/concepts/playlists)
39
- public: nil,
45
+ paths_request_body_content_application_json_schema_properties_published: nil,
40
46
  request_options: {}
41
47
  )
42
48
  end
43
49
 
44
50
  sig do
45
51
  override.returns(
46
- { public: T::Boolean, request_options: Spotted::RequestOptions }
52
+ {
53
+ paths_request_body_content_application_json_schema_properties_published:
54
+ T::Boolean,
55
+ request_options: Spotted::RequestOptions
56
+ }
47
57
  )
48
58
  end
49
59
  def to_hash
@@ -21,10 +21,10 @@ module Spotted
21
21
  # playlist status is not relevant. For more about public/private status, see
22
22
  # [Working with Playlists](/documentation/web-api/concepts/playlists)
23
23
  sig { returns(T.nilable(T::Boolean)) }
24
- attr_reader :components_schemas_properties_is_public
24
+ attr_reader :components_schemas_properties_published
25
25
 
26
- sig { params(components_schemas_properties_is_public: T::Boolean).void }
27
- attr_writer :components_schemas_properties_is_public
26
+ sig { params(components_schemas_properties_published: T::Boolean).void }
27
+ attr_writer :components_schemas_properties_published
28
28
 
29
29
  # `true` if the owner allows other users to modify the playlist.
30
30
  sig { returns(T.nilable(T::Boolean)) }
@@ -118,7 +118,7 @@ module Spotted
118
118
  sig do
119
119
  params(
120
120
  id: String,
121
- components_schemas_properties_is_public: T::Boolean,
121
+ components_schemas_properties_published: T::Boolean,
122
122
  collaborative: T::Boolean,
123
123
  description: String,
124
124
  external_urls: Spotted::ExternalURLObject::OrHash,
@@ -140,7 +140,7 @@ module Spotted
140
140
  # `true` the playlist is public, `false` the playlist is private, `null` the
141
141
  # playlist status is not relevant. For more about public/private status, see
142
142
  # [Working with Playlists](/documentation/web-api/concepts/playlists)
143
- components_schemas_properties_is_public: nil,
143
+ components_schemas_properties_published: nil,
144
144
  # `true` if the owner allows other users to modify the playlist.
145
145
  collaborative: nil,
146
146
  # The playlist description. _Only returned for modified, verified playlists,
@@ -180,7 +180,7 @@ module Spotted
180
180
  override.returns(
181
181
  {
182
182
  id: String,
183
- components_schemas_properties_is_public: T::Boolean,
183
+ components_schemas_properties_published: T::Boolean,
184
184
  collaborative: T::Boolean,
185
185
  description: String,
186
186
  external_urls: Spotted::ExternalURLObject,
@@ -21,6 +21,24 @@ module Spotted
21
21
  sig { returns(String) }
22
22
  attr_accessor :name
23
23
 
24
+ # Defaults to `true`. The playlist's public/private status (if it should be added
25
+ # to the user's profile or not): `true` the playlist will be public, `false` the
26
+ # playlist will be private. To be able to create private playlists, the user must
27
+ # have granted the `playlist-modify-private`
28
+ # [scope](/documentation/web-api/concepts/scopes/#list-of-scopes). For more about
29
+ # public/private status, see
30
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
31
+ sig { returns(T.nilable(T::Boolean)) }
32
+ attr_reader :paths_request_body_content_application_json_schema_properties_published
33
+
34
+ sig do
35
+ params(
36
+ paths_request_body_content_application_json_schema_properties_published:
37
+ T::Boolean
38
+ ).void
39
+ end
40
+ attr_writer :paths_request_body_content_application_json_schema_properties_published
41
+
24
42
  # Defaults to `false`. If `true` the playlist will be collaborative. _**Note**: to
25
43
  # create a collaborative playlist you must also set `public` to `false`. To create
26
44
  # collaborative playlists you must have granted `playlist-modify-private` and
@@ -40,25 +58,13 @@ module Spotted
40
58
  sig { params(description: String).void }
41
59
  attr_writer :description
42
60
 
43
- # Defaults to `true`. The playlist's public/private status (if it should be added
44
- # to the user's profile or not): `true` the playlist will be public, `false` the
45
- # playlist will be private. To be able to create private playlists, the user must
46
- # have granted the `playlist-modify-private`
47
- # [scope](/documentation/web-api/concepts/scopes/#list-of-scopes). For more about
48
- # public/private status, see
49
- # [Working with Playlists](/documentation/web-api/concepts/playlists)
50
- sig { returns(T.nilable(T::Boolean)) }
51
- attr_reader :public
52
-
53
- sig { params(public: T::Boolean).void }
54
- attr_writer :public
55
-
56
61
  sig do
57
62
  params(
58
63
  name: String,
64
+ paths_request_body_content_application_json_schema_properties_published:
65
+ T::Boolean,
59
66
  collaborative: T::Boolean,
60
67
  description: String,
61
- public: T::Boolean,
62
68
  request_options: Spotted::RequestOptions::OrHash
63
69
  ).returns(T.attached_class)
64
70
  end
@@ -67,6 +73,14 @@ module Spotted
67
73
  # does not need to be unique; a user may have several playlists with the same
68
74
  # name.
69
75
  name:,
76
+ # Defaults to `true`. The playlist's public/private status (if it should be added
77
+ # to the user's profile or not): `true` the playlist will be public, `false` the
78
+ # playlist will be private. To be able to create private playlists, the user must
79
+ # have granted the `playlist-modify-private`
80
+ # [scope](/documentation/web-api/concepts/scopes/#list-of-scopes). For more about
81
+ # public/private status, see
82
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
83
+ paths_request_body_content_application_json_schema_properties_published: nil,
70
84
  # Defaults to `false`. If `true` the playlist will be collaborative. _**Note**: to
71
85
  # create a collaborative playlist you must also set `public` to `false`. To create
72
86
  # collaborative playlists you must have granted `playlist-modify-private` and
@@ -76,14 +90,6 @@ module Spotted
76
90
  # value for playlist description as displayed in Spotify Clients and in the Web
77
91
  # API.
78
92
  description: nil,
79
- # Defaults to `true`. The playlist's public/private status (if it should be added
80
- # to the user's profile or not): `true` the playlist will be public, `false` the
81
- # playlist will be private. To be able to create private playlists, the user must
82
- # have granted the `playlist-modify-private`
83
- # [scope](/documentation/web-api/concepts/scopes/#list-of-scopes). For more about
84
- # public/private status, see
85
- # [Working with Playlists](/documentation/web-api/concepts/playlists)
86
- public: nil,
87
93
  request_options: {}
88
94
  )
89
95
  end
@@ -92,9 +98,10 @@ module Spotted
92
98
  override.returns(
93
99
  {
94
100
  name: String,
101
+ paths_request_body_content_application_json_schema_properties_published:
102
+ T::Boolean,
95
103
  collaborative: T::Boolean,
96
104
  description: String,
97
- public: T::Boolean,
98
105
  request_options: Spotted::RequestOptions
99
106
  }
100
107
  )
@@ -25,10 +25,10 @@ module Spotted
25
25
  # playlist status is not relevant. For more about public/private status, see
26
26
  # [Working with Playlists](/documentation/web-api/concepts/playlists)
27
27
  sig { returns(T.nilable(T::Boolean)) }
28
- attr_reader :components_schemas_properties_is_public
28
+ attr_reader :components_schemas_properties_published
29
29
 
30
- sig { params(components_schemas_properties_is_public: T::Boolean).void }
31
- attr_writer :components_schemas_properties_is_public
30
+ sig { params(components_schemas_properties_published: T::Boolean).void }
31
+ attr_writer :components_schemas_properties_published
32
32
 
33
33
  # `true` if the owner allows other users to modify the playlist.
34
34
  sig { returns(T.nilable(T::Boolean)) }
@@ -138,7 +138,7 @@ module Spotted
138
138
  sig do
139
139
  params(
140
140
  id: String,
141
- components_schemas_properties_is_public: T::Boolean,
141
+ components_schemas_properties_published: T::Boolean,
142
142
  collaborative: T::Boolean,
143
143
  description: T.nilable(String),
144
144
  external_urls: Spotted::ExternalURLObject::OrHash,
@@ -163,7 +163,7 @@ module Spotted
163
163
  # `true` the playlist is public, `false` the playlist is private, `null` the
164
164
  # playlist status is not relevant. For more about public/private status, see
165
165
  # [Working with Playlists](/documentation/web-api/concepts/playlists)
166
- components_schemas_properties_is_public: nil,
166
+ components_schemas_properties_published: nil,
167
167
  # `true` if the owner allows other users to modify the playlist.
168
168
  collaborative: nil,
169
169
  # The playlist description. _Only returned for modified, verified playlists,
@@ -202,7 +202,7 @@ module Spotted
202
202
  override.returns(
203
203
  {
204
204
  id: String,
205
- components_schemas_properties_is_public: T::Boolean,
205
+ components_schemas_properties_published: T::Boolean,
206
206
  collaborative: T::Boolean,
207
207
  description: T.nilable(String),
208
208
  external_urls: Spotted::ExternalURLObject,
@@ -28,7 +28,8 @@ module Spotted
28
28
  sig do
29
29
  params(
30
30
  playlist_id: String,
31
- public: T::Boolean,
31
+ paths_request_body_content_application_json_schema_properties_published:
32
+ T::Boolean,
32
33
  request_options: Spotted::RequestOptions::OrHash
33
34
  ).void
34
35
  end
@@ -40,7 +41,7 @@ module Spotted
40
41
  # playlists (added to profile), if `false` it will remain private. For more about
41
42
  # public/private status, see
42
43
  # [Working with Playlists](/documentation/web-api/concepts/playlists)
43
- public: nil,
44
+ paths_request_body_content_application_json_schema_properties_published: nil,
44
45
  request_options: {}
45
46
  )
46
47
  end
@@ -63,10 +63,11 @@ module Spotted
63
63
  sig do
64
64
  params(
65
65
  playlist_id: String,
66
+ paths_request_body_content_application_json_schema_properties_published:
67
+ T::Boolean,
66
68
  collaborative: T::Boolean,
67
69
  description: String,
68
70
  name: String,
69
- public: T::Boolean,
70
71
  request_options: Spotted::RequestOptions::OrHash
71
72
  ).void
72
73
  end
@@ -74,6 +75,12 @@ module Spotted
74
75
  # The [Spotify ID](/documentation/web-api/concepts/spotify-uris-ids) of the
75
76
  # playlist.
76
77
  playlist_id,
78
+ # The playlist's public/private status (if it should be added to the user's
79
+ # profile or not): `true` the playlist will be public, `false` the playlist will
80
+ # be private, `null` the playlist status is not relevant. For more about
81
+ # public/private status, see
82
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
83
+ paths_request_body_content_application_json_schema_properties_published: nil,
77
84
  # If `true`, the playlist will become collaborative and other users will be able
78
85
  # to modify the playlist in their Spotify client. <br/> _**Note**: You can only
79
86
  # set `collaborative` to `true` on non-public playlists._
@@ -83,12 +90,6 @@ module Spotted
83
90
  description: nil,
84
91
  # The new name for the playlist, for example `"My New Playlist Title"`
85
92
  name: nil,
86
- # The playlist's public/private status (if it should be added to the user's
87
- # profile or not): `true` the playlist will be public, `false` the playlist will
88
- # be private, `null` the playlist status is not relevant. For more about
89
- # public/private status, see
90
- # [Working with Playlists](/documentation/web-api/concepts/playlists)
91
- public: nil,
92
93
  request_options: {}
93
94
  )
94
95
  end
@@ -11,9 +11,10 @@ module Spotted
11
11
  params(
12
12
  user_id: String,
13
13
  name: String,
14
+ paths_request_body_content_application_json_schema_properties_published:
15
+ T::Boolean,
14
16
  collaborative: T::Boolean,
15
17
  description: String,
16
- public: T::Boolean,
17
18
  request_options: Spotted::RequestOptions::OrHash
18
19
  ).returns(Spotted::Models::Users::PlaylistCreateResponse)
19
20
  end
@@ -24,6 +25,14 @@ module Spotted
24
25
  # does not need to be unique; a user may have several playlists with the same
25
26
  # name.
26
27
  name:,
28
+ # Defaults to `true`. The playlist's public/private status (if it should be added
29
+ # to the user's profile or not): `true` the playlist will be public, `false` the
30
+ # playlist will be private. To be able to create private playlists, the user must
31
+ # have granted the `playlist-modify-private`
32
+ # [scope](/documentation/web-api/concepts/scopes/#list-of-scopes). For more about
33
+ # public/private status, see
34
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
35
+ paths_request_body_content_application_json_schema_properties_published: nil,
27
36
  # Defaults to `false`. If `true` the playlist will be collaborative. _**Note**: to
28
37
  # create a collaborative playlist you must also set `public` to `false`. To create
29
38
  # collaborative playlists you must have granted `playlist-modify-private` and
@@ -33,14 +42,6 @@ module Spotted
33
42
  # value for playlist description as displayed in Spotify Clients and in the Web
34
43
  # API.
35
44
  description: nil,
36
- # Defaults to `true`. The playlist's public/private status (if it should be added
37
- # to the user's profile or not): `true` the playlist will be public, `false` the
38
- # playlist will be private. To be able to create private playlists, the user must
39
- # have granted the `playlist-modify-private`
40
- # [scope](/documentation/web-api/concepts/scopes/#list-of-scopes). For more about
41
- # public/private status, see
42
- # [Working with Playlists](/documentation/web-api/concepts/playlists)
43
- public: nil,
44
45
  request_options: {}
45
46
  )
46
47
  end
@@ -3,7 +3,7 @@ module Spotted
3
3
  type playlist_retrieve_response =
4
4
  {
5
5
  id: String,
6
- components_schemas_properties_is_public: bool,
6
+ components_schemas_properties_published: bool,
7
7
  collaborative: bool,
8
8
  description: String?,
9
9
  external_urls: Spotted::ExternalURLObject,
@@ -23,9 +23,9 @@ module Spotted
23
23
 
24
24
  def id=: (String) -> String
25
25
 
26
- attr_reader components_schemas_properties_is_public: bool?
26
+ attr_reader components_schemas_properties_published: bool?
27
27
 
28
- def components_schemas_properties_is_public=: (bool) -> bool
28
+ def components_schemas_properties_published=: (bool) -> bool
29
29
 
30
30
  attr_reader collaborative: bool?
31
31
 
@@ -83,7 +83,7 @@ module Spotted
83
83
 
84
84
  def initialize: (
85
85
  ?id: String,
86
- ?components_schemas_properties_is_public: bool,
86
+ ?components_schemas_properties_published: bool,
87
87
  ?collaborative: bool,
88
88
  ?description: String?,
89
89
  ?external_urls: Spotted::ExternalURLObject,
@@ -100,7 +100,7 @@ module Spotted
100
100
 
101
101
  def to_hash: -> {
102
102
  id: String,
103
- components_schemas_properties_is_public: bool,
103
+ components_schemas_properties_published: bool,
104
104
  collaborative: bool,
105
105
  description: String?,
106
106
  external_urls: Spotted::ExternalURLObject,
@@ -1,13 +1,24 @@
1
1
  module Spotted
2
2
  module Models
3
3
  type playlist_update_params =
4
- { collaborative: bool, description: String, name: String, public: bool }
4
+ {
5
+ paths_request_body_content_application_json_schema_properties_published: bool,
6
+ collaborative: bool,
7
+ description: String,
8
+ name: String
9
+ }
5
10
  & Spotted::Internal::Type::request_parameters
6
11
 
7
12
  class PlaylistUpdateParams < Spotted::Internal::Type::BaseModel
8
13
  extend Spotted::Internal::Type::RequestParameters::Converter
9
14
  include Spotted::Internal::Type::RequestParameters
10
15
 
16
+ attr_reader paths_request_body_content_application_json_schema_properties_published: bool?
17
+
18
+ def paths_request_body_content_application_json_schema_properties_published=: (
19
+ bool
20
+ ) -> bool
21
+
11
22
  attr_reader collaborative: bool?
12
23
 
13
24
  def collaborative=: (bool) -> bool
@@ -20,23 +31,19 @@ module Spotted
20
31
 
21
32
  def name=: (String) -> String
22
33
 
23
- attr_reader public: bool?
24
-
25
- def public=: (bool) -> bool
26
-
27
34
  def initialize: (
35
+ ?paths_request_body_content_application_json_schema_properties_published: bool,
28
36
  ?collaborative: bool,
29
37
  ?description: String,
30
38
  ?name: String,
31
- ?public: bool,
32
39
  ?request_options: Spotted::request_opts
33
40
  ) -> void
34
41
 
35
42
  def to_hash: -> {
43
+ paths_request_body_content_application_json_schema_properties_published: bool,
36
44
  collaborative: bool,
37
45
  description: String,
38
46
  name: String,
39
- public: bool,
40
47
  request_options: Spotted::RequestOptions
41
48
  }
42
49
  end
@@ -2,23 +2,28 @@ module Spotted
2
2
  module Models
3
3
  module Playlists
4
4
  type follower_follow_params =
5
- { public: bool } & Spotted::Internal::Type::request_parameters
5
+ {
6
+ paths_request_body_content_application_json_schema_properties_published: bool
7
+ }
8
+ & Spotted::Internal::Type::request_parameters
6
9
 
7
10
  class FollowerFollowParams < Spotted::Internal::Type::BaseModel
8
11
  extend Spotted::Internal::Type::RequestParameters::Converter
9
12
  include Spotted::Internal::Type::RequestParameters
10
13
 
11
- attr_reader public: bool?
14
+ attr_reader paths_request_body_content_application_json_schema_properties_published: bool?
12
15
 
13
- def public=: (bool) -> bool
16
+ def paths_request_body_content_application_json_schema_properties_published=: (
17
+ bool
18
+ ) -> bool
14
19
 
15
20
  def initialize: (
16
- ?public: bool,
21
+ ?paths_request_body_content_application_json_schema_properties_published: bool,
17
22
  ?request_options: Spotted::request_opts
18
23
  ) -> void
19
24
 
20
25
  def to_hash: -> {
21
- public: bool,
26
+ paths_request_body_content_application_json_schema_properties_published: bool,
22
27
  request_options: Spotted::RequestOptions
23
28
  }
24
29
  end
@@ -3,7 +3,7 @@ module Spotted
3
3
  type simplified_playlist_object =
4
4
  {
5
5
  id: String,
6
- components_schemas_properties_is_public: bool,
6
+ components_schemas_properties_published: bool,
7
7
  collaborative: bool,
8
8
  description: String,
9
9
  external_urls: Spotted::ExternalURLObject,
@@ -22,9 +22,9 @@ module Spotted
22
22
 
23
23
  def id=: (String) -> String
24
24
 
25
- attr_reader components_schemas_properties_is_public: bool?
25
+ attr_reader components_schemas_properties_published: bool?
26
26
 
27
- def components_schemas_properties_is_public=: (bool) -> bool
27
+ def components_schemas_properties_published=: (bool) -> bool
28
28
 
29
29
  attr_reader collaborative: bool?
30
30
 
@@ -80,7 +80,7 @@ module Spotted
80
80
 
81
81
  def initialize: (
82
82
  ?id: String,
83
- ?components_schemas_properties_is_public: bool,
83
+ ?components_schemas_properties_published: bool,
84
84
  ?collaborative: bool,
85
85
  ?description: String,
86
86
  ?external_urls: Spotted::ExternalURLObject,
@@ -96,7 +96,7 @@ module Spotted
96
96
 
97
97
  def to_hash: -> {
98
98
  id: String,
99
- components_schemas_properties_is_public: bool,
99
+ components_schemas_properties_published: bool,
100
100
  collaborative: bool,
101
101
  description: String,
102
102
  external_urls: Spotted::ExternalURLObject,
@@ -2,7 +2,12 @@ module Spotted
2
2
  module Models
3
3
  module Users
4
4
  type playlist_create_params =
5
- { name: String, collaborative: bool, description: String, public: bool }
5
+ {
6
+ name: String,
7
+ paths_request_body_content_application_json_schema_properties_published: bool,
8
+ collaborative: bool,
9
+ description: String
10
+ }
6
11
  & Spotted::Internal::Type::request_parameters
7
12
 
8
13
  class PlaylistCreateParams < Spotted::Internal::Type::BaseModel
@@ -11,6 +16,12 @@ module Spotted
11
16
 
12
17
  attr_accessor name: String
13
18
 
19
+ attr_reader paths_request_body_content_application_json_schema_properties_published: bool?
20
+
21
+ def paths_request_body_content_application_json_schema_properties_published=: (
22
+ bool
23
+ ) -> bool
24
+
14
25
  attr_reader collaborative: bool?
15
26
 
16
27
  def collaborative=: (bool) -> bool
@@ -19,23 +30,19 @@ module Spotted
19
30
 
20
31
  def description=: (String) -> String
21
32
 
22
- attr_reader public: bool?
23
-
24
- def public=: (bool) -> bool
25
-
26
33
  def initialize: (
27
34
  name: String,
35
+ ?paths_request_body_content_application_json_schema_properties_published: bool,
28
36
  ?collaborative: bool,
29
37
  ?description: String,
30
- ?public: bool,
31
38
  ?request_options: Spotted::request_opts
32
39
  ) -> void
33
40
 
34
41
  def to_hash: -> {
35
42
  name: String,
43
+ paths_request_body_content_application_json_schema_properties_published: bool,
36
44
  collaborative: bool,
37
45
  description: String,
38
- public: bool,
39
46
  request_options: Spotted::RequestOptions
40
47
  }
41
48
  end
@@ -4,7 +4,7 @@ module Spotted
4
4
  type playlist_create_response =
5
5
  {
6
6
  id: String,
7
- components_schemas_properties_is_public: bool,
7
+ components_schemas_properties_published: bool,
8
8
  collaborative: bool,
9
9
  description: String?,
10
10
  external_urls: Spotted::ExternalURLObject,
@@ -24,9 +24,9 @@ module Spotted
24
24
 
25
25
  def id=: (String) -> String
26
26
 
27
- attr_reader components_schemas_properties_is_public: bool?
27
+ attr_reader components_schemas_properties_published: bool?
28
28
 
29
- def components_schemas_properties_is_public=: (bool) -> bool
29
+ def components_schemas_properties_published=: (bool) -> bool
30
30
 
31
31
  attr_reader collaborative: bool?
32
32
 
@@ -84,7 +84,7 @@ module Spotted
84
84
 
85
85
  def initialize: (
86
86
  ?id: String,
87
- ?components_schemas_properties_is_public: bool,
87
+ ?components_schemas_properties_published: bool,
88
88
  ?collaborative: bool,
89
89
  ?description: String?,
90
90
  ?external_urls: Spotted::ExternalURLObject,
@@ -101,7 +101,7 @@ module Spotted
101
101
 
102
102
  def to_hash: -> {
103
103
  id: String,
104
- components_schemas_properties_is_public: bool,
104
+ components_schemas_properties_published: bool,
105
105
  collaborative: bool,
106
106
  description: String?,
107
107
  external_urls: Spotted::ExternalURLObject,
@@ -10,7 +10,7 @@ module Spotted
10
10
 
11
11
  def follow: (
12
12
  String playlist_id,
13
- ?public: bool,
13
+ ?paths_request_body_content_application_json_schema_properties_published: bool,
14
14
  ?request_options: Spotted::request_opts
15
15
  ) -> nil
16
16
 
@@ -17,10 +17,10 @@ module Spotted
17
17
 
18
18
  def update: (
19
19
  String playlist_id,
20
+ ?paths_request_body_content_application_json_schema_properties_published: bool,
20
21
  ?collaborative: bool,
21
22
  ?description: String,
22
23
  ?name: String,
23
- ?public: bool,
24
24
  ?request_options: Spotted::request_opts
25
25
  ) -> nil
26
26
 
@@ -5,9 +5,9 @@ module Spotted
5
5
  def create: (
6
6
  String user_id,
7
7
  name: String,
8
+ ?paths_request_body_content_application_json_schema_properties_published: bool,
8
9
  ?collaborative: bool,
9
10
  ?description: String,
10
- ?public: bool,
11
11
  ?request_options: Spotted::request_opts
12
12
  ) -> Spotted::Models::Users::PlaylistCreateResponse
13
13
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spotted
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Spotted