songtradr_api_client_ruby 1.12.21 → 1.12.22

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 (165) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +5 -5
  4. data/docs/CategoryMediumDTO.md +3 -3
  5. data/docs/FileSmallDTO.md +3 -3
  6. data/docs/MusicalFeaturesDTO.md +38 -38
  7. data/docs/PlaylistLargeDTO.md +7 -7
  8. data/docs/ProductMediumDTO.md +5 -5
  9. data/docs/ProductPartyDTO.md +3 -3
  10. data/docs/RecordingGenrePredictionDTO.md +3 -3
  11. data/docs/RecordingLargeDTO.md +11 -11
  12. data/docs/RecordingMediumDTO.md +11 -11
  13. data/docs/RecordingMinimalWithMusicalFeaturesDTO.md +3 -3
  14. data/docs/RecordingPartyDTO.md +3 -3
  15. data/docs/RecordingSmallDTO.md +4 -4
  16. data/getspec.rb +28 -5
  17. data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +1 -1
  18. data/lib/songtradr_api_client_ruby/api/party_api.rb +1 -1
  19. data/lib/songtradr_api_client_ruby/api/playlist_api.rb +1 -1
  20. data/lib/songtradr_api_client_ruby/api/recording_api.rb +1 -1
  21. data/lib/songtradr_api_client_ruby/api/user_api.rb +1 -1
  22. data/lib/songtradr_api_client_ruby/api_client.rb +1 -1
  23. data/lib/songtradr_api_client_ruby/api_error.rb +1 -1
  24. data/lib/songtradr_api_client_ruby/configuration.rb +1 -1
  25. data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +14 -14
  26. data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +1 -1
  27. data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +1 -1
  28. data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +1 -1
  29. data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +1 -1
  30. data/lib/songtradr_api_client_ruby/models/error_response.rb +1 -1
  31. data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +1 -1
  32. data/lib/songtradr_api_client_ruby/models/file_dto.rb +1 -1
  33. data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +1 -1
  34. data/lib/songtradr_api_client_ruby/models/file_minimal_with_url_dto.rb +1 -1
  35. data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +19 -19
  36. data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +1 -1
  37. data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +1 -1
  38. data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +1 -1
  39. data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +1 -1
  40. data/lib/songtradr_api_client_ruby/models/genre_dto.rb +1 -1
  41. data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +1 -1
  42. data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +1 -1
  43. data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +1 -1
  44. data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +1 -1
  45. data/lib/songtradr_api_client_ruby/models/login_dto.rb +1 -1
  46. data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +273 -273
  47. data/lib/songtradr_api_client_ruby/models/p_line_dto.rb +1 -1
  48. data/lib/songtradr_api_client_ruby/models/party_large_dto.rb +1 -1
  49. data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +1 -1
  50. data/lib/songtradr_api_client_ruby/models/playlist_large_dto.rb +36 -36
  51. data/lib/songtradr_api_client_ruby/models/product_medium_dto.rb +29 -29
  52. data/lib/songtradr_api_client_ruby/models/product_party_dto.rb +14 -14
  53. data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +1 -1
  54. data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +19 -19
  55. data/lib/songtradr_api_client_ruby/models/recording_large_dto.rb +64 -64
  56. data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +1 -1
  57. data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +60 -60
  58. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +14 -14
  59. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +1 -1
  60. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +1 -1
  61. data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +14 -14
  62. data/lib/songtradr_api_client_ruby/models/recording_playlist_dto.rb +1 -1
  63. data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +22 -22
  64. data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +1 -1
  65. data/lib/songtradr_api_client_ruby/models/save_file_recording_dto.rb +1 -1
  66. data/lib/songtradr_api_client_ruby/models/save_playlist_dto.rb +1 -1
  67. data/lib/songtradr_api_client_ruby/models/save_recording_genre_dto.rb +1 -1
  68. data/lib/songtradr_api_client_ruby/models/save_recording_party_dto.rb +1 -1
  69. data/lib/songtradr_api_client_ruby/models/save_recording_playlist_dto.rb +1 -1
  70. data/lib/songtradr_api_client_ruby/models/save_recording_tag_dto.rb +1 -1
  71. data/lib/songtradr_api_client_ruby/models/save_referrer_dto.rb +1 -1
  72. data/lib/songtradr_api_client_ruby/models/save_taggrams_dto.rb +1 -1
  73. data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +1 -1
  74. data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +1 -1
  75. data/lib/songtradr_api_client_ruby/models/search_recording_granular_abstraction_dto.rb +1 -1
  76. data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +1 -1
  77. data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +1 -1
  78. data/lib/songtradr_api_client_ruby/models/tag_dto.rb +1 -1
  79. data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +1 -1
  80. data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +1 -1
  81. data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +1 -1
  82. data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +1 -1
  83. data/lib/songtradr_api_client_ruby/models/title_dto.rb +1 -1
  84. data/lib/songtradr_api_client_ruby/models/token_request.rb +1 -1
  85. data/lib/songtradr_api_client_ruby/models/track_to_medium_product_dto.rb +1 -1
  86. data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +1 -1
  87. data/lib/songtradr_api_client_ruby/models/usage_dto.rb +1 -1
  88. data/lib/songtradr_api_client_ruby/models/user_dto.rb +1 -1
  89. data/lib/songtradr_api_client_ruby/version.rb +2 -2
  90. data/lib/songtradr_api_client_ruby.rb +1 -1
  91. data/openapi-generator-config.yaml +4 -3
  92. data/songtradr_api_client_ruby.gemspec +4 -4
  93. data/spec/api/allowed_values_api_spec.rb +1 -1
  94. data/spec/api/party_api_spec.rb +1 -1
  95. data/spec/api/playlist_api_spec.rb +1 -1
  96. data/spec/api/recording_api_spec.rb +1 -1
  97. data/spec/api/user_api_spec.rb +1 -1
  98. data/spec/api_client_spec.rb +1 -1
  99. data/spec/configuration_spec.rb +1 -1
  100. data/spec/models/category_medium_dto_spec.rb +3 -3
  101. data/spec/models/category_minimal_dto_spec.rb +1 -1
  102. data/spec/models/config_access_dto_spec.rb +1 -1
  103. data/spec/models/config_identifier_dto_spec.rb +1 -1
  104. data/spec/models/contributor_type_dto_spec.rb +1 -1
  105. data/spec/models/error_response_spec.rb +1 -1
  106. data/spec/models/field_summary_dto_spec.rb +1 -1
  107. data/spec/models/file_dto_spec.rb +1 -1
  108. data/spec/models/file_list_dto_spec.rb +1 -1
  109. data/spec/models/file_minimal_with_url_dto_spec.rb +1 -1
  110. data/spec/models/file_small_dto_spec.rb +7 -7
  111. data/spec/models/file_upload_dto_spec.rb +1 -1
  112. data/spec/models/file_w_ith_url_dto_spec.rb +1 -1
  113. data/spec/models/files_summary_dto_spec.rb +1 -1
  114. data/spec/models/forgot_password_dto_spec.rb +1 -1
  115. data/spec/models/genre_dto_spec.rb +1 -1
  116. data/spec/models/genre_minimal_dto_spec.rb +1 -1
  117. data/spec/models/genres_summary_dto_spec.rb +1 -1
  118. data/spec/models/init_put_recording_audio_dto_spec.rb +1 -1
  119. data/spec/models/jwt_token_dto_spec.rb +1 -1
  120. data/spec/models/login_dto_spec.rb +1 -1
  121. data/spec/models/musical_features_dto_spec.rb +104 -104
  122. data/spec/models/p_line_dto_spec.rb +1 -1
  123. data/spec/models/party_large_dto_spec.rb +1 -1
  124. data/spec/models/party_small_dto_spec.rb +1 -1
  125. data/spec/models/playlist_large_dto_spec.rb +10 -10
  126. data/spec/models/product_medium_dto_spec.rb +7 -7
  127. data/spec/models/product_party_dto_spec.rb +3 -3
  128. data/spec/models/recording_for_similarity_search_dto_spec.rb +1 -1
  129. data/spec/models/recording_genre_prediction_dto_spec.rb +4 -4
  130. data/spec/models/recording_large_dto_spec.rb +12 -12
  131. data/spec/models/recording_list_dto_spec.rb +1 -1
  132. data/spec/models/recording_medium_dto_spec.rb +11 -11
  133. data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +3 -3
  134. data/spec/models/recording_minimal_with_taggrams_dto_spec.rb +1 -1
  135. data/spec/models/recording_minimal_with_tagstrengths_dto_spec.rb +1 -1
  136. data/spec/models/recording_party_dto_spec.rb +3 -3
  137. data/spec/models/recording_playlist_dto_spec.rb +1 -1
  138. data/spec/models/recording_small_dto_spec.rb +3 -3
  139. data/spec/models/recording_tag_small_dto_spec.rb +1 -1
  140. data/spec/models/save_file_recording_dto_spec.rb +1 -1
  141. data/spec/models/save_playlist_dto_spec.rb +1 -1
  142. data/spec/models/save_recording_genre_dto_spec.rb +1 -1
  143. data/spec/models/save_recording_party_dto_spec.rb +1 -1
  144. data/spec/models/save_recording_playlist_dto_spec.rb +1 -1
  145. data/spec/models/save_recording_tag_dto_spec.rb +1 -1
  146. data/spec/models/save_referrer_dto_spec.rb +1 -1
  147. data/spec/models/save_taggrams_dto_spec.rb +1 -1
  148. data/spec/models/save_user_dto_spec.rb +1 -1
  149. data/spec/models/search_filter_values_dto_spec.rb +1 -1
  150. data/spec/models/search_recording_granular_abstraction_dto_spec.rb +1 -1
  151. data/spec/models/search_recording_granular_dto_spec.rb +1 -1
  152. data/spec/models/sign_up_dto_spec.rb +1 -1
  153. data/spec/models/tag_dto_spec.rb +1 -1
  154. data/spec/models/tag_small_dto_spec.rb +1 -1
  155. data/spec/models/taggram_dto_spec.rb +1 -1
  156. data/spec/models/tags_summary_dto_spec.rb +1 -1
  157. data/spec/models/tagstrength_dto_spec.rb +1 -1
  158. data/spec/models/title_dto_spec.rb +1 -1
  159. data/spec/models/token_request_spec.rb +1 -1
  160. data/spec/models/track_to_medium_product_dto_spec.rb +1 -1
  161. data/spec/models/update_password_dto_spec.rb +1 -1
  162. data/spec/models/usage_dto_spec.rb +1 -1
  163. data/spec/models/user_dto_spec.rb +1 -1
  164. data/spec/spec_helper.rb +1 -1
  165. metadata +58 -78
