songtradr_api_client_ruby 1.18.0 → 2.0.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 (123) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +5 -7
  4. data/docs/CategoryMediumDTO.md +3 -3
  5. data/docs/FileSmallDTO.md +2 -2
  6. data/docs/MusicalFeaturesDTO.md +37 -37
  7. data/docs/RecordingApi.md +0 -68
  8. data/docs/RecordingMediumDTO.md +2 -2
  9. data/docs/RecordingMinimalWithMusicalFeaturesDTO.md +3 -3
  10. data/docs/RecordingPartyDTO.md +3 -3
  11. data/docs/RecordingSmallDTO.md +2 -2
  12. data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +1 -1
  13. data/lib/songtradr_api_client_ruby/api/recording_api.rb +1 -67
  14. data/lib/songtradr_api_client_ruby/api/user_api.rb +1 -1
  15. data/lib/songtradr_api_client_ruby/api_client.rb +1 -1
  16. data/lib/songtradr_api_client_ruby/api_error.rb +1 -1
  17. data/lib/songtradr_api_client_ruby/configuration.rb +1 -1
  18. data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +16 -16
  19. data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +1 -1
  20. data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +1 -1
  21. data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +1 -1
  22. data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +1 -1
  23. data/lib/songtradr_api_client_ruby/models/error_response.rb +1 -1
  24. data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +1 -1
  25. data/lib/songtradr_api_client_ruby/models/file_dto.rb +1 -1
  26. data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +1 -1
  27. data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +13 -13
  28. data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +1 -1
  29. data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +1 -1
  30. data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +1 -1
  31. data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +1 -1
  32. data/lib/songtradr_api_client_ruby/models/genre_dto.rb +1 -1
  33. data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +1 -1
  34. data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +1 -1
  35. data/lib/songtradr_api_client_ruby/models/image_recognition_response.rb +1 -1
  36. data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +1 -1
  37. data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +1 -1
  38. data/lib/songtradr_api_client_ruby/models/login_dto.rb +1 -1
  39. data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +179 -179
  40. data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +1 -1
  41. data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +1 -1
  42. data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +1 -1
  43. data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +1 -1
  44. data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +13 -13
  45. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +16 -16
  46. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +1 -1
  47. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +1 -1
  48. data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +16 -16
  49. data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +13 -13
  50. data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +1 -1
  51. data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +1 -1
  52. data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +1 -1
  53. data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +1 -1
  54. data/lib/songtradr_api_client_ruby/models/tag_dto.rb +1 -1
  55. data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +1 -1
  56. data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +1 -1
  57. data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +1 -1
  58. data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +1 -1
  59. data/lib/songtradr_api_client_ruby/models/title_dto.rb +1 -1
  60. data/lib/songtradr_api_client_ruby/models/token_request.rb +1 -1
  61. data/lib/songtradr_api_client_ruby/models/track_dto.rb +1 -1
  62. data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +1 -1
  63. data/lib/songtradr_api_client_ruby/models/user_dto.rb +1 -1
  64. data/lib/songtradr_api_client_ruby/models/video_recognition_response.rb +1 -1
  65. data/lib/songtradr_api_client_ruby/version.rb +2 -2
  66. data/lib/songtradr_api_client_ruby.rb +1 -2
  67. data/openapi-generator-config.yaml +1 -1
  68. data/songtradr_api_client_ruby.gemspec +1 -1
  69. data/spec/api/allowed_values_api_spec.rb +1 -1
  70. data/spec/api/recording_api_spec.rb +1 -12
  71. data/spec/api/user_api_spec.rb +1 -1
  72. data/spec/models/category_medium_dto_spec.rb +3 -3
  73. data/spec/models/category_minimal_dto_spec.rb +1 -1
  74. data/spec/models/config_access_dto_spec.rb +1 -1
  75. data/spec/models/config_identifier_dto_spec.rb +1 -1
  76. data/spec/models/contributor_type_dto_spec.rb +1 -1
  77. data/spec/models/error_response_spec.rb +1 -1
  78. data/spec/models/field_summary_dto_spec.rb +1 -1
  79. data/spec/models/file_dto_spec.rb +1 -1
  80. data/spec/models/file_list_dto_spec.rb +1 -1
  81. data/spec/models/file_small_dto_spec.rb +9 -9
  82. data/spec/models/file_upload_dto_spec.rb +1 -1
  83. data/spec/models/file_w_ith_url_dto_spec.rb +1 -1
  84. data/spec/models/files_summary_dto_spec.rb +1 -1
  85. data/spec/models/forgot_password_dto_spec.rb +1 -1
  86. data/spec/models/genre_dto_spec.rb +1 -1
  87. data/spec/models/genre_minimal_dto_spec.rb +1 -1
  88. data/spec/models/genres_summary_dto_spec.rb +1 -1
  89. data/spec/models/image_recognition_response_spec.rb +1 -1
  90. data/spec/models/init_put_recording_audio_dto_spec.rb +1 -1
  91. data/spec/models/jwt_token_dto_spec.rb +1 -1
  92. data/spec/models/login_dto_spec.rb +1 -1
  93. data/spec/models/musical_features_dto_spec.rb +109 -109
  94. data/spec/models/party_small_dto_spec.rb +1 -1
  95. data/spec/models/recording_for_similarity_search_dto_spec.rb +1 -1
  96. data/spec/models/recording_genre_prediction_dto_spec.rb +1 -1
  97. data/spec/models/recording_list_dto_spec.rb +1 -1
  98. data/spec/models/recording_medium_dto_spec.rb +7 -7
  99. data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +3 -3
  100. data/spec/models/recording_minimal_with_taggrams_dto_spec.rb +1 -1
  101. data/spec/models/recording_minimal_with_tagstrengths_dto_spec.rb +1 -1
  102. data/spec/models/recording_party_dto_spec.rb +3 -3
  103. data/spec/models/recording_small_dto_spec.rb +4 -4
  104. data/spec/models/recording_tag_small_dto_spec.rb +1 -1
  105. data/spec/models/save_user_dto_spec.rb +1 -1
  106. data/spec/models/search_filter_values_dto_spec.rb +1 -1
  107. data/spec/models/sign_up_dto_spec.rb +1 -1
  108. data/spec/models/tag_dto_spec.rb +1 -1
  109. data/spec/models/tag_small_dto_spec.rb +1 -1
  110. data/spec/models/taggram_dto_spec.rb +1 -1
  111. data/spec/models/tags_summary_dto_spec.rb +1 -1
  112. data/spec/models/tagstrength_dto_spec.rb +1 -1
  113. data/spec/models/title_dto_spec.rb +1 -1
  114. data/spec/models/token_request_spec.rb +1 -1
  115. data/spec/models/track_dto_spec.rb +1 -1
  116. data/spec/models/update_password_dto_spec.rb +1 -1
  117. data/spec/models/user_dto_spec.rb +1 -1
  118. data/spec/models/video_recognition_response_spec.rb +1 -1
  119. data/spec/spec_helper.rb +1 -1
  120. metadata +2 -6
  121. data/docs/SearchRecordingGranularDTO.md +0 -20
  122. data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +0 -232
  123. data/spec/models/search_recording_granular_dto_spec.rb +0 -42
