songtradr_api_client_ruby 1.12.22 → 1.12.24
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 +4 -4
- data/README.md +26 -12
- data/docs/APIKeysApi.md +217 -0
- data/docs/AdminApiUserDTO.md +70 -0
- data/docs/AllowedValuesApi.md +2 -2
- data/docs/ApiKeyDTO.md +24 -0
- data/docs/CreateApiKeyDTO.md +18 -0
- data/docs/FileSmallDTO.md +16 -16
- data/docs/MusicalFeaturesDTO.md +82 -82
- data/docs/PlaylistLargeDTO.md +9 -9
- data/docs/ProductMediumDTO.md +2 -2
- data/docs/RecordingApi.md +2 -0
- data/docs/RecordingGenrePredictionDTO.md +3 -3
- data/docs/RecordingLargeDTO.md +11 -11
- data/docs/RecordingMediumDTO.md +7 -7
- data/docs/RecordingMinimalWithMusicalFeaturesDTO.md +3 -3
- data/docs/RecordingPlaylistDTO.md +3 -3
- data/docs/RecordingSmallDTO.md +3 -3
- data/docs/UserApi.md +4 -0
- data/docs/UserDTO.md +20 -0
- data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +4 -4
- data/lib/songtradr_api_client_ruby/api/api_keys_api.rb +213 -0
- data/lib/songtradr_api_client_ruby/api/party_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/playlist_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/recording_api.rb +4 -1
- data/lib/songtradr_api_client_ruby/api/user_api.rb +7 -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 +10 -8
- data/lib/songtradr_api_client_ruby/models/admin_api_user_dto.rb +448 -0
- data/lib/songtradr_api_client_ruby/models/api_key_dto.rb +262 -0
- data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/create_api_key_dto.rb +214 -0
- data/lib/songtradr_api_client_ruby/models/error_response.rb +19 -18
- data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +19 -18
- data/lib/songtradr_api_client_ruby/models/file_dto.rb +23 -18
- data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +21 -18
- data/lib/songtradr_api_client_ruby/models/file_minimal_with_url_dto.rb +19 -18
- data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +81 -76
- data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/genre_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/login_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +529 -534
- data/lib/songtradr_api_client_ruby/models/p_line_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/party_large_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/playlist_large_dto.rb +54 -57
- data/lib/songtradr_api_client_ruby/models/product_medium_dto.rb +35 -28
- data/lib/songtradr_api_client_ruby/models/product_party_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +37 -36
- data/lib/songtradr_api_client_ruby/models/recording_large_dto.rb +94 -77
- data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +21 -18
- data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +64 -51
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +28 -31
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/recording_playlist_dto.rb +26 -31
- data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +36 -31
- data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/save_file_recording_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/save_playlist_dto.rb +21 -18
- data/lib/songtradr_api_client_ruby/models/save_recording_genre_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/save_recording_party_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/save_recording_playlist_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/save_recording_tag_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/save_referrer_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/save_taggrams_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +95 -18
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_abstraction_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +19 -18
- data/lib/songtradr_api_client_ruby/models/tag_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/title_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/token_request.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/track_to_medium_product_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/usage_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/user_dto.rb +210 -19
- data/lib/songtradr_api_client_ruby/version.rb +2 -2
- data/lib/songtradr_api_client_ruby.rb +5 -1
- data/openapi-generator-config.yaml +1 -1
- data/songtradr_api_client_ruby.gemspec +1 -1
- data/spec/api/allowed_values_api_spec.rb +2 -2
- data/spec/api/api_keys_api_spec.rb +70 -0
- 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 +2 -1
- data/spec/api/user_api_spec.rb +3 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/admin_api_user_dto_spec.rb +190 -0
- data/spec/models/api_key_dto_spec.rb +52 -0
- 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/contributor_type_dto_spec.rb +1 -1
- data/spec/models/create_api_key_dto_spec.rb +34 -0
- data/spec/models/error_response_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 +15 -15
- 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/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/init_put_recording_audio_dto_spec.rb +1 -1
- data/spec/models/jwt_token_dto_spec.rb +1 -1
- data/spec/models/login_dto_spec.rb +1 -1
- data/spec/models/musical_features_dto_spec.rb +175 -175
- data/spec/models/p_line_dto_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 +10 -10
- data/spec/models/product_medium_dto_spec.rb +7 -7
- 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 +3 -3
- data/spec/models/recording_large_dto_spec.rb +12 -12
- data/spec/models/recording_list_dto_spec.rb +1 -1
- data/spec/models/recording_medium_dto_spec.rb +9 -9
- 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 +4 -4
- data/spec/models/recording_small_dto_spec.rb +4 -4
- 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/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_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 +61 -1
- data/spec/spec_helper.rb +1 -1
- metadata +72 -56
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.12.
|
|
6
|
+
The version of the OpenAPI document: 1.12.24
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
|
@@ -35,213 +35,107 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
|
35
35
|
end
|
|
36
36
|
end
|
|
37
37
|
|
|
38
|
-
describe 'test attribute "
|
|
39
|
-
it 'should work' do
|
|
40
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
41
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
|
|
42
|
-
# validator.allowable_values.each do |value|
|
|
43
|
-
# expect { instance.arousal = value }.not_to raise_error
|
|
44
|
-
# end
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
|
|
48
|
-
describe 'test attribute "dominant_instrument"' do
|
|
49
|
-
it 'should work' do
|
|
50
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
-
# validator = Petstore::EnumTest::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"])
|
|
52
|
-
# validator.allowable_values.each do |value|
|
|
53
|
-
# expect { instance.dominant_instrument = value }.not_to raise_error
|
|
54
|
-
# end
|
|
55
|
-
end
|
|
56
|
-
end
|
|
57
|
-
|
|
58
|
-
describe 'test attribute "energy"' do
|
|
59
|
-
it 'should work' do
|
|
60
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
61
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very quiet", "quiet", "moderate", "loud", "very loud", "dynamic"])
|
|
62
|
-
# validator.allowable_values.each do |value|
|
|
63
|
-
# expect { instance.energy = value }.not_to raise_error
|
|
64
|
-
# end
|
|
65
|
-
end
|
|
66
|
-
end
|
|
67
|
-
|
|
68
|
-
describe 'test attribute "engagement"' do
|
|
69
|
-
it 'should work' do
|
|
70
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
71
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very unengaging", "unengaging", "neutral engagement", "engaging", "very engaging", "varying engagement"])
|
|
72
|
-
# validator.allowable_values.each do |value|
|
|
73
|
-
# expect { instance.engagement = value }.not_to raise_error
|
|
74
|
-
# end
|
|
75
|
-
end
|
|
76
|
-
end
|
|
77
|
-
|
|
78
|
-
describe 'test attribute "groovyness"' do
|
|
79
|
-
it 'should work' do
|
|
80
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very steady", "steady", "moderate rhythm feel", "groovy", "very groovy"])
|
|
82
|
-
# validator.allowable_values.each do |value|
|
|
83
|
-
# expect { instance.groovyness = value }.not_to raise_error
|
|
84
|
-
# end
|
|
85
|
-
end
|
|
86
|
-
end
|
|
87
|
-
|
|
88
|
-
describe 'test attribute "harmony"' do
|
|
38
|
+
describe 'test attribute "language_of_performance"' do
|
|
89
39
|
it 'should work' do
|
|
90
40
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
91
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
41
|
+
# validator = Petstore::EnumTest::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"])
|
|
92
42
|
# validator.allowable_values.each do |value|
|
|
93
|
-
# expect { instance.
|
|
43
|
+
# expect { instance.language_of_performance = value }.not_to raise_error
|
|
94
44
|
# end
|
|
95
45
|
end
|
|
96
46
|
end
|
|
97
47
|
|
|
98
|
-
describe 'test attribute "
|
|
48
|
+
describe 'test attribute "primary_mood_cluster_affinity"' do
|
|
99
49
|
it 'should work' do
|
|
100
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
101
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very unpleasant", "unpleasant", "neutral pleasantness", "pleasant", "very pleasant", "varying pleasantness"])
|
|
102
|
-
# validator.allowable_values.each do |value|
|
|
103
|
-
# expect { instance.pleasantness = value }.not_to raise_error
|
|
104
|
-
# end
|
|
105
51
|
end
|
|
106
52
|
end
|
|
107
53
|
|
|
108
|
-
describe 'test attribute "
|
|
54
|
+
describe 'test attribute "secondary_mood_cluster"' do
|
|
109
55
|
it 'should work' do
|
|
110
56
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
111
57
|
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
|
112
58
|
# validator.allowable_values.each do |value|
|
|
113
|
-
# expect { instance.
|
|
114
|
-
# end
|
|
115
|
-
end
|
|
116
|
-
end
|
|
117
|
-
|
|
118
|
-
describe 'test attribute "primary_sound_character"' do
|
|
119
|
-
it 'should work' do
|
|
120
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
121
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["brassy", "bright", "clear", "deep", "distorted", "flat", "full", "groovy", "melodious", "natural", "resonant", "shrill", "steady", "thin", "warm"])
|
|
122
|
-
# validator.allowable_values.each do |value|
|
|
123
|
-
# expect { instance.primary_sound_character = value }.not_to raise_error
|
|
124
|
-
# end
|
|
125
|
-
end
|
|
126
|
-
end
|
|
127
|
-
|
|
128
|
-
describe 'test attribute "rhythm"' do
|
|
129
|
-
it 'should work' do
|
|
130
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
131
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["common time", "triple meter", "complex time signature", "binary rhythm", "ternary rhythm"])
|
|
132
|
-
# validator.allowable_values.each do |value|
|
|
133
|
-
# expect { instance.rhythm = value }.not_to raise_error
|
|
59
|
+
# expect { instance.secondary_mood_cluster = value }.not_to raise_error
|
|
134
60
|
# end
|
|
135
61
|
end
|
|
136
62
|
end
|
|
137
63
|
|
|
138
|
-
describe 'test attribute "
|
|
64
|
+
describe 'test attribute "secondary_mood_cluster_affinity"' do
|
|
139
65
|
it 'should work' do
|
|
140
66
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
141
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very clear", "clear", "moderate roughness", "distorted", "very distorted"])
|
|
142
|
-
# validator.allowable_values.each do |value|
|
|
143
|
-
# expect { instance.roughness = value }.not_to raise_error
|
|
144
|
-
# end
|
|
145
67
|
end
|
|
146
68
|
end
|
|
147
69
|
|
|
148
|
-
describe 'test attribute "
|
|
70
|
+
describe 'test attribute "tertiary_mood_cluster"' do
|
|
149
71
|
it 'should work' do
|
|
150
72
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
151
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
73
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
|
152
74
|
# validator.allowable_values.each do |value|
|
|
153
|
-
# expect { instance.
|
|
75
|
+
# expect { instance.tertiary_mood_cluster = value }.not_to raise_error
|
|
154
76
|
# end
|
|
155
77
|
end
|
|
156
78
|
end
|
|
157
79
|
|
|
158
|
-
describe 'test attribute "
|
|
80
|
+
describe 'test attribute "tertiary_mood_cluster_affinity"' do
|
|
159
81
|
it 'should work' do
|
|
160
82
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
161
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["acoustic", "electric", "electronic", "mixed sound generation"])
|
|
162
|
-
# validator.allowable_values.each do |value|
|
|
163
|
-
# expect { instance.sound_generation = value }.not_to raise_error
|
|
164
|
-
# end
|
|
165
83
|
end
|
|
166
84
|
end
|
|
167
85
|
|
|
168
|
-
describe 'test attribute "
|
|
86
|
+
describe 'test attribute "vocals_affinity"' do
|
|
169
87
|
it 'should work' do
|
|
170
88
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
171
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very slow", "slow", "mid-tempo", "fast", "very fast", "varying tempo"])
|
|
172
|
-
# validator.allowable_values.each do |value|
|
|
173
|
-
# expect { instance.tempo = value }.not_to raise_error
|
|
174
|
-
# end
|
|
175
89
|
end
|
|
176
90
|
end
|
|
177
91
|
|
|
178
|
-
describe 'test attribute "
|
|
92
|
+
describe 'test attribute "dominant_instrument_affinity"' do
|
|
179
93
|
it 'should work' do
|
|
180
94
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
181
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very thin", "thin", "moderate texture", "full", "very full"])
|
|
182
|
-
# validator.allowable_values.each do |value|
|
|
183
|
-
# expect { instance.texture = value }.not_to raise_error
|
|
184
|
-
# end
|
|
185
95
|
end
|
|
186
96
|
end
|
|
187
97
|
|
|
188
|
-
describe 'test attribute "
|
|
98
|
+
describe 'test attribute "secondary_instrument"' do
|
|
189
99
|
it 'should work' do
|
|
190
100
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
191
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
101
|
+
# validator = Petstore::EnumTest::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"])
|
|
192
102
|
# validator.allowable_values.each do |value|
|
|
193
|
-
# expect { instance.
|
|
103
|
+
# expect { instance.secondary_instrument = value }.not_to raise_error
|
|
194
104
|
# end
|
|
195
105
|
end
|
|
196
106
|
end
|
|
197
107
|
|
|
198
|
-
describe 'test attribute "
|
|
108
|
+
describe 'test attribute "secondary_instrument_affinity"' do
|
|
199
109
|
it 'should work' do
|
|
200
110
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
201
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["monotonous", "moderate melodiousness", "melodious", "atonal"])
|
|
202
|
-
# validator.allowable_values.each do |value|
|
|
203
|
-
# expect { instance.tonality = value }.not_to raise_error
|
|
204
|
-
# end
|
|
205
111
|
end
|
|
206
112
|
end
|
|
207
113
|
|
|
208
|
-
describe 'test attribute "
|
|
114
|
+
describe 'test attribute "tertiary_instrument"' do
|
|
209
115
|
it 'should work' do
|
|
210
116
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
211
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
117
|
+
# validator = Petstore::EnumTest::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"])
|
|
212
118
|
# validator.allowable_values.each do |value|
|
|
213
|
-
# expect { instance.
|
|
119
|
+
# expect { instance.tertiary_instrument = value }.not_to raise_error
|
|
214
120
|
# end
|
|
215
121
|
end
|
|
216
122
|
end
|
|
217
123
|
|
|
218
|
-
describe 'test attribute "
|
|
124
|
+
describe 'test attribute "tertiary_instrument_affinity"' do
|
|
219
125
|
it 'should work' do
|
|
220
126
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
221
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["instrumental", "female vocals", "male vocals", "mixed vocals", "diverse gender vocals"])
|
|
222
|
-
# validator.allowable_values.each do |value|
|
|
223
|
-
# expect { instance.vocals = value }.not_to raise_error
|
|
224
|
-
# end
|
|
225
127
|
end
|
|
226
128
|
end
|
|
227
129
|
|
|
228
|
-
describe 'test attribute "
|
|
130
|
+
describe 'test attribute "sound_generation_affinity"' do
|
|
229
131
|
it 'should work' do
|
|
230
132
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
231
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["pre-1950s", "1950s", "1960s", "1970s", "1980s", "1990s", "2000s", "2010s", "2020s"])
|
|
232
|
-
# validator.allowable_values.each do |value|
|
|
233
|
-
# expect { instance.origin_decade = value }.not_to raise_error
|
|
234
|
-
# end
|
|
235
133
|
end
|
|
236
134
|
end
|
|
237
135
|
|
|
238
|
-
describe 'test attribute "
|
|
136
|
+
describe 'test attribute "rhythm_affinity"' do
|
|
239
137
|
it 'should work' do
|
|
240
138
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
241
|
-
# validator = Petstore::EnumTest::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"])
|
|
242
|
-
# validator.allowable_values.each do |value|
|
|
243
|
-
# expect { instance.language_of_performance = value }.not_to raise_error
|
|
244
|
-
# end
|
|
245
139
|
end
|
|
246
140
|
end
|
|
247
141
|
|
|
@@ -469,165 +363,263 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
|
469
363
|
end
|
|
470
364
|
end
|
|
471
365
|
|
|
472
|
-
describe 'test attribute "
|
|
366
|
+
describe 'test attribute "arousal"' do
|
|
473
367
|
it 'should work' do
|
|
474
368
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
475
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
369
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
|
|
476
370
|
# validator.allowable_values.each do |value|
|
|
477
|
-
# expect { instance.
|
|
371
|
+
# expect { instance.arousal = value }.not_to raise_error
|
|
478
372
|
# end
|
|
479
373
|
end
|
|
480
374
|
end
|
|
481
375
|
|
|
482
|
-
describe 'test attribute "
|
|
376
|
+
describe 'test attribute "dominant_instrument"' do
|
|
483
377
|
it 'should work' do
|
|
484
378
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
485
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
379
|
+
# validator = Petstore::EnumTest::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"])
|
|
486
380
|
# validator.allowable_values.each do |value|
|
|
487
|
-
# expect { instance.
|
|
381
|
+
# expect { instance.dominant_instrument = value }.not_to raise_error
|
|
488
382
|
# end
|
|
489
383
|
end
|
|
490
384
|
end
|
|
491
385
|
|
|
492
|
-
describe 'test attribute "
|
|
386
|
+
describe 'test attribute "energy"' do
|
|
493
387
|
it 'should work' do
|
|
494
388
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
495
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
389
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very quiet", "quiet", "moderate", "loud", "very loud", "dynamic"])
|
|
496
390
|
# validator.allowable_values.each do |value|
|
|
497
|
-
# expect { instance.
|
|
391
|
+
# expect { instance.energy = value }.not_to raise_error
|
|
498
392
|
# end
|
|
499
393
|
end
|
|
500
394
|
end
|
|
501
395
|
|
|
502
|
-
describe 'test attribute "
|
|
396
|
+
describe 'test attribute "engagement"' do
|
|
503
397
|
it 'should work' do
|
|
504
398
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
505
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
399
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very unengaging", "unengaging", "neutral engagement", "engaging", "very engaging", "varying engagement"])
|
|
506
400
|
# validator.allowable_values.each do |value|
|
|
507
|
-
# expect { instance.
|
|
401
|
+
# expect { instance.engagement = value }.not_to raise_error
|
|
508
402
|
# end
|
|
509
403
|
end
|
|
510
404
|
end
|
|
511
405
|
|
|
512
|
-
describe 'test attribute "
|
|
406
|
+
describe 'test attribute "groovyness"' do
|
|
513
407
|
it 'should work' do
|
|
514
408
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
409
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very steady", "steady", "moderate rhythm feel", "groovy", "very groovy"])
|
|
410
|
+
# validator.allowable_values.each do |value|
|
|
411
|
+
# expect { instance.groovyness = value }.not_to raise_error
|
|
412
|
+
# end
|
|
515
413
|
end
|
|
516
414
|
end
|
|
517
415
|
|
|
518
|
-
describe 'test attribute "
|
|
416
|
+
describe 'test attribute "harmony"' do
|
|
519
417
|
it 'should work' do
|
|
520
418
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
521
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
419
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very dissonant", "dissonant", "moderate harmonies", "harmonious", "very harmonious"])
|
|
522
420
|
# validator.allowable_values.each do |value|
|
|
523
|
-
# expect { instance.
|
|
421
|
+
# expect { instance.harmony = value }.not_to raise_error
|
|
524
422
|
# end
|
|
525
423
|
end
|
|
526
424
|
end
|
|
527
425
|
|
|
528
|
-
describe 'test attribute "
|
|
426
|
+
describe 'test attribute "pleasantness"' do
|
|
529
427
|
it 'should work' do
|
|
530
428
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
429
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very unpleasant", "unpleasant", "neutral pleasantness", "pleasant", "very pleasant", "varying pleasantness"])
|
|
430
|
+
# validator.allowable_values.each do |value|
|
|
431
|
+
# expect { instance.pleasantness = value }.not_to raise_error
|
|
432
|
+
# end
|
|
531
433
|
end
|
|
532
434
|
end
|
|
533
435
|
|
|
534
|
-
describe 'test attribute "
|
|
436
|
+
describe 'test attribute "primary_mood_cluster"' do
|
|
535
437
|
it 'should work' do
|
|
536
438
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
537
439
|
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
|
538
440
|
# validator.allowable_values.each do |value|
|
|
539
|
-
# expect { instance.
|
|
441
|
+
# expect { instance.primary_mood_cluster = value }.not_to raise_error
|
|
540
442
|
# end
|
|
541
443
|
end
|
|
542
444
|
end
|
|
543
445
|
|
|
544
|
-
describe 'test attribute "
|
|
446
|
+
describe 'test attribute "primary_sound_character"' do
|
|
545
447
|
it 'should work' do
|
|
546
448
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
449
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["brassy", "bright", "clear", "deep", "distorted", "flat", "full", "groovy", "melodious", "natural", "resonant", "shrill", "steady", "thin", "warm"])
|
|
450
|
+
# validator.allowable_values.each do |value|
|
|
451
|
+
# expect { instance.primary_sound_character = value }.not_to raise_error
|
|
452
|
+
# end
|
|
547
453
|
end
|
|
548
454
|
end
|
|
549
455
|
|
|
550
|
-
describe 'test attribute "
|
|
456
|
+
describe 'test attribute "rhythm"' do
|
|
551
457
|
it 'should work' do
|
|
552
458
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
459
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["common time", "triple meter", "complex time signature", "binary rhythm", "ternary rhythm"])
|
|
460
|
+
# validator.allowable_values.each do |value|
|
|
461
|
+
# expect { instance.rhythm = value }.not_to raise_error
|
|
462
|
+
# end
|
|
553
463
|
end
|
|
554
464
|
end
|
|
555
465
|
|
|
556
|
-
describe 'test attribute "
|
|
466
|
+
describe 'test attribute "roughness"' do
|
|
557
467
|
it 'should work' do
|
|
558
468
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
469
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very clear", "clear", "moderate roughness", "distorted", "very distorted"])
|
|
470
|
+
# validator.allowable_values.each do |value|
|
|
471
|
+
# expect { instance.roughness = value }.not_to raise_error
|
|
472
|
+
# end
|
|
559
473
|
end
|
|
560
474
|
end
|
|
561
475
|
|
|
562
|
-
describe 'test attribute "
|
|
476
|
+
describe 'test attribute "scale"' do
|
|
563
477
|
it 'should work' do
|
|
564
478
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
565
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
479
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["major key", "minor key", "neutral key"])
|
|
566
480
|
# validator.allowable_values.each do |value|
|
|
567
|
-
# expect { instance.
|
|
481
|
+
# expect { instance.scale = value }.not_to raise_error
|
|
568
482
|
# end
|
|
569
483
|
end
|
|
570
484
|
end
|
|
571
485
|
|
|
572
|
-
describe 'test attribute "
|
|
486
|
+
describe 'test attribute "sound_generation"' do
|
|
573
487
|
it 'should work' do
|
|
574
488
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
489
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["acoustic", "electric", "electronic", "mixed sound generation"])
|
|
490
|
+
# validator.allowable_values.each do |value|
|
|
491
|
+
# expect { instance.sound_generation = value }.not_to raise_error
|
|
492
|
+
# end
|
|
575
493
|
end
|
|
576
494
|
end
|
|
577
495
|
|
|
578
|
-
describe 'test attribute "
|
|
496
|
+
describe 'test attribute "tempo"' do
|
|
579
497
|
it 'should work' do
|
|
580
498
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
581
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
499
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very slow", "slow", "mid-tempo", "fast", "very fast", "varying tempo"])
|
|
582
500
|
# validator.allowable_values.each do |value|
|
|
583
|
-
# expect { instance.
|
|
501
|
+
# expect { instance.tempo = value }.not_to raise_error
|
|
584
502
|
# end
|
|
585
503
|
end
|
|
586
504
|
end
|
|
587
505
|
|
|
588
|
-
describe 'test attribute "
|
|
506
|
+
describe 'test attribute "texture"' do
|
|
589
507
|
it 'should work' do
|
|
590
508
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
509
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very thin", "thin", "moderate texture", "full", "very full"])
|
|
510
|
+
# validator.allowable_values.each do |value|
|
|
511
|
+
# expect { instance.texture = value }.not_to raise_error
|
|
512
|
+
# end
|
|
591
513
|
end
|
|
592
514
|
end
|
|
593
515
|
|
|
594
|
-
describe 'test attribute "
|
|
516
|
+
describe 'test attribute "timbre"' do
|
|
595
517
|
it 'should work' do
|
|
596
518
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
519
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very warm", "warm", "moderate timbre", "bright", "very bright"])
|
|
520
|
+
# validator.allowable_values.each do |value|
|
|
521
|
+
# expect { instance.timbre = value }.not_to raise_error
|
|
522
|
+
# end
|
|
597
523
|
end
|
|
598
524
|
end
|
|
599
525
|
|
|
600
|
-
describe 'test attribute "
|
|
526
|
+
describe 'test attribute "tonality"' do
|
|
601
527
|
it 'should work' do
|
|
602
528
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
529
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["monotonous", "moderate melodiousness", "melodious", "atonal"])
|
|
530
|
+
# validator.allowable_values.each do |value|
|
|
531
|
+
# expect { instance.tonality = value }.not_to raise_error
|
|
532
|
+
# end
|
|
603
533
|
end
|
|
604
534
|
end
|
|
605
535
|
|
|
606
|
-
describe 'test attribute "
|
|
536
|
+
describe 'test attribute "valence"' do
|
|
607
537
|
it 'should work' do
|
|
608
538
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
539
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very sad", "sad", "moderate valence", "positive", "very positive", "varying valence"])
|
|
540
|
+
# validator.allowable_values.each do |value|
|
|
541
|
+
# expect { instance.valence = value }.not_to raise_error
|
|
542
|
+
# end
|
|
609
543
|
end
|
|
610
544
|
end
|
|
611
545
|
|
|
612
|
-
describe 'test attribute "
|
|
546
|
+
describe 'test attribute "audience_region"' do
|
|
547
|
+
it 'should work' do
|
|
548
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
549
|
+
# validator = Petstore::EnumTest::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"])
|
|
550
|
+
# validator.allowable_values.each do |value|
|
|
551
|
+
# expect { instance.audience_region = value }.not_to raise_error
|
|
552
|
+
# end
|
|
553
|
+
end
|
|
554
|
+
end
|
|
555
|
+
|
|
556
|
+
describe 'test attribute "vocals"' do
|
|
613
557
|
it 'should work' do
|
|
614
558
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
559
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["instrumental", "female vocals", "male vocals", "mixed vocals", "diverse gender vocals"])
|
|
560
|
+
# validator.allowable_values.each do |value|
|
|
561
|
+
# expect { instance.vocals = value }.not_to raise_error
|
|
562
|
+
# end
|
|
615
563
|
end
|
|
616
564
|
end
|
|
617
565
|
|
|
618
|
-
describe 'test attribute "
|
|
566
|
+
describe 'test attribute "origin_decade"' do
|
|
619
567
|
it 'should work' do
|
|
620
568
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
569
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["pre-1950s", "1950s", "1960s", "1970s", "1980s", "1990s", "2000s", "2010s", "2020s"])
|
|
570
|
+
# validator.allowable_values.each do |value|
|
|
571
|
+
# expect { instance.origin_decade = value }.not_to raise_error
|
|
572
|
+
# end
|
|
621
573
|
end
|
|
622
574
|
end
|
|
623
575
|
|
|
624
|
-
describe 'test attribute "
|
|
576
|
+
describe 'test attribute "curateability"' do
|
|
577
|
+
it 'should work' do
|
|
578
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
579
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["curateable", "uncurateable"])
|
|
580
|
+
# validator.allowable_values.each do |value|
|
|
581
|
+
# expect { instance.curateability = value }.not_to raise_error
|
|
582
|
+
# end
|
|
583
|
+
end
|
|
584
|
+
end
|
|
585
|
+
|
|
586
|
+
describe 'test attribute "use_case"' do
|
|
625
587
|
it 'should work' do
|
|
626
588
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
589
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax"])
|
|
590
|
+
# validator.allowable_values.each do |value|
|
|
591
|
+
# expect { instance.use_case = value }.not_to raise_error
|
|
592
|
+
# end
|
|
627
593
|
end
|
|
628
594
|
end
|
|
629
595
|
|
|
630
|
-
describe 'test attribute "
|
|
596
|
+
describe 'test attribute "channel_suitability"' do
|
|
597
|
+
it 'should work' do
|
|
598
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
599
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Spotify", "TikTok", "Unfitting", "YouTube"])
|
|
600
|
+
# validator.allowable_values.each do |value|
|
|
601
|
+
# expect { instance.channel_suitability = value }.not_to raise_error
|
|
602
|
+
# end
|
|
603
|
+
end
|
|
604
|
+
end
|
|
605
|
+
|
|
606
|
+
describe 'test attribute "key"' do
|
|
607
|
+
it 'should work' do
|
|
608
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
609
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B", "unclear"])
|
|
610
|
+
# validator.allowable_values.each do |value|
|
|
611
|
+
# expect { instance.key = value }.not_to raise_error
|
|
612
|
+
# end
|
|
613
|
+
end
|
|
614
|
+
end
|
|
615
|
+
|
|
616
|
+
describe 'test attribute "channel_suitability_affinity"' do
|
|
617
|
+
it 'should work' do
|
|
618
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
619
|
+
end
|
|
620
|
+
end
|
|
621
|
+
|
|
622
|
+
describe 'test attribute "pleasantness_affinity"' do
|
|
631
623
|
it 'should work' do
|
|
632
624
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
633
625
|
end
|
|
@@ -651,13 +643,13 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
|
651
643
|
end
|
|
652
644
|
end
|
|
653
645
|
|
|
654
|
-
describe 'test attribute "
|
|
646
|
+
describe 'test attribute "engagement_affinity"' do
|
|
655
647
|
it 'should work' do
|
|
656
648
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
657
649
|
end
|
|
658
650
|
end
|
|
659
651
|
|
|
660
|
-
describe 'test attribute "
|
|
652
|
+
describe 'test attribute "energy_affinity"' do
|
|
661
653
|
it 'should work' do
|
|
662
654
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
663
655
|
end
|
|
@@ -675,6 +667,18 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
|
675
667
|
end
|
|
676
668
|
end
|
|
677
669
|
|
|
670
|
+
describe 'test attribute "valence_affinity"' do
|
|
671
|
+
it 'should work' do
|
|
672
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
673
|
+
end
|
|
674
|
+
end
|
|
675
|
+
|
|
676
|
+
describe 'test attribute "arousal_affinity"' do
|
|
677
|
+
it 'should work' do
|
|
678
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
679
|
+
end
|
|
680
|
+
end
|
|
681
|
+
|
|
678
682
|
describe 'test attribute "space_affinity"' do
|
|
679
683
|
it 'should work' do
|
|
680
684
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -687,19 +691,15 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
|
687
691
|
end
|
|
688
692
|
end
|
|
689
693
|
|
|
690
|
-
describe 'test attribute "
|
|
694
|
+
describe 'test attribute "roughness_affinity"' do
|
|
691
695
|
it 'should work' do
|
|
692
696
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
693
697
|
end
|
|
694
698
|
end
|
|
695
699
|
|
|
696
|
-
describe 'test attribute "
|
|
700
|
+
describe 'test attribute "harmony_affinity"' do
|
|
697
701
|
it 'should work' do
|
|
698
702
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
699
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B", "unclear"])
|
|
700
|
-
# validator.allowable_values.each do |value|
|
|
701
|
-
# expect { instance.key = value }.not_to raise_error
|
|
702
|
-
# end
|
|
703
703
|
end
|
|
704
704
|
end
|
|
705
705
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.12.
|
|
6
|
+
The version of the OpenAPI document: 1.12.24
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.12.
|
|
6
|
+
The version of the OpenAPI document: 1.12.24
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|