@@ -3,7 +3,7 @@
3
3
 
4
4
  #This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
5
5
 
6
- The version of the OpenAPI document: 1.12.21
6
+ The version of the OpenAPI document: 1.12.22
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.0.0-SNAPSHOT
@@ -18,43 +18,43 @@ module SongtradrApiClientRuby
18
18
  class RecordingLargeDTO
19
19
  attr_accessor :duration
20
20
 
21
- attr_accessor :tags
22
-
23
- attr_accessor :pline
24
-
25
- attr_accessor :isrc
26
-
27
- attr_accessor :titles
28
-
29
21
  attr_accessor :tracks
30
22
 
31
23
  attr_accessor :musical_features
32
24
 
25
+ attr_accessor :pline
26
+
27
+ attr_accessor :genre_predictions
28
+
33
29
  attr_accessor :parties
34
30
 
35
31
  attr_accessor :genres
36
32
 
37
33
  attr_accessor :language_of_performance
38
34
 
39
- attr_accessor :spotify_id
35
+ attr_accessor :titles
40
36
 
41
- attr_accessor :genre_predictions
37
+ attr_accessor :isrc
38
+
39
+ attr_accessor :tags
40
+
41
+ attr_accessor :spotify_id
42
42
 
43
43
  # Attribute mapping from ruby-style variable name to JSON key.