@@ -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.18.0
6
+ The version of the OpenAPI document: 2.0.0
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.4.0-SNAPSHOT
@@ -19,11 +19,43 @@ module SongtradrApiClientRuby
19
19
  # Search for space
20
20
  attr_accessor :space
21
21
 
22
- attr_accessor :language_of_performance
23
-
24
22
  # Search for an arousal
25
23
  attr_accessor :arousal
26
24
 
25
+ attr_accessor :valence_affinity
26
+
27
+ attr_accessor :arousal_affinity
28
+
29
+ attr_accessor :pleasantness_affinity
30
+
31
+ attr_accessor :engagement_affinity
32
+
33
+ attr_accessor :energy_affinity
34
+
35
+ attr_accessor :tempo_affinity
36
+
37
+ attr_accessor :scale_affinity
38
+
39
+ attr_accessor :timbre_affinity
40
+
41
+ attr_accessor :roughness_affinity
42
+
43
+ attr_accessor :harmony_affinity
44
+
45
+ attr_accessor :texture_affinity
46
+
47
+ attr_accessor :groovyness_affinity
48
+
49
+ attr_accessor :space_affinity
50
+
51
+ attr_accessor :loudness_affinity
52
+
53
+ attr_accessor :key_affinity
54
+
55
+ attr_accessor :channel_suitability_affinity
56
+
57
+ attr_accessor :language_of_performance
58
+
27
59
  # Search for a dominant instrument
28
60
  attr_accessor :dominant_instrument
29
61
 
@@ -96,6 +128,8 @@ module SongtradrApiClientRuby
96
128
  # Search for loudness
97
129
  attr_accessor :loudness
98
130
 
131
+ attr_accessor :primary_mood_cluster_affinity
132
+
99
133
  # Search for a language of the lyrics
100
134
  attr_accessor :secondary_mood_cluster
101
135
 
@@ -142,8 +176,6 @@ module SongtradrApiClientRuby
142
176
 
143
177
  attr_accessor :song_rating_affinity
144
178
 
