spotted 0.16.0 → 0.18.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 +24 -0
- data/README.md +2 -2
- data/lib/spotted/models/playlist_retrieve_response.rb +12 -14
- data/lib/spotted/models/playlist_update_params.rb +13 -15
- data/lib/spotted/models/playlists/follower_follow_params.rb +4 -6
- data/lib/spotted/models/simplified_playlist_object.rb +12 -14
- data/lib/spotted/models/users/playlist_create_params.rb +15 -17
- data/lib/spotted/models/users/playlist_create_response.rb +12 -14
- 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 +19 -26
- data/rbi/spotted/models/playlists/follower_follow_params.rbi +6 -16
- data/rbi/spotted/models/simplified_playlist_object.rbi +17 -17
- data/rbi/spotted/models/users/playlist_create_params.rbi +23 -30
- data/rbi/spotted/models/users/playlist_create_response.rbi +17 -17
- data/rbi/spotted/resources/playlists/followers.rbi +2 -3
- data/rbi/spotted/resources/playlists.rbi +7 -8
- data/rbi/spotted/resources/users/playlists.rbi +9 -10
- data/sig/spotted/models/playlist_retrieve_response.rbs +7 -7
- data/sig/spotted/models/playlist_update_params.rbs +7 -14
- data/sig/spotted/models/playlists/follower_follow_params.rbs +5 -10
- data/sig/spotted/models/simplified_playlist_object.rbs +7 -7
- data/sig/spotted/models/users/playlist_create_params.rbs +7 -14
- 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
|
@@ -2,12 +2,7 @@ module Spotted
|
|
|
2
2
|
module Models
|
|
3
3
|
module Users
|
|
4
4
|
type playlist_create_params =
|
|
5
|
-
{
|
|
6
|
-
name: String,
|
|
7
|
-
paths_request_body_content_application_json_schema_properties_published: bool,
|
|
8
|
-
collaborative: bool,
|
|
9
|
-
description: String
|
|
10
|
-
}
|
|
5
|
+
{ name: String, collaborative: bool, description: String, public: bool }
|
|
11
6
|
& Spotted::Internal::Type::request_parameters
|
|
12
7
|
|
|
13
8
|
class PlaylistCreateParams < Spotted::Internal::Type::BaseModel
|
|
@@ -16,12 +11,6 @@ module Spotted
|
|
|
16
11
|
|
|
17
12
|
attr_accessor name: String
|
|
18
13
|
|
|
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
|
-
|
|
25
14
|
attr_reader collaborative: bool?
|
|
26
15
|
|
|
27
16
|
def collaborative=: (bool) -> bool
|
|
@@ -30,19 +19,23 @@ module Spotted
|
|
|
30
19
|
|
|
31
20
|
def description=: (String) -> String
|
|
32
21
|
|
|
22
|
+
attr_reader public: bool?
|
|
23
|
+
|
|
24
|
+
def public=: (bool) -> bool
|
|
25
|
+
|
|
33
26
|
def initialize: (
|
|
34
27
|
name: String,
|
|
35
|
-
?paths_request_body_content_application_json_schema_properties_published: bool,
|
|
36
28
|
?collaborative: bool,
|
|
37
29
|
?description: String,
|
|
30
|
+
?public: bool,
|
|
38
31
|
?request_options: Spotted::request_opts
|
|
39
32
|
) -> void
|
|
40
33
|
|
|
41
34
|
def to_hash: -> {
|
|
42
35
|
name: String,
|
|
43
|
-
paths_request_body_content_application_json_schema_properties_published: bool,
|
|
44
36
|
collaborative: bool,
|
|
45
37
|
description: String,
|
|
38
|
+
public: bool,
|
|
46
39
|
request_options: Spotted::RequestOptions
|
|
47
40
|
}
|
|
48
41
|
end
|
|
@@ -4,7 +4,6 @@ module Spotted
|
|
|
4
4
|
type playlist_create_response =
|
|
5
5
|
{
|
|
6
6
|
id: String,
|
|
7
|
-
components_schemas_properties_published: bool,
|
|
8
7
|
collaborative: bool,
|
|
9
8
|
description: String?,
|
|
10
9
|
external_urls: Spotted::ExternalURLObject,
|
|
@@ -13,6 +12,7 @@ module Spotted
|
|
|
13
12
|
images: ::Array[Spotted::ImageObject],
|
|
14
13
|
name: String,
|
|
15
14
|
owner: Spotted::Models::Users::PlaylistCreateResponse::Owner,
|
|
15
|
+
published: bool,
|
|
16
16
|
snapshot_id: String,
|
|
17
17
|
tracks: Spotted::Models::Users::PlaylistCreateResponse::Tracks,
|
|
18
18
|
type: String,
|
|
@@ -24,10 +24,6 @@ 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
|
-
|
|
31
27
|
attr_reader collaborative: bool?
|
|
32
28
|
|
|
33
29
|
def collaborative=: (bool) -> bool
|
|
@@ -64,6 +60,10 @@ module Spotted
|
|
|
64
60
|
Spotted::Models::Users::PlaylistCreateResponse::Owner
|
|
65
61
|
) -> Spotted::Models::Users::PlaylistCreateResponse::Owner
|
|
66
62
|
|
|
63
|
+
attr_reader published: bool?
|
|
64
|
+
|
|
65
|
+
def published=: (bool) -> bool
|
|
66
|
+
|
|
67
67
|
attr_reader snapshot_id: String?
|
|
68
68
|
|
|
69
69
|
def snapshot_id=: (String) -> String
|
|
@@ -84,7 +84,6 @@ module Spotted
|
|
|
84
84
|
|
|
85
85
|
def initialize: (
|
|
86
86
|
?id: String,
|
|
87
|
-
?components_schemas_properties_published: bool,
|
|
88
87
|
?collaborative: bool,
|
|
89
88
|
?description: String?,
|
|
90
89
|
?external_urls: Spotted::ExternalURLObject,
|
|
@@ -93,6 +92,7 @@ module Spotted
|
|
|
93
92
|
?images: ::Array[Spotted::ImageObject],
|
|
94
93
|
?name: String,
|
|
95
94
|
?owner: Spotted::Models::Users::PlaylistCreateResponse::Owner,
|
|
95
|
+
?published: bool,
|
|
96
96
|
?snapshot_id: String,
|
|
97
97
|
?tracks: Spotted::Models::Users::PlaylistCreateResponse::Tracks,
|
|
98
98
|
?type: String,
|
|
@@ -101,7 +101,6 @@ module Spotted
|
|
|
101
101
|
|
|
102
102
|
def to_hash: -> {
|
|
103
103
|
id: String,
|
|
104
|
-
components_schemas_properties_published: bool,
|
|
105
104
|
collaborative: bool,
|
|
106
105
|
description: String?,
|
|
107
106
|
external_urls: Spotted::ExternalURLObject,
|
|
@@ -110,6 +109,7 @@ module Spotted
|
|
|
110
109
|
images: ::Array[Spotted::ImageObject],
|
|
111
110
|
name: String,
|
|
112
111
|
owner: Spotted::Models::Users::PlaylistCreateResponse::Owner,
|
|
112
|
+
published: 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,
|
|
21
20
|
?collaborative: bool,
|
|
22
21
|
?description: String,
|
|
23
22
|
?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,
|
|
9
8
|
?collaborative: bool,
|
|
10
9
|
?description: String,
|
|
10
|
+
?public: bool,
|
|
11
11
|
?request_options: Spotted::request_opts
|
|
12
12
|
) -> Spotted::Models::Users::PlaylistCreateResponse
|
|
13
13
|
|