44
44
  def self.attribute_map
45
45
  {
46
46
  :'duration' => :'duration',
47
- :'tags' => :'tags',
48
- :'pline' => :'pline',
49
- :'isrc' => :'isrc',
50
- :'titles' => :'titles',
51
47
  :'tracks' => :'tracks',
52
48
  :'musical_features' => :'musicalFeatures',
49
+ :'pline' => :'pline',
50
+ :'genre_predictions' => :'genrePredictions',
53
51
  :'parties' => :'parties',
54
52
  :'genres' => :'genres',
55
53
  :'language_of_performance' => :'languageOfPerformance',
56
- :'spotify_id' => :'spotifyId',
57
- :'genre_predictions' => :'genrePredictions'
54
+ :'titles' => :'titles',
55
+ :'isrc' => :'isrc',
56
+ :'tags' => :'tags',
57
+ :'spotify_id' => :'spotifyId'
58
58
  }
59
59
  end
60
60
 
@@ -67,17 +67,17 @@ module SongtradrApiClientRuby
67
67
  def self.openapi_types
68
68
  {
69
69
  :'duration' => :'Integer',
70
- :'tags' => :'Array<RecordingTagSmallDTO>',
71
- :'pline' => :'PLineDTO',
72
- :'isrc' => :'String',
73
- :'titles' => :'Array<TitleDTO>',
74
70
  :'tracks' => :'Array<TrackToMediumProductDTO>',
75
71
  :'musical_features' => :'MusicalFeaturesDTO',
72
+ :'pline' => :'PLineDTO',
73
+ :'genre_predictions' => :'Array<RecordingGenrePredictionDTO>',
76
74
  :'parties' => :'Array<RecordingPartyDTO>',
77
75
  :'genres' => :'Array<GenreDTO>',
78
76
  :'language_of_performance' => :'String',
79
- :'spotify_id' => :'String',
80
- :'genre_predictions' => :'Array<RecordingGenrePredictionDTO>'
77
+ :'titles' => :'Array<TitleDTO>',
78
+ :'isrc' => :'String',
79
+ :'tags' => :'Array<RecordingTagSmallDTO>',
80
+ :'spotify_id' => :'String'
81
81
  }