145
- attr_accessor :primary_mood_cluster_affinity
146
-
147
179
  attr_accessor :audience_age
148
180
 
149
181
  attr_accessor :audience_age_affinity
@@ -189,38 +221,6 @@ module SongtradrApiClientRuby
189
221
 
190
222
  attr_accessor :audience_region
191
223
 
192
- attr_accessor :harmony_affinity
193
-
194
- attr_accessor :texture_affinity
195
-
196
- attr_accessor :groovyness_affinity
197
-
198
- attr_accessor :space_affinity
199
-
200
- attr_accessor :loudness_affinity
201
-
202
- attr_accessor :key_affinity
203
-
204
- attr_accessor :channel_suitability_affinity
205
-
206
- attr_accessor :valence_affinity
207
-
208
- attr_accessor :arousal_affinity
209
-
210
- attr_accessor :pleasantness_affinity
211
-
212
- attr_accessor :engagement_affinity
213
-
214
- attr_accessor :energy_affinity
215
-
216
- attr_accessor :tempo_affinity
217
-
218
- attr_accessor :scale_affinity
219
-
220
- attr_accessor :timbre_affinity
221
-
222
- attr_accessor :roughness_affinity
223
-
224
224
  class EnumAttributeValidator
225
225
  attr_reader :datatype
226
226
  attr_reader :allowable_values
@@ -247,8 +247,24 @@ module SongtradrApiClientRuby
247
247
  def self.attribute_map
248
248
  {
249
249
  :'space' => :'space',
250
- :'language_of_performance' => :'languageOfPerformance',
251
250
  :'arousal' => :'arousal',
251
+ :'valence_affinity' => :'valenceAffinity',
252
+ :'arousal_affinity' => :'arousalAffinity',
253
+ :'pleasantness_affinity' => :'pleasantnessAffinity',
254
+ :'engagement_affinity' => :'engagementAffinity',
255
+ :'energy_affinity' => :'energyAffinity',
256
+ :'tempo_affinity' => :'tempoAffinity',
257
+ :'scale_affinity' => :'scaleAffinity',
258
+ :'timbre_affinity' => :'timbreAffinity',
259
+ :'roughness_affinity' => :'roughnessAffinity',
260
+ :'harmony_affinity' => :'harmonyAffinity',
261
+ :'texture_affinity' => :'textureAffinity',
262
+ :'groovyness_affinity' => :'groovynessAffinity',
263
+ :'space_affinity' => :'spaceAffinity',
264
+ :'loudness_affinity' => :'loudnessAffinity',
265
+ :'key_affinity' => :'keyAffinity',
266
+ :'channel_suitability_affinity' => :'channelSuitabilityAffinity',
267
+ :'language_of_performance' => :'languageOfPerformance',
252
268
  :'dominant_instrument' => :'dominantInstrument',
253
269
  :'energy' => :'energy',
254
270
  :'engagement' => :'engagement',
@@ -273,6 +289,7 @@ module SongtradrApiClientRuby
273
289
  :'use_case' => :'useCase',
274
290
  :'channel_suitability' => :'channelSuitability',
275
291
  :'loudness' => :'loudness',
292
+ :'primary_mood_cluster_affinity' => :'primaryMoodClusterAffinity',
276
293
  :'secondary_mood_cluster' => :'secondaryMoodCluster',
277
294
  :'secondary_mood_cluster_affinity' => :'secondaryMoodClusterAffinity',
278
295
  :'tertiary_mood_cluster' => :'tertiaryMoodCluster',
@@ -294,7 +311,6 @@ module SongtradrApiClientRuby
294
311
  :'performance_rating_affinity' => :'performanceRatingAffinity',
295
312
  :'song_rating' => :'songRating',
296
313
  :'song_rating_affinity' => :'songRatingAffinity',
297
- :'primary_mood_cluster_affinity' => :'primaryMoodClusterAffinity',
298
314
  :'audience_age' => :'audienceAge',
299
315
  :'audience_age_affinity' => :'audienceAgeAffinity',
300
316
  :'secondary_audience_age' => :'secondaryAudienceAge',
@@ -316,23 +332,7 @@ module SongtradrApiClientRuby
316
332
  :'use_case_affinity' => :'useCaseAffinity',
317
333
  :'industry_suitability' => :'industrySuitability',
318
334
  :'industry_suitability_affinity' => :'industrySuitabilityAffinity',
319
- :'audience_region' => :'audienceRegion',
320
- :'harmony_affinity' => :'harmonyAffinity',
321
- :'texture_affinity' => :'textureAffinity',
322
- :'groovyness_affinity' => :'groovynessAffinity',
323
- :'space_affinity' => :'spaceAffinity',
324
- :'loudness_affinity' => :'loudnessAffinity',
325
- :'key_affinity' => :'keyAffinity',
326
- :'channel_suitability_affinity' => :'channelSuitabilityAffinity',
327
- :'valence_affinity' => :'valenceAffinity',
328
- :'arousal_affinity' => :'arousalAffinity',
329
- :'pleasantness_affinity' => :'pleasantnessAffinity',
330
- :'engagement_affinity' => :'engagementAffinity',
331
- :'energy_affinity' => :'energyAffinity',
332
- :'tempo_affinity' => :'tempoAffinity',
333
- :'scale_affinity' => :'scaleAffinity',
334
- :'timbre_affinity' => :'timbreAffinity',
335
- :'roughness_affinity' => :'roughnessAffinity'
335
+ :'audience_region' => :'audienceRegion'
336
336
  }
