songtradr_api_client_ruby 1.13.3 → 1.13.4
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/Gemfile.lock +1 -1
- data/README.md +5 -5
- data/docs/ApiKeyDTO.md +3 -3
- data/docs/FileSmallDTO.md +3 -3
- data/docs/MusicalFeaturesDTO.md +42 -42
- data/docs/PlaylistLargeDTO.md +6 -6
- data/docs/ProductMediumDTO.md +3 -3
- data/docs/ProductPartyDTO.md +3 -3
- data/docs/RecordingGenrePredictionDTO.md +4 -4
- data/docs/RecordingLargeDTO.md +9 -9
- data/docs/RecordingMediumDTO.md +7 -7
- data/docs/RecordingPartyDTO.md +3 -3
- data/docs/RecordingSmallDTO.md +3 -3
- data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api/api_keys_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api/party_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api/playlist_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api/recording_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api/user_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api_client.rb +2 -2
- data/lib/songtradr_api_client_ruby/api_error.rb +2 -2
- data/lib/songtradr_api_client_ruby/configuration.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/admin_api_user_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/api_key_dto.rb +15 -15
- data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/create_api_key_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/error_response.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_minimal_with_url_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +15 -15
- data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/genre_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/login_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +334 -334
- data/lib/songtradr_api_client_ruby/models/p_line_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/party_large_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/playlist_large_dto.rb +26 -26
- data/lib/songtradr_api_client_ruby/models/product_medium_dto.rb +15 -15
- data/lib/songtradr_api_client_ruby/models/product_party_dto.rb +17 -17
- data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +23 -23
- data/lib/songtradr_api_client_ruby/models/recording_large_dto.rb +52 -52
- data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +43 -43
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +17 -17
- data/lib/songtradr_api_client_ruby/models/recording_playlist_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +27 -27
- data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/save_file_recording_dto.rb +8 -8
- data/lib/songtradr_api_client_ruby/models/save_playlist_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/save_recording_genre_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/save_recording_party_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/save_recording_playlist_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/save_recording_tag_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/save_referrer_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/save_taggrams_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_abstraction_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tag_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/title_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/token_request.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/track_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/track_to_medium_product_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/usage_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/user_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/version.rb +3 -3
- data/lib/songtradr_api_client_ruby.rb +2 -2
- data/openapi-generator-config.yaml +1 -1
- data/songtradr_api_client_ruby.gemspec +2 -2
- data/spec/api/allowed_values_api_spec.rb +2 -2
- data/spec/api/api_keys_api_spec.rb +2 -2
- data/spec/api/party_api_spec.rb +2 -2
- data/spec/api/playlist_api_spec.rb +2 -2
- data/spec/api/recording_api_spec.rb +2 -2
- data/spec/api/user_api_spec.rb +2 -2
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/admin_api_user_dto_spec.rb +2 -2
- data/spec/models/api_key_dto_spec.rb +4 -4
- data/spec/models/category_medium_dto_spec.rb +2 -2
- data/spec/models/category_minimal_dto_spec.rb +2 -2
- data/spec/models/config_access_dto_spec.rb +2 -2
- data/spec/models/config_identifier_dto_spec.rb +2 -2
- data/spec/models/contributor_type_dto_spec.rb +2 -2
- data/spec/models/create_api_key_dto_spec.rb +2 -2
- data/spec/models/error_response_spec.rb +2 -2
- data/spec/models/field_summary_dto_spec.rb +2 -2
- data/spec/models/file_dto_spec.rb +2 -2
- data/spec/models/file_list_dto_spec.rb +2 -2
- data/spec/models/file_minimal_with_url_dto_spec.rb +2 -2
- data/spec/models/file_small_dto_spec.rb +8 -8
- data/spec/models/file_upload_dto_spec.rb +2 -2
- data/spec/models/file_w_ith_url_dto_spec.rb +2 -2
- data/spec/models/files_summary_dto_spec.rb +2 -2
- data/spec/models/forgot_password_dto_spec.rb +2 -2
- data/spec/models/genre_dto_spec.rb +2 -2
- data/spec/models/genre_minimal_dto_spec.rb +2 -2
- data/spec/models/genres_summary_dto_spec.rb +2 -2
- data/spec/models/init_put_recording_audio_dto_spec.rb +2 -2
- data/spec/models/jwt_token_dto_spec.rb +2 -2
- data/spec/models/login_dto_spec.rb +2 -2
- data/spec/models/musical_features_dto_spec.rb +95 -95
- data/spec/models/p_line_dto_spec.rb +2 -2
- data/spec/models/party_large_dto_spec.rb +2 -2
- data/spec/models/party_small_dto_spec.rb +2 -2
- data/spec/models/playlist_large_dto_spec.rb +9 -9
- data/spec/models/product_medium_dto_spec.rb +8 -8
- data/spec/models/product_party_dto_spec.rb +4 -4
- data/spec/models/recording_for_similarity_search_dto_spec.rb +2 -2
- data/spec/models/recording_genre_prediction_dto_spec.rb +4 -4
- data/spec/models/recording_large_dto_spec.rb +12 -12
- data/spec/models/recording_list_dto_spec.rb +2 -2
- data/spec/models/recording_medium_dto_spec.rb +11 -11
- data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +2 -2
- data/spec/models/recording_minimal_with_taggrams_dto_spec.rb +2 -2
- data/spec/models/recording_minimal_with_tagstrengths_dto_spec.rb +2 -2
- data/spec/models/recording_party_dto_spec.rb +4 -4
- data/spec/models/recording_playlist_dto_spec.rb +2 -2
- data/spec/models/recording_small_dto_spec.rb +4 -4
- data/spec/models/recording_tag_small_dto_spec.rb +2 -2
- data/spec/models/save_file_recording_dto_spec.rb +5 -5
- data/spec/models/save_playlist_dto_spec.rb +2 -2
- data/spec/models/save_recording_genre_dto_spec.rb +2 -2
- data/spec/models/save_recording_party_dto_spec.rb +2 -2
- data/spec/models/save_recording_playlist_dto_spec.rb +2 -2
- data/spec/models/save_recording_tag_dto_spec.rb +2 -2
- data/spec/models/save_referrer_dto_spec.rb +2 -2
- data/spec/models/save_taggrams_dto_spec.rb +2 -2
- data/spec/models/save_user_dto_spec.rb +2 -2
- data/spec/models/search_filter_values_dto_spec.rb +2 -2
- data/spec/models/search_recording_granular_abstraction_dto_spec.rb +2 -2
- data/spec/models/search_recording_granular_dto_spec.rb +2 -2
- data/spec/models/sign_up_dto_spec.rb +2 -2
- data/spec/models/tag_dto_spec.rb +2 -2
- data/spec/models/tag_small_dto_spec.rb +2 -2
- data/spec/models/taggram_dto_spec.rb +2 -2
- data/spec/models/tags_summary_dto_spec.rb +2 -2
- data/spec/models/tagstrength_dto_spec.rb +2 -2
- data/spec/models/title_dto_spec.rb +2 -2
- data/spec/models/token_request_spec.rb +2 -2
- data/spec/models/track_dto_spec.rb +2 -2
- data/spec/models/track_to_medium_product_dto_spec.rb +2 -2
- data/spec/models/update_password_dto_spec.rb +2 -2
- data/spec/models/usage_dto_spec.rb +2 -2
- data/spec/models/user_dto_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +2 -2
|
@@ -3,10 +3,10 @@
|
|
|
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.13.
|
|
6
|
+
The version of the OpenAPI document: 1.13.4
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 7.0
|
|
9
|
+
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -19,40 +19,6 @@ module SongtradrApiClientRuby
|
|
|
19
19
|
# Search for space
|
|
20
20
|
attr_accessor :space
|
|
21
21
|
|
|
22
|
-
attr_accessor :harmony_affinity
|
|
23
|
-
|
|
24
|
-
attr_accessor :language_of_performance
|
|
25
|
-
|
|
26
|
-
# Search for an arousal
|
|
27
|
-
attr_accessor :arousal
|
|
28
|
-
|
|
29
|
-
# Search for a dominant instrument
|
|
30
|
-
attr_accessor :dominant_instrument
|
|
31
|
-
|
|
32
|
-
# Search for energy
|
|
33
|
-
attr_accessor :energy
|
|
34
|
-
|
|
35
|
-
# Search for an engagement
|
|
36
|
-
attr_accessor :engagement
|
|
37
|
-
|
|
38
|
-
# Search for groovyness
|
|
39
|
-
attr_accessor :groovyness
|
|
40
|
-
|
|
41
|
-
# Search for a degree of harmoniousness
|
|
42
|
-
attr_accessor :harmony
|
|
43
|
-
|
|
44
|
-
# Search for pleasantness
|
|
45
|
-
attr_accessor :pleasantness
|
|
46
|
-
|
|
47
|
-
# Search for a language of the lyrics
|
|
48
|
-
attr_accessor :primary_mood_cluster
|
|
49
|
-
|
|
50
|
-
# Search for a sound character
|
|
51
|
-
attr_accessor :primary_sound_character
|
|
52
|
-
|
|
53
|
-
# Search for rhythm
|
|
54
|
-
attr_accessor :rhythm
|
|
55
|
-
|
|
56
22
|
# Search for roughness
|
|
57
23
|
attr_accessor :roughness
|
|
58
24
|
|
|
@@ -92,6 +58,38 @@ module SongtradrApiClientRuby
|
|
|
92
58
|
# Search for social media suitability
|
|
93
59
|
attr_accessor :channel_suitability
|
|
94
60
|
|
|
61
|
+
attr_accessor :language_of_performance
|
|
62
|
+
|
|
63
|
+
# Search for an arousal
|
|
64
|
+
attr_accessor :arousal
|
|
65
|
+
|
|
66
|
+
# Search for a dominant instrument
|
|
67
|
+
attr_accessor :dominant_instrument
|
|
68
|
+
|
|
69
|
+
# Search for energy
|
|
70
|
+
attr_accessor :energy
|
|
71
|
+
|
|
72
|
+
# Search for an engagement
|
|
73
|
+
attr_accessor :engagement
|
|
74
|
+
|
|
75
|
+
# Search for groovyness
|
|
76
|
+
attr_accessor :groovyness
|
|
77
|
+
|
|
78
|
+
# Search for a degree of harmoniousness
|
|
79
|
+
attr_accessor :harmony
|
|
80
|
+
|
|
81
|
+
# Search for pleasantness
|
|
82
|
+
attr_accessor :pleasantness
|
|
83
|
+
|
|
84
|
+
# Search for a language of the lyrics
|
|
85
|
+
attr_accessor :primary_mood_cluster
|
|
86
|
+
|
|
87
|
+
# Search for a sound character
|
|
88
|
+
attr_accessor :primary_sound_character
|
|
89
|
+
|
|
90
|
+
# Search for rhythm
|
|
91
|
+
attr_accessor :rhythm
|
|
92
|
+
|
|
95
93
|
attr_accessor :primary_mood_cluster_affinity
|
|
96
94
|
|
|
97
95
|
# Search for a language of the lyrics
|
|
@@ -185,36 +183,38 @@ module SongtradrApiClientRuby
|
|
|
185
183
|
|
|
186
184
|
attr_accessor :audience_region
|
|
187
185
|
|
|
186
|
+
attr_accessor :valence_affinity
|
|
187
|
+
|
|
188
188
|
attr_accessor :arousal_affinity
|
|
189
189
|
|
|
190
|
-
attr_accessor :
|
|
190
|
+
attr_accessor :pleasantness_affinity
|
|
191
191
|
|
|
192
|
-
|
|
193
|
-
attr_accessor :key
|
|
192
|
+
attr_accessor :engagement_affinity
|
|
194
193
|
|
|
195
194
|
attr_accessor :energy_affinity
|
|
196
195
|
|
|
197
|
-
attr_accessor :
|
|
196
|
+
attr_accessor :tempo_affinity
|
|
198
197
|
|
|
199
|
-
attr_accessor :
|
|
198
|
+
attr_accessor :scale_affinity
|
|
200
199
|
|
|
201
|
-
attr_accessor :
|
|
200
|
+
attr_accessor :timbre_affinity
|
|
202
201
|
|
|
203
202
|
attr_accessor :roughness_affinity
|
|
204
203
|
|
|
205
|
-
attr_accessor :
|
|
204
|
+
attr_accessor :harmony_affinity
|
|
206
205
|
|
|
207
206
|
attr_accessor :texture_affinity
|
|
208
207
|
|
|
209
|
-
attr_accessor :space_affinity
|
|
210
|
-
|
|
211
208
|
attr_accessor :groovyness_affinity
|
|
212
209
|
|
|
213
|
-
attr_accessor :
|
|
210
|
+
attr_accessor :space_affinity
|
|
214
211
|
|
|
215
|
-
attr_accessor :
|
|
212
|
+
attr_accessor :key_affinity
|
|
216
213
|
|
|
217
|
-
attr_accessor :
|
|
214
|
+
attr_accessor :channel_suitability_affinity
|
|
215
|
+
|
|
216
|
+
# Search for a harmonic key
|
|
217
|
+
attr_accessor :key
|
|
218
218
|
|
|
219
219
|
class EnumAttributeValidator
|
|
220
220
|
attr_reader :datatype
|
|
@@ -242,18 +242,6 @@ module SongtradrApiClientRuby
|
|
|
242
242
|
def self.attribute_map
|
|
243
243
|
{
|
|
244
244
|
:'space' => :'space',
|
|
245
|
-
:'harmony_affinity' => :'harmonyAffinity',
|
|
246
|
-
:'language_of_performance' => :'languageOfPerformance',
|
|
247
|
-
:'arousal' => :'arousal',
|
|
248
|
-
:'dominant_instrument' => :'dominantInstrument',
|
|
249
|
-
:'energy' => :'energy',
|
|
250
|
-
:'engagement' => :'engagement',
|
|
251
|
-
:'groovyness' => :'groovyness',
|
|
252
|
-
:'harmony' => :'harmony',
|
|
253
|
-
:'pleasantness' => :'pleasantness',
|
|
254
|
-
:'primary_mood_cluster' => :'primaryMoodCluster',
|
|
255
|
-
:'primary_sound_character' => :'primarySoundCharacter',
|
|
256
|
-
:'rhythm' => :'rhythm',
|
|
257
245
|
:'roughness' => :'roughness',
|
|
258
246
|
:'scale' => :'scale',
|
|
259
247
|
:'sound_generation' => :'soundGeneration',
|
|
@@ -267,6 +255,17 @@ module SongtradrApiClientRuby
|
|
|
267
255
|
:'curateability' => :'curateability',
|
|
268
256
|
:'use_case' => :'useCase',
|
|
269
257
|
:'channel_suitability' => :'channelSuitability',
|
|
258
|
+
:'language_of_performance' => :'languageOfPerformance',
|
|
259
|
+
:'arousal' => :'arousal',
|
|
260
|
+
:'dominant_instrument' => :'dominantInstrument',
|
|
261
|
+
:'energy' => :'energy',
|
|
262
|
+
:'engagement' => :'engagement',
|
|
263
|
+
:'groovyness' => :'groovyness',
|
|
264
|
+
:'harmony' => :'harmony',
|
|
265
|
+
:'pleasantness' => :'pleasantness',
|
|
266
|
+
:'primary_mood_cluster' => :'primaryMoodCluster',
|
|
267
|
+
:'primary_sound_character' => :'primarySoundCharacter',
|
|
268
|
+
:'rhythm' => :'rhythm',
|
|
270
269
|
:'primary_mood_cluster_affinity' => :'primaryMoodClusterAffinity',
|
|
271
270
|
:'secondary_mood_cluster' => :'secondaryMoodCluster',
|
|
272
271
|
:'secondary_mood_cluster_affinity' => :'secondaryMoodClusterAffinity',
|
|
@@ -311,21 +310,22 @@ module SongtradrApiClientRuby
|
|
|
311
310
|
:'industry_suitability' => :'industrySuitability',
|
|
312
311
|
:'industry_suitability_affinity' => :'industrySuitabilityAffinity',
|
|
313
312
|
:'audience_region' => :'audienceRegion',
|
|
313
|
+
:'valence_affinity' => :'valenceAffinity',
|
|
314
314
|
:'arousal_affinity' => :'arousalAffinity',
|
|
315
|
-
:'channel_suitability_affinity' => :'channelSuitabilityAffinity',
|
|
316
|
-
:'key' => :'key',
|
|
317
|
-
:'energy_affinity' => :'energyAffinity',
|
|
318
|
-
:'key_affinity' => :'keyAffinity',
|
|
319
315
|
:'pleasantness_affinity' => :'pleasantnessAffinity',
|
|
320
316
|
:'engagement_affinity' => :'engagementAffinity',
|
|
321
|
-
:'
|
|
317
|
+
:'energy_affinity' => :'energyAffinity',
|
|
318
|
+
:'tempo_affinity' => :'tempoAffinity',
|
|
319
|
+
:'scale_affinity' => :'scaleAffinity',
|
|
322
320
|
:'timbre_affinity' => :'timbreAffinity',
|
|
321
|
+
:'roughness_affinity' => :'roughnessAffinity',
|
|
322
|
+
:'harmony_affinity' => :'harmonyAffinity',
|
|
323
323
|
:'texture_affinity' => :'textureAffinity',
|
|
324
|
-
:'space_affinity' => :'spaceAffinity',
|
|
325
324
|
:'groovyness_affinity' => :'groovynessAffinity',
|
|
326
|
-
:'
|
|
327
|
-
:'
|
|
328
|
-
:'
|
|
325
|
+
:'space_affinity' => :'spaceAffinity',
|
|
326
|
+
:'key_affinity' => :'keyAffinity',
|
|
327
|
+
:'channel_suitability_affinity' => :'channelSuitabilityAffinity',
|
|
328
|
+
:'key' => :'key'
|
|
329
329
|
}
|
|
330
330
|
end
|
|
331
331
|
|
|
@@ -338,18 +338,6 @@ module SongtradrApiClientRuby
|
|
|
338
338
|
def self.openapi_types
|
|
339
339
|
{
|
|
340
340
|
:'space' => :'String',
|
|
341
|
-
:'harmony_affinity' => :'Float',
|
|
342
|
-
:'language_of_performance' => :'String',
|
|
343
|
-
:'arousal' => :'String',
|
|
344
|
-
:'dominant_instrument' => :'String',
|
|
345
|
-
:'energy' => :'String',
|
|
346
|
-
:'engagement' => :'String',
|
|
347
|
-
:'groovyness' => :'String',
|
|
348
|
-
:'harmony' => :'String',
|
|
349
|
-
:'pleasantness' => :'String',
|
|
350
|
-
:'primary_mood_cluster' => :'String',
|
|
351
|
-
:'primary_sound_character' => :'String',
|
|
352
|
-
:'rhythm' => :'String',
|
|
353
341
|
:'roughness' => :'String',
|
|
354
342
|
:'scale' => :'String',
|
|
355
343
|
:'sound_generation' => :'String',
|
|
@@ -363,6 +351,17 @@ module SongtradrApiClientRuby
|
|
|
363
351
|
:'curateability' => :'String',
|
|
364
352
|
:'use_case' => :'String',
|
|
365
353
|
:'channel_suitability' => :'String',
|
|
354
|
+
:'language_of_performance' => :'String',
|
|
355
|
+
:'arousal' => :'String',
|
|
356
|
+
:'dominant_instrument' => :'String',
|
|
357
|
+
:'energy' => :'String',
|
|
358
|
+
:'engagement' => :'String',
|
|
359
|
+
:'groovyness' => :'String',
|
|
360
|
+
:'harmony' => :'String',
|
|
361
|
+
:'pleasantness' => :'String',
|
|
362
|
+
:'primary_mood_cluster' => :'String',
|
|
363
|
+
:'primary_sound_character' => :'String',
|
|
364
|
+
:'rhythm' => :'String',
|
|
366
365
|
:'primary_mood_cluster_affinity' => :'Float',
|
|
367
366
|
:'secondary_mood_cluster' => :'String',
|
|
368
367
|
:'secondary_mood_cluster_affinity' => :'Float',
|
|
@@ -407,21 +406,22 @@ module SongtradrApiClientRuby
|
|
|
407
406
|
:'industry_suitability' => :'String',
|
|
408
407
|
:'industry_suitability_affinity' => :'Float',
|
|
409
408
|
:'audience_region' => :'String',
|
|
409
|
+
:'valence_affinity' => :'Float',
|
|
410
410
|
:'arousal_affinity' => :'Float',
|
|
411
|
-
:'channel_suitability_affinity' => :'Float',
|
|
412
|
-
:'key' => :'String',
|
|
413
|
-
:'energy_affinity' => :'Float',
|
|
414
|
-
:'key_affinity' => :'Float',
|
|
415
411
|
:'pleasantness_affinity' => :'Float',
|
|
416
412
|
:'engagement_affinity' => :'Float',
|
|
417
|
-
:'
|
|
413
|
+
:'energy_affinity' => :'Float',
|
|
414
|
+
:'tempo_affinity' => :'Float',
|
|
415
|
+
:'scale_affinity' => :'Float',
|
|
418
416
|
:'timbre_affinity' => :'Float',
|
|
417
|
+
:'roughness_affinity' => :'Float',
|
|
418
|
+
:'harmony_affinity' => :'Float',
|
|
419
419
|
:'texture_affinity' => :'Float',
|
|
420
|
-
:'space_affinity' => :'Float',
|
|
421
420
|
:'groovyness_affinity' => :'Float',
|
|
422
|
-
:'
|
|
423
|
-
:'
|
|
424
|
-
:'
|
|
421
|
+
:'space_affinity' => :'Float',
|
|
422
|
+
:'key_affinity' => :'Float',
|
|
423
|
+
:'channel_suitability_affinity' => :'Float',
|
|
424
|
+
:'key' => :'String'
|
|
425
425
|
}
|
|
426
426
|
end
|
|
427
427
|
|
|
@@ -450,54 +450,6 @@ module SongtradrApiClientRuby
|
|
|
450
450
|
self.space = attributes[:'space']
|
|
451
451
|
end
|
|
452
452
|
|
|
453
|
-
if attributes.key?(:'harmony_affinity')
|
|
454
|
-
self.harmony_affinity = attributes[:'harmony_affinity']
|
|
455
|
-
end
|
|
456
|
-
|
|
457
|
-
if attributes.key?(:'language_of_performance')
|
|
458
|
-
self.language_of_performance = attributes[:'language_of_performance']
|
|
459
|
-
end
|
|
460
|
-
|
|
461
|
-
if attributes.key?(:'arousal')
|
|
462
|
-
self.arousal = attributes[:'arousal']
|
|
463
|
-
end
|
|
464
|
-
|
|
465
|
-
if attributes.key?(:'dominant_instrument')
|
|
466
|
-
self.dominant_instrument = attributes[:'dominant_instrument']
|
|
467
|
-
end
|
|
468
|
-
|
|
469
|
-
if attributes.key?(:'energy')
|
|
470
|
-
self.energy = attributes[:'energy']
|
|
471
|
-
end
|
|
472
|
-
|
|
473
|
-
if attributes.key?(:'engagement')
|
|
474
|
-
self.engagement = attributes[:'engagement']
|
|
475
|
-
end
|
|
476
|
-
|
|
477
|
-
if attributes.key?(:'groovyness')
|
|
478
|
-
self.groovyness = attributes[:'groovyness']
|
|
479
|
-
end
|
|
480
|
-
|
|
481
|
-
if attributes.key?(:'harmony')
|
|
482
|
-
self.harmony = attributes[:'harmony']
|
|
483
|
-
end
|
|
484
|
-
|
|
485
|
-
if attributes.key?(:'pleasantness')
|
|
486
|
-
self.pleasantness = attributes[:'pleasantness']
|
|
487
|
-
end
|
|
488
|
-
|
|
489
|
-
if attributes.key?(:'primary_mood_cluster')
|
|
490
|
-
self.primary_mood_cluster = attributes[:'primary_mood_cluster']
|
|
491
|
-
end
|
|
492
|
-
|
|
493
|
-
if attributes.key?(:'primary_sound_character')
|
|
494
|
-
self.primary_sound_character = attributes[:'primary_sound_character']
|
|
495
|
-
end
|
|
496
|
-
|
|
497
|
-
if attributes.key?(:'rhythm')
|
|
498
|
-
self.rhythm = attributes[:'rhythm']
|
|
499
|
-
end
|
|
500
|
-
|
|
501
453
|
if attributes.key?(:'roughness')
|
|
502
454
|
self.roughness = attributes[:'roughness']
|
|
503
455
|
end
|
|
@@ -550,44 +502,88 @@ module SongtradrApiClientRuby
|
|
|
550
502
|
self.channel_suitability = attributes[:'channel_suitability']
|
|
551
503
|
end
|
|
552
504
|
|
|
553
|
-
if attributes.key?(:'
|
|
554
|
-
self.
|
|
505
|
+
if attributes.key?(:'language_of_performance')
|
|
506
|
+
self.language_of_performance = attributes[:'language_of_performance']
|
|
555
507
|
end
|
|
556
508
|
|
|
557
|
-
if attributes.key?(:'
|
|
558
|
-
self.
|
|
509
|
+
if attributes.key?(:'arousal')
|
|
510
|
+
self.arousal = attributes[:'arousal']
|
|
559
511
|
end
|
|
560
512
|
|
|
561
|
-
if attributes.key?(:'
|
|
562
|
-
self.
|
|
513
|
+
if attributes.key?(:'dominant_instrument')
|
|
514
|
+
self.dominant_instrument = attributes[:'dominant_instrument']
|
|
563
515
|
end
|
|
564
516
|
|
|
565
|
-
if attributes.key?(:'
|
|
566
|
-
self.
|
|
517
|
+
if attributes.key?(:'energy')
|
|
518
|
+
self.energy = attributes[:'energy']
|
|
567
519
|
end
|
|
568
520
|
|
|
569
|
-
if attributes.key?(:'
|
|
570
|
-
self.
|
|
521
|
+
if attributes.key?(:'engagement')
|
|
522
|
+
self.engagement = attributes[:'engagement']
|
|
571
523
|
end
|
|
572
524
|
|
|
573
|
-
if attributes.key?(:'
|
|
574
|
-
self.
|
|
525
|
+
if attributes.key?(:'groovyness')
|
|
526
|
+
self.groovyness = attributes[:'groovyness']
|
|
575
527
|
end
|
|
576
528
|
|
|
577
|
-
if attributes.key?(:'
|
|
578
|
-
self.
|
|
529
|
+
if attributes.key?(:'harmony')
|
|
530
|
+
self.harmony = attributes[:'harmony']
|
|
579
531
|
end
|
|
580
532
|
|
|
581
|
-
if attributes.key?(:'
|
|
582
|
-
self.
|
|
533
|
+
if attributes.key?(:'pleasantness')
|
|
534
|
+
self.pleasantness = attributes[:'pleasantness']
|
|
583
535
|
end
|
|
584
536
|
|
|
585
|
-
if attributes.key?(:'
|
|
586
|
-
self.
|
|
537
|
+
if attributes.key?(:'primary_mood_cluster')
|
|
538
|
+
self.primary_mood_cluster = attributes[:'primary_mood_cluster']
|
|
587
539
|
end
|
|
588
540
|
|
|
589
|
-
if attributes.key?(:'
|
|
590
|
-
self.
|
|
541
|
+
if attributes.key?(:'primary_sound_character')
|
|
542
|
+
self.primary_sound_character = attributes[:'primary_sound_character']
|
|
543
|
+
end
|
|
544
|
+
|
|
545
|
+
if attributes.key?(:'rhythm')
|
|
546
|
+
self.rhythm = attributes[:'rhythm']
|
|
547
|
+
end
|
|
548
|
+
|
|
549
|
+
if attributes.key?(:'primary_mood_cluster_affinity')
|
|
550
|
+
self.primary_mood_cluster_affinity = attributes[:'primary_mood_cluster_affinity']
|
|
551
|
+
end
|
|
552
|
+
|
|
553
|
+
if attributes.key?(:'secondary_mood_cluster')
|
|
554
|
+
self.secondary_mood_cluster = attributes[:'secondary_mood_cluster']
|
|
555
|
+
end
|
|
556
|
+
|
|
557
|
+
if attributes.key?(:'secondary_mood_cluster_affinity')
|
|
558
|
+
self.secondary_mood_cluster_affinity = attributes[:'secondary_mood_cluster_affinity']
|
|
559
|
+
end
|
|
560
|
+
|
|
561
|
+
if attributes.key?(:'tertiary_mood_cluster')
|
|
562
|
+
self.tertiary_mood_cluster = attributes[:'tertiary_mood_cluster']
|
|
563
|
+
end
|
|
564
|
+
|
|
565
|
+
if attributes.key?(:'tertiary_mood_cluster_affinity')
|
|
566
|
+
self.tertiary_mood_cluster_affinity = attributes[:'tertiary_mood_cluster_affinity']
|
|
567
|
+
end
|
|
568
|
+
|
|
569
|
+
if attributes.key?(:'vocals_affinity')
|
|
570
|
+
self.vocals_affinity = attributes[:'vocals_affinity']
|
|
571
|
+
end
|
|
572
|
+
|
|
573
|
+
if attributes.key?(:'dominant_instrument_affinity')
|
|
574
|
+
self.dominant_instrument_affinity = attributes[:'dominant_instrument_affinity']
|
|
575
|
+
end
|
|
576
|
+
|
|
577
|
+
if attributes.key?(:'secondary_instrument')
|
|
578
|
+
self.secondary_instrument = attributes[:'secondary_instrument']
|
|
579
|
+
end
|
|
580
|
+
|
|
581
|
+
if attributes.key?(:'secondary_instrument_affinity')
|
|
582
|
+
self.secondary_instrument_affinity = attributes[:'secondary_instrument_affinity']
|
|
583
|
+
end
|
|
584
|
+
|
|
585
|
+
if attributes.key?(:'tertiary_instrument')
|
|
586
|
+
self.tertiary_instrument = attributes[:'tertiary_instrument']
|
|
591
587
|
end
|
|
592
588
|
|
|
593
589
|
if attributes.key?(:'tertiary_instrument_affinity')
|
|
@@ -726,64 +722,68 @@ module SongtradrApiClientRuby
|
|
|
726
722
|
self.audience_region = attributes[:'audience_region']
|
|
727
723
|
end
|
|
728
724
|
|
|
725
|
+
if attributes.key?(:'valence_affinity')
|
|
726
|
+
self.valence_affinity = attributes[:'valence_affinity']
|
|
727
|
+
end
|
|
728
|
+
|
|
729
729
|
if attributes.key?(:'arousal_affinity')
|
|
730
730
|
self.arousal_affinity = attributes[:'arousal_affinity']
|
|
731
731
|
end
|
|
732
732
|
|
|
733
|
-
if attributes.key?(:'
|
|
734
|
-
self.
|
|
733
|
+
if attributes.key?(:'pleasantness_affinity')
|
|
734
|
+
self.pleasantness_affinity = attributes[:'pleasantness_affinity']
|
|
735
735
|
end
|
|
736
736
|
|
|
737
|
-
if attributes.key?(:'
|
|
738
|
-
self.
|
|
737
|
+
if attributes.key?(:'engagement_affinity')
|
|
738
|
+
self.engagement_affinity = attributes[:'engagement_affinity']
|
|
739
739
|
end
|
|
740
740
|
|
|
741
741
|
if attributes.key?(:'energy_affinity')
|
|
742
742
|
self.energy_affinity = attributes[:'energy_affinity']
|
|
743
743
|
end
|
|
744
744
|
|
|
745
|
-
if attributes.key?(:'
|
|
746
|
-
self.
|
|
745
|
+
if attributes.key?(:'tempo_affinity')
|
|
746
|
+
self.tempo_affinity = attributes[:'tempo_affinity']
|
|
747
747
|
end
|
|
748
748
|
|
|
749
|
-
if attributes.key?(:'
|
|
750
|
-
self.
|
|
749
|
+
if attributes.key?(:'scale_affinity')
|
|
750
|
+
self.scale_affinity = attributes[:'scale_affinity']
|
|
751
751
|
end
|
|
752
752
|
|
|
753
|
-
if attributes.key?(:'
|
|
754
|
-
self.
|
|
753
|
+
if attributes.key?(:'timbre_affinity')
|
|
754
|
+
self.timbre_affinity = attributes[:'timbre_affinity']
|
|
755
755
|
end
|
|
756
756
|
|
|
757
757
|
if attributes.key?(:'roughness_affinity')
|
|
758
758
|
self.roughness_affinity = attributes[:'roughness_affinity']
|
|
759
759
|
end
|
|
760
760
|
|
|
761
|
-
if attributes.key?(:'
|
|
762
|
-
self.
|
|
761
|
+
if attributes.key?(:'harmony_affinity')
|
|
762
|
+
self.harmony_affinity = attributes[:'harmony_affinity']
|
|
763
763
|
end
|
|
764
764
|
|
|
765
765
|
if attributes.key?(:'texture_affinity')
|
|
766
766
|
self.texture_affinity = attributes[:'texture_affinity']
|
|
767
767
|
end
|
|
768
768
|
|
|
769
|
-
if attributes.key?(:'space_affinity')
|
|
770
|
-
self.space_affinity = attributes[:'space_affinity']
|
|
771
|
-
end
|
|
772
|
-
|
|
773
769
|
if attributes.key?(:'groovyness_affinity')
|
|
774
770
|
self.groovyness_affinity = attributes[:'groovyness_affinity']
|
|
775
771
|
end
|
|
776
772
|
|
|
777
|
-
if attributes.key?(:'
|
|
778
|
-
self.
|
|
773
|
+
if attributes.key?(:'space_affinity')
|
|
774
|
+
self.space_affinity = attributes[:'space_affinity']
|
|
779
775
|
end
|
|
780
776
|
|
|
781
|
-
if attributes.key?(:'
|
|
782
|
-
self.
|
|
777
|
+
if attributes.key?(:'key_affinity')
|
|
778
|
+
self.key_affinity = attributes[:'key_affinity']
|
|
783
779
|
end
|
|
784
780
|
|
|
785
|
-
if attributes.key?(:'
|
|
786
|
-
self.
|
|
781
|
+
if attributes.key?(:'channel_suitability_affinity')
|
|
782
|
+
self.channel_suitability_affinity = attributes[:'channel_suitability_affinity']
|
|
783
|
+
end
|
|
784
|
+
|
|
785
|
+
if attributes.key?(:'key')
|
|
786
|
+
self.key = attributes[:'key']
|
|
787
787
|
end
|
|
788
788
|
end
|
|
789
789
|
|
|
@@ -801,28 +801,6 @@ module SongtradrApiClientRuby
|
|
|
801
801
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
802
802
|
space_validator = EnumAttributeValidator.new('String', ["very compact", "compact", "moderate space", "wide", "very wide"])
|
|
803
803
|
return false unless space_validator.valid?(@space)
|
|
804
|
-
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"])
|
|
805
|
-
return false unless language_of_performance_validator.valid?(@language_of_performance)
|
|
806
|
-
arousal_validator = EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
|
|
807
|
-
return false unless arousal_validator.valid?(@arousal)
|
|
808
|
-
dominant_instrument_validator = EnumAttributeValidator.new('String', ["electric guitar", "piano", "electronics", "guitar", "strings", "synthesizer", "wind", "saxophone", "flute", "trumpet", "drum kit", "keys", "accordion", "violin", "harpsichord", "choir", "cello", "electric bass", "organ", "brass", "percussion", "vocals", "double bass", "harp"])
|
|
809
|
-
return false unless dominant_instrument_validator.valid?(@dominant_instrument)
|
|
810
|
-
energy_validator = EnumAttributeValidator.new('String', ["very quiet", "quiet", "moderate", "loud", "very loud", "dynamic"])
|
|
811
|
-
return false unless energy_validator.valid?(@energy)
|
|
812
|
-
engagement_validator = EnumAttributeValidator.new('String', ["very unengaging", "unengaging", "neutral engagement", "engaging", "very engaging", "varying engagement"])
|
|
813
|
-
return false unless engagement_validator.valid?(@engagement)
|
|
814
|
-
groovyness_validator = EnumAttributeValidator.new('String', ["very steady", "steady", "moderate rhythm feel", "groovy", "very groovy"])
|
|
815
|
-
return false unless groovyness_validator.valid?(@groovyness)
|
|
816
|
-
harmony_validator = EnumAttributeValidator.new('String', ["very dissonant", "dissonant", "moderate harmonies", "harmonious", "very harmonious"])
|
|
817
|
-
return false unless harmony_validator.valid?(@harmony)
|
|
818
|
-
pleasantness_validator = EnumAttributeValidator.new('String', ["very unpleasant", "unpleasant", "neutral pleasantness", "pleasant", "very pleasant", "varying pleasantness"])
|
|
819
|
-
return false unless pleasantness_validator.valid?(@pleasantness)
|
|
820
|
-
primary_mood_cluster_validator = EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
|
821
|
-
return false unless primary_mood_cluster_validator.valid?(@primary_mood_cluster)
|
|
822
|
-
primary_sound_character_validator = EnumAttributeValidator.new('String', ["brassy", "bright", "clear", "deep", "distorted", "flat", "full", "groovy", "melodious", "natural", "resonant", "shrill", "steady", "thin", "warm"])
|
|
823
|
-
return false unless primary_sound_character_validator.valid?(@primary_sound_character)
|
|
824
|
-
rhythm_validator = EnumAttributeValidator.new('String', ["common time", "triple meter", "complex time signature", "binary rhythm", "ternary rhythm"])
|
|
825
|
-
return false unless rhythm_validator.valid?(@rhythm)
|
|
826
804
|
roughness_validator = EnumAttributeValidator.new('String', ["very clear", "clear", "moderate roughness", "distorted", "very distorted"])
|
|
827
805
|
return false unless roughness_validator.valid?(@roughness)
|
|
828
806
|
scale_validator = EnumAttributeValidator.new('String', ["major key", "minor key", "neutral key"])
|
|
@@ -849,6 +827,28 @@ module SongtradrApiClientRuby
|
|
|
849
827
|
return false unless use_case_validator.valid?(@use_case)
|
|
850
828
|
channel_suitability_validator = EnumAttributeValidator.new('String', ["Spotify", "TikTok", "Unfitting", "YouTube"])
|
|
851
829
|
return false unless channel_suitability_validator.valid?(@channel_suitability)
|
|
830
|
+
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"])
|
|
831
|
+
return false unless language_of_performance_validator.valid?(@language_of_performance)
|
|
832
|
+
arousal_validator = EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
|
|
833
|
+
return false unless arousal_validator.valid?(@arousal)
|
|
834
|
+
dominant_instrument_validator = EnumAttributeValidator.new('String', ["electric guitar", "piano", "electronics", "guitar", "strings", "synthesizer", "wind", "saxophone", "flute", "trumpet", "drum kit", "keys", "accordion", "violin", "harpsichord", "choir", "cello", "electric bass", "organ", "brass", "percussion", "vocals", "double bass", "harp"])
|
|
835
|
+
return false unless dominant_instrument_validator.valid?(@dominant_instrument)
|
|
836
|
+
energy_validator = EnumAttributeValidator.new('String', ["very quiet", "quiet", "moderate", "loud", "very loud", "dynamic"])
|
|
837
|
+
return false unless energy_validator.valid?(@energy)
|
|
838
|
+
engagement_validator = EnumAttributeValidator.new('String', ["very unengaging", "unengaging", "neutral engagement", "engaging", "very engaging", "varying engagement"])
|
|
839
|
+
return false unless engagement_validator.valid?(@engagement)
|
|
840
|
+
groovyness_validator = EnumAttributeValidator.new('String', ["very steady", "steady", "moderate rhythm feel", "groovy", "very groovy"])
|
|
841
|
+
return false unless groovyness_validator.valid?(@groovyness)
|
|
842
|
+
harmony_validator = EnumAttributeValidator.new('String', ["very dissonant", "dissonant", "moderate harmonies", "harmonious", "very harmonious"])
|
|
843
|
+
return false unless harmony_validator.valid?(@harmony)
|
|
844
|
+
pleasantness_validator = EnumAttributeValidator.new('String', ["very unpleasant", "unpleasant", "neutral pleasantness", "pleasant", "very pleasant", "varying pleasantness"])
|
|
845
|
+
return false unless pleasantness_validator.valid?(@pleasantness)
|
|
846
|
+
primary_mood_cluster_validator = EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
|
847
|
+
return false unless primary_mood_cluster_validator.valid?(@primary_mood_cluster)
|
|
848
|
+
primary_sound_character_validator = EnumAttributeValidator.new('String', ["brassy", "bright", "clear", "deep", "distorted", "flat", "full", "groovy", "melodious", "natural", "resonant", "shrill", "steady", "thin", "warm"])
|
|
849
|
+
return false unless primary_sound_character_validator.valid?(@primary_sound_character)
|
|
850
|
+
rhythm_validator = EnumAttributeValidator.new('String', ["common time", "triple meter", "complex time signature", "binary rhythm", "ternary rhythm"])
|
|
851
|
+
return false unless rhythm_validator.valid?(@rhythm)
|
|
852
852
|
secondary_mood_cluster_validator = EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
|
853
853
|
return false unless secondary_mood_cluster_validator.valid?(@secondary_mood_cluster)
|
|
854
854
|
tertiary_mood_cluster_validator = EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
|
@@ -896,116 +896,6 @@ module SongtradrApiClientRuby
|
|
|
896
896
|
@space = space
|
|
897
897
|
end
|
|
898
898
|
|
|
899
|
-
# Custom attribute writer method checking allowed values (enum).
|
|
900
|
-
# @param [Object] language_of_performance Object to be assigned
|
|
901
|
-
def language_of_performance=(language_of_performance)
|
|
902
|
-
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"])
|
|
903
|
-
unless validator.valid?(language_of_performance)
|
|
904
|
-
fail ArgumentError, "invalid value for \"language_of_performance\", must be one of #{validator.allowable_values}."
|
|
905
|
-
end
|
|
906
|
-
@language_of_performance = language_of_performance
|
|
907
|
-
end
|
|
908
|
-
|
|
909
|
-
# Custom attribute writer method checking allowed values (enum).
|
|
910
|
-
# @param [Object] arousal Object to be assigned
|
|
911
|
-
def arousal=(arousal)
|
|
912
|
-
validator = EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
|
|
913
|
-
unless validator.valid?(arousal)
|
|
914
|
-
fail ArgumentError, "invalid value for \"arousal\", must be one of #{validator.allowable_values}."
|
|
915
|
-
end
|
|
916
|
-
@arousal = arousal
|
|
917
|
-
end
|
|
918
|
-
|
|
919
|
-
# Custom attribute writer method checking allowed values (enum).
|
|
920
|
-
# @param [Object] dominant_instrument Object to be assigned
|
|
921
|
-
def dominant_instrument=(dominant_instrument)
|
|
922
|
-
validator = EnumAttributeValidator.new('String', ["electric guitar", "piano", "electronics", "guitar", "strings", "synthesizer", "wind", "saxophone", "flute", "trumpet", "drum kit", "keys", "accordion", "violin", "harpsichord", "choir", "cello", "electric bass", "organ", "brass", "percussion", "vocals", "double bass", "harp"])
|
|
923
|
-
unless validator.valid?(dominant_instrument)
|
|
924
|
-
fail ArgumentError, "invalid value for \"dominant_instrument\", must be one of #{validator.allowable_values}."
|
|
925
|
-
end
|
|
926
|
-
@dominant_instrument = dominant_instrument
|
|
927
|
-
end
|
|
928
|
-
|
|
929
|
-
# Custom attribute writer method checking allowed values (enum).
|
|
930
|
-
# @param [Object] energy Object to be assigned
|
|
931
|
-
def energy=(energy)
|
|
932
|
-
validator = EnumAttributeValidator.new('String', ["very quiet", "quiet", "moderate", "loud", "very loud", "dynamic"])
|
|
933
|
-
unless validator.valid?(energy)
|
|
934
|
-
fail ArgumentError, "invalid value for \"energy\", must be one of #{validator.allowable_values}."
|
|
935
|
-
end
|
|
936
|
-
@energy = energy
|
|
937
|
-
end
|
|
938
|
-
|
|
939
|
-
# Custom attribute writer method checking allowed values (enum).
|
|
940
|
-
# @param [Object] engagement Object to be assigned
|
|
941
|
-
def engagement=(engagement)
|
|
942
|
-
validator = EnumAttributeValidator.new('String', ["very unengaging", "unengaging", "neutral engagement", "engaging", "very engaging", "varying engagement"])
|
|
943
|
-
unless validator.valid?(engagement)
|
|
944
|
-
fail ArgumentError, "invalid value for \"engagement\", must be one of #{validator.allowable_values}."
|
|
945
|
-
end
|
|
946
|
-
@engagement = engagement
|
|
947
|
-
end
|
|
948
|
-
|
|
949
|
-
# Custom attribute writer method checking allowed values (enum).
|
|
950
|
-
# @param [Object] groovyness Object to be assigned
|
|
951
|
-
def groovyness=(groovyness)
|
|
952
|
-
validator = EnumAttributeValidator.new('String', ["very steady", "steady", "moderate rhythm feel", "groovy", "very groovy"])
|
|
953
|
-
unless validator.valid?(groovyness)
|
|
954
|
-
fail ArgumentError, "invalid value for \"groovyness\", must be one of #{validator.allowable_values}."
|
|
955
|
-
end
|
|
956
|
-
@groovyness = groovyness
|
|
957
|
-
end
|
|
958
|
-
|
|
959
|
-
# Custom attribute writer method checking allowed values (enum).
|
|
960
|
-
# @param [Object] harmony Object to be assigned
|
|
961
|
-
def harmony=(harmony)
|
|
962
|
-
validator = EnumAttributeValidator.new('String', ["very dissonant", "dissonant", "moderate harmonies", "harmonious", "very harmonious"])
|
|
963
|
-
unless validator.valid?(harmony)
|
|
964
|
-
fail ArgumentError, "invalid value for \"harmony\", must be one of #{validator.allowable_values}."
|
|
965
|
-
end
|
|
966
|
-
@harmony = harmony
|
|
967
|
-
end
|
|
968
|
-
|
|
969
|
-
# Custom attribute writer method checking allowed values (enum).
|
|
970
|
-
# @param [Object] pleasantness Object to be assigned
|
|
971
|
-
def pleasantness=(pleasantness)
|
|
972
|
-
validator = EnumAttributeValidator.new('String', ["very unpleasant", "unpleasant", "neutral pleasantness", "pleasant", "very pleasant", "varying pleasantness"])
|
|
973
|
-
unless validator.valid?(pleasantness)
|
|
974
|
-
fail ArgumentError, "invalid value for \"pleasantness\", must be one of #{validator.allowable_values}."
|
|
975
|
-
end
|
|
976
|
-
@pleasantness = pleasantness
|
|
977
|
-
end
|
|
978
|
-
|
|
979
|
-
# Custom attribute writer method checking allowed values (enum).
|
|
980
|
-
# @param [Object] primary_mood_cluster Object to be assigned
|
|
981
|
-
def primary_mood_cluster=(primary_mood_cluster)
|
|
982
|
-
validator = EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
|
983
|
-
unless validator.valid?(primary_mood_cluster)
|
|
984
|
-
fail ArgumentError, "invalid value for \"primary_mood_cluster\", must be one of #{validator.allowable_values}."
|
|
985
|
-
end
|
|
986
|
-
@primary_mood_cluster = primary_mood_cluster
|
|
987
|
-
end
|
|
988
|
-
|
|
989
|
-
# Custom attribute writer method checking allowed values (enum).
|
|
990
|
-
# @param [Object] primary_sound_character Object to be assigned
|
|
991
|
-
def primary_sound_character=(primary_sound_character)
|
|
992
|
-
validator = EnumAttributeValidator.new('String', ["brassy", "bright", "clear", "deep", "distorted", "flat", "full", "groovy", "melodious", "natural", "resonant", "shrill", "steady", "thin", "warm"])
|
|
993
|
-
unless validator.valid?(primary_sound_character)
|
|
994
|
-
fail ArgumentError, "invalid value for \"primary_sound_character\", must be one of #{validator.allowable_values}."
|
|
995
|
-
end
|
|
996
|
-
@primary_sound_character = primary_sound_character
|
|
997
|
-
end
|
|
998
|
-
|
|
999
|
-
# Custom attribute writer method checking allowed values (enum).
|
|
1000
|
-
# @param [Object] rhythm Object to be assigned
|
|
1001
|
-
def rhythm=(rhythm)
|
|
1002
|
-
validator = EnumAttributeValidator.new('String', ["common time", "triple meter", "complex time signature", "binary rhythm", "ternary rhythm"])
|
|
1003
|
-
unless validator.valid?(rhythm)
|
|
1004
|
-
fail ArgumentError, "invalid value for \"rhythm\", must be one of #{validator.allowable_values}."
|
|
1005
|
-
end
|
|
1006
|
-
@rhythm = rhythm
|
|
1007
|
-
end
|
|
1008
|
-
|
|
1009
899
|
# Custom attribute writer method checking allowed values (enum).
|
|
1010
900
|
# @param [Object] roughness Object to be assigned
|
|
1011
901
|
def roughness=(roughness)
|
|
@@ -1136,6 +1026,116 @@ module SongtradrApiClientRuby
|
|
|
1136
1026
|
@channel_suitability = channel_suitability
|
|
1137
1027
|
end
|
|
1138
1028
|
|
|
1029
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1030
|
+
# @param [Object] language_of_performance Object to be assigned
|
|
1031
|
+
def language_of_performance=(language_of_performance)
|
|
1032
|
+
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"])
|
|
1033
|
+
unless validator.valid?(language_of_performance)
|
|
1034
|
+
fail ArgumentError, "invalid value for \"language_of_performance\", must be one of #{validator.allowable_values}."
|
|
1035
|
+
end
|
|
1036
|
+
@language_of_performance = language_of_performance
|
|
1037
|
+
end
|
|
1038
|
+
|
|
1039
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1040
|
+
# @param [Object] arousal Object to be assigned
|
|
1041
|
+
def arousal=(arousal)
|
|
1042
|
+
validator = EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
|
|
1043
|
+
unless validator.valid?(arousal)
|
|
1044
|
+
fail ArgumentError, "invalid value for \"arousal\", must be one of #{validator.allowable_values}."
|
|
1045
|
+
end
|
|
1046
|
+
@arousal = arousal
|
|
1047
|
+
end
|
|
1048
|
+
|
|
1049
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1050
|
+
# @param [Object] dominant_instrument Object to be assigned
|
|
1051
|
+
def dominant_instrument=(dominant_instrument)
|
|
1052
|
+
validator = EnumAttributeValidator.new('String', ["electric guitar", "piano", "electronics", "guitar", "strings", "synthesizer", "wind", "saxophone", "flute", "trumpet", "drum kit", "keys", "accordion", "violin", "harpsichord", "choir", "cello", "electric bass", "organ", "brass", "percussion", "vocals", "double bass", "harp"])
|
|
1053
|
+
unless validator.valid?(dominant_instrument)
|
|
1054
|
+
fail ArgumentError, "invalid value for \"dominant_instrument\", must be one of #{validator.allowable_values}."
|
|
1055
|
+
end
|
|
1056
|
+
@dominant_instrument = dominant_instrument
|
|
1057
|
+
end
|
|
1058
|
+
|
|
1059
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1060
|
+
# @param [Object] energy Object to be assigned
|
|
1061
|
+
def energy=(energy)
|
|
1062
|
+
validator = EnumAttributeValidator.new('String', ["very quiet", "quiet", "moderate", "loud", "very loud", "dynamic"])
|
|
1063
|
+
unless validator.valid?(energy)
|
|
1064
|
+
fail ArgumentError, "invalid value for \"energy\", must be one of #{validator.allowable_values}."
|
|
1065
|
+
end
|
|
1066
|
+
@energy = energy
|
|
1067
|
+
end
|
|
1068
|
+
|
|
1069
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1070
|
+
# @param [Object] engagement Object to be assigned
|
|
1071
|
+
def engagement=(engagement)
|
|
1072
|
+
validator = EnumAttributeValidator.new('String', ["very unengaging", "unengaging", "neutral engagement", "engaging", "very engaging", "varying engagement"])
|
|
1073
|
+
unless validator.valid?(engagement)
|
|
1074
|
+
fail ArgumentError, "invalid value for \"engagement\", must be one of #{validator.allowable_values}."
|
|
1075
|
+
end
|
|
1076
|
+
@engagement = engagement
|
|
1077
|
+
end
|
|
1078
|
+
|
|
1079
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1080
|
+
# @param [Object] groovyness Object to be assigned
|
|
1081
|
+
def groovyness=(groovyness)
|
|
1082
|
+
validator = EnumAttributeValidator.new('String', ["very steady", "steady", "moderate rhythm feel", "groovy", "very groovy"])
|
|
1083
|
+
unless validator.valid?(groovyness)
|
|
1084
|
+
fail ArgumentError, "invalid value for \"groovyness\", must be one of #{validator.allowable_values}."
|
|
1085
|
+
end
|
|
1086
|
+
@groovyness = groovyness
|
|
1087
|
+
end
|
|
1088
|
+
|
|
1089
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1090
|
+
# @param [Object] harmony Object to be assigned
|
|
1091
|
+
def harmony=(harmony)
|
|
1092
|
+
validator = EnumAttributeValidator.new('String', ["very dissonant", "dissonant", "moderate harmonies", "harmonious", "very harmonious"])
|
|
1093
|
+
unless validator.valid?(harmony)
|
|
1094
|
+
fail ArgumentError, "invalid value for \"harmony\", must be one of #{validator.allowable_values}."
|
|
1095
|
+
end
|
|
1096
|
+
@harmony = harmony
|
|
1097
|
+
end
|
|
1098
|
+
|
|
1099
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1100
|
+
# @param [Object] pleasantness Object to be assigned
|
|
1101
|
+
def pleasantness=(pleasantness)
|
|
1102
|
+
validator = EnumAttributeValidator.new('String', ["very unpleasant", "unpleasant", "neutral pleasantness", "pleasant", "very pleasant", "varying pleasantness"])
|
|
1103
|
+
unless validator.valid?(pleasantness)
|
|
1104
|
+
fail ArgumentError, "invalid value for \"pleasantness\", must be one of #{validator.allowable_values}."
|
|
1105
|
+
end
|
|
1106
|
+
@pleasantness = pleasantness
|
|
1107
|
+
end
|
|
1108
|
+
|
|
1109
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1110
|
+
# @param [Object] primary_mood_cluster Object to be assigned
|
|
1111
|
+
def primary_mood_cluster=(primary_mood_cluster)
|
|
1112
|
+
validator = EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
|
1113
|
+
unless validator.valid?(primary_mood_cluster)
|
|
1114
|
+
fail ArgumentError, "invalid value for \"primary_mood_cluster\", must be one of #{validator.allowable_values}."
|
|
1115
|
+
end
|
|
1116
|
+
@primary_mood_cluster = primary_mood_cluster
|
|
1117
|
+
end
|
|
1118
|
+
|
|
1119
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1120
|
+
# @param [Object] primary_sound_character Object to be assigned
|
|
1121
|
+
def primary_sound_character=(primary_sound_character)
|
|
1122
|
+
validator = EnumAttributeValidator.new('String', ["brassy", "bright", "clear", "deep", "distorted", "flat", "full", "groovy", "melodious", "natural", "resonant", "shrill", "steady", "thin", "warm"])
|
|
1123
|
+
unless validator.valid?(primary_sound_character)
|
|
1124
|
+
fail ArgumentError, "invalid value for \"primary_sound_character\", must be one of #{validator.allowable_values}."
|
|
1125
|
+
end
|
|
1126
|
+
@primary_sound_character = primary_sound_character
|
|
1127
|
+
end
|
|
1128
|
+
|
|
1129
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
1130
|
+
# @param [Object] rhythm Object to be assigned
|
|
1131
|
+
def rhythm=(rhythm)
|
|
1132
|
+
validator = EnumAttributeValidator.new('String', ["common time", "triple meter", "complex time signature", "binary rhythm", "ternary rhythm"])
|
|
1133
|
+
unless validator.valid?(rhythm)
|
|
1134
|
+
fail ArgumentError, "invalid value for \"rhythm\", must be one of #{validator.allowable_values}."
|
|
1135
|
+
end
|
|
1136
|
+
@rhythm = rhythm
|
|
1137
|
+
end
|
|
1138
|
+
|
|
1139
1139
|
# Custom attribute writer method checking allowed values (enum).
|
|
1140
1140
|
# @param [Object] secondary_mood_cluster Object to be assigned
|
|
1141
1141
|
def secondary_mood_cluster=(secondary_mood_cluster)
|
|
@@ -1312,18 +1312,6 @@ module SongtradrApiClientRuby
|
|
|
1312
1312
|
return true if self.equal?(o)
|
|
1313
1313
|
self.class == o.class &&
|
|
1314
1314
|
space == o.space &&
|
|
1315
|
-
harmony_affinity == o.harmony_affinity &&
|
|
1316
|
-
language_of_performance == o.language_of_performance &&
|
|
1317
|
-
arousal == o.arousal &&
|
|
1318
|
-
dominant_instrument == o.dominant_instrument &&
|
|
1319
|
-
energy == o.energy &&
|
|
1320
|
-
engagement == o.engagement &&
|
|
1321
|
-
groovyness == o.groovyness &&
|
|
1322
|
-
harmony == o.harmony &&
|
|
1323
|
-
pleasantness == o.pleasantness &&
|
|
1324
|
-
primary_mood_cluster == o.primary_mood_cluster &&
|
|
1325
|
-
primary_sound_character == o.primary_sound_character &&
|
|
1326
|
-
rhythm == o.rhythm &&
|
|
1327
1315
|
roughness == o.roughness &&
|
|
1328
1316
|
scale == o.scale &&
|
|
1329
1317
|
sound_generation == o.sound_generation &&
|
|
@@ -1337,6 +1325,17 @@ module SongtradrApiClientRuby
|
|
|
1337
1325
|
curateability == o.curateability &&
|
|
1338
1326
|
use_case == o.use_case &&
|
|
1339
1327
|
channel_suitability == o.channel_suitability &&
|
|
1328
|
+
language_of_performance == o.language_of_performance &&
|
|
1329
|
+
arousal == o.arousal &&
|
|
1330
|
+
dominant_instrument == o.dominant_instrument &&
|
|
1331
|
+
energy == o.energy &&
|
|
1332
|
+
engagement == o.engagement &&
|
|
1333
|
+
groovyness == o.groovyness &&
|
|
1334
|
+
harmony == o.harmony &&
|
|
1335
|
+
pleasantness == o.pleasantness &&
|
|
1336
|
+
primary_mood_cluster == o.primary_mood_cluster &&
|
|
1337
|
+
primary_sound_character == o.primary_sound_character &&
|
|
1338
|
+
rhythm == o.rhythm &&
|
|
1340
1339
|
primary_mood_cluster_affinity == o.primary_mood_cluster_affinity &&
|
|
1341
1340
|
secondary_mood_cluster == o.secondary_mood_cluster &&
|
|
1342
1341
|
secondary_mood_cluster_affinity == o.secondary_mood_cluster_affinity &&
|
|
@@ -1381,21 +1380,22 @@ module SongtradrApiClientRuby
|
|
|
1381
1380
|
industry_suitability == o.industry_suitability &&
|
|
1382
1381
|
industry_suitability_affinity == o.industry_suitability_affinity &&
|
|
1383
1382
|
audience_region == o.audience_region &&
|
|
1383
|
+
valence_affinity == o.valence_affinity &&
|
|
1384
1384
|
arousal_affinity == o.arousal_affinity &&
|
|
1385
|
-
channel_suitability_affinity == o.channel_suitability_affinity &&
|
|
1386
|
-
key == o.key &&
|
|
1387
|
-
energy_affinity == o.energy_affinity &&
|
|
1388
|
-
key_affinity == o.key_affinity &&
|
|
1389
1385
|
pleasantness_affinity == o.pleasantness_affinity &&
|
|
1390
1386
|
engagement_affinity == o.engagement_affinity &&
|
|
1391
|
-
|
|
1387
|
+
energy_affinity == o.energy_affinity &&
|
|
1388
|
+
tempo_affinity == o.tempo_affinity &&
|
|
1389
|
+
scale_affinity == o.scale_affinity &&
|
|
1392
1390
|
timbre_affinity == o.timbre_affinity &&
|
|
1391
|
+
roughness_affinity == o.roughness_affinity &&
|
|
1392
|
+
harmony_affinity == o.harmony_affinity &&
|
|
1393
1393
|
texture_affinity == o.texture_affinity &&
|
|
1394
|
-
space_affinity == o.space_affinity &&
|
|
1395
1394
|
groovyness_affinity == o.groovyness_affinity &&
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1395
|
+
space_affinity == o.space_affinity &&
|
|
1396
|
+
key_affinity == o.key_affinity &&
|
|
1397
|
+
channel_suitability_affinity == o.channel_suitability_affinity &&
|
|
1398
|
+
key == o.key
|
|
1399
1399
|
end
|
|
1400
1400
|
|
|
1401
1401
|
# @see the `==` method
|
|
@@ -1407,7 +1407,7 @@ module SongtradrApiClientRuby
|
|
|
1407
1407
|
# Calculates hash code according to all attributes.
|
|
1408
1408
|
# @return [Integer] Hash code
|
|
1409
1409
|
def hash
|
|
1410
|
-
[space,
|
|
1410
|
+
[space, roughness, scale, sound_generation, tempo, texture, timbre, tonality, valence, vocals, origin_decade, curateability, use_case, channel_suitability, language_of_performance, arousal, dominant_instrument, energy, engagement, groovyness, harmony, pleasantness, primary_mood_cluster, primary_sound_character, rhythm, 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, 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, key_affinity, channel_suitability_affinity, key].hash
|
|
1411
1411
|
end
|
|
1412
1412
|
|
|
1413
1413
|
# Builds the object from hash
|