82
82
  end
83
83
 
@@ -106,26 +106,6 @@ module SongtradrApiClientRuby
106
106
  self.duration = attributes[:'duration']
107
107
  end
108
108
 
109
- if attributes.key?(:'tags')
110
- if (value = attributes[:'tags']).is_a?(Array)
111
- self.tags = value
112
- end
113
- end
114
-
115
- if attributes.key?(:'pline')
116
- self.pline = attributes[:'pline']
117
- end
118
-
119
- if attributes.key?(:'isrc')
120
- self.isrc = attributes[:'isrc']
121
- end
122
-
123
- if attributes.key?(:'titles')
124
- if (value = attributes[:'titles']).is_a?(Array)
125
- self.titles = value
126
- end
127
- end
128
-
129
109
  if attributes.key?(:'tracks')
130
110
  if (value = attributes[:'tracks']).is_a?(Array)
131
111
  self.tracks = value
@@ -136,6 +116,16 @@ module SongtradrApiClientRuby
136
116
  self.musical_features = attributes[:'musical_features']
137
117
  end
138
118
 
119
+ if attributes.key?(:'pline')
120
+ self.pline = attributes[:'pline']
121
+ end
122
+
123
+ if attributes.key?(:'genre_predictions')
124
+ if (value = attributes[:'genre_predictions']).is_a?(Array)
125
+ self.genre_predictions = value
126
+ end
127
+ end
128
+
139
129
  if attributes.key?(:'parties')
140
130
  if (value = attributes[:'parties']).is_a?(Array)
141
131
  self.parties = value
@@ -152,15 +142,25 @@ module SongtradrApiClientRuby
152
142
  self.language_of_performance = attributes[:'language_of_performance']
153
143
  end
154
144
 
155
- if attributes.key?(:'spotify_id')
156
- self.spotify_id = attributes[:'spotify_id']
145
+ if attributes.key?(:'titles')
146
+ if (value = attributes[:'titles']).is_a?(Array)
147
+ self.titles = value
148
+ end
157
149
  end
158
150
 
159
- if attributes.key?(:'genre_predictions')
160
- if (value = attributes[:'genre_predictions']).is_a?(Array)
161
- self.genre_predictions = value
151
+ if attributes.key?(:'isrc')
152
+ self.isrc = attributes[:'isrc']
153
+ end
154
+
155
+ if attributes.key?(:'tags')
156
+ if (value = attributes[:'tags']).is_a?(Array)
157
+ self.tags = value
162
158
  end
163
159
  end
160
+
161
+ if attributes.key?(:'spotify_id')
162
+ self.spotify_id = attributes[:'spotify_id']
163
+ end
164
164
  end
165
165
 
166
166
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -181,18 +181,18 @@ module SongtradrApiClientRuby
181
181
  true
182
182
  end
183
183
 