337
337
  end
338
338
 
@@ -345,8 +345,24 @@ module SongtradrApiClientRuby
345
345
  def self.openapi_types
346
346
  {
347
347
  :'space' => :'String',
348
- :'language_of_performance' => :'String',
349
348
  :'arousal' => :'String',
349
+ :'valence_affinity' => :'Float',
350
+ :'arousal_affinity' => :'Float',
351
+ :'pleasantness_affinity' => :'Float',
352
+ :'engagement_affinity' => :'Float',
353
+ :'energy_affinity' => :'Float',
354
+ :'tempo_affinity' => :'Float',
355
+ :'scale_affinity' => :'Float',
356
+ :'timbre_affinity' => :'Float',
357
+ :'roughness_affinity' => :'Float',
358
+ :'harmony_affinity' => :'Float',
359
+ :'texture_affinity' => :'Float',
360
+ :'groovyness_affinity' => :'Float',
361
+ :'space_affinity' => :'Float',
362
+ :'loudness_affinity' => :'Float',
363
+ :'key_affinity' => :'Float',
364
+ :'channel_suitability_affinity' => :'Float',
365
+ :'language_of_performance' => :'String',
350
366
  :'dominant_instrument' => :'String',
351
367
  :'energy' => :'String',
352
368
  :'engagement' => :'String',
@@ -371,6 +387,7 @@ module SongtradrApiClientRuby
371
387
  :'use_case' => :'String',
372
388
  :'channel_suitability' => :'String',
373
389
  :'loudness' => :'String',
390
+ :'primary_mood_cluster_affinity' => :'Float',
374
391
  :'secondary_mood_cluster' => :'String',
375
392
  :'secondary_mood_cluster_affinity' => :'Float',
376
393
  :'tertiary_mood_cluster' => :'String',
@@ -392,7 +409,6 @@ module SongtradrApiClientRuby
392
409
  :'performance_rating_affinity' => :'Float',
393
410
  :'song_rating' => :'String',
394
411
  :'song_rating_affinity' => :'Float',
395
- :'primary_mood_cluster_affinity' => :'Float',
396
412
  :'audience_age' => :'String',
397
413
  :'audience_age_affinity' => :'Float',
398
414
  :'secondary_audience_age' => :'String',
@@ -414,23 +430,7 @@ module SongtradrApiClientRuby
414
430
  :'use_case_affinity' => :'Float',
415
431
  :'industry_suitability' => :'String',
416
432
  :'industry_suitability_affinity' => :'Float',
417
- :'audience_region' => :'String',
418
- :'harmony_affinity' => :'Float',
419
- :'texture_affinity' => :'Float',
420
- :'groovyness_affinity' => :'Float',
421
- :'space_affinity' => :'Float',
422
- :'loudness_affinity' => :'Float',
423
- :'key_affinity' => :'Float',
424
- :'channel_suitability_affinity' => :'Float',
425
- :'valence_affinity' => :'Float',
426
- :'arousal_affinity' => :'Float',
427
- :'pleasantness_affinity' => :'Float',
428
- :'engagement_affinity' => :'Float',
429
- :'energy_affinity' => :'Float',
430
- :'tempo_affinity' => :'Float',
431
- :'scale_affinity' => :'Float',
432
- :'timbre_affinity' => :'Float',
433
- :'roughness_affinity' => :'Float'
433
+ :'audience_region' => :'String'
434
434
  }
435
435
  end
436
436
 
@@ -459,14 +459,78 @@ module SongtradrApiClientRuby
459
459
  self.space = attributes[:'space']
460
460
  end
461
461
 
462
- if attributes.key?(:'language_of_performance')
463
- self.language_of_performance = attributes[:'language_of_performance']
464
- end
465
-
466
462
  if attributes.key?(:'arousal')
467
463
  self.arousal = attributes[:'arousal']
