spotted 0.14.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/README.md +1 -1
- data/lib/spotted/models/playlist_retrieve_response.rb +14 -12
- data/lib/spotted/models/playlist_update_params.rb +15 -13
- data/lib/spotted/models/playlists/follower_follow_params.rb +6 -4
- data/lib/spotted/models/simplified_playlist_object.rb +14 -12
- data/lib/spotted/models/users/playlist_create_params.rb +17 -15
- data/lib/spotted/models/users/playlist_create_response.rb +14 -12
- data/lib/spotted/resources/playlists/followers.rb +2 -2
- data/lib/spotted/resources/playlists.rb +3 -3
- data/lib/spotted/resources/users/playlists.rb +3 -3
- data/lib/spotted/version.rb +1 -1
- data/rbi/spotted/models/playlist_retrieve_response.rbi +17 -17
- data/rbi/spotted/models/playlist_update_params.rbi +26 -19
- data/rbi/spotted/models/playlists/follower_follow_params.rbi +16 -6
- data/rbi/spotted/models/simplified_playlist_object.rbi +17 -17
- data/rbi/spotted/models/users/playlist_create_params.rbi +30 -23
- data/rbi/spotted/models/users/playlist_create_response.rbi +17 -17
- data/rbi/spotted/resources/playlists/followers.rbi +3 -2
- data/rbi/spotted/resources/playlists.rbi +8 -7
- data/rbi/spotted/resources/users/playlists.rbi +10 -9
- data/sig/spotted/models/playlist_retrieve_response.rbs +7 -7
- data/sig/spotted/models/playlist_update_params.rbs +14 -7
- data/sig/spotted/models/playlists/follower_follow_params.rbs +10 -5
- data/sig/spotted/models/simplified_playlist_object.rbs +7 -7
- data/sig/spotted/models/users/playlist_create_params.rbs +14 -7
- data/sig/spotted/models/users/playlist_create_response.rbs +7 -7
- data/sig/spotted/resources/playlists/followers.rbs +1 -1
- data/sig/spotted/resources/playlists.rbs +1 -1
- data/sig/spotted/resources/users/playlists.rbs +1 -1
- metadata +1 -1
|
@@ -4,6 +4,7 @@ module Spotted
|
|
|
4
4
|
type playlist_create_response =
|
|
5
5
|
{
|
|
6
6
|
id: String,
|
|
7
|
+
components_schemas_properties_published: 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_published: bool?
|
|
28
|
+
|
|
29
|
+
def components_schemas_properties_published=: (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_published: 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_published: 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,
|
|
@@ -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
|
|