184
- # Custom attribute writer method with validation
185
- # @param [Object] titles Value to be assigned
186
- def titles=(titles)
187
- @titles = titles
188
- end
189
-
190
184
  # Custom attribute writer method with validation
191
185
  # @param [Object] tracks Value to be assigned
192
186
  def tracks=(tracks)
193
187
  @tracks = tracks
194
188
  end
195
189
 
190
+ # Custom attribute writer method with validation
191
+ # @param [Object] genre_predictions Value to be assigned
192
+ def genre_predictions=(genre_predictions)
193
+ @genre_predictions = genre_predictions
194
+ end
195
+
196
196
  # Custom attribute writer method with validation
197
197
  # @param [Object] parties Value to be assigned
198
198
  def parties=(parties)
@@ -206,9 +206,9 @@ module SongtradrApiClientRuby
206
206
  end
207
207
 
208
208
  # Custom attribute writer method with validation
209
- # @param [Object] genre_predictions Value to be assigned
210
- def genre_predictions=(genre_predictions)
211
- @genre_predictions = genre_predictions
209
+ # @param [Object] titles Value to be assigned
210
+ def titles=(titles)
211
+ @titles = titles
212
212
  end
213
213
 
214
214
  # Checks equality by comparing each attribute.
@@ -217,17 +217,17 @@ module SongtradrApiClientRuby
217
217
  return true if self.equal?(o)
218
218
  self.class == o.class &&
219
219
  duration == o.duration &&
220
- tags == o.tags &&
221
- pline == o.pline &&
222
- isrc == o.isrc &&
223
- titles == o.titles &&
224
220
  tracks == o.tracks &&
225
221
  musical_features == o.musical_features &&
222
+ pline == o.pline &&
223
+ genre_predictions == o.genre_predictions &&
226
224
  parties == o.parties &&
227
225
  genres == o.genres &&
228
226
  language_of_performance == o.language_of_performance &&
229
- spotify_id == o.spotify_id &&
230
- genre_predictions == o.genre_predictions
227
+ titles == o.titles &&
228
+ isrc == o.isrc &&
229
+ tags == o.tags &&
230
+ spotify_id == o.spotify_id
231
231
  end
232
232
 
233
233
  # @see the `==` method
@@ -239,7 +239,7 @@ module SongtradrApiClientRuby
239
239
  # Calculates hash code according to all attributes.
240
240
  # @return [Integer] Hash code
241
241
  def hash
242
- [duration, tags, pline, isrc, titles, tracks, musical_features, parties, genres, language_of_performance, spotify_id, genre_predictions].hash
242
+ [duration, tracks, musical_features, pline, genre_predictions, parties, genres, language_of_performance, titles, isrc, tags, spotify_id].hash
243
243
  end
244
244
 
245
245
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
5
5
 
6
- The version of the OpenAPI document: 1.12.21
6
+ The version of the OpenAPI document: 1.12.22
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
3
3
 
4
4
  #This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
5
5
 
6
- The version of the OpenAPI document: 1.12.21
6
+ The version of the OpenAPI document: 1.12.22
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.0.0-SNAPSHOT
@@ -16,39 +16,39 @@ require 'time'
16
16
  module SongtradrApiClientRuby
17
17
  # Recording with a mid-sized field set.
18
18
  class RecordingMediumDTO
19
- attr_accessor :tags
20
-
21
- attr_accessor :isrc
22
-
23
- attr_accessor :release_date
24
-
25
- attr_accessor :titles
26
-
27
19
  attr_accessor :musical_features
28
20
 
21
+ attr_accessor :genre_predictions
22
+
29
23
  attr_accessor :recording_party_entities
30
24
 
31
25
  attr_accessor :genres
32
26
 
33
27
  attr_accessor :language_of_performance
34
28
 
35
- attr_accessor :spotify_id
29
+ attr_accessor :release_date
36
30
 
37
- attr_accessor :genre_predictions
31
+ attr_accessor :titles
32
+
33
+ attr_accessor :isrc
34
+
35
+ attr_accessor :tags
36
+
37
+ attr_accessor :spotify_id
38
38
 
39
39
  # Attribute mapping from ruby-style variable name to JSON key.
40
40
  def self.attribute_map