468
464
  end
469
465
 
466
+ if attributes.key?(:'valence_affinity')
467
+ self.valence_affinity = attributes[:'valence_affinity']
468
+ end
469
+
470
+ if attributes.key?(:'arousal_affinity')
471
+ self.arousal_affinity = attributes[:'arousal_affinity']
472
+ end
473
+
474
+ if attributes.key?(:'pleasantness_affinity')
475
+ self.pleasantness_affinity = attributes[:'pleasantness_affinity']
476
+ end
477
+
478
+ if attributes.key?(:'engagement_affinity')
479
+ self.engagement_affinity = attributes[:'engagement_affinity']
480
+ end
481
+
482
+ if attributes.key?(:'energy_affinity')
483
+ self.energy_affinity = attributes[:'energy_affinity']
484
+ end
485
+
486
+ if attributes.key?(:'tempo_affinity')
487
+ self.tempo_affinity = attributes[:'tempo_affinity']
488
+ end
489
+
490
+ if attributes.key?(:'scale_affinity')
491
+ self.scale_affinity = attributes[:'scale_affinity']
492
+ end
493
+
494
+ if attributes.key?(:'timbre_affinity')
495
+ self.timbre_affinity = attributes[:'timbre_affinity']
496
+ end
497
+
498
+ if attributes.key?(:'roughness_affinity')
499
+ self.roughness_affinity = attributes[:'roughness_affinity']
500
+ end
501
+
502
+ if attributes.key?(:'harmony_affinity')
503
+ self.harmony_affinity = attributes[:'harmony_affinity']
504
+ end
505
+
506
+ if attributes.key?(:'texture_affinity')
507
+ self.texture_affinity = attributes[:'texture_affinity']
508
+ end
509
+
510
+ if attributes.key?(:'groovyness_affinity')
511
+ self.groovyness_affinity = attributes[:'groovyness_affinity']
512
+ end
513
+
514
+ if attributes.key?(:'space_affinity')
515
+ self.space_affinity = attributes[:'space_affinity']
516
+ end
517
+
518
+ if attributes.key?(:'loudness_affinity')
519
+ self.loudness_affinity = attributes[:'loudness_affinity']
520
+ end
521
+
522
+ if attributes.key?(:'key_affinity')
523
+ self.key_affinity = attributes[:'key_affinity']
524
+ end
525
+
526
+ if attributes.key?(:'channel_suitability_affinity')
527
+ self.channel_suitability_affinity = attributes[:'channel_suitability_affinity']
528
+ end
529
+
530
+ if attributes.key?(:'language_of_performance')
531
+ self.language_of_performance = attributes[:'language_of_performance']
532
+ end
533
+
470
534
  if attributes.key?(:'dominant_instrument')
471
535
  self.dominant_instrument = attributes[:'dominant_instrument']
472
536
  end
@@ -563,6 +627,10 @@ module SongtradrApiClientRuby
563
627
  self.loudness = attributes[:'loudness']
564
628
  end
565
629
 
630
+ if attributes.key?(:'primary_mood_cluster_affinity')
631
+ self.primary_mood_cluster_affinity = attributes[:'primary_mood_cluster_affinity']
632
+ end
633
+
566
634
  if attributes.key?(:'secondary_mood_cluster')
567
635
  self.secondary_mood_cluster = attributes[:'secondary_mood_cluster']
568
636
  end
@@ -647,10 +715,6 @@ module SongtradrApiClientRuby
647
715
  self.song_rating_affinity = attributes[:'song_rating_affinity']
648
716
  end
649
717
 
650
- if attributes.key?(:'primary_mood_cluster_affinity')
651
- self.primary_mood_cluster_affinity = attributes[:'primary_mood_cluster_affinity']
652
- end
653
-
654
718
  if attributes.key?(:'audience_age')
655
719
  self.audience_age = attributes[:'audience_age']
656
720
  end
@@ -738,70 +802,6 @@ module SongtradrApiClientRuby
738
802
  if attributes.key?(:'audience_region')
739
803
  self.audience_region = attributes[:'audience_region']
740
804
  end
