spotted 0.14.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7005dad5f471d604237848a7ce98546357491fdaad3424e774236db10f51b05
4
- data.tar.gz: 2c3c90d12d62c2813e8dbc6821a150715e84246ee568b6efa67c3d272da02015
3
+ metadata.gz: 876d338985770508cd636ab2530a79c1ae2488bc4134c8122308e82ff06ba3d2
4
+ data.tar.gz: 8aaefc5fc189b8c1be42be31bb8aed0821ce819fc1f3cd4125df2c30dd95e82d
5
5
  SHA512:
6
- metadata.gz: 34a0683ab235b101abcf8b6f0f876048ee6c219b1bb087cc688fa65817c7994c97f4b124c033c192115fb81524cfada2dd10f4de635e2ad77d68871b8bcdf4d7
7
- data.tar.gz: eb391607a59e015319712a8cf4a3e18ee70f848925879f737f2483673b8e71d62c352db9632edbc213f227f2cb8e9587124657d4164529207ed5351b596f294d
6
+ metadata.gz: e7ab3678bdf2bad35edb85ca81f8973a05bc87097b069038d5bee6392475f5808c29c6e4d7aee62a7b86ef0084c1c0efab7c62960df1d389faa33fe02f304adf
7
+ data.tar.gz: b420315dd00f45f166e08aa052359a65b8040e662eb0e18aa4dd6334aae173174e745520c44a35d37a71761104a529303c548e4b2cc08a14de7faf92e31ffb74
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.15.0 (2025-11-20)
4
+
5
+ Full Changelog: [v0.14.0...v0.15.0](https://github.com/cjavdev/spotted/compare/v0.14.0...v0.15.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** manual updates ([48bc871](https://github.com/cjavdev/spotted/commit/48bc8710fa72cbfed413c82615745011283ce577))
10
+
3
11
  ## 0.14.0 (2025-11-20)
4
12
 
5
13
  Full Changelog: [v0.13.0...v0.14.0](https://github.com/cjavdev/spotted/compare/v0.13.0...v0.14.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.14.0"
20
+ gem "spotted", "~> 0.15.0"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -11,6 +11,17 @@ module Spotted
11
11
  # @return [String, nil]
12
12
  optional :id, String
13
13
 
14
+ # @!attribute components_schemas_properties_is_public
15
+ # The playlist's public/private status (if it is added to the user's profile):
16
+ # `true` the playlist is public, `false` the playlist is private, `null` the
17
+ # playlist status is not relevant. For more about public/private status, see
18
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
19
+ #
20
+ # @return [Boolean, nil]
21
+ optional :components_schemas_properties_is_public,
22
+ Spotted::Internal::Type::Boolean,
23
+ api_name: :"$.components.schemas.*.properties.is_public"
24
+
14
25
  # @!attribute collaborative
15
26
  # `true` if the owner allows other users to modify the playlist.
16
27
  #
@@ -64,15 +75,6 @@ module Spotted
64
75
  # @return [Spotted::Models::PlaylistRetrieveResponse::Owner, nil]
65
76
  optional :owner, -> { Spotted::Models::PlaylistRetrieveResponse::Owner }
66
77
 
67
- # @!attribute public
68
- # The playlist's public/private status (if it is added to the user's profile):
69
- # `true` the playlist is public, `false` the playlist is private, `null` the
70
- # playlist status is not relevant. For more about public/private status, see
71
- # [Working with Playlists](/documentation/web-api/concepts/playlists)
72
- #
73
- # @return [Boolean, nil]
74
- optional :public, Spotted::Internal::Type::Boolean
75
-
76
78
  # @!attribute snapshot_id
77
79
  # The version identifier for the current playlist. Can be supplied in other
78
80
  # requests to target a specific playlist version
@@ -99,12 +101,14 @@ module Spotted
99
101
  # @return [String, nil]
100
102
  optional :uri, String
101
103
 
102
- # @!method initialize(id: nil, collaborative: nil, description: nil, external_urls: nil, followers: nil, href: nil, images: nil, name: nil, owner: nil, public: nil, snapshot_id: nil, tracks: nil, type: nil, uri: nil)
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)
103
105
  # Some parameter documentations has been truncated, see
104
106
  # {Spotted::Models::PlaylistRetrieveResponse} for more details.
105
107
  #
106
108
  # @param id [String] The [Spotify ID](/documentation/web-api/concepts/spotify-uris-ids) for the playl
107
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
111
+ #
108
112
  # @param collaborative [Boolean] `true` if the owner allows other users to modify the playlist.
109
113
  #
110
114
  # @param description [String, nil] The playlist description. \_Only returned for modified, verified playlists,
@@ -122,8 +126,6 @@ module Spotted
122
126
  #
123
127
  # @param owner [Spotted::Models::PlaylistRetrieveResponse::Owner] The user who owns the playlist
124
128
  #
125
- # @param public [Boolean] The playlist's public/private status (if it is added to the user's profile): `tr
126
- #
127
129
  # @param snapshot_id [String] The version identifier for the current playlist. Can be supplied in other reques
128
130
  #
129
131
  # @param tracks [Spotted::Models::PlaylistRetrieveResponse::Tracks] The tracks of the playlist.
@@ -10,6 +10,17 @@ module Spotted
10
10
  # @return [String, nil]
11
11
  optional :id, String
12
12
 
13
+ # @!attribute components_schemas_properties_is_public
14
+ # The playlist's public/private status (if it is added to the user's profile):
15
+ # `true` the playlist is public, `false` the playlist is private, `null` the
16
+ # playlist status is not relevant. For more about public/private status, see
17
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
18
+ #
19
+ # @return [Boolean, nil]
20
+ optional :components_schemas_properties_is_public,
21
+ Spotted::Internal::Type::Boolean,
22
+ api_name: :"$.components.schemas.*.properties.is_public"
23
+
13
24
  # @!attribute collaborative
14
25
  # `true` if the owner allows other users to modify the playlist.
15
26
  #
@@ -57,15 +68,6 @@ module Spotted
57
68
  # @return [Spotted::Models::SimplifiedPlaylistObject::Owner, nil]
58
69
  optional :owner, -> { Spotted::SimplifiedPlaylistObject::Owner }
59
70
 
60
- # @!attribute public
61
- # The playlist's public/private status (if it is added to the user's profile):
62
- # `true` the playlist is public, `false` the playlist is private, `null` the
63
- # playlist status is not relevant. For more about public/private status, see
64
- # [Working with Playlists](/documentation/web-api/concepts/playlists)
65
- #
66
- # @return [Boolean, nil]
67
- optional :public, Spotted::Internal::Type::Boolean
68
-
69
71
  # @!attribute snapshot_id
70
72
  # The version identifier for the current playlist. Can be supplied in other
71
73
  # requests to target a specific playlist version
@@ -95,12 +97,14 @@ module Spotted
95
97
  # @return [String, nil]
96
98
  optional :uri, String
97
99
 
98
- # @!method initialize(id: nil, collaborative: nil, description: nil, external_urls: nil, href: nil, images: nil, name: nil, owner: nil, public: nil, snapshot_id: nil, tracks: nil, type: nil, uri: nil)
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)
99
101
  # Some parameter documentations has been truncated, see