41
41
  {
42
- :'tags' => :'tags',
43
- :'isrc' => :'isrc',
44
- :'release_date' => :'releaseDate',
45
- :'titles' => :'titles',
46
42
  :'musical_features' => :'musicalFeatures',
43
+ :'genre_predictions' => :'genrePredictions',
47
44
  :'recording_party_entities' => :'recordingPartyEntities',
48
45
  :'genres' => :'genres',
49
46
  :'language_of_performance' => :'languageOfPerformance',
50
- :'spotify_id' => :'spotifyId',
51
- :'genre_predictions' => :'genrePredictions'
47
+ :'release_date' => :'releaseDate',
48
+ :'titles' => :'titles',
49
+ :'isrc' => :'isrc',
50
+ :'tags' => :'tags',
51
+ :'spotify_id' => :'spotifyId'
52
52
  }
53
53
  end
54
54
 
@@ -60,16 +60,16 @@ module SongtradrApiClientRuby
60
60
  # Attribute type mapping.
61
61
  def self.openapi_types
62
62
  {
63
- :'tags' => :'Array<RecordingTagSmallDTO>',
64
- :'isrc' => :'String',
65
- :'release_date' => :'Time',
66
- :'titles' => :'Array<TitleDTO>',
67
63
  :'musical_features' => :'MusicalFeaturesDTO',
64
+ :'genre_predictions' => :'Array<RecordingGenrePredictionDTO>',
68
65
  :'recording_party_entities' => :'Array<RecordingPartyDTO>',
69
66
  :'genres' => :'Array<GenreDTO>',
70
67
  :'language_of_performance' => :'String',
71
- :'spotify_id' => :'String',
72
- :'genre_predictions' => :'Array<RecordingGenrePredictionDTO>'
68
+ :'release_date' => :'Time',
69
+ :'titles' => :'Array<TitleDTO>',
70
+ :'isrc' => :'String',
71
+ :'tags' => :'Array<RecordingTagSmallDTO>',
72
+ :'spotify_id' => :'String'
73
73
  }
74
74
  end
75
75
 
@@ -94,30 +94,16 @@ module SongtradrApiClientRuby
94
94
  h[k.to_sym] = v
95
95
  }
96
96
 
97
- if attributes.key?(:'tags')
98
- if (value = attributes[:'tags']).is_a?(Array)
99
- self.tags = value
100
- end
101
- end
102
-
103
- if attributes.key?(:'isrc')
104
- self.isrc = attributes[:'isrc']
105
- end
106
-
107
- if attributes.key?(:'release_date')
108
- self.release_date = attributes[:'release_date']
97
+ if attributes.key?(:'musical_features')
98
+ self.musical_features = attributes[:'musical_features']
109
99
  end
110
100
 
111
- if attributes.key?(:'titles')
112
- if (value = attributes[:'titles']).is_a?(Array)
113
- self.titles = value
101
+ if attributes.key?(:'genre_predictions')
102
+ if (value = attributes[:'genre_predictions']).is_a?(Array)
103
+ self.genre_predictions = value
114
104
  end
115
105
  end
116
106
 
117
- if attributes.key?(:'musical_features')
118
- self.musical_features = attributes[:'musical_features']
119
- end
120
-
121
107
  if attributes.key?(:'recording_party_entities')
122
108
  if (value = attributes[:'recording_party_entities']).is_a?(Array)
123
109
  self.recording_party_entities = value
@@ -134,15 +120,29 @@ module SongtradrApiClientRuby
134
120
  self.language_of_performance = attributes[:'language_of_performance']
135
121
  end
136
122
 
137
- if attributes.key?(:'spotify_id')
138
- self.spotify_id = attributes[:'spotify_id']
123
+ if attributes.key?(:'release_date')
124
+ self.release_date = attributes[:'release_date']
139
125
  end
140
126
 
141
- if attributes.key?(:'genre_predictions')
142
- if (value = attributes[:'genre_predictions']).is_a?(Array)
143
- self.genre_predictions = value
127
+ if attributes.key?(:'titles')
128
+ if (value = attributes[:'titles']).is_a?(Array)
129
+ self.titles = value
130
+ end
131
+ end
132
+
133
+ if attributes.key?(:'isrc')
134
+ self.isrc = attributes[:'isrc']
135
+ end
136
+
137
+ if attributes.key?(:'tags')
138
+ if (value = attributes[:'tags']).is_a?(Array)
139
+ self.tags = value
144
140
  end
145
141
  end