741
-
742
- if attributes.key?(:'harmony_affinity')
743
- self.harmony_affinity = attributes[:'harmony_affinity']
744
- end
745
-
746
- if attributes.key?(:'texture_affinity')
747
- self.texture_affinity = attributes[:'texture_affinity']
748
- end
749
-
750
- if attributes.key?(:'groovyness_affinity')
751
- self.groovyness_affinity = attributes[:'groovyness_affinity']
752
- end
753
-
754
- if attributes.key?(:'space_affinity')
755
- self.space_affinity = attributes[:'space_affinity']
756
- end
757
-
758
- if attributes.key?(:'loudness_affinity')
759
- self.loudness_affinity = attributes[:'loudness_affinity']
760
- end
761
-
762
- if attributes.key?(:'key_affinity')
763
- self.key_affinity = attributes[:'key_affinity']
764
- end
765
-
766
- if attributes.key?(:'channel_suitability_affinity')
767
- self.channel_suitability_affinity = attributes[:'channel_suitability_affinity']
768
- end
769
-
770
- if attributes.key?(:'valence_affinity')
771
- self.valence_affinity = attributes[:'valence_affinity']
772
- end
773
-
774
- if attributes.key?(:'arousal_affinity')
775
- self.arousal_affinity = attributes[:'arousal_affinity']
776
- end
777
-
778
- if attributes.key?(:'pleasantness_affinity')
779
- self.pleasantness_affinity = attributes[:'pleasantness_affinity']
780
- end
781
-
782
- if attributes.key?(:'engagement_affinity')
783
- self.engagement_affinity = attributes[:'engagement_affinity']
784
- end
785
-
786
- if attributes.key?(:'energy_affinity')
787
- self.energy_affinity = attributes[:'energy_affinity']
788
- end
789
-
790
- if attributes.key?(:'tempo_affinity')
791
- self.tempo_affinity = attributes[:'tempo_affinity']
792
- end
793
-
794
- if attributes.key?(:'scale_affinity')
795
- self.scale_affinity = attributes[:'scale_affinity']
796
- end
797
-
798
- if attributes.key?(:'timbre_affinity')
799
- self.timbre_affinity = attributes[:'timbre_affinity']
800
- end
801
-
802
- if attributes.key?(:'roughness_affinity')
803
- self.roughness_affinity = attributes[:'roughness_affinity']
804
- end
805
805
  end
806
806
 
807
807
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -818,10 +818,10 @@ module SongtradrApiClientRuby
818
818
  warn '[DEPRECATED] the `valid?` method is obsolete'
819
819
  space_validator = EnumAttributeValidator.new('String', ["very compact", "compact", "moderate space", "wide", "very wide"])
820
820
  return false unless space_validator.valid?(@space)
821
- language_of_performance_validator = EnumAttributeValidator.new('String', ["en", "de", "no", "fr", "es", "pt", "fi", "ru", "it", "la", "el", "ar", "nl", "ja", "pl", "sv", "zu", "da", "cs", "hu", "af", "hi", "tr", "zh", "ms", "pa", "id", "ko", "vi"])
822
- return false unless language_of_performance_validator.valid?(@language_of_performance)
823
821
  arousal_validator = EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
824
822
  return false unless arousal_validator.valid?(@arousal)
823
+ language_of_performance_validator = EnumAttributeValidator.new('String', ["en", "de", "no", "fr", "es", "pt", "fi", "ru", "it", "la", "el", "ar", "nl", "ja", "pl", "sv", "zu", "da", "cs", "hu", "af", "hi", "tr", "zh", "ms", "pa", "id", "ko", "vi"])
824
+ return false unless language_of_performance_validator.valid?(@language_of_performance)
825
825
  dominant_instrument_validator = EnumAttributeValidator.new('String', ["piano", "electronics", "guitar", "strings", "synthesizer", "wind", "drum kit", "keys", "harpsichord", "choir", "electric bass", "organ", "brass", "percussion", "vocals", "double bass", "harp"])
826
826
  return false unless dominant_instrument_validator.valid?(@dominant_instrument)
827
827
  energy_validator = EnumAttributeValidator.new('String', ["very quiet", "quiet", "moderate", "loud", "very loud", "dynamic"])
@@ -915,16 +915,6 @@ module SongtradrApiClientRuby
915
915
  @space = space
916
916
  end
917
917
 
918
- # Custom attribute writer method checking allowed values (enum).
919
- # @param [Object] language_of_performance Object to be assigned
920
- def language_of_performance=(language_of_performance)
921
- validator = EnumAttributeValidator.new('String', ["en", "de", "no", "fr", "es", "pt", "fi", "ru", "it", "la", "el", "ar", "nl", "ja", "pl", "sv", "zu", "da", "cs", "hu", "af", "hi", "tr", "zh", "ms", "pa", "id", "ko", "vi"])
922
- unless validator.valid?(language_of_performance)
923
- fail ArgumentError, "invalid value for \"language_of_performance\", must be one of #{validator.allowable_values}."
924
- end
925
- @language_of_performance = language_of_performance
926
- end
927
-
928
918
  # Custom attribute writer method checking allowed values (enum).
929
919
  # @param [Object] arousal Object to be assigned
930
920
  def arousal=(arousal)
