songtradr_api_client_ruby 1.13.5 → 1.13.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +12 -36
- data/docs/FileSmallDTO.md +9 -9
- data/docs/MusicalFeaturesDTO.md +20 -20
- data/docs/PlaylistApi.md +1 -1
- data/docs/PlaylistLargeDTO.md +5 -5
- data/docs/ProductMediumDTO.md +2 -2
- data/docs/RecordingApi.md +10 -4
- data/docs/RecordingGenrePredictionDTO.md +3 -3
- data/docs/RecordingLargeDTO.md +5 -5
- data/docs/RecordingMediumDTO.md +2 -2
- data/docs/RecordingMinimalWithMusicalFeaturesDTO.md +3 -3
- data/docs/RecordingSmallDTO.md +4 -2
- data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/party_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/playlist_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api/recording_api.rb +7 -1
- data/lib/songtradr_api_client_ruby/api/user_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api_client.rb +1 -1
- data/lib/songtradr_api_client_ruby/api_error.rb +1 -1
- data/lib/songtradr_api_client_ruby/configuration.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/age_range.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/beard.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/bounding_box.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/context_value.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/curate_playlist_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/curate_playlist_response_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/dominant_color.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/emotion.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/error_response.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/eye_direction.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/eye_open.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/eyeglasses.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/face_detail.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/face_detection.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/face_occluded.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_minimal_with_url_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +41 -41
- data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/gender.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/genre_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/image_quality.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/image_recognition_response.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/instance.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/label.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/label_alias.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/label_category.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/label_detection.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/landmark.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/login_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/mouth_open.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +221 -221
- data/lib/songtradr_api_client_ruby/models/mustache.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/p_line_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/parent.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/party_large_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/playlist_large_dto.rb +22 -22
- data/lib/songtradr_api_client_ruby/models/pose.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/product_medium_dto.rb +11 -11
- data/lib/songtradr_api_client_ruby/models/product_party_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +21 -21
- data/lib/songtradr_api_client_ruby/models/recording_large_dto.rb +25 -25
- data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +13 -13
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +16 -16
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_playlist_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +21 -10
- data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_file_recording_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_playlist_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_recording_genre_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_recording_party_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_recording_playlist_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_recording_tag_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_referrer_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_taggrams_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_abstraction_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/smile.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/sunglasses.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/tag_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/title_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/token_request.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/track_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/track_to_medium_product_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/usage_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/user_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/video_recognition_response.rb +1 -1
- data/lib/songtradr_api_client_ruby/version.rb +2 -2
- data/lib/songtradr_api_client_ruby.rb +1 -10
- data/openapi-generator-config.yaml +1 -1
- data/songtradr_api_client_ruby.gemspec +1 -1
- data/spec/api/allowed_values_api_spec.rb +1 -1
- data/spec/api/party_api_spec.rb +1 -1
- data/spec/api/playlist_api_spec.rb +1 -1
- data/spec/api/recording_api_spec.rb +3 -1
- data/spec/api/user_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/age_range_spec.rb +1 -1
- data/spec/models/beard_spec.rb +1 -1
- data/spec/models/bounding_box_spec.rb +1 -1
- data/spec/models/category_medium_dto_spec.rb +1 -1
- data/spec/models/category_minimal_dto_spec.rb +1 -1
- data/spec/models/config_access_dto_spec.rb +1 -1
- data/spec/models/config_identifier_dto_spec.rb +1 -1
- data/spec/models/context_value_spec.rb +1 -1
- data/spec/models/contributor_type_dto_spec.rb +1 -1
- data/spec/models/curate_playlist_dto_spec.rb +1 -1
- data/spec/models/curate_playlist_response_dto_spec.rb +1 -1
- data/spec/models/dominant_color_spec.rb +1 -1
- data/spec/models/emotion_spec.rb +1 -1
- data/spec/models/error_response_spec.rb +1 -1
- data/spec/models/eye_direction_spec.rb +1 -1
- data/spec/models/eye_open_spec.rb +1 -1
- data/spec/models/eyeglasses_spec.rb +1 -1
- data/spec/models/face_detail_spec.rb +1 -1
- data/spec/models/face_detection_spec.rb +1 -1
- data/spec/models/face_occluded_spec.rb +1 -1
- data/spec/models/field_summary_dto_spec.rb +1 -1
- data/spec/models/file_dto_spec.rb +1 -1
- data/spec/models/file_list_dto_spec.rb +1 -1
- data/spec/models/file_minimal_with_url_dto_spec.rb +1 -1
- data/spec/models/file_small_dto_spec.rb +17 -17
- data/spec/models/file_upload_dto_spec.rb +1 -1
- data/spec/models/file_w_ith_url_dto_spec.rb +1 -1
- data/spec/models/files_summary_dto_spec.rb +1 -1
- data/spec/models/forgot_password_dto_spec.rb +1 -1
- data/spec/models/gender_spec.rb +1 -1
- data/spec/models/genre_dto_spec.rb +1 -1
- data/spec/models/genre_minimal_dto_spec.rb +1 -1
- data/spec/models/genres_summary_dto_spec.rb +1 -1
- data/spec/models/image_quality_spec.rb +1 -1
- data/spec/models/image_recognition_response_spec.rb +1 -1
- data/spec/models/init_put_recording_audio_dto_spec.rb +1 -1
- data/spec/models/instance_spec.rb +1 -1
- data/spec/models/jwt_token_dto_spec.rb +1 -1
- data/spec/models/label_alias_spec.rb +1 -1
- data/spec/models/label_category_spec.rb +1 -1
- data/spec/models/label_detection_spec.rb +1 -1
- data/spec/models/label_spec.rb +1 -1
- data/spec/models/landmark_spec.rb +1 -1
- data/spec/models/login_dto_spec.rb +1 -1
- data/spec/models/mouth_open_spec.rb +1 -1
- data/spec/models/musical_features_dto_spec.rb +101 -101
- data/spec/models/mustache_spec.rb +1 -1
- data/spec/models/p_line_dto_spec.rb +1 -1
- data/spec/models/parent_spec.rb +1 -1
- data/spec/models/party_large_dto_spec.rb +1 -1
- data/spec/models/party_small_dto_spec.rb +1 -1
- data/spec/models/playlist_large_dto_spec.rb +8 -8
- data/spec/models/pose_spec.rb +1 -1
- data/spec/models/product_medium_dto_spec.rb +6 -6
- data/spec/models/product_party_dto_spec.rb +1 -1
- data/spec/models/recording_for_similarity_search_dto_spec.rb +1 -1
- data/spec/models/recording_genre_prediction_dto_spec.rb +4 -4
- data/spec/models/recording_large_dto_spec.rb +9 -9
- data/spec/models/recording_list_dto_spec.rb +1 -1
- data/spec/models/recording_medium_dto_spec.rb +7 -7
- data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +3 -3
- data/spec/models/recording_minimal_with_taggrams_dto_spec.rb +1 -1
- data/spec/models/recording_minimal_with_tagstrengths_dto_spec.rb +1 -1
- data/spec/models/recording_party_dto_spec.rb +1 -1
- data/spec/models/recording_playlist_dto_spec.rb +1 -1
- data/spec/models/recording_small_dto_spec.rb +8 -2
- data/spec/models/recording_tag_small_dto_spec.rb +1 -1
- data/spec/models/save_file_recording_dto_spec.rb +1 -1
- data/spec/models/save_playlist_dto_spec.rb +1 -1
- data/spec/models/save_recording_genre_dto_spec.rb +1 -1
- data/spec/models/save_recording_party_dto_spec.rb +1 -1
- data/spec/models/save_recording_playlist_dto_spec.rb +1 -1
- data/spec/models/save_recording_tag_dto_spec.rb +1 -1
- data/spec/models/save_referrer_dto_spec.rb +1 -1
- data/spec/models/save_taggrams_dto_spec.rb +1 -1
- data/spec/models/save_user_dto_spec.rb +1 -1
- data/spec/models/search_filter_values_dto_spec.rb +1 -1
- data/spec/models/search_recording_granular_abstraction_dto_spec.rb +1 -1
- data/spec/models/search_recording_granular_dto_spec.rb +1 -1
- data/spec/models/sign_up_dto_spec.rb +1 -1
- data/spec/models/smile_spec.rb +1 -1
- data/spec/models/sunglasses_spec.rb +1 -1
- data/spec/models/tag_dto_spec.rb +1 -1
- data/spec/models/tag_small_dto_spec.rb +1 -1
- data/spec/models/taggram_dto_spec.rb +1 -1
- data/spec/models/tags_summary_dto_spec.rb +1 -1
- data/spec/models/tagstrength_dto_spec.rb +1 -1
- data/spec/models/title_dto_spec.rb +1 -1
- data/spec/models/token_request_spec.rb +1 -1
- data/spec/models/track_dto_spec.rb +1 -1
- data/spec/models/track_to_medium_product_dto_spec.rb +1 -1
- data/spec/models/update_password_dto_spec.rb +1 -1
- data/spec/models/usage_dto_spec.rb +1 -1
- data/spec/models/user_dto_spec.rb +1 -1
- data/spec/models/video_recognition_response_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +83 -119
- data/docs/APIKeysApi.md +0 -217
- data/docs/AdminApiCreateUserDTO.md +0 -76
- data/docs/AdminApiUpdateUserDTO.md +0 -76
- data/docs/AdminApiUserDTO.md +0 -70
- data/docs/AdminUsersControllerApi.md +0 -355
- data/docs/ApiKeyDTO.md +0 -24
- data/docs/CreateApiKeyDTO.md +0 -18
- data/docs/InternalApiApi.md +0 -149
- data/docs/SaveFileDTO.md +0 -42
- data/lib/songtradr_api_client_ruby/api/admin_users_controller_api.rb +0 -346
- data/lib/songtradr_api_client_ruby/api/api_keys_api.rb +0 -213
- data/lib/songtradr_api_client_ruby/api/internal_api_api.rb +0 -169
- data/lib/songtradr_api_client_ruby/models/admin_api_create_user_dto.rb +0 -489
- data/lib/songtradr_api_client_ruby/models/admin_api_update_user_dto.rb +0 -475
- data/lib/songtradr_api_client_ruby/models/admin_api_user_dto.rb +0 -448
- data/lib/songtradr_api_client_ruby/models/api_key_dto.rb +0 -262
- data/lib/songtradr_api_client_ruby/models/create_api_key_dto.rb +0 -214
- data/lib/songtradr_api_client_ruby/models/save_file_dto.rb +0 -323
- data/spec/api/admin_users_controller_api_spec.rb +0 -93
- data/spec/api/api_keys_api_spec.rb +0 -70
- data/spec/api/internal_api_api_spec.rb +0 -58
- data/spec/models/admin_api_create_user_dto_spec.rb +0 -210
- data/spec/models/admin_api_update_user_dto_spec.rb +0 -210
- data/spec/models/admin_api_user_dto_spec.rb +0 -192
- data/spec/models/api_key_dto_spec.rb +0 -54
- data/spec/models/create_api_key_dto_spec.rb +0 -36
- data/spec/models/save_file_dto_spec.rb +0 -108
@@ -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.13.
|
6
|
+
The version of the OpenAPI document: 1.13.7
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.1.0-SNAPSHOT
|
@@ -19,8 +19,6 @@ 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
|
|
@@ -63,6 +61,35 @@ module SongtradrApiClientRuby
|
|
63
61
|
# Search for tempo
|
64
62
|
attr_accessor :tempo
|
65
63
|
|
64
|
+
# Search for texture
|
65
|
+
attr_accessor :texture
|
66
|
+
|
67
|
+
# Search for timbre
|
68
|
+
attr_accessor :timbre
|
69
|
+
|
70
|
+
# Search for tonality
|
71
|
+
attr_accessor :tonality
|
72
|
+
|
73
|
+
# Search for a valence
|
74
|
+
attr_accessor :valence
|
75
|
+
|
76
|
+
# Search for a vocal gender or instrumental songs
|
77
|
+
attr_accessor :vocals
|
78
|
+
|
79
|
+
# Search for origin decade
|
80
|
+
attr_accessor :origin_decade
|
81
|
+
|
82
|
+
# Search for curatebility
|
83
|
+
attr_accessor :curateability
|
84
|
+
|
85
|
+
# Search for use case
|
86
|
+
attr_accessor :use_case
|
87
|
+
|
88
|
+
# Search for social media suitability
|
89
|
+
attr_accessor :channel_suitability
|
90
|
+
|
91
|
+
attr_accessor :language_of_performance
|
92
|
+
|
66
93
|
attr_accessor :primary_mood_cluster_affinity
|
67
94
|
|
68
95
|
# Search for a language of the lyrics
|
@@ -156,33 +183,6 @@ module SongtradrApiClientRuby
|
|
156
183
|
|
157
184
|
attr_accessor :audience_region
|
158
185
|
|
159
|
-
# Search for texture
|
160
|
-
attr_accessor :texture
|
161
|
-
|
162
|
-
# Search for timbre
|
163
|
-
attr_accessor :timbre
|
164
|
-
|
165
|
-
# Search for tonality
|
166
|
-
attr_accessor :tonality
|
167
|
-
|
168
|
-
# Search for a valence
|
169
|
-
attr_accessor :valence
|
170
|
-
|
171
|
-
# Search for a vocal gender or instrumental songs
|
172
|
-
attr_accessor :vocals
|
173
|
-
|
174
|
-
# Search for origin decade
|
175
|
-
attr_accessor :origin_decade
|
176
|
-
|
177
|
-
# Search for curatebility
|
178
|
-
attr_accessor :curateability
|
179
|
-
|
180
|
-
# Search for use case
|
181
|
-
attr_accessor :use_case
|
182
|
-
|
183
|
-
# Search for social media suitability
|
184
|
-
attr_accessor :channel_suitability
|
185
|
-
|
186
186
|
attr_accessor :valence_affinity
|
187
187
|
|
188
188
|
attr_accessor :arousal_affinity
|
@@ -242,7 +242,6 @@ module SongtradrApiClientRuby
|
|
242
242
|
def self.attribute_map
|
243
243
|
{
|
244
244
|
:'space' => :'space',
|
245
|
-
:'language_of_performance' => :'languageOfPerformance',
|
246
245
|
:'arousal' => :'arousal',
|
247
246
|
:'dominant_instrument' => :'dominantInstrument',
|
248
247
|
:'energy' => :'energy',
|
@@ -257,6 +256,16 @@ module SongtradrApiClientRuby
|
|
257
256
|
:'scale' => :'scale',
|
258
257
|
:'sound_generation' => :'soundGeneration',
|
259
258
|
:'tempo' => :'tempo',
|
259
|
+
:'texture' => :'texture',
|
260
|
+
:'timbre' => :'timbre',
|
261
|
+
:'tonality' => :'tonality',
|
262
|
+
:'valence' => :'valence',
|
263
|
+
:'vocals' => :'vocals',
|
264
|
+
:'origin_decade' => :'originDecade',
|
265
|
+
:'curateability' => :'curateability',
|
266
|
+
:'use_case' => :'useCase',
|
267
|
+
:'channel_suitability' => :'channelSuitability',
|
268
|
+
:'language_of_performance' => :'languageOfPerformance',
|
260
269
|
:'primary_mood_cluster_affinity' => :'primaryMoodClusterAffinity',
|
261
270
|
:'secondary_mood_cluster' => :'secondaryMoodCluster',
|
262
271
|
:'secondary_mood_cluster_affinity' => :'secondaryMoodClusterAffinity',
|
@@ -301,15 +310,6 @@ module SongtradrApiClientRuby
|
|
301
310
|
:'industry_suitability' => :'industrySuitability',
|
302
311
|
:'industry_suitability_affinity' => :'industrySuitabilityAffinity',
|
303
312
|
:'audience_region' => :'audienceRegion',
|
304
|
-
:'texture' => :'texture',
|
305
|
-
:'timbre' => :'timbre',
|
306
|
-
:'tonality' => :'tonality',
|
307
|
-
:'valence' => :'valence',
|
308
|
-
:'vocals' => :'vocals',
|
309
|
-
:'origin_decade' => :'originDecade',
|
310
|
-
:'curateability' => :'curateability',
|
311
|
-
:'use_case' => :'useCase',
|
312
|
-
:'channel_suitability' => :'channelSuitability',
|
313
313
|
:'valence_affinity' => :'valenceAffinity',
|
314
314
|
:'arousal_affinity' => :'arousalAffinity',
|
315
315
|
:'pleasantness_affinity' => :'pleasantnessAffinity',
|
@@ -338,7 +338,6 @@ module SongtradrApiClientRuby
|
|
338
338
|
def self.openapi_types
|
339
339
|
{
|
340
340
|
:'space' => :'String',
|
341
|
-
:'language_of_performance' => :'String',
|
342
341
|
:'arousal' => :'String',
|
343
342
|
:'dominant_instrument' => :'String',
|
344
343
|
:'energy' => :'String',
|
@@ -353,6 +352,16 @@ module SongtradrApiClientRuby
|
|
353
352
|
:'scale' => :'String',
|
354
353
|
:'sound_generation' => :'String',
|
355
354
|
:'tempo' => :'String',
|
355
|
+
:'texture' => :'String',
|
356
|
+
:'timbre' => :'String',
|
357
|
+
:'tonality' => :'String',
|
358
|
+
:'valence' => :'String',
|
359
|
+
:'vocals' => :'String',
|
360
|
+
:'origin_decade' => :'String',
|
361
|
+
:'curateability' => :'String',
|
362
|
+
:'use_case' => :'String',
|
363
|
+
:'channel_suitability' => :'String',
|
364
|
+
:'language_of_performance' => :'String',
|
356
365
|
:'primary_mood_cluster_affinity' => :'Float',
|
357
366
|
:'secondary_mood_cluster' => :'String',
|
358
367
|
:'secondary_mood_cluster_affinity' => :'Float',
|
@@ -397,15 +406,6 @@ module SongtradrApiClientRuby
|
|
397
406
|
:'industry_suitability' => :'String',
|
398
407
|
:'industry_suitability_affinity' => :'Float',
|
399
408
|
:'audience_region' => :'String',
|
400
|
-
:'texture' => :'String',
|
401
|
-
:'timbre' => :'String',
|
402
|
-
:'tonality' => :'String',
|
403
|
-
:'valence' => :'String',
|
404
|
-
:'vocals' => :'String',
|
405
|
-
:'origin_decade' => :'String',
|
406
|
-
:'curateability' => :'String',
|
407
|
-
:'use_case' => :'String',
|
408
|
-
:'channel_suitability' => :'String',
|
409
409
|
:'valence_affinity' => :'Float',
|
410
410
|
:'arousal_affinity' => :'Float',
|
411
411
|
:'pleasantness_affinity' => :'Float',
|
@@ -450,10 +450,6 @@ module SongtradrApiClientRuby
|
|
450
450
|
self.space = attributes[:'space']
|
451
451
|
end
|
452
452
|
|
453
|
-
if attributes.key?(:'language_of_performance')
|
454
|
-
self.language_of_performance = attributes[:'language_of_performance']
|
455
|
-
end
|
456
|
-
|
457
453
|
if attributes.key?(:'arousal')
|
458
454
|
self.arousal = attributes[:'arousal']
|
459
455
|
end
|
@@ -510,6 +506,46 @@ module SongtradrApiClientRuby
|
|
510
506
|
self.tempo = attributes[:'tempo']
|
511
507
|
end
|
512
508
|
|
509
|
+
if attributes.key?(:'texture')
|
510
|
+
self.texture = attributes[:'texture']
|
511
|
+
end
|
512
|
+
|
513
|
+
if attributes.key?(:'timbre')
|
514
|
+
self.timbre = attributes[:'timbre']
|
515
|
+
end
|
516
|
+
|
517
|
+
if attributes.key?(:'tonality')
|
518
|
+
self.tonality = attributes[:'tonality']
|
519
|
+
end
|
520
|
+
|
521
|
+
if attributes.key?(:'valence')
|
522
|
+
self.valence = attributes[:'valence']
|
523
|
+
end
|
524
|
+
|
525
|
+
if attributes.key?(:'vocals')
|
526
|
+
self.vocals = attributes[:'vocals']
|
527
|
+
end
|
528
|
+
|
529
|
+
if attributes.key?(:'origin_decade')
|
530
|
+
self.origin_decade = attributes[:'origin_decade']
|
531
|
+
end
|
532
|
+
|
533
|
+
if attributes.key?(:'curateability')
|
534
|
+
self.curateability = attributes[:'curateability']
|
535
|
+
end
|
536
|
+
|
537
|
+
if attributes.key?(:'use_case')
|
538
|
+
self.use_case = attributes[:'use_case']
|
539
|
+
end
|
540
|
+
|
541
|
+
if attributes.key?(:'channel_suitability')
|
542
|
+
self.channel_suitability = attributes[:'channel_suitability']
|
543
|
+
end
|
544
|
+
|
545
|
+
if attributes.key?(:'language_of_performance')
|
546
|
+
self.language_of_performance = attributes[:'language_of_performance']
|
547
|
+
end
|
548
|
+
|
513
549
|
if attributes.key?(:'primary_mood_cluster_affinity')
|
514
550
|
self.primary_mood_cluster_affinity = attributes[:'primary_mood_cluster_affinity']
|
515
551
|
end
|
@@ -686,42 +722,6 @@ module SongtradrApiClientRuby
|
|
686
722
|
self.audience_region = attributes[:'audience_region']
|
687
723
|
end
|
688
724
|
|
689
|
-
if attributes.key?(:'texture')
|
690
|
-
self.texture = attributes[:'texture']
|
691
|
-
end
|
692
|
-
|
693
|
-
if attributes.key?(:'timbre')
|
694
|
-
self.timbre = attributes[:'timbre']
|
695
|
-
end
|
696
|
-
|
697
|
-
if attributes.key?(:'tonality')
|
698
|
-
self.tonality = attributes[:'tonality']
|
699
|
-
end
|
700
|
-
|
701
|
-
if attributes.key?(:'valence')
|
702
|
-
self.valence = attributes[:'valence']
|
703
|
-
end
|
704
|
-
|
705
|
-
if attributes.key?(:'vocals')
|
706
|
-
self.vocals = attributes[:'vocals']
|
707
|
-
end
|
708
|
-
|
709
|
-
if attributes.key?(:'origin_decade')
|
710
|
-
self.origin_decade = attributes[:'origin_decade']
|
711
|
-
end
|
712
|
-
|
713
|
-
if attributes.key?(:'curateability')
|
714
|
-
self.curateability = attributes[:'curateability']
|
715
|
-
end
|
716
|
-
|
717
|
-
if attributes.key?(:'use_case')
|
718
|
-
self.use_case = attributes[:'use_case']
|
719
|
-
end
|
720
|
-
|
721
|
-
if attributes.key?(:'channel_suitability')
|
722
|
-
self.channel_suitability = attributes[:'channel_suitability']
|
723
|
-
end
|
724
|
-
|
725
725
|
if attributes.key?(:'valence_affinity')
|
726
726
|
self.valence_affinity = attributes[:'valence_affinity']
|
727
727
|
end
|
@@ -801,8 +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
804
|
arousal_validator = EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
|
807
805
|
return false unless arousal_validator.valid?(@arousal)
|
808
806
|
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"])
|
@@ -831,6 +829,26 @@ module SongtradrApiClientRuby
|
|
831
829
|
return false unless sound_generation_validator.valid?(@sound_generation)
|
832
830
|
tempo_validator = EnumAttributeValidator.new('String', ["very slow", "slow", "mid-tempo", "fast", "very fast", "varying tempo"])
|
833
831
|
return false unless tempo_validator.valid?(@tempo)
|
832
|
+
texture_validator = EnumAttributeValidator.new('String', ["very thin", "thin", "moderate texture", "full", "very full"])
|
833
|
+
return false unless texture_validator.valid?(@texture)
|
834
|
+
timbre_validator = EnumAttributeValidator.new('String', ["very warm", "warm", "moderate timbre", "bright", "very bright"])
|
835
|
+
return false unless timbre_validator.valid?(@timbre)
|
836
|
+
tonality_validator = EnumAttributeValidator.new('String', ["monotonous", "moderate melodiousness", "melodious", "atonal"])
|
837
|
+
return false unless tonality_validator.valid?(@tonality)
|
838
|
+
valence_validator = EnumAttributeValidator.new('String', ["very sad", "sad", "moderate valence", "positive", "very positive", "varying valence"])
|
839
|
+
return false unless valence_validator.valid?(@valence)
|
840
|
+
vocals_validator = EnumAttributeValidator.new('String', ["instrumental", "female vocals", "male vocals", "mixed vocals", "diverse gender vocals"])
|
841
|
+
return false unless vocals_validator.valid?(@vocals)
|
842
|
+
origin_decade_validator = EnumAttributeValidator.new('String', ["pre-1950s", "1950s", "1960s", "1970s", "1980s", "1990s", "2000s", "2010s", "2020s"])
|
843
|
+
return false unless origin_decade_validator.valid?(@origin_decade)
|
844
|
+
curateability_validator = EnumAttributeValidator.new('String', ["curateable", "uncurateable"])
|
845
|
+
return false unless curateability_validator.valid?(@curateability)
|
846
|
+
use_case_validator = EnumAttributeValidator.new('String', ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax"])
|
847
|
+
return false unless use_case_validator.valid?(@use_case)
|
848
|
+
channel_suitability_validator = EnumAttributeValidator.new('String', ["Spotify", "TikTok", "Unfitting", "YouTube"])
|
849
|
+
return false unless channel_suitability_validator.valid?(@channel_suitability)
|
850
|
+
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"])
|
851
|
+
return false unless language_of_performance_validator.valid?(@language_of_performance)
|
834
852
|
secondary_mood_cluster_validator = EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
835
853
|
return false unless secondary_mood_cluster_validator.valid?(@secondary_mood_cluster)
|
836
854
|
tertiary_mood_cluster_validator = EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
@@ -863,24 +881,6 @@ module SongtradrApiClientRuby
|
|
863
881
|
return false unless industry_suitability_validator.valid?(@industry_suitability)
|
864
882
|
audience_region_validator = EnumAttributeValidator.new('String', ["Australia and New Zealand", "Central America and the Carribean", "Central and Southern Asia", "Eastern Asia", "Eastern Europe", "Northern Africa and Western Asia", "Northern America", "Oceania", "South America", "South-Eastern Asia", "Southern Europe", "Sub-Saharan Africa", "Western and Northern Europe"])
|
865
883
|
return false unless audience_region_validator.valid?(@audience_region)
|
866
|
-
texture_validator = EnumAttributeValidator.new('String', ["very thin", "thin", "moderate texture", "full", "very full"])
|
867
|
-
return false unless texture_validator.valid?(@texture)
|
868
|
-
timbre_validator = EnumAttributeValidator.new('String', ["very warm", "warm", "moderate timbre", "bright", "very bright"])
|
869
|
-
return false unless timbre_validator.valid?(@timbre)
|
870
|
-
tonality_validator = EnumAttributeValidator.new('String', ["monotonous", "moderate melodiousness", "melodious", "atonal"])
|
871
|
-
return false unless tonality_validator.valid?(@tonality)
|
872
|
-
valence_validator = EnumAttributeValidator.new('String', ["very sad", "sad", "moderate valence", "positive", "very positive", "varying valence"])
|
873
|
-
return false unless valence_validator.valid?(@valence)
|
874
|
-
vocals_validator = EnumAttributeValidator.new('String', ["instrumental", "female vocals", "male vocals", "mixed vocals", "diverse gender vocals"])
|
875
|
-
return false unless vocals_validator.valid?(@vocals)
|
876
|
-
origin_decade_validator = EnumAttributeValidator.new('String', ["pre-1950s", "1950s", "1960s", "1970s", "1980s", "1990s", "2000s", "2010s", "2020s"])
|
877
|
-
return false unless origin_decade_validator.valid?(@origin_decade)
|
878
|
-
curateability_validator = EnumAttributeValidator.new('String', ["curateable", "uncurateable"])
|
879
|
-
return false unless curateability_validator.valid?(@curateability)
|
880
|
-
use_case_validator = EnumAttributeValidator.new('String', ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax"])
|
881
|
-
return false unless use_case_validator.valid?(@use_case)
|
882
|
-
channel_suitability_validator = EnumAttributeValidator.new('String', ["Spotify", "TikTok", "Unfitting", "YouTube"])
|
883
|
-
return false unless channel_suitability_validator.valid?(@channel_suitability)
|
884
884
|
key_validator = EnumAttributeValidator.new('String', ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B", "unclear"])
|
885
885
|
return false unless key_validator.valid?(@key)
|
886
886
|
true
|
@@ -896,16 +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
899
|
# Custom attribute writer method checking allowed values (enum).
|
910
900
|
# @param [Object] arousal Object to be assigned
|
911
901
|
def arousal=(arousal)
|
@@ -1046,6 +1036,106 @@ module SongtradrApiClientRuby
|
|
1046
1036
|
@tempo = tempo
|
1047
1037
|
end
|
1048
1038
|
|
1039
|
+
# Custom attribute writer method checking allowed values (enum).
|
1040
|
+
# @param [Object] texture Object to be assigned
|
1041
|
+
def texture=(texture)
|
1042
|
+
validator = EnumAttributeValidator.new('String', ["very thin", "thin", "moderate texture", "full", "very full"])
|
1043
|
+
unless validator.valid?(texture)
|
1044
|
+
fail ArgumentError, "invalid value for \"texture\", must be one of #{validator.allowable_values}."
|
1045
|
+
end
|
1046
|
+
@texture = texture
|
1047
|
+
end
|
1048
|
+
|
1049
|
+
# Custom attribute writer method checking allowed values (enum).
|
1050
|
+
# @param [Object] timbre Object to be assigned
|
1051
|
+
def timbre=(timbre)
|
1052
|
+
validator = EnumAttributeValidator.new('String', ["very warm", "warm", "moderate timbre", "bright", "very bright"])
|
1053
|
+
unless validator.valid?(timbre)
|
1054
|
+
fail ArgumentError, "invalid value for \"timbre\", must be one of #{validator.allowable_values}."
|
1055
|
+
end
|
1056
|
+
@timbre = timbre
|
1057
|
+
end
|
1058
|
+
|
1059
|
+
# Custom attribute writer method checking allowed values (enum).
|
1060
|
+
# @param [Object] tonality Object to be assigned
|
1061
|
+
def tonality=(tonality)
|
1062
|
+
validator = EnumAttributeValidator.new('String', ["monotonous", "moderate melodiousness", "melodious", "atonal"])
|
1063
|
+
unless validator.valid?(tonality)
|
1064
|
+
fail ArgumentError, "invalid value for \"tonality\", must be one of #{validator.allowable_values}."
|
1065
|
+
end
|
1066
|
+
@tonality = tonality
|
1067
|
+
end
|
1068
|
+
|
1069
|
+
# Custom attribute writer method checking allowed values (enum).
|
1070
|
+
# @param [Object] valence Object to be assigned
|
1071
|
+
def valence=(valence)
|
1072
|
+
validator = EnumAttributeValidator.new('String', ["very sad", "sad", "moderate valence", "positive", "very positive", "varying valence"])
|
1073
|
+
unless validator.valid?(valence)
|
1074
|
+
fail ArgumentError, "invalid value for \"valence\", must be one of #{validator.allowable_values}."
|
1075
|
+
end
|
1076
|
+
@valence = valence
|
1077
|
+
end
|
1078
|
+
|
1079
|
+
# Custom attribute writer method checking allowed values (enum).
|
1080
|
+
# @param [Object] vocals Object to be assigned
|
1081
|
+
def vocals=(vocals)
|
1082
|
+
validator = EnumAttributeValidator.new('String', ["instrumental", "female vocals", "male vocals", "mixed vocals", "diverse gender vocals"])
|
1083
|
+
unless validator.valid?(vocals)
|
1084
|
+
fail ArgumentError, "invalid value for \"vocals\", must be one of #{validator.allowable_values}."
|
1085
|
+
end
|
1086
|
+
@vocals = vocals
|
1087
|
+
end
|
1088
|
+
|
1089
|
+
# Custom attribute writer method checking allowed values (enum).
|
1090
|
+
# @param [Object] origin_decade Object to be assigned
|
1091
|
+
def origin_decade=(origin_decade)
|
1092
|
+
validator = EnumAttributeValidator.new('String', ["pre-1950s", "1950s", "1960s", "1970s", "1980s", "1990s", "2000s", "2010s", "2020s"])
|
1093
|
+
unless validator.valid?(origin_decade)
|
1094
|
+
fail ArgumentError, "invalid value for \"origin_decade\", must be one of #{validator.allowable_values}."
|
1095
|
+
end
|
1096
|
+
@origin_decade = origin_decade
|
1097
|
+
end
|
1098
|
+
|
1099
|
+
# Custom attribute writer method checking allowed values (enum).
|
1100
|
+
# @param [Object] curateability Object to be assigned
|
1101
|
+
def curateability=(curateability)
|
1102
|
+
validator = EnumAttributeValidator.new('String', ["curateable", "uncurateable"])
|
1103
|
+
unless validator.valid?(curateability)
|
1104
|
+
fail ArgumentError, "invalid value for \"curateability\", must be one of #{validator.allowable_values}."
|
1105
|
+
end
|
1106
|
+
@curateability = curateability
|
1107
|
+
end
|
1108
|
+
|
1109
|
+
# Custom attribute writer method checking allowed values (enum).
|
1110
|
+
# @param [Object] use_case Object to be assigned
|
1111
|
+
def use_case=(use_case)
|
1112
|
+
validator = EnumAttributeValidator.new('String', ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax"])
|
1113
|
+
unless validator.valid?(use_case)
|
1114
|
+
fail ArgumentError, "invalid value for \"use_case\", must be one of #{validator.allowable_values}."
|
1115
|
+
end
|
1116
|
+
@use_case = use_case
|
1117
|
+
end
|
1118
|
+
|
1119
|
+
# Custom attribute writer method checking allowed values (enum).
|
1120
|
+
# @param [Object] channel_suitability Object to be assigned
|
1121
|
+
def channel_suitability=(channel_suitability)
|
1122
|
+
validator = EnumAttributeValidator.new('String', ["Spotify", "TikTok", "Unfitting", "YouTube"])
|
1123
|
+
unless validator.valid?(channel_suitability)
|
1124
|
+
fail ArgumentError, "invalid value for \"channel_suitability\", must be one of #{validator.allowable_values}."
|
1125
|
+
end
|
1126
|
+
@channel_suitability = channel_suitability
|
1127
|
+
end
|
1128
|
+
|
1129
|
+
# Custom attribute writer method checking allowed values (enum).
|
1130
|
+
# @param [Object] language_of_performance Object to be assigned
|
1131
|
+
def language_of_performance=(language_of_performance)
|
1132
|
+
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"])
|
1133
|
+
unless validator.valid?(language_of_performance)
|
1134
|
+
fail ArgumentError, "invalid value for \"language_of_performance\", must be one of #{validator.allowable_values}."
|
1135
|
+
end
|
1136
|
+
@language_of_performance = language_of_performance
|
1137
|
+
end
|
1138
|
+
|
1049
1139
|
# Custom attribute writer method checking allowed values (enum).
|
1050
1140
|
# @param [Object] secondary_mood_cluster Object to be assigned
|
1051
1141
|
def secondary_mood_cluster=(secondary_mood_cluster)
|
@@ -1206,96 +1296,6 @@ module SongtradrApiClientRuby
|
|
1206
1296
|
@audience_region = audience_region
|
1207
1297
|
end
|
1208
1298
|
|
1209
|
-
# Custom attribute writer method checking allowed values (enum).
|
1210
|
-
# @param [Object] texture Object to be assigned
|
1211
|
-
def texture=(texture)
|
1212
|
-
validator = EnumAttributeValidator.new('String', ["very thin", "thin", "moderate texture", "full", "very full"])
|
1213
|
-
unless validator.valid?(texture)
|
1214
|
-
fail ArgumentError, "invalid value for \"texture\", must be one of #{validator.allowable_values}."
|
1215
|
-
end
|
1216
|
-
@texture = texture
|
1217
|
-
end
|
1218
|
-
|
1219
|
-
# Custom attribute writer method checking allowed values (enum).
|
1220
|
-
# @param [Object] timbre Object to be assigned
|
1221
|
-
def timbre=(timbre)
|
1222
|
-
validator = EnumAttributeValidator.new('String', ["very warm", "warm", "moderate timbre", "bright", "very bright"])
|
1223
|
-
unless validator.valid?(timbre)
|
1224
|
-
fail ArgumentError, "invalid value for \"timbre\", must be one of #{validator.allowable_values}."
|
1225
|
-
end
|
1226
|
-
@timbre = timbre
|
1227
|
-
end
|
1228
|
-
|
1229
|
-
# Custom attribute writer method checking allowed values (enum).
|
1230
|
-
# @param [Object] tonality Object to be assigned
|
1231
|
-
def tonality=(tonality)
|
1232
|
-
validator = EnumAttributeValidator.new('String', ["monotonous", "moderate melodiousness", "melodious", "atonal"])
|
1233
|
-
unless validator.valid?(tonality)
|
1234
|
-
fail ArgumentError, "invalid value for \"tonality\", must be one of #{validator.allowable_values}."
|
1235
|
-
end
|
1236
|
-
@tonality = tonality
|
1237
|
-
end
|
1238
|
-
|
1239
|
-
# Custom attribute writer method checking allowed values (enum).
|
1240
|
-
# @param [Object] valence Object to be assigned
|
1241
|
-
def valence=(valence)
|
1242
|
-
validator = EnumAttributeValidator.new('String', ["very sad", "sad", "moderate valence", "positive", "very positive", "varying valence"])
|
1243
|
-
unless validator.valid?(valence)
|
1244
|
-
fail ArgumentError, "invalid value for \"valence\", must be one of #{validator.allowable_values}."
|
1245
|
-
end
|
1246
|
-
@valence = valence
|
1247
|
-
end
|
1248
|
-
|
1249
|
-
# Custom attribute writer method checking allowed values (enum).
|
1250
|
-
# @param [Object] vocals Object to be assigned
|
1251
|
-
def vocals=(vocals)
|
1252
|
-
validator = EnumAttributeValidator.new('String', ["instrumental", "female vocals", "male vocals", "mixed vocals", "diverse gender vocals"])
|
1253
|
-
unless validator.valid?(vocals)
|
1254
|
-
fail ArgumentError, "invalid value for \"vocals\", must be one of #{validator.allowable_values}."
|
1255
|
-
end
|
1256
|
-
@vocals = vocals
|
1257
|
-
end
|
1258
|
-
|
1259
|
-
# Custom attribute writer method checking allowed values (enum).
|
1260
|
-
# @param [Object] origin_decade Object to be assigned
|
1261
|
-
def origin_decade=(origin_decade)
|
1262
|
-
validator = EnumAttributeValidator.new('String', ["pre-1950s", "1950s", "1960s", "1970s", "1980s", "1990s", "2000s", "2010s", "2020s"])
|
1263
|
-
unless validator.valid?(origin_decade)
|
1264
|
-
fail ArgumentError, "invalid value for \"origin_decade\", must be one of #{validator.allowable_values}."
|
1265
|
-
end
|
1266
|
-
@origin_decade = origin_decade
|
1267
|
-
end
|
1268
|
-
|
1269
|
-
# Custom attribute writer method checking allowed values (enum).
|
1270
|
-
# @param [Object] curateability Object to be assigned
|
1271
|
-
def curateability=(curateability)
|
1272
|
-
validator = EnumAttributeValidator.new('String', ["curateable", "uncurateable"])
|
1273
|
-
unless validator.valid?(curateability)
|
1274
|
-
fail ArgumentError, "invalid value for \"curateability\", must be one of #{validator.allowable_values}."
|
1275
|
-
end
|
1276
|
-
@curateability = curateability
|
1277
|
-
end
|
1278
|
-
|
1279
|
-
# Custom attribute writer method checking allowed values (enum).
|
1280
|
-
# @param [Object] use_case Object to be assigned
|
1281
|
-
def use_case=(use_case)
|
1282
|
-
validator = EnumAttributeValidator.new('String', ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax"])
|
1283
|
-
unless validator.valid?(use_case)
|
1284
|
-
fail ArgumentError, "invalid value for \"use_case\", must be one of #{validator.allowable_values}."
|
1285
|
-
end
|
1286
|
-
@use_case = use_case
|
1287
|
-
end
|
1288
|
-
|
1289
|
-
# Custom attribute writer method checking allowed values (enum).
|
1290
|
-
# @param [Object] channel_suitability Object to be assigned
|
1291
|
-
def channel_suitability=(channel_suitability)
|
1292
|
-
validator = EnumAttributeValidator.new('String', ["Spotify", "TikTok", "Unfitting", "YouTube"])
|
1293
|
-
unless validator.valid?(channel_suitability)
|
1294
|
-
fail ArgumentError, "invalid value for \"channel_suitability\", must be one of #{validator.allowable_values}."
|
1295
|
-
end
|
1296
|
-
@channel_suitability = channel_suitability
|
1297
|
-
end
|
1298
|
-
|
1299
1299
|
# Custom attribute writer method checking allowed values (enum).
|
1300
1300
|
# @param [Object] key Object to be assigned
|
1301
1301
|
def key=(key)
|
@@ -1312,7 +1312,6 @@ module SongtradrApiClientRuby
|
|
1312
1312
|
return true if self.equal?(o)
|
1313
1313
|
self.class == o.class &&
|
1314
1314
|
space == o.space &&
|
1315
|
-
language_of_performance == o.language_of_performance &&
|
1316
1315
|
arousal == o.arousal &&
|
1317
1316
|
dominant_instrument == o.dominant_instrument &&
|
1318
1317
|
energy == o.energy &&
|
@@ -1327,6 +1326,16 @@ module SongtradrApiClientRuby
|
|
1327
1326
|
scale == o.scale &&
|
1328
1327
|
sound_generation == o.sound_generation &&
|
1329
1328
|
tempo == o.tempo &&
|
1329
|
+
texture == o.texture &&
|
1330
|
+
timbre == o.timbre &&
|
1331
|
+
tonality == o.tonality &&
|
1332
|
+
valence == o.valence &&
|
1333
|
+
vocals == o.vocals &&
|
1334
|
+
origin_decade == o.origin_decade &&
|
1335
|
+
curateability == o.curateability &&
|
1336
|
+
use_case == o.use_case &&
|
1337
|
+
channel_suitability == o.channel_suitability &&
|
1338
|
+
language_of_performance == o.language_of_performance &&
|
1330
1339
|
primary_mood_cluster_affinity == o.primary_mood_cluster_affinity &&
|
1331
1340
|
secondary_mood_cluster == o.secondary_mood_cluster &&
|
1332
1341
|
secondary_mood_cluster_affinity == o.secondary_mood_cluster_affinity &&
|
@@ -1371,15 +1380,6 @@ module SongtradrApiClientRuby
|
|
1371
1380
|
industry_suitability == o.industry_suitability &&
|
1372
1381
|
industry_suitability_affinity == o.industry_suitability_affinity &&
|
1373
1382
|
audience_region == o.audience_region &&
|
1374
|
-
texture == o.texture &&
|
1375
|
-
timbre == o.timbre &&
|
1376
|
-
tonality == o.tonality &&
|
1377
|
-
valence == o.valence &&
|
1378
|
-
vocals == o.vocals &&
|
1379
|
-
origin_decade == o.origin_decade &&
|
1380
|
-
curateability == o.curateability &&
|
1381
|
-
use_case == o.use_case &&
|
1382
|
-
channel_suitability == o.channel_suitability &&
|
1383
1383
|
valence_affinity == o.valence_affinity &&
|
1384
1384
|
arousal_affinity == o.arousal_affinity &&
|
1385
1385
|
pleasantness_affinity == o.pleasantness_affinity &&
|
@@ -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, arousal, dominant_instrument, energy, engagement, groovyness, harmony, pleasantness, primary_mood_cluster, primary_sound_character, rhythm, roughness, scale, sound_generation, tempo, texture, timbre, tonality, valence, vocals, origin_decade, curateability, use_case, channel_suitability, language_of_performance, 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
|
@@ -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.13.
|
6
|
+
The version of the OpenAPI document: 1.13.7
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.1.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.13.
|
6
|
+
The version of the OpenAPI document: 1.13.7
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.1.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.13.
|
6
|
+
The version of the OpenAPI document: 1.13.7
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.1.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.13.
|
6
|
+
The version of the OpenAPI document: 1.13.7
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.1.0-SNAPSHOT
|