142
+
143
+ if attributes.key?(:'spotify_id')
144
+ self.spotify_id = attributes[:'spotify_id']
145
+ end
146
146
  end
147
147
 
148
148
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -164,9 +164,9 @@ module SongtradrApiClientRuby
164
164
  end
165
165
 
166
166
  # Custom attribute writer method with validation
167
- # @param [Object] titles Value to be assigned
168
- def titles=(titles)
169
- @titles = titles
167
+ # @param [Object] genre_predictions Value to be assigned
168
+ def genre_predictions=(genre_predictions)
169
+ @genre_predictions = genre_predictions
170
170
  end
171
171
 
172
172
  # Custom attribute writer method with validation
@@ -182,9 +182,9 @@ module SongtradrApiClientRuby
182
182
  end
183
183
 
184
184
  # Custom attribute writer method with validation
185
- # @param [Object] genre_predictions Value to be assigned
186
- def genre_predictions=(genre_predictions)
187
- @genre_predictions = genre_predictions
185
+ # @param [Object] titles Value to be assigned
186
+ def titles=(titles)
187
+ @titles = titles
188
188
  end
189
189
 
190
190
  # Checks equality by comparing each attribute.
@@ -192,16 +192,16 @@ module SongtradrApiClientRuby
192
192
  def ==(o)
193
193
  return true if self.equal?(o)
194
194
  self.class == o.class &&
195
- tags == o.tags &&
196
- isrc == o.isrc &&
197
- release_date == o.release_date &&
198
- titles == o.titles &&
199
195
  musical_features == o.musical_features &&
196
+ genre_predictions == o.genre_predictions &&
200
197
  recording_party_entities == o.recording_party_entities &&
201
198
  genres == o.genres &&
202
199
  language_of_performance == o.language_of_performance &&
203
- spotify_id == o.spotify_id &&
204
- genre_predictions == o.genre_predictions
200
+ release_date == o.release_date &&
201
+ titles == o.titles &&
202
+ isrc == o.isrc &&
203
+ tags == o.tags &&
204
+ spotify_id == o.spotify_id
205
205
  end
206
206
 
207
207
  # @see the `==` method
@@ -213,7 +213,7 @@ module SongtradrApiClientRuby
213
213
  # Calculates hash code according to all attributes.
214
214
  # @return [Integer] Hash code
215
215
  def hash
216
- [tags, isrc, release_date, titles, musical_features, recording_party_entities, genres, language_of_performance, spotify_id, genre_predictions].hash
216
+ [musical_features, genre_predictions, recording_party_entities, genres, language_of_performance, release_date, titles, isrc, tags, spotify_id].hash
217
217
  end
218
218
 
219
219
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
5
5
 
6
- The version of the OpenAPI document: 1.12.21
6
+ The version of the OpenAPI document: 1.12.22
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.0.0-SNAPSHOT
@@ -16,15 +16,15 @@ require 'time'
16
16
  module SongtradrApiClientRuby
17
17
  # Recording in its minimal form, but with AI-predicted musical features.
18
18
  class RecordingMinimalWithMusicalFeaturesDTO
19
- attr_accessor :isrc
20
-
21
19
  attr_accessor :musical_features
22
20
 
21
+ attr_accessor :isrc
22
+
23
23
  # Attribute mapping from ruby-style variable name to JSON key.
24
24
  def self.attribute_map
25
25
  {
26
- :'isrc' => :'isrc',
27
- :'musical_features' => :'musicalFeatures'
26
+ :'musical_features' => :'musicalFeatures',
27
+ :'isrc' => :'isrc'
28
28
  }
29
29
  end
30
30
 
@@ -36,8 +36,8 @@ module SongtradrApiClientRuby
36
36
  # Attribute type mapping.
37
37
  def self.openapi_types
38
38
  {
39
- :'isrc' => :'String',
40
- :'musical_features' => :'Array<MusicalFeaturesDTO>'
39
+ :'musical_features' => :'Array<MusicalFeaturesDTO>',
40
+ :'isrc' => :'String'
41
41
  }
42
42
  end
43
43
 
@@ -62,15 +62,15 @@ module SongtradrApiClientRuby
62
62
  h[k.to_sym] = v
63
63
  }
64
64
 
65
- if attributes.key?(:'isrc')
66
- self.isrc = attributes[:'isrc']
67
- end
68
-
69
65
  if attributes.key?(:'musical_features')