@@ -935,6 +925,16 @@ module SongtradrApiClientRuby
935
925
  @arousal = arousal
936
926
  end
937
927
 
928
+ # Custom attribute writer method checking allowed values (enum).
929
+ # @param [Object] language_of_performance Object to be assigned
930
+ def language_of_performance=(language_of_performance)
931
+ validator = EnumAttributeValidator.new('String', ["en", "de", "no", "fr", "es", "pt", "fi", "ru", "it", "la", "el", "ar", "nl", "ja", "pl", "sv", "zu", "da", "cs", "hu", "af", "hi", "tr", "zh", "ms", "pa", "id", "ko", "vi"])
932
+ unless validator.valid?(language_of_performance)
933
+ fail ArgumentError, "invalid value for \"language_of_performance\", must be one of #{validator.allowable_values}."
934
+ end
935
+ @language_of_performance = language_of_performance
936
+ end
937
+
938
938
  # Custom attribute writer method checking allowed values (enum).
939
939
  # @param [Object] dominant_instrument Object to be assigned
940
940
  def dominant_instrument=(dominant_instrument)
@@ -1341,8 +1341,24 @@ module SongtradrApiClientRuby
1341
1341
  return true if self.equal?(o)
1342
1342
  self.class == o.class &&
1343
1343
  space == o.space &&
1344
- language_of_performance == o.language_of_performance &&
1345
1344
  arousal == o.arousal &&
1345
+ valence_affinity == o.valence_affinity &&
1346
+ arousal_affinity == o.arousal_affinity &&
1347
+ pleasantness_affinity == o.pleasantness_affinity &&
1348
+ engagement_affinity == o.engagement_affinity &&
1349
+ energy_affinity == o.energy_affinity &&
1350
+ tempo_affinity == o.tempo_affinity &&
1351
+ scale_affinity == o.scale_affinity &&
1352
+ timbre_affinity == o.timbre_affinity &&
1353
+ roughness_affinity == o.roughness_affinity &&
1354
+ harmony_affinity == o.harmony_affinity &&
1355
+ texture_affinity == o.texture_affinity &&
1356
+ groovyness_affinity == o.groovyness_affinity &&
1357
+ space_affinity == o.space_affinity &&
1358
+ loudness_affinity == o.loudness_affinity &&
1359
+ key_affinity == o.key_affinity &&
1360
+ channel_suitability_affinity == o.channel_suitability_affinity &&
1361
+ language_of_performance == o.language_of_performance &&
1346
1362
  dominant_instrument == o.dominant_instrument &&
1347
1363
  energy == o.energy &&
1348
1364
  engagement == o.engagement &&
@@ -1367,6 +1383,7 @@ module SongtradrApiClientRuby
1367
1383
  use_case == o.use_case &&
1368
1384
  channel_suitability == o.channel_suitability &&
1369
1385
  loudness == o.loudness &&
1386
+ primary_mood_cluster_affinity == o.primary_mood_cluster_affinity &&
1370
1387
  secondary_mood_cluster == o.secondary_mood_cluster &&
1371
1388
  secondary_mood_cluster_affinity == o.secondary_mood_cluster_affinity &&
1372
1389
  tertiary_mood_cluster == o.tertiary_mood_cluster &&
@@ -1388,7 +1405,6 @@ module SongtradrApiClientRuby
1388
1405
  performance_rating_affinity == o.performance_rating_affinity &&
1389
1406
  song_rating == o.song_rating &&
1390
1407
  song_rating_affinity == o.song_rating_affinity &&
1391
- primary_mood_cluster_affinity == o.primary_mood_cluster_affinity &&
1392
1408
  audience_age == o.audience_age &&
1393
1409
  audience_age_affinity == o.audience_age_affinity &&
1394
1410
  secondary_audience_age == o.secondary_audience_age &&
@@ -1410,23 +1426,7 @@ module SongtradrApiClientRuby
1410
1426
  use_case_affinity == o.use_case_affinity &&
1411
1427
  industry_suitability == o.industry_suitability &&
1412
1428
  industry_suitability_affinity == o.industry_suitability_affinity &&
1413
- audience_region == o.audience_region &&
1414
- harmony_affinity == o.harmony_affinity &&
1415
- texture_affinity == o.texture_affinity &&
1416
- groovyness_affinity == o.groovyness_affinity &&
1417
- space_affinity == o.space_affinity &&
1418
- loudness_affinity == o.loudness_affinity &&
1419
- key_affinity == o.key_affinity &&
1420
- channel_suitability_affinity == o.channel_suitability_affinity &&
1421
- valence_affinity == o.valence_affinity &&
1422
- arousal_affinity == o.arousal_affinity &&
1423
- pleasantness_affinity == o.pleasantness_affinity &&
1424
- engagement_affinity == o.engagement_affinity &&
1425
- energy_affinity == o.energy_affinity &&
1426
- tempo_affinity == o.tempo_affinity &&
1427
- scale_affinity == o.scale_affinity &&
1428
- timbre_affinity == o.timbre_affinity &&
1429
- roughness_affinity == o.roughness_affinity
1429
+ audience_region == o.audience_region
1430
1430
  end