100
102
  # {Spotted::Models::SimplifiedPlaylistObject} for more details.
101
103
  #
102
104
  # @param id [String] The [Spotify ID](/documentation/web-api/concepts/spotify-uris-ids) for the playl
103
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
107
+ #
104
108
  # @param collaborative [Boolean] `true` if the owner allows other users to modify the playlist.
105
109
  #
106
110
  # @param description [String] The playlist description. \_Only returned for modified, verified playlists,
@@ -116,8 +120,6 @@ module Spotted
116
120
  #
117
121
  # @param owner [Spotted::Models::SimplifiedPlaylistObject::Owner] The user who owns the playlist
118
122
  #
119
- # @param public [Boolean] The playlist's public/private status (if it is added to the user's profile): `tr
120
- #
121
123
  # @param snapshot_id [String] The version identifier for the current playlist. Can be supplied in other reques
122
124
  #
123
125
  # @param tracks [Spotted::Models::PlaylistTracksRefObject] A collection containing a link ( `href` ) to the Web API endpoint where full det
@@ -12,6 +12,17 @@ module Spotted
12
12
  # @return [String, nil]
13
13
  optional :id, String
14
14
 
15
+ # @!attribute components_schemas_properties_is_public
16
+ # The playlist's public/private status (if it is added to the user's profile):
17
+ # `true` the playlist is public, `false` the playlist is private, `null` the
18
+ # playlist status is not relevant. For more about public/private status, see
19
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
20
+ #
21
+ # @return [Boolean, nil]
22
+ optional :components_schemas_properties_is_public,
23
+ Spotted::Internal::Type::Boolean,
24
+ api_name: :"$.components.schemas.*.properties.is_public"
25
+
15
26
  # @!attribute collaborative