70
66
  if (value = attributes[:'musical_features']).is_a?(Array)
71
67
  self.musical_features = value
72
68
  end
73
69
  end
70
+
71
+ if attributes.key?(:'isrc')
72
+ self.isrc = attributes[:'isrc']
73
+ end
74
74
  end
75
75
 
76
76
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -96,8 +96,8 @@ module SongtradrApiClientRuby
96
96
  def ==(o)
97
97
  return true if self.equal?(o)
98
98
  self.class == o.class &&
99
- isrc == o.isrc &&
100
- musical_features == o.musical_features
99
+ musical_features == o.musical_features &&
100
+ isrc == o.isrc
101
101
  end
102
102
 
103
103
  # @see the `==` method
@@ -109,7 +109,7 @@ module SongtradrApiClientRuby
109
109
  # Calculates hash code according to all attributes.
110
110
  # @return [Integer] Hash code
111
111
  def hash
112
- [isrc, musical_features].hash
112
+ [musical_features, isrc].hash
113
113
  end
114
114
 
115
115
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
5
5
 
6
- The version of the OpenAPI document: 1.12.21
6
+ The version of the OpenAPI document: 1.12.22
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
3
3
 
4
4
  #This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
5
5
 
6
- The version of the OpenAPI document: 1.12.21
6
+ The version of the OpenAPI document: 1.12.22
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.0.0-SNAPSHOT
@@ -3,7 +3,7 @@
3
3
 
4
4
  #This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
5
5
 
6
- The version of the OpenAPI document: 1.12.21
6
+ The version of the OpenAPI document: 1.12.22
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.0.0-SNAPSHOT
@@ -16,15 +16,15 @@ require 'time'
16
16
  module SongtradrApiClientRuby
17
17
  # Party (person, group or organization) that contributed to a recording.
18
18
  class RecordingPartyDTO
19
- attr_accessor :contributor_types
20
-
21
19
  attr_accessor :party
22
20
 
21
+ attr_accessor :contributor_types
22
+
23
23
  # Attribute mapping from ruby-style variable name to JSON key.
24
24
  def self.attribute_map
25
25
  {
26
- :'contributor_types' => :'contributorTypes',
27
- :'party' => :'party'
26
+ :'party' => :'party',
27
+ :'contributor_types' => :'contributorTypes'
28
28
  }
29
29
  end
30
30
 
@@ -36,8 +36,8 @@ module SongtradrApiClientRuby
36
36
  # Attribute type mapping.
37
37
  def self.openapi_types
38
38
  {
39
- :'contributor_types' => :'Array<ContributorTypeDTO>',
40
- :'party' => :'PartySmallDTO'
39
+ :'party' => :'PartySmallDTO',
40
+ :'contributor_types' => :'Array<ContributorTypeDTO>'
41
41
  }
42
42
  end
43
43
 
@@ -62,15 +62,15 @@ module SongtradrApiClientRuby
62
62
  h[k.to_sym] = v
63
63
  }
64
64
 
65
+ if attributes.key?(:'party')
66
+ self.party = attributes[:'party']
67
+ end
68
+
65
69
  if attributes.key?(:'contributor_types')
66
70
  if (value = attributes[:'contributor_types']).is_a?(Array)
67
71
  self.contributor_types = value
68
72
  end
69
73
  end
70
-
71
- if attributes.key?(:'party')
72
- self.party = attributes[:'party']
73
- end
74
74
  end
75
75
 
76
76
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -96,8 +96,8 @@ module SongtradrApiClientRuby
96
96
  def ==(o)
97
97
  return true if self.equal?(o)
98
98
  self.class == o.class &&
99
- contributor_types == o.contributor_types &&
100
- party == o.party
99
+ party == o.party &&
100
+ contributor_types == o.contributor_types
101
101
  end
102
102
 
103
103
  # @see the `==` method
@@ -109,7 +109,7 @@ module SongtradrApiClientRuby
109
109
  # Calculates hash code according to all attributes.
110
110
  # @return [Integer] Hash code
111
111
  def hash
112
- [contributor_types, party].hash
112
+ [party, contributor_types].hash
113
113
  end
114
114
 
115
115
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
5
5
 
6
- The version of the OpenAPI document: 1.12.21
6
+ The version of the OpenAPI document: 1.12.22
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.0.0-SNAPSHOT