1431
1431
 
1432
1432
  # @see the `==` method
@@ -1438,7 +1438,7 @@ module SongtradrApiClientRuby
1438
1438
  # Calculates hash code according to all attributes.
1439
1439
  # @return [Integer] Hash code
1440
1440
  def hash
1441
- [space, language_of_performance, arousal, dominant_instrument, energy, engagement, groovyness, harmony, pleasantness, primary_mood_cluster, primary_sound_character, rhythm, roughness, scale, key, sound_generation, tempo, texture, timbre, tonality, valence, vocals, origin_decade, curateability, use_case, channel_suitability, loudness, secondary_mood_cluster, secondary_mood_cluster_affinity, tertiary_mood_cluster, tertiary_mood_cluster_affinity, vocals_affinity, dominant_instrument_affinity, secondary_instrument, secondary_instrument_affinity, tertiary_instrument, tertiary_instrument_affinity, sound_generation_affinity, rhythm_affinity, primary_sound_character_affinity, tonality_affinity, bpm, production_rating, production_rating_affinity, performance_rating, performance_rating_affinity, song_rating, song_rating_affinity, primary_mood_cluster_affinity, audience_age, audience_age_affinity, secondary_audience_age, secondary_audience_age_affinity, tertiary_audience_age, tertiary_audience_age_affinity, audience_gender, audience_gender_affinity, audience_region_affinity, secondary_audience_region, secondary_audience_region_affinity, tertiary_audience_region, tertiary_audience_region_affinity, origin_region, origin_region_affinity, origin_decade_affinity, language_of_performance_affinity, curateability_affinity, use_case_affinity, industry_suitability, industry_suitability_affinity, audience_region, harmony_affinity, texture_affinity, groovyness_affinity, space_affinity, loudness_affinity, key_affinity, channel_suitability_affinity, valence_affinity, arousal_affinity, pleasantness_affinity, engagement_affinity, energy_affinity, tempo_affinity, scale_affinity, timbre_affinity, roughness_affinity].hash
1441
+ [space, arousal, valence_affinity, arousal_affinity, pleasantness_affinity, engagement_affinity, energy_affinity, tempo_affinity, scale_affinity, timbre_affinity, roughness_affinity, harmony_affinity, texture_affinity, groovyness_affinity, space_affinity, loudness_affinity, key_affinity, channel_suitability_affinity, language_of_performance, dominant_instrument, energy, engagement, groovyness, harmony, pleasantness, primary_mood_cluster, primary_sound_character, rhythm, roughness, scale, key, sound_generation, tempo, texture, timbre, tonality, valence, vocals, origin_decade, curateability, use_case, channel_suitability, loudness, primary_mood_cluster_affinity, secondary_mood_cluster, secondary_mood_cluster_affinity, tertiary_mood_cluster, tertiary_mood_cluster_affinity, vocals_affinity, dominant_instrument_affinity, secondary_instrument, secondary_instrument_affinity, tertiary_instrument, tertiary_instrument_affinity, sound_generation_affinity, rhythm_affinity, primary_sound_character_affinity, tonality_affinity, bpm, production_rating, production_rating_affinity, performance_rating, performance_rating_affinity, song_rating, song_rating_affinity, audience_age, audience_age_affinity, secondary_audience_age, secondary_audience_age_affinity, tertiary_audience_age, tertiary_audience_age_affinity, audience_gender, audience_gender_affinity, audience_region_affinity, secondary_audience_region, secondary_audience_region_affinity, tertiary_audience_region, tertiary_audience_region_affinity, origin_region, origin_region_affinity, origin_decade_affinity, language_of_performance_affinity, curateability_affinity, use_case_affinity, industry_suitability, industry_suitability_affinity, audience_region].hash
1442
1442
  end
1443
1443
 
1444
1444
  # 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.18.0
6
+ The version of the OpenAPI document: 2.0.0
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.4.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.18.0
6
+ The version of the OpenAPI document: 2.0.0
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.4.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.18.0
6
+ The version of the OpenAPI document: 2.0.0
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.4.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.18.0
6
+ The version of the OpenAPI document: 2.0.0
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 7.4.0-SNAPSHOT