16
27
  # `true` if the owner allows other users to modify the playlist.
17
28
  #
@@ -65,15 +76,6 @@ module Spotted
65
76
  # @return [Spotted::Models::Users::PlaylistCreateResponse::Owner, nil]
66
77
  optional :owner, -> { Spotted::Models::Users::PlaylistCreateResponse::Owner }
67
78
 
68
- # @!attribute public
69
- # The playlist's public/private status (if it is added to the user's profile):
70
- # `true` the playlist is public, `false` the playlist is private, `null` the
71
- # playlist status is not relevant. For more about public/private status, see
72
- # [Working with Playlists](/documentation/web-api/concepts/playlists)
73
- #
74
- # @return [Boolean, nil]
75
- optional :public, Spotted::Internal::Type::Boolean
76
-
77
79
  # @!attribute snapshot_id
78
80
  # The version identifier for the current playlist. Can be supplied in other
79
81
  # requests to target a specific playlist version
@@ -100,12 +102,14 @@ module Spotted
100
102
  # @return [String, nil]
101
103
  optional :uri, String
102
104
 
103
- # @!method initialize(id: nil, collaborative: nil, description: nil, external_urls: nil, followers: nil, href: nil, images: nil, name: nil, owner: nil, public: nil, snapshot_id: nil, tracks: nil, type: nil, uri: nil)
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)
104
106
  # Some parameter documentations has been truncated, see
105
107
  # {Spotted::Models::Users::PlaylistCreateResponse} for more details.
106
108
  #
107
109
  # @param id [String] The [Spotify ID](/documentation/web-api/concepts/spotify-uris-ids) for the playl
108
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
112
+ #
109
113
  # @param collaborative [Boolean] `true` if the owner allows other users to modify the playlist.
110
114
  #
111
115
  # @param description [String, nil] The playlist description. \_Only returned for modified, verified playlists,
@@ -123,8 +127,6 @@ module Spotted
123
127
  #
124
128
  # @param owner [Spotted::Models::Users::PlaylistCreateResponse::Owner] The user who owns the playlist
125
129
  #
126
- # @param public [Boolean] The playlist's public/private status (if it is added to the user's profile): `tr
127
- #
128
130
  # @param snapshot_id [String] The version identifier for the current playlist. Can be supplied in other reques
129
131
  #
130
132
  # @param tracks [Spotted::Models::Users::PlaylistCreateResponse::Tracks] The tracks of the playlist.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Spotted
4
- VERSION = "0.14.0"
4
+ VERSION = "0.15.0"
5
5
  end
@@ -19,6 +19,16 @@ module Spotted
19
19
  sig { params(id: String).void }
20
20
  attr_writer :id
21
21
 
22
+ # The playlist's public/private status (if it is added to the user's profile):
23
+ # `true` the playlist is public, `false` the playlist is private, `null` the
24
+ # playlist status is not relevant. For more about public/private status, see
25
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
26
+ sig { returns(T.nilable(T::Boolean)) }
27
+ attr_reader :components_schemas_properties_is_public
28
+
29
+ sig { params(components_schemas_properties_is_public: T::Boolean).void }
30
+ attr_writer :components_schemas_properties_is_public
31
+
22
32
  # `true` if the owner allows other users to modify the playlist.
23
33
  sig { returns(T.nilable(T::Boolean)) }
24
34
  attr_reader :collaborative
@@ -83,16 +93,6 @@ module Spotted
83
93
  end
84
94
  attr_writer :owner
85
95
 
