songtradr_api_client_ruby 1.12.24 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +6 -5
- data/docs/CategoryMediumDTO.md +3 -3
- data/docs/FileSmallDTO.md +16 -16
- data/docs/MusicalFeaturesDTO.md +62 -62
- data/docs/PlaylistLargeDTO.md +7 -7
- data/docs/ProductMediumDTO.md +8 -8
- data/docs/ProductPartyDTO.md +3 -3
- data/docs/RecordingApi.md +4 -0
- data/docs/RecordingGenrePredictionDTO.md +4 -4
- data/docs/RecordingLargeDTO.md +7 -7
- data/docs/RecordingMediumDTO.md +7 -5
- data/docs/RecordingPartyDTO.md +3 -3
- data/docs/TrackDTO.md +18 -0
- data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/api_keys_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 +1 -1
- 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/admin_api_user_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/api_key_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +16 -16
- 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/contributor_type_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/create_api_key_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/error_response.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 +63 -63
- 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/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/init_put_recording_audio_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/login_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +491 -491
- data/lib/songtradr_api_client_ruby/models/p_line_dto.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 +32 -32
- data/lib/songtradr_api_client_ruby/models/product_medium_dto.rb +40 -40
- data/lib/songtradr_api_client_ruby/models/product_party_dto.rb +16 -16
- 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 +22 -22
- data/lib/songtradr_api_client_ruby/models/recording_large_dto.rb +44 -44
- data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +46 -35
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +1 -1
- 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 +16 -16
- data/lib/songtradr_api_client_ruby/models/recording_playlist_dto.rb +1 -1
- data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +1 -1
- 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/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 +215 -0
- 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/version.rb +2 -2
- data/lib/songtradr_api_client_ruby.rb +2 -1
- 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/api_keys_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/admin_api_user_dto_spec.rb +1 -1
- data/spec/models/api_key_dto_spec.rb +1 -1
- data/spec/models/category_medium_dto_spec.rb +3 -3
- 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 +1 -1
- 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 +199 -199
- 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 +5 -5
- data/spec/models/product_party_dto_spec.rb +3 -3
- 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 +16 -10
- data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +1 -1
- 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 +3 -3
- data/spec/models/recording_playlist_dto_spec.rb +1 -1
- data/spec/models/recording_small_dto_spec.rb +1 -1
- 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_dto_spec.rb +34 -0
- 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/spec_helper.rb +1 -1
- metadata +62 -58
@@ -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.
|
6
|
+
The version of the OpenAPI document: 1.13.0
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
@@ -45,575 +45,571 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
48
|
-
describe 'test attribute "
|
48
|
+
describe 'test attribute "arousal"' do
|
49
49
|
it 'should work' do
|
50
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
|
52
|
+
# validator.allowable_values.each do |value|
|
53
|
+
# expect { instance.arousal = value }.not_to raise_error
|
54
|
+
# end
|
51
55
|
end
|
52
56
|
end
|
53
57
|
|
54
|
-
describe 'test attribute "
|
58
|
+
describe 'test attribute "dominant_instrument"' do
|
55
59
|
it 'should work' do
|
56
60
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
61
|
+
# 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"])
|
58
62
|
# validator.allowable_values.each do |value|
|
59
|
-
# expect { instance.
|
63
|
+
# expect { instance.dominant_instrument = value }.not_to raise_error
|
60
64
|
# end
|
61
65
|
end
|
62
66
|
end
|
63
67
|
|
64
|
-
describe 'test attribute "
|
68
|
+
describe 'test attribute "energy"' do
|
65
69
|
it 'should work' do
|
66
70
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
71
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very quiet", "quiet", "moderate", "loud", "very loud", "dynamic"])
|
72
|
+
# validator.allowable_values.each do |value|
|
73
|
+
# expect { instance.energy = value }.not_to raise_error
|
74
|
+
# end
|
67
75
|
end
|
68
76
|
end
|
69
77
|
|
70
|
-
describe 'test attribute "
|
78
|
+
describe 'test attribute "engagement"' do
|
71
79
|
it 'should work' do
|
72
80
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
73
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
81
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very unengaging", "unengaging", "neutral engagement", "engaging", "very engaging", "varying engagement"])
|
74
82
|
# validator.allowable_values.each do |value|
|
75
|
-
# expect { instance.
|
83
|
+
# expect { instance.engagement = value }.not_to raise_error
|
76
84
|
# end
|
77
85
|
end
|
78
86
|
end
|
79
87
|
|
80
|
-
describe 'test attribute "
|
88
|
+
describe 'test attribute "groovyness"' do
|
81
89
|
it 'should work' do
|
82
90
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
91
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very steady", "steady", "moderate rhythm feel", "groovy", "very groovy"])
|
92
|
+
# validator.allowable_values.each do |value|
|
93
|
+
# expect { instance.groovyness = value }.not_to raise_error
|
94
|
+
# end
|
83
95
|
end
|
84
96
|
end
|
85
97
|
|
86
|
-
describe 'test attribute "
|
98
|
+
describe 'test attribute "harmony"' do
|
87
99
|
it 'should work' do
|
88
100
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
101
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very dissonant", "dissonant", "moderate harmonies", "harmonious", "very harmonious"])
|
102
|
+
# validator.allowable_values.each do |value|
|
103
|
+
# expect { instance.harmony = value }.not_to raise_error
|
104
|
+
# end
|
89
105
|
end
|
90
106
|
end
|
91
107
|
|
92
|
-
describe 'test attribute "
|
108
|
+
describe 'test attribute "pleasantness"' do
|
93
109
|
it 'should work' do
|
94
110
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
111
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very unpleasant", "unpleasant", "neutral pleasantness", "pleasant", "very pleasant", "varying pleasantness"])
|
112
|
+
# validator.allowable_values.each do |value|
|
113
|
+
# expect { instance.pleasantness = value }.not_to raise_error
|
114
|
+
# end
|
95
115
|
end
|
96
116
|
end
|
97
117
|
|
98
|
-
describe 'test attribute "
|
118
|
+
describe 'test attribute "primary_mood_cluster"' do
|
99
119
|
it 'should work' do
|
100
120
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
101
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
121
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
102
122
|
# validator.allowable_values.each do |value|
|
103
|
-
# expect { instance.
|
123
|
+
# expect { instance.primary_mood_cluster = value }.not_to raise_error
|
104
124
|
# end
|
105
125
|
end
|
106
126
|
end
|
107
127
|
|
108
|
-
describe 'test attribute "
|
128
|
+
describe 'test attribute "primary_sound_character"' do
|
109
129
|
it 'should work' do
|
110
130
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
131
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["brassy", "bright", "clear", "deep", "distorted", "flat", "full", "groovy", "melodious", "natural", "resonant", "shrill", "steady", "thin", "warm"])
|
132
|
+
# validator.allowable_values.each do |value|
|
133
|
+
# expect { instance.primary_sound_character = value }.not_to raise_error
|
134
|
+
# end
|
111
135
|
end
|
112
136
|
end
|
113
137
|
|
114
|
-
describe 'test attribute "
|
138
|
+
describe 'test attribute "rhythm"' do
|
115
139
|
it 'should work' do
|
116
140
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
117
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
141
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["common time", "triple meter", "complex time signature", "binary rhythm", "ternary rhythm"])
|
118
142
|
# validator.allowable_values.each do |value|
|
119
|
-
# expect { instance.
|
143
|
+
# expect { instance.rhythm = value }.not_to raise_error
|
120
144
|
# end
|
121
145
|
end
|
122
146
|
end
|
123
147
|
|
124
|
-
describe 'test attribute "
|
148
|
+
describe 'test attribute "roughness"' do
|
125
149
|
it 'should work' do
|
126
150
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
151
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very clear", "clear", "moderate roughness", "distorted", "very distorted"])
|
152
|
+
# validator.allowable_values.each do |value|
|
153
|
+
# expect { instance.roughness = value }.not_to raise_error
|
154
|
+
# end
|
127
155
|
end
|
128
156
|
end
|
129
157
|
|
130
|
-
describe 'test attribute "
|
158
|
+
describe 'test attribute "scale"' do
|
131
159
|
it 'should work' do
|
132
160
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
161
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["major key", "minor key", "neutral key"])
|
162
|
+
# validator.allowable_values.each do |value|
|
163
|
+
# expect { instance.scale = value }.not_to raise_error
|
164
|
+
# end
|
133
165
|
end
|
134
166
|
end
|
135
167
|
|
136
|
-
describe 'test attribute "
|
168
|
+
describe 'test attribute "sound_generation"' do
|
137
169
|
it 'should work' do
|
138
170
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
171
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["acoustic", "electric", "electronic", "mixed sound generation"])
|
172
|
+
# validator.allowable_values.each do |value|
|
173
|
+
# expect { instance.sound_generation = value }.not_to raise_error
|
174
|
+
# end
|
139
175
|
end
|
140
176
|
end
|
141
177
|
|
142
|
-
describe 'test attribute "
|
178
|
+
describe 'test attribute "tempo"' do
|
143
179
|
it 'should work' do
|
144
180
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
181
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very slow", "slow", "mid-tempo", "fast", "very fast", "varying tempo"])
|
182
|
+
# validator.allowable_values.each do |value|
|
183
|
+
# expect { instance.tempo = value }.not_to raise_error
|
184
|
+
# end
|
145
185
|
end
|
146
186
|
end
|
147
187
|
|
148
|
-
describe 'test attribute "
|
188
|
+
describe 'test attribute "texture"' do
|
149
189
|
it 'should work' do
|
150
190
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
191
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very thin", "thin", "moderate texture", "full", "very full"])
|
192
|
+
# validator.allowable_values.each do |value|
|
193
|
+
# expect { instance.texture = value }.not_to raise_error
|
194
|
+
# end
|
151
195
|
end
|
152
196
|
end
|
153
197
|
|
154
|
-
describe 'test attribute "
|
198
|
+
describe 'test attribute "timbre"' do
|
155
199
|
it 'should work' do
|
156
200
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
201
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very warm", "warm", "moderate timbre", "bright", "very bright"])
|
202
|
+
# validator.allowable_values.each do |value|
|
203
|
+
# expect { instance.timbre = value }.not_to raise_error
|
204
|
+
# end
|
157
205
|
end
|
158
206
|
end
|
159
207
|
|
160
|
-
describe 'test attribute "
|
208
|
+
describe 'test attribute "tonality"' do
|
161
209
|
it 'should work' do
|
162
210
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
163
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
211
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["monotonous", "moderate melodiousness", "melodious", "atonal"])
|
164
212
|
# validator.allowable_values.each do |value|
|
165
|
-
# expect { instance.
|
213
|
+
# expect { instance.tonality = value }.not_to raise_error
|
166
214
|
# end
|
167
215
|
end
|
168
216
|
end
|
169
217
|
|
170
|
-
describe 'test attribute "
|
218
|
+
describe 'test attribute "valence"' do
|
171
219
|
it 'should work' do
|
172
220
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
221
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very sad", "sad", "moderate valence", "positive", "very positive", "varying valence"])
|
222
|
+
# validator.allowable_values.each do |value|
|
223
|
+
# expect { instance.valence = value }.not_to raise_error
|
224
|
+
# end
|
173
225
|
end
|
174
226
|
end
|
175
227
|
|
176
|
-
describe 'test attribute "
|
228
|
+
describe 'test attribute "vocals"' do
|
177
229
|
it 'should work' do
|
178
230
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
179
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
231
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["instrumental", "female vocals", "male vocals", "mixed vocals", "diverse gender vocals"])
|
180
232
|
# validator.allowable_values.each do |value|
|
181
|
-
# expect { instance.
|
233
|
+
# expect { instance.vocals = value }.not_to raise_error
|
182
234
|
# end
|
183
235
|
end
|
184
236
|
end
|
185
237
|
|
186
|
-
describe 'test attribute "
|
238
|
+
describe 'test attribute "origin_decade"' do
|
187
239
|
it 'should work' do
|
188
240
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
241
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["pre-1950s", "1950s", "1960s", "1970s", "1980s", "1990s", "2000s", "2010s", "2020s"])
|
242
|
+
# validator.allowable_values.each do |value|
|
243
|
+
# expect { instance.origin_decade = value }.not_to raise_error
|
244
|
+
# end
|
189
245
|
end
|
190
246
|
end
|
191
247
|
|
192
|
-
describe 'test attribute "
|
248
|
+
describe 'test attribute "curateability"' do
|
193
249
|
it 'should work' do
|
194
250
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
195
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
251
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["curateable", "uncurateable"])
|
196
252
|
# validator.allowable_values.each do |value|
|
197
|
-
# expect { instance.
|
253
|
+
# expect { instance.curateability = value }.not_to raise_error
|
198
254
|
# end
|
199
255
|
end
|
200
256
|
end
|
201
257
|
|
202
|
-
describe 'test attribute "
|
258
|
+
describe 'test attribute "use_case"' do
|
203
259
|
it 'should work' do
|
204
260
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
261
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax"])
|
262
|
+
# validator.allowable_values.each do |value|
|
263
|
+
# expect { instance.use_case = value }.not_to raise_error
|
264
|
+
# end
|
205
265
|
end
|
206
266
|
end
|
207
267
|
|
208
|
-
describe 'test attribute "
|
268
|
+
describe 'test attribute "channel_suitability"' do
|
209
269
|
it 'should work' do
|
210
270
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
211
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
271
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Spotify", "TikTok", "Unfitting", "YouTube"])
|
212
272
|
# validator.allowable_values.each do |value|
|
213
|
-
# expect { instance.
|
273
|
+
# expect { instance.channel_suitability = value }.not_to raise_error
|
214
274
|
# end
|
215
275
|
end
|
216
276
|
end
|
217
277
|
|
218
|
-
describe 'test attribute "
|
278
|
+
describe 'test attribute "primary_mood_cluster_affinity"' do
|
219
279
|
it 'should work' do
|
220
280
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
221
281
|
end
|
222
282
|
end
|
223
283
|
|
224
|
-
describe 'test attribute "
|
284
|
+
describe 'test attribute "secondary_mood_cluster"' do
|
225
285
|
it 'should work' do
|
226
286
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
227
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
287
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
228
288
|
# validator.allowable_values.each do |value|
|
229
|
-
# expect { instance.
|
289
|
+
# expect { instance.secondary_mood_cluster = value }.not_to raise_error
|
230
290
|
# end
|
231
291
|
end
|
232
292
|
end
|
233
293
|
|
234
|
-
describe 'test attribute "
|
294
|
+
describe 'test attribute "secondary_mood_cluster_affinity"' do
|
235
295
|
it 'should work' do
|
236
296
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
237
297
|
end
|
238
298
|
end
|
239
299
|
|
240
|
-
describe 'test attribute "
|
300
|
+
describe 'test attribute "tertiary_mood_cluster"' do
|
241
301
|
it 'should work' do
|
242
302
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
243
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
303
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
244
304
|
# validator.allowable_values.each do |value|
|
245
|
-
# expect { instance.
|
305
|
+
# expect { instance.tertiary_mood_cluster = value }.not_to raise_error
|
246
306
|
# end
|
247
307
|
end
|
248
308
|
end
|
249
309
|
|
250
|
-
describe 'test attribute "
|
310
|
+
describe 'test attribute "tertiary_mood_cluster_affinity"' do
|
251
311
|
it 'should work' do
|
252
312
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
253
313
|
end
|
254
314
|
end
|
255
315
|
|
256
|
-
describe 'test attribute "
|
316
|
+
describe 'test attribute "vocals_affinity"' do
|
257
317
|
it 'should work' do
|
258
318
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
259
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["male", "female"])
|
260
|
-
# validator.allowable_values.each do |value|
|
261
|
-
# expect { instance.audience_gender = value }.not_to raise_error
|
262
|
-
# end
|
263
319
|
end
|
264
320
|
end
|
265
321
|
|
266
|
-
describe 'test attribute "
|
322
|
+
describe 'test attribute "dominant_instrument_affinity"' do
|
267
323
|
it 'should work' do
|
268
324
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
269
325
|
end
|
270
326
|
end
|
271
327
|
|
272
|
-
describe 'test attribute "
|
328
|
+
describe 'test attribute "secondary_instrument"' do
|
273
329
|
it 'should work' do
|
274
330
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
331
|
+
# 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"])
|
332
|
+
# validator.allowable_values.each do |value|
|
333
|
+
# expect { instance.secondary_instrument = value }.not_to raise_error
|
334
|
+
# end
|
275
335
|
end
|
276
336
|
end
|
277
337
|
|
278
|
-
describe 'test attribute "
|
338
|
+
describe 'test attribute "secondary_instrument_affinity"' do
|
279
339
|
it 'should work' do
|
280
340
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
281
|
-
# 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"])
|
282
|
-
# validator.allowable_values.each do |value|
|
283
|
-
# expect { instance.secondary_audience_region = value }.not_to raise_error
|
284
|
-
# end
|
285
341
|
end
|
286
342
|
end
|
287
343
|
|
288
|
-
describe 'test attribute "
|
344
|
+
describe 'test attribute "tertiary_instrument"' do
|
289
345
|
it 'should work' do
|
290
346
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
347
|
+
# 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"])
|
348
|
+
# validator.allowable_values.each do |value|
|
349
|
+
# expect { instance.tertiary_instrument = value }.not_to raise_error
|
350
|
+
# end
|
291
351
|
end
|
292
352
|
end
|
293
353
|
|
294
|
-
describe 'test attribute "
|
354
|
+
describe 'test attribute "tertiary_instrument_affinity"' do
|
295
355
|
it 'should work' do
|
296
356
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
297
|
-
# 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"])
|
298
|
-
# validator.allowable_values.each do |value|
|
299
|
-
# expect { instance.tertiary_audience_region = value }.not_to raise_error
|
300
|
-
# end
|
301
357
|
end
|
302
358
|
end
|
303
359
|
|
304
|
-
describe 'test attribute "
|
360
|
+
describe 'test attribute "sound_generation_affinity"' do
|
305
361
|
it 'should work' do
|
306
362
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
307
363
|
end
|
308
364
|
end
|
309
365
|
|
310
|
-
describe 'test attribute "
|
366
|
+
describe 'test attribute "rhythm_affinity"' do
|
311
367
|
it 'should work' do
|
312
368
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
313
|
-
# 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"])
|
314
|
-
# validator.allowable_values.each do |value|
|
315
|
-
# expect { instance.origin_region = value }.not_to raise_error
|
316
|
-
# end
|
317
369
|
end
|
318
370
|
end
|
319
371
|
|
320
|
-
describe 'test attribute "
|
372
|
+
describe 'test attribute "primary_sound_character_affinity"' do
|
321
373
|
it 'should work' do
|
322
374
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
323
375
|
end
|
324
376
|
end
|
325
377
|
|
326
|
-
describe 'test attribute "
|
378
|
+
describe 'test attribute "tonality_affinity"' do
|
327
379
|
it 'should work' do
|
328
380
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
329
381
|
end
|
330
382
|
end
|
331
383
|
|
332
|
-
describe 'test attribute "
|
384
|
+
describe 'test attribute "bpm"' do
|
333
385
|
it 'should work' do
|
334
386
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
335
387
|
end
|
336
388
|
end
|
337
389
|
|
338
|
-
describe 'test attribute "
|
390
|
+
describe 'test attribute "production_rating"' do
|
339
391
|
it 'should work' do
|
340
392
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
393
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["low production quality", "medium production quality", "high production quality"])
|
394
|
+
# validator.allowable_values.each do |value|
|
395
|
+
# expect { instance.production_rating = value }.not_to raise_error
|
396
|
+
# end
|
341
397
|
end
|
342
398
|
end
|
343
399
|
|
344
|
-
describe 'test attribute "
|
400
|
+
describe 'test attribute "production_rating_affinity"' do
|
345
401
|
it 'should work' do
|
346
402
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
347
403
|
end
|
348
404
|
end
|
349
405
|
|
350
|
-
describe 'test attribute "
|
406
|
+
describe 'test attribute "performance_rating"' do
|
351
407
|
it 'should work' do
|
352
408
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
353
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
409
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["low performance quality", "medium performance quality", "high performance quality"])
|
354
410
|
# validator.allowable_values.each do |value|
|
355
|
-
# expect { instance.
|
411
|
+
# expect { instance.performance_rating = value }.not_to raise_error
|
356
412
|
# end
|
357
413
|
end
|
358
414
|
end
|
359
415
|
|
360
|
-
describe 'test attribute "
|
416
|
+
describe 'test attribute "performance_rating_affinity"' do
|
361
417
|
it 'should work' do
|
362
418
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
363
419
|
end
|
364
420
|
end
|
365
421
|
|
366
|
-
describe 'test attribute "
|
422
|
+
describe 'test attribute "song_rating"' do
|
367
423
|
it 'should work' do
|
368
424
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
369
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
425
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["low song quality", "medium song quality", "high song quality"])
|
370
426
|
# validator.allowable_values.each do |value|
|
371
|
-
# expect { instance.
|
427
|
+
# expect { instance.song_rating = value }.not_to raise_error
|
372
428
|
# end
|
373
429
|
end
|
374
430
|
end
|
375
431
|
|
376
|
-
describe 'test attribute "
|
432
|
+
describe 'test attribute "song_rating_affinity"' do
|
377
433
|
it 'should work' do
|
378
434
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
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"])
|
380
|
-
# validator.allowable_values.each do |value|
|
381
|
-
# expect { instance.dominant_instrument = value }.not_to raise_error
|
382
|
-
# end
|
383
435
|
end
|
384
436
|
end
|
385
437
|
|
386
|
-
describe 'test attribute "
|
438
|
+
describe 'test attribute "audience_age"' do
|
387
439
|
it 'should work' do
|
388
440
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
389
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
441
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
|
390
442
|
# validator.allowable_values.each do |value|
|
391
|
-
# expect { instance.
|
443
|
+
# expect { instance.audience_age = value }.not_to raise_error
|
392
444
|
# end
|
393
445
|
end
|
394
446
|
end
|
395
447
|
|
396
|
-
describe 'test attribute "
|
448
|
+
describe 'test attribute "audience_age_affinity"' do
|
397
449
|
it 'should work' do
|
398
450
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
399
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very unengaging", "unengaging", "neutral engagement", "engaging", "very engaging", "varying engagement"])
|
400
|
-
# validator.allowable_values.each do |value|
|
401
|
-
# expect { instance.engagement = value }.not_to raise_error
|
402
|
-
# end
|
403
451
|
end
|
404
452
|
end
|
405
453
|
|
406
|
-
describe 'test attribute "
|
454
|
+
describe 'test attribute "secondary_audience_age"' do
|
407
455
|
it 'should work' do
|
408
456
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
409
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
457
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
|
410
458
|
# validator.allowable_values.each do |value|
|
411
|
-
# expect { instance.
|
459
|
+
# expect { instance.secondary_audience_age = value }.not_to raise_error
|
412
460
|
# end
|
413
461
|
end
|
414
462
|
end
|
415
463
|
|
416
|
-
describe 'test attribute "
|
464
|
+
describe 'test attribute "secondary_audience_age_affinity"' do
|
417
465
|
it 'should work' do
|
418
466
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
419
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very dissonant", "dissonant", "moderate harmonies", "harmonious", "very harmonious"])
|
420
|
-
# validator.allowable_values.each do |value|
|
421
|
-
# expect { instance.harmony = value }.not_to raise_error
|
422
|
-
# end
|
423
467
|
end
|
424
468
|
end
|
425
469
|
|
426
|
-
describe 'test attribute "
|
470
|
+
describe 'test attribute "tertiary_audience_age"' do
|
427
471
|
it 'should work' do
|
428
472
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
429
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
473
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
|
430
474
|
# validator.allowable_values.each do |value|
|
431
|
-
# expect { instance.
|
475
|
+
# expect { instance.tertiary_audience_age = value }.not_to raise_error
|
432
476
|
# end
|
433
477
|
end
|
434
478
|
end
|
435
479
|
|
436
|
-
describe 'test attribute "
|
480
|
+
describe 'test attribute "tertiary_audience_age_affinity"' do
|
437
481
|
it 'should work' do
|
438
482
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
439
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
440
|
-
# validator.allowable_values.each do |value|
|
441
|
-
# expect { instance.primary_mood_cluster = value }.not_to raise_error
|
442
|
-
# end
|
443
483
|
end
|
444
484
|
end
|
445
485
|
|
446
|
-
describe 'test attribute "
|
486
|
+
describe 'test attribute "audience_gender"' do
|
447
487
|
it 'should work' do
|
448
488
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
449
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
489
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["male", "female"])
|
450
490
|
# validator.allowable_values.each do |value|
|
451
|
-
# expect { instance.
|
491
|
+
# expect { instance.audience_gender = value }.not_to raise_error
|
452
492
|
# end
|
453
493
|
end
|
454
494
|
end
|
455
495
|
|
456
|
-
describe 'test attribute "
|
496
|
+
describe 'test attribute "audience_gender_affinity"' do
|
457
497
|
it 'should work' do
|
458
498
|
# 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
|
463
499
|
end
|
464
500
|
end
|
465
501
|
|
466
|
-
describe 'test attribute "
|
502
|
+
describe 'test attribute "audience_region_affinity"' do
|
467
503
|
it 'should work' do
|
468
504
|
# 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
|
473
505
|
end
|
474
506
|
end
|
475
507
|
|
476
|
-
describe 'test attribute "
|
508
|
+
describe 'test attribute "secondary_audience_region"' do
|
477
509
|
it 'should work' do
|
478
510
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
479
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
511
|
+
# 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"])
|
480
512
|
# validator.allowable_values.each do |value|
|
481
|
-
# expect { instance.
|
513
|
+
# expect { instance.secondary_audience_region = value }.not_to raise_error
|
482
514
|
# end
|
483
515
|
end
|
484
516
|
end
|
485
517
|
|
486
|
-
describe 'test attribute "
|
518
|
+
describe 'test attribute "secondary_audience_region_affinity"' do
|
487
519
|
it 'should work' do
|
488
520
|
# 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
|
493
521
|
end
|
494
522
|
end
|
495
523
|
|
496
|
-
describe 'test attribute "
|
524
|
+
describe 'test attribute "tertiary_audience_region"' do
|
497
525
|
it 'should work' do
|
498
526
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
499
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
527
|
+
# 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"])
|
500
528
|
# validator.allowable_values.each do |value|
|
501
|
-
# expect { instance.
|
529
|
+
# expect { instance.tertiary_audience_region = value }.not_to raise_error
|
502
530
|
# end
|
503
531
|
end
|
504
532
|
end
|
505
533
|
|
506
|
-
describe 'test attribute "
|
534
|
+
describe 'test attribute "tertiary_audience_region_affinity"' do
|
507
535
|
it 'should work' do
|
508
536
|
# 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
|
513
537
|
end
|
514
538
|
end
|
515
539
|
|
516
|
-
describe 'test attribute "
|
540
|
+
describe 'test attribute "origin_region"' do
|
517
541
|
it 'should work' do
|
518
542
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
519
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
543
|
+
# 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"])
|
520
544
|
# validator.allowable_values.each do |value|
|
521
|
-
# expect { instance.
|
545
|
+
# expect { instance.origin_region = value }.not_to raise_error
|
522
546
|
# end
|
523
547
|
end
|
524
548
|
end
|
525
549
|
|
526
|
-
describe 'test attribute "
|
550
|
+
describe 'test attribute "origin_region_affinity"' do
|
527
551
|
it 'should work' do
|
528
552
|
# 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
|
533
553
|
end
|
534
554
|
end
|
535
555
|
|
536
|
-
describe 'test attribute "
|
556
|
+
describe 'test attribute "origin_decade_affinity"' do
|
537
557
|
it 'should work' do
|
538
558
|
# 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
|
543
559
|
end
|
544
560
|
end
|
545
561
|
|
546
|
-
describe 'test attribute "
|
562
|
+
describe 'test attribute "language_of_performance_affinity"' do
|
547
563
|
it 'should work' do
|
548
564
|
# 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
565
|
end
|
554
566
|
end
|
555
567
|
|
556
|
-
describe 'test attribute "
|
568
|
+
describe 'test attribute "curateability_affinity"' do
|
557
569
|
it 'should work' do
|
558
570
|
# 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
|
563
571
|
end
|
564
572
|
end
|
565
573
|
|
566
|
-
describe 'test attribute "
|
574
|
+
describe 'test attribute "use_case_affinity"' do
|
567
575
|
it 'should work' do
|
568
576
|
# 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
|
573
577
|
end
|
574
578
|
end
|
575
579
|
|
576
|
-
describe 'test attribute "
|
580
|
+
describe 'test attribute "industry_suitability"' do
|
577
581
|
it 'should work' do
|
578
582
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
579
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
583
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Automobiles and Parts", "Consumer Products and Services", "Financial Services", "Food, Beverage and Tobacco", "Health Care", "Insurance", "Media", "Politics, Government and Organizations", "Real Estate", "Retail", "Technology", "Telecommunications", "Travel and Leisure"])
|
580
584
|
# validator.allowable_values.each do |value|
|
581
|
-
# expect { instance.
|
585
|
+
# expect { instance.industry_suitability = value }.not_to raise_error
|
582
586
|
# end
|
583
587
|
end
|
584
588
|
end
|
585
589
|
|
586
|
-
describe 'test attribute "
|
590
|
+
describe 'test attribute "industry_suitability_affinity"' do
|
587
591
|
it 'should work' do
|
588
592
|
# 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
|
593
593
|
end
|
594
594
|
end
|
595
595
|
|
596
|
-
describe 'test attribute "
|
596
|
+
describe 'test attribute "audience_region"' do
|
597
597
|
it 'should work' do
|
598
598
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
599
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
599
|
+
# 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"])
|
600
600
|
# validator.allowable_values.each do |value|
|
601
|
-
# expect { instance.
|
601
|
+
# expect { instance.audience_region = value }.not_to raise_error
|
602
602
|
# end
|
603
603
|
end
|
604
604
|
end
|
605
605
|
|
606
|
-
describe 'test attribute "
|
606
|
+
describe 'test attribute "valence_affinity"' do
|
607
607
|
it 'should work' do
|
608
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
609
|
end
|
614
610
|
end
|
615
611
|
|
616
|
-
describe 'test attribute "
|
612
|
+
describe 'test attribute "arousal_affinity"' do
|
617
613
|
it 'should work' do
|
618
614
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
619
615
|
end
|
@@ -625,55 +621,55 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
625
621
|
end
|
626
622
|
end
|
627
623
|
|
628
|
-
describe 'test attribute "
|
624
|
+
describe 'test attribute "engagement_affinity"' do
|
629
625
|
it 'should work' do
|
630
626
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
631
627
|
end
|
632
628
|
end
|
633
629
|
|
634
|
-
describe 'test attribute "
|
630
|
+
describe 'test attribute "energy_affinity"' do
|
635
631
|
it 'should work' do
|
636
632
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
637
633
|
end
|
638
634
|
end
|
639
635
|
|
640
|
-
describe 'test attribute "
|
636
|
+
describe 'test attribute "tempo_affinity"' do
|
641
637
|
it 'should work' do
|
642
638
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
643
639
|
end
|
644
640
|
end
|
645
641
|
|
646
|
-
describe 'test attribute "
|
642
|
+
describe 'test attribute "scale_affinity"' do
|
647
643
|
it 'should work' do
|
648
644
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
649
645
|
end
|
650
646
|
end
|
651
647
|
|
652
|
-
describe 'test attribute "
|
648
|
+
describe 'test attribute "timbre_affinity"' do
|
653
649
|
it 'should work' do
|
654
650
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
655
651
|
end
|
656
652
|
end
|
657
653
|
|
658
|
-
describe 'test attribute "
|
654
|
+
describe 'test attribute "roughness_affinity"' do
|
659
655
|
it 'should work' do
|
660
656
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
661
657
|
end
|
662
658
|
end
|
663
659
|
|
664
|
-
describe 'test attribute "
|
660
|
+
describe 'test attribute "harmony_affinity"' do
|
665
661
|
it 'should work' do
|
666
662
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
667
663
|
end
|
668
664
|
end
|
669
665
|
|
670
|
-
describe 'test attribute "
|
666
|
+
describe 'test attribute "texture_affinity"' do
|
671
667
|
it 'should work' do
|
672
668
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
673
669
|
end
|
674
670
|
end
|
675
671
|
|
676
|
-
describe 'test attribute "
|
672
|
+
describe 'test attribute "groovyness_affinity"' do
|
677
673
|
it 'should work' do
|
678
674
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
679
675
|
end
|
@@ -691,15 +687,19 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
691
687
|
end
|
692
688
|
end
|
693
689
|
|
694
|
-
describe 'test attribute "
|
690
|
+
describe 'test attribute "channel_suitability_affinity"' do
|
695
691
|
it 'should work' do
|
696
692
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
697
693
|
end
|
698
694
|
end
|
699
695
|
|
700
|
-
describe 'test attribute "
|
696
|
+
describe 'test attribute "key"' do
|
701
697
|
it 'should work' do
|
702
698
|
# 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
|
|