86
- # The playlist's public/private status (if it is added to the user's profile):
87
- # `true` the playlist is public, `false` the playlist is private, `null` the
88
- # playlist status is not relevant. For more about public/private status, see
89
- # [Working with Playlists](/documentation/web-api/concepts/playlists)
90
- sig { returns(T.nilable(T::Boolean)) }
91
- attr_reader :public
92
-
93
- sig { params(public: T::Boolean).void }
94
- attr_writer :public
95
-
96
96
  # The version identifier for the current playlist. Can be supplied in other
97
97
  # requests to target a specific playlist version
98
98
  sig { returns(T.nilable(String)) }
@@ -132,6 +132,7 @@ module Spotted
132
132
  sig do
133
133
  params(
134
134
  id: String,
135
+ components_schemas_properties_is_public: T::Boolean,
135
136
  collaborative: T::Boolean,
136
137
  description: T.nilable(String),
137
138
  external_urls: Spotted::ExternalURLObject::OrHash,
@@ -140,7 +141,6 @@ module Spotted
140
141
  images: T::Array[Spotted::ImageObject::OrHash],
141
142
  name: String,
142
143
  owner: Spotted::Models::PlaylistRetrieveResponse::Owner::OrHash,
143
- public: T::Boolean,
144
144
  snapshot_id: String,
145
145
  tracks: Spotted::Models::PlaylistRetrieveResponse::Tracks::OrHash,
146
146
  type: String,
@@ -151,6 +151,11 @@ module Spotted
151
151
  # The [Spotify ID](/documentation/web-api/concepts/spotify-uris-ids) for the
152
152
  # playlist.
153
153
  id: nil,
154
+ # The playlist's public/private status (if it is added to the user's profile):
155
+ # `true` the playlist is public, `false` the playlist is private, `null` the
156
+ # playlist status is not relevant. For more about public/private status, see
157
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
158
+ components_schemas_properties_is_public: nil,
154
159
  # `true` if the owner allows other users to modify the playlist.
155
160
  collaborative: nil,
156
161
  # The playlist description. _Only returned for modified, verified playlists,
@@ -172,11 +177,6 @@ module Spotted
172
177
  name: nil,
173
178
  # The user who owns the playlist
174
179
  owner: nil,
175
- # The playlist's public/private status (if it is added to the user's profile):
176
- # `true` the playlist is public, `false` the playlist is private, `null` the
177
- # playlist status is not relevant. For more about public/private status, see
178
- # [Working with Playlists](/documentation/web-api/concepts/playlists)
179
- public: nil,
180
180
  # The version identifier for the current playlist. Can be supplied in other
181
181
  # requests to target a specific playlist version
182
182
  snapshot_id: nil,
@@ -194,6 +194,7 @@ module Spotted
194
194
  override.returns(
195
195
  {
196
196
  id: String,
197
+ components_schemas_properties_is_public: T::Boolean,
197
198
  collaborative: T::Boolean,
198
199
  description: T.nilable(String),
199
200
  external_urls: Spotted::ExternalURLObject,
@@ -202,7 +203,6 @@ module Spotted
202
203
  images: T::Array[Spotted::ImageObject],
203
204
  name: String,
204
205
  owner: Spotted::Models::PlaylistRetrieveResponse::Owner,
205
- public: T::Boolean,
206
206
  snapshot_id: String,
207
207
  tracks: Spotted::Models::PlaylistRetrieveResponse::Tracks,
208
208
  type: String,
@@ -16,6 +16,16 @@ module Spotted
16
16
  sig { params(id: String).void }
17
17
  attr_writer :id
18
18
 
19
+ # The playlist's public/private status (if it is added to the user's profile):
20
+ # `true` the playlist is public, `false` the playlist is private, `null` the
21
+ # playlist status is not relevant. For more about public/private status, see
22
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
23
+ sig { returns(T.nilable(T::Boolean)) }
24
+ attr_reader :components_schemas_properties_is_public
25
+
26
+ sig { params(components_schemas_properties_is_public: T::Boolean).void }
27
+ attr_writer :components_schemas_properties_is_public
28
+
19
29
  # `true` if the owner allows other users to modify the playlist.
20
30
  sig { returns(T.nilable(T::Boolean)) }
21
31
  attr_reader :collaborative
@@ -72,16 +82,6 @@ module Spotted
72
82
  end
73
83
  attr_writer :owner
74
84
 
75
- # The playlist's public/private status (if it is added to the user's profile):
76
- # `true` the playlist is public, `false` the playlist is private, `null` the
77
- # playlist status is not relevant. For more about public/private status, see
78
- # [Working with Playlists](/documentation/web-api/concepts/playlists)
79
- sig { returns(T.nilable(T::Boolean)) }
80
- attr_reader :public
81
-
82
- sig { params(public: T::Boolean).void }
83
- attr_writer :public
84
-
85
85
  # The version identifier for the current playlist. Can be supplied in other
86
86
  # requests to target a specific playlist version
87
87
  sig { returns(T.nilable(String)) }
@@ -118,6 +118,7 @@ module Spotted
118
118
  sig do
119
119
  params(
120
120
  id: String,
121
+ components_schemas_properties_is_public: T::Boolean,
121
122
  collaborative: T::Boolean,
122
123
  description: String,
123
124
  external_urls: Spotted::ExternalURLObject::OrHash,
@@ -125,7 +126,6 @@ module Spotted
125
126
  images: T::Array[Spotted::ImageObject::OrHash],
126
127
  name: String,
127
128
  owner: Spotted::SimplifiedPlaylistObject::Owner::OrHash,
128
- public: T::Boolean,
129
129
  snapshot_id: String,
130
130
  tracks: Spotted::PlaylistTracksRefObject::OrHash,
131
131
  type: String,
@@ -136,6 +136,11 @@ module Spotted
136
136
  # The [Spotify ID](/documentation/web-api/concepts/spotify-uris-ids) for the
137
137
  # playlist.
138
138
  id: nil,
139
+ # The playlist's public/private status (if it is added to the user's profile):
140
+ # `true` the playlist is public, `false` the playlist is private, `null` the
141
+ # playlist status is not relevant. For more about public/private status, see
142
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
143
+ components_schemas_properties_is_public: nil,
139
144
  # `true` if the owner allows other users to modify the playlist.
140
145
  collaborative: nil,
141
146
  # The playlist description. _Only returned for modified, verified playlists,
@@ -155,11 +160,6 @@ module Spotted
155
160
  name: nil,
156
161
  # The user who owns the playlist
157
162
  owner: nil,
158
- # The playlist's public/private status (if it is added to the user's profile):
159
- # `true` the playlist is public, `false` the playlist is private, `null` the
160
- # playlist status is not relevant. For more about public/private status, see
161
- # [Working with Playlists](/documentation/web-api/concepts/playlists)
162
- public: nil,
163
163
  # The version identifier for the current playlist. Can be supplied in other
164
164
  # requests to target a specific playlist version
165
165
  snapshot_id: nil,
@@ -180,6 +180,7 @@ module Spotted
180
180
  override.returns(
181
181
  {
182
182
  id: String,
183
+ components_schemas_properties_is_public: T::Boolean,
183
184
  collaborative: T::Boolean,
184
185
  description: String,
185
186
  external_urls: Spotted::ExternalURLObject,
@@ -187,7 +188,6 @@ module Spotted
187
188
  images: T::Array[Spotted::ImageObject],
188
189
  name: String,
189
190
  owner: Spotted::SimplifiedPlaylistObject::Owner,
190
- public: T::Boolean,
191
191
  snapshot_id: String,
192
192
  tracks: Spotted::PlaylistTracksRefObject,
193
193
  type: String,
@@ -20,6 +20,16 @@ module Spotted
20
20
  sig { params(id: String).void }
21
21
  attr_writer :id
22
22
 
23
+ # The playlist's public/private status (if it is added to the user's profile):
24
+ # `true` the playlist is public, `false` the playlist is private, `null` the
25
+ # playlist status is not relevant. For more about public/private status, see
26
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
27
+ sig { returns(T.nilable(T::Boolean)) }
28
+ attr_reader :components_schemas_properties_is_public
29
+
30
+ sig { params(components_schemas_properties_is_public: T::Boolean).void }
31
+ attr_writer :components_schemas_properties_is_public
32
+
23
33
  # `true` if the owner allows other users to modify the playlist.
24
34
  sig { returns(T.nilable(T::Boolean)) }
25
35
  attr_reader :collaborative
@@ -86,16 +96,6 @@ module Spotted
86
96
  end
87
97
  attr_writer :owner
88
98
 
89
- # The playlist's public/private status (if it is added to the user's profile):
90
- # `true` the playlist is public, `false` the playlist is private, `null` the
91
- # playlist status is not relevant. For more about public/private status, see
92
- # [Working with Playlists](/documentation/web-api/concepts/playlists)
93
- sig { returns(T.nilable(T::Boolean)) }
94
- attr_reader :public
95
-
96
- sig { params(public: T::Boolean).void }
97
- attr_writer :public
98
-
99
99
  # The version identifier for the current playlist. Can be supplied in other
100
100
  # requests to target a specific playlist version
101
101
  sig { returns(T.nilable(String)) }
@@ -138,6 +138,7 @@ module Spotted
138
138
  sig do
139
139
  params(
140
140
  id: String,
141
+ components_schemas_properties_is_public: T::Boolean,
141
142
  collaborative: T::Boolean,
142
143
  description: T.nilable(String),
143
144
  external_urls: Spotted::ExternalURLObject::OrHash,
@@ -147,7 +148,6 @@ module Spotted
147
148
  name: String,
148
149
  owner:
149
150
  Spotted::Models::Users::PlaylistCreateResponse::Owner::OrHash,
150
- public: T::Boolean,
151
151
  snapshot_id: String,
152
152
  tracks:
153
153
  Spotted::Models::Users::PlaylistCreateResponse::Tracks::OrHash,
@@ -159,6 +159,11 @@ module Spotted
159
159
  # The [Spotify ID](/documentation/web-api/concepts/spotify-uris-ids) for the
160
160
  # playlist.
161
161
  id: nil,
162
+ # The playlist's public/private status (if it is added to the user's profile):
163
+ # `true` the playlist is public, `false` the playlist is private, `null` the
164
+ # playlist status is not relevant. For more about public/private status, see
165
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
166
+ components_schemas_properties_is_public: nil,
162
167
  # `true` if the owner allows other users to modify the playlist.
163
168
  collaborative: nil,
164
169
  # The playlist description. _Only returned for modified, verified playlists,
@@ -180,11 +185,6 @@ module Spotted
180
185
  name: nil,
181
186
  # The user who owns the playlist
182
187
  owner: nil,
183
- # The playlist's public/private status (if it is added to the user's profile):
184
- # `true` the playlist is public, `false` the playlist is private, `null` the
185
- # playlist status is not relevant. For more about public/private status, see
186
- # [Working with Playlists](/documentation/web-api/concepts/playlists)
187
- public: nil,
188
188
  # The version identifier for the current playlist. Can be supplied in other
189
189
  # requests to target a specific playlist version
190
190
  snapshot_id: nil,
@@ -202,6 +202,7 @@ module Spotted
202
202
  override.returns(
203
203
  {
204
204
  id: String,
205
+ components_schemas_properties_is_public: T::Boolean,
205
206
  collaborative: T::Boolean,
206
207
  description: T.nilable(String),
207
208
  external_urls: Spotted::ExternalURLObject,
@@ -210,7 +211,6 @@ module Spotted
210
211
  images: T::Array[Spotted::ImageObject],
211
212
  name: String,
212
213
  owner: Spotted::Models::Users::PlaylistCreateResponse::Owner,
213
- public: T::Boolean,
214
214
  snapshot_id: String,
215
215
  tracks: Spotted::Models::Users::PlaylistCreateResponse::Tracks,
216
216
  type: String,
@@ -3,6 +3,7 @@ module Spotted
3
3
  type playlist_retrieve_response =
4
4
  {
5
5
  id: String,
6
+ components_schemas_properties_is_public: bool,
6
7
  collaborative: bool,
7
8
  description: String?,
8
9
  external_urls: Spotted::ExternalURLObject,
@@ -11,7 +12,6 @@ module Spotted
11
12
  images: ::Array[Spotted::ImageObject],
12
13
  name: String,
13
14
  owner: Spotted::Models::PlaylistRetrieveResponse::Owner,
14
- public: bool,
15
15
  snapshot_id: String,
16
16
  tracks: Spotted::Models::PlaylistRetrieveResponse::Tracks,
17
17
  type: String,
@@ -23,6 +23,10 @@ module Spotted
23
23
 
24
24
  def id=: (String) -> String
25
25
 
26
+ attr_reader components_schemas_properties_is_public: bool?
27
+
28
+ def components_schemas_properties_is_public=: (bool) -> bool
29
+
26
30
  attr_reader collaborative: bool?
27
31
 
28
32
  def collaborative=: (bool) -> bool
@@ -59,10 +63,6 @@ module Spotted
59
63
  Spotted::Models::PlaylistRetrieveResponse::Owner
60
64
  ) -> Spotted::Models::PlaylistRetrieveResponse::Owner
61
65
 
62
- attr_reader public: bool?
63
-
64
- def public=: (bool) -> bool
65
-
66
66
  attr_reader snapshot_id: String?
67
67
 
68
68
  def snapshot_id=: (String) -> String
@@ -83,6 +83,7 @@ module Spotted
83
83
 
84
84
  def initialize: (
85
85
  ?id: String,
86
+ ?components_schemas_properties_is_public: bool,
86
87
  ?collaborative: bool,
87
88
  ?description: String?,
88
89
  ?external_urls: Spotted::ExternalURLObject,
@@ -91,7 +92,6 @@ module Spotted
91
92
  ?images: ::Array[Spotted::ImageObject],
92
93
  ?name: String,
93
94
  ?owner: Spotted::Models::PlaylistRetrieveResponse::Owner,
94
- ?public: bool,
95
95
  ?snapshot_id: String,
96
96
  ?tracks: Spotted::Models::PlaylistRetrieveResponse::Tracks,
97
97
  ?type: String,
@@ -100,6 +100,7 @@ module Spotted
100
100
 
101
101
  def to_hash: -> {
102
102
  id: String,
103
+ components_schemas_properties_is_public: bool,
103
104
  collaborative: bool,
104
105
  description: String?,
105
106
  external_urls: Spotted::ExternalURLObject,
@@ -108,7 +109,6 @@ module Spotted
108
109
  images: ::Array[Spotted::ImageObject],
109
110
  name: String,
110
111
  owner: Spotted::Models::PlaylistRetrieveResponse::Owner,
111
- public: bool,
112
112
  snapshot_id: String,
113
113
  tracks: Spotted::Models::PlaylistRetrieveResponse::Tracks,
114
114
  type: String,
@@ -3,6 +3,7 @@ module Spotted
3
3
  type simplified_playlist_object =
4
4
  {
5
5
  id: String,
6
+ components_schemas_properties_is_public: bool,
6
7
  collaborative: bool,
7
8
  description: String,
8
9
  external_urls: Spotted::ExternalURLObject,
@@ -10,7 +11,6 @@ module Spotted
10
11
  images: ::Array[Spotted::ImageObject],
11
12
  name: String,
12
13
  owner: Spotted::SimplifiedPlaylistObject::Owner,
13
- public: bool,
14
14
  snapshot_id: String,
15
15
  tracks: Spotted::PlaylistTracksRefObject,
16
16
  type: String,
@@ -22,6 +22,10 @@ module Spotted
22
22
 
23
23
  def id=: (String) -> String
24
24
 
25
+ attr_reader components_schemas_properties_is_public: bool?
26
+
27
+ def components_schemas_properties_is_public=: (bool) -> bool
28
+
25
29
  attr_reader collaborative: bool?
26
30
 
27
31
  def collaborative=: (bool) -> bool
@@ -56,10 +60,6 @@ module Spotted
56
60
  Spotted::SimplifiedPlaylistObject::Owner
57
61
  ) -> Spotted::SimplifiedPlaylistObject::Owner
58
62
 
59
- attr_reader public: bool?
60
-
61
- def public=: (bool) -> bool
62
-
63
63
  attr_reader snapshot_id: String?
64
64
 
65
65
  def snapshot_id=: (String) -> String
@@ -80,6 +80,7 @@ module Spotted
80
80
 
81
81
  def initialize: (
82
82
  ?id: String,
83
+ ?components_schemas_properties_is_public: bool,
83
84
  ?collaborative: bool,
84
85
  ?description: String,
85
86
  ?external_urls: Spotted::ExternalURLObject,
@@ -87,7 +88,6 @@ module Spotted
87
88
  ?images: ::Array[Spotted::ImageObject],
88
89
  ?name: String,
89
90
  ?owner: Spotted::SimplifiedPlaylistObject::Owner,
90
- ?public: bool,
91
91
  ?snapshot_id: String,
92
92
  ?tracks: Spotted::PlaylistTracksRefObject,
93
93
  ?type: String,
@@ -96,6 +96,7 @@ module Spotted
96
96
 
97
97
  def to_hash: -> {
98
98
  id: String,
99
+ components_schemas_properties_is_public: bool,
99
100
  collaborative: bool,
100
101
  description: String,
101
102
  external_urls: Spotted::ExternalURLObject,
@@ -103,7 +104,6 @@ module Spotted
103
104
  images: ::Array[Spotted::ImageObject],
104
105
  name: String,
105
106
  owner: Spotted::SimplifiedPlaylistObject::Owner,
106
- public: bool,
107
107
  snapshot_id: String,
108
108
  tracks: Spotted::PlaylistTracksRefObject,
109
109
  type: String,
@@ -4,6 +4,7 @@ module Spotted
4
4
  type playlist_create_response =
5
5
  {
6
6
  id: String,
7
+ components_schemas_properties_is_public: bool,
7
8
  collaborative: bool,
8
9
  description: String?,
9
10
  external_urls: Spotted::ExternalURLObject,
@@ -12,7 +13,6 @@ module Spotted
12
13
  images: ::Array[Spotted::ImageObject],
13
14
  name: String,
14
15
  owner: Spotted::Models::Users::PlaylistCreateResponse::Owner,
15
- public: bool,
16
16
  snapshot_id: String,
17
17
  tracks: Spotted::Models::Users::PlaylistCreateResponse::Tracks,
18
18
  type: String,
@@ -24,6 +24,10 @@ module Spotted
24
24
 
25
25
  def id=: (String) -> String
26
26
 
27
+ attr_reader components_schemas_properties_is_public: bool?
28
+
29
+ def components_schemas_properties_is_public=: (bool) -> bool
30
+
27
31
  attr_reader collaborative: bool?
28
32
 
29
33
  def collaborative=: (bool) -> bool
@@ -60,10 +64,6 @@ module Spotted
60
64
  Spotted::Models::Users::PlaylistCreateResponse::Owner
61
65
  ) -> Spotted::Models::Users::PlaylistCreateResponse::Owner
62
66
 
63
- attr_reader public: bool?
64
-
65
- def public=: (bool) -> bool
66
-
67
67
  attr_reader snapshot_id: String?
68
68
 
69
69
  def snapshot_id=: (String) -> String
@@ -84,6 +84,7 @@ module Spotted
84
84
 
85
85
  def initialize: (
86
86
  ?id: String,
87
+ ?components_schemas_properties_is_public: bool,
87
88
  ?collaborative: bool,
88
89
  ?description: String?,
89
90
  ?external_urls: Spotted::ExternalURLObject,
@@ -92,7 +93,6 @@ module Spotted
92
93
  ?images: ::Array[Spotted::ImageObject],
93
94
  ?name: String,
94
95
  ?owner: Spotted::Models::Users::PlaylistCreateResponse::Owner,
95
- ?public: bool,
96
96
  ?snapshot_id: String,
97
97
  ?tracks: Spotted::Models::Users::PlaylistCreateResponse::Tracks,
98
98
  ?type: String,
@@ -101,6 +101,7 @@ module Spotted
101
101
 
102
102
  def to_hash: -> {
103
103
  id: String,
104
+ components_schemas_properties_is_public: bool,
104
105
  collaborative: bool,
105
106
  description: String?,
106
107
  external_urls: Spotted::ExternalURLObject,
@@ -109,7 +110,6 @@ module Spotted
109
110
  images: ::Array[Spotted::ImageObject],
110
111
  name: String,
111
112
  owner: Spotted::Models::Users::PlaylistCreateResponse::Owner,
112
- public: bool,
113
113
  snapshot_id: String,
114
114
  tracks: Spotted::Models::Users::PlaylistCreateResponse::Tracks,
115
115
  type: String,
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.14.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Spotted