songtradr_api_client_ruby 1.17.0 → 2.0.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 +24 -22
- data/README.md +7 -11
- data/docs/FileSmallDTO.md +2 -2
- data/docs/MusicalFeaturesDTO.md +113 -109
- data/docs/RecordingApi.md +71 -69
- data/docs/RecordingMediumDTO.md +2 -2
- data/docs/SearchFilterValuesDTO.md +2 -0
- data/docs/UserApi.md +67 -187
- data/docs/UserDTO.md +2 -0
- data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api/recording_api.rb +74 -71
- data/lib/songtradr_api_client_ruby/api/user_api.rb +86 -403
- data/lib/songtradr_api_client_ruby/api_client.rb +5 -4
- data/lib/songtradr_api_client_ruby/api_error.rb +2 -2
- data/lib/songtradr_api_client_ruby/configuration.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/error_response.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +14 -14
- data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/genre_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/image_recognition_response.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/login_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +662 -631
- data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +24 -24
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +21 -3
- data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tag_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/title_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/token_request.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/track_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/user_dto.rb +19 -3
- data/lib/songtradr_api_client_ruby/models/video_recognition_response.rb +2 -2
- data/lib/songtradr_api_client_ruby/version.rb +3 -3
- data/lib/songtradr_api_client_ruby.rb +2 -6
- data/openapi-generator-config.yaml +1 -1
- data/songtradr_api_client_ruby.gemspec +3 -2
- data/spec/api/allowed_values_api_spec.rb +2 -2
- data/spec/api/recording_api_spec.rb +14 -13
- data/spec/api/user_api_spec.rb +15 -74
- data/spec/models/category_medium_dto_spec.rb +2 -2
- data/spec/models/category_minimal_dto_spec.rb +2 -2
- data/spec/models/config_access_dto_spec.rb +2 -2
- data/spec/models/config_identifier_dto_spec.rb +2 -2
- data/spec/models/contributor_type_dto_spec.rb +2 -2
- data/spec/models/error_response_spec.rb +2 -2
- data/spec/models/field_summary_dto_spec.rb +2 -2
- data/spec/models/file_dto_spec.rb +2 -2
- data/spec/models/file_list_dto_spec.rb +2 -2
- data/spec/models/file_small_dto_spec.rb +10 -10
- data/spec/models/file_upload_dto_spec.rb +2 -2
- data/spec/models/file_w_ith_url_dto_spec.rb +2 -2
- data/spec/models/files_summary_dto_spec.rb +2 -2
- data/spec/models/forgot_password_dto_spec.rb +2 -2
- data/spec/models/genre_dto_spec.rb +2 -2
- data/spec/models/genre_minimal_dto_spec.rb +2 -2
- data/spec/models/genres_summary_dto_spec.rb +2 -2
- data/spec/models/image_recognition_response_spec.rb +2 -2
- data/spec/models/init_put_recording_audio_dto_spec.rb +2 -2
- data/spec/models/jwt_token_dto_spec.rb +2 -2
- data/spec/models/login_dto_spec.rb +2 -2
- data/spec/models/musical_features_dto_spec.rb +230 -214
- data/spec/models/party_small_dto_spec.rb +2 -2
- data/spec/models/recording_for_similarity_search_dto_spec.rb +2 -2
- data/spec/models/recording_genre_prediction_dto_spec.rb +2 -2
- data/spec/models/recording_list_dto_spec.rb +2 -2
- data/spec/models/recording_medium_dto_spec.rb +8 -8
- data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +2 -2
- data/spec/models/recording_minimal_with_taggrams_dto_spec.rb +2 -2
- data/spec/models/recording_minimal_with_tagstrengths_dto_spec.rb +2 -2
- data/spec/models/recording_party_dto_spec.rb +2 -2
- data/spec/models/recording_small_dto_spec.rb +2 -2
- data/spec/models/recording_tag_small_dto_spec.rb +2 -2
- data/spec/models/save_user_dto_spec.rb +2 -2
- data/spec/models/search_filter_values_dto_spec.rb +8 -2
- data/spec/models/sign_up_dto_spec.rb +2 -2
- data/spec/models/tag_dto_spec.rb +2 -2
- data/spec/models/tag_small_dto_spec.rb +2 -2
- data/spec/models/taggram_dto_spec.rb +2 -2
- data/spec/models/tags_summary_dto_spec.rb +2 -2
- data/spec/models/tagstrength_dto_spec.rb +2 -2
- data/spec/models/title_dto_spec.rb +2 -2
- data/spec/models/token_request_spec.rb +2 -2
- data/spec/models/track_dto_spec.rb +2 -2
- data/spec/models/update_password_dto_spec.rb +2 -2
- data/spec/models/user_dto_spec.rb +8 -2
- data/spec/models/video_recognition_response_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +55 -57
- data/docs/CuratePlaylistDTO.md +0 -26
- data/docs/CuratePlaylistResponseDTO.md +0 -18
- data/docs/PlaylistApi.md +0 -77
- data/docs/SearchRecordingGranularDTO.md +0 -20
- data/lib/songtradr_api_client_ruby/api/playlist_api.rb +0 -99
- data/lib/songtradr_api_client_ruby/models/curate_playlist_dto.rb +0 -256
- data/lib/songtradr_api_client_ruby/models/curate_playlist_response_dto.rb +0 -216
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +0 -232
- data/spec/api/playlist_api_spec.rb +0 -47
- data/spec/models/curate_playlist_dto_spec.rb +0 -60
- data/spec/models/curate_playlist_response_dto_spec.rb +0 -36
- data/spec/models/search_recording_granular_dto_spec.rb +0 -42
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 7.
|
9
|
+
OpenAPI Generator version: 7.4.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -37,671 +37,687 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
40
|
-
describe 'test attribute "
|
40
|
+
describe 'test attribute "arousal"' do
|
41
41
|
it 'should work' do
|
42
42
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
43
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
|
44
|
+
# validator.allowable_values.each do |value|
|
45
|
+
# expect { instance.arousal = value }.not_to raise_error
|
46
|
+
# end
|
43
47
|
end
|
44
48
|
end
|
45
49
|
|
46
|
-
describe 'test attribute "
|
50
|
+
describe 'test attribute "valence_affinity"' do
|
47
51
|
it 'should work' do
|
48
52
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
49
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
50
|
-
# validator.allowable_values.each do |value|
|
51
|
-
# expect { instance.secondary_mood_cluster = value }.not_to raise_error
|
52
|
-
# end
|
53
53
|
end
|
54
54
|
end
|
55
55
|
|
56
|
-
describe 'test attribute "
|
56
|
+
describe 'test attribute "arousal_affinity"' do
|
57
57
|
it 'should work' do
|
58
58
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
59
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["low production quality", "medium production quality", "high production quality"])
|
60
|
-
# validator.allowable_values.each do |value|
|
61
|
-
# expect { instance.production_rating = value }.not_to raise_error
|
62
|
-
# end
|
63
59
|
end
|
64
60
|
end
|
65
61
|
|
66
|
-
describe 'test attribute "
|
62
|
+
describe 'test attribute "pleasantness_affinity"' do
|
67
63
|
it 'should work' do
|
68
64
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
69
65
|
end
|
70
66
|
end
|
71
67
|
|
72
|
-
describe 'test attribute "
|
68
|
+
describe 'test attribute "engagement_affinity"' do
|
73
69
|
it 'should work' do
|
74
70
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
75
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["low performance quality", "medium performance quality", "high performance quality"])
|
76
|
-
# validator.allowable_values.each do |value|
|
77
|
-
# expect { instance.performance_rating = value }.not_to raise_error
|
78
|
-
# end
|
79
71
|
end
|
80
72
|
end
|
81
73
|
|
82
|
-
describe 'test attribute "
|
74
|
+
describe 'test attribute "energy_affinity"' do
|
83
75
|
it 'should work' do
|
84
76
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
85
77
|
end
|
86
78
|
end
|
87
79
|
|
88
|
-
describe 'test attribute "
|
80
|
+
describe 'test attribute "tempo_affinity"' do
|
89
81
|
it 'should work' do
|
90
82
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
91
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["low song quality", "medium song quality", "high song quality"])
|
92
|
-
# validator.allowable_values.each do |value|
|
93
|
-
# expect { instance.song_rating = value }.not_to raise_error
|
94
|
-
# end
|
95
83
|
end
|
96
84
|
end
|
97
85
|
|
98
|
-
describe 'test attribute "
|
86
|
+
describe 'test attribute "scale_affinity"' do
|
99
87
|
it 'should work' do
|
100
88
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
101
89
|
end
|
102
90
|
end
|
103
91
|
|
104
|
-
describe 'test attribute "
|
92
|
+
describe 'test attribute "timbre_affinity"' do
|
105
93
|
it 'should work' do
|
106
94
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
107
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
|
108
|
-
# validator.allowable_values.each do |value|
|
109
|
-
# expect { instance.audience_age = value }.not_to raise_error
|
110
|
-
# end
|
111
95
|
end
|
112
96
|
end
|
113
97
|
|
114
|
-
describe 'test attribute "
|
98
|
+
describe 'test attribute "roughness_affinity"' do
|
115
99
|
it 'should work' do
|
116
100
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
117
101
|
end
|
118
102
|
end
|
119
103
|
|
120
|
-
describe 'test attribute "
|
104
|
+
describe 'test attribute "harmony_affinity"' do
|
121
105
|
it 'should work' do
|
122
106
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
123
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
|
124
|
-
# validator.allowable_values.each do |value|
|
125
|
-
# expect { instance.secondary_audience_age = value }.not_to raise_error
|
126
|
-
# end
|
127
107
|
end
|
128
108
|
end
|
129
109
|
|
130
|
-
describe 'test attribute "
|
110
|
+
describe 'test attribute "texture_affinity"' do
|
131
111
|
it 'should work' do
|
132
112
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
133
113
|
end
|
134
114
|
end
|
135
115
|
|
136
|
-
describe 'test attribute "
|
116
|
+
describe 'test attribute "groovyness_affinity"' do
|
137
117
|
it 'should work' do
|
138
118
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
139
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
|
140
|
-
# validator.allowable_values.each do |value|
|
141
|
-
# expect { instance.tertiary_audience_age = value }.not_to raise_error
|
142
|
-
# end
|
143
119
|
end
|
144
120
|
end
|
145
121
|
|
146
|
-
describe 'test attribute "
|
122
|
+
describe 'test attribute "space_affinity"' do
|
147
123
|
it 'should work' do
|
148
124
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
149
125
|
end
|
150
126
|
end
|
151
127
|
|
152
|
-
describe 'test attribute "
|
128
|
+
describe 'test attribute "loudness_affinity"' do
|
153
129
|
it 'should work' do
|
154
130
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
155
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["male", "female"])
|
156
|
-
# validator.allowable_values.each do |value|
|
157
|
-
# expect { instance.audience_gender = value }.not_to raise_error
|
158
|
-
# end
|
159
131
|
end
|
160
132
|
end
|
161
133
|
|
162
|
-
describe 'test attribute "
|
134
|
+
describe 'test attribute "key_affinity"' do
|
163
135
|
it 'should work' do
|
164
136
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
165
137
|
end
|
166
138
|
end
|
167
139
|
|
168
|
-
describe 'test attribute "
|
140
|
+
describe 'test attribute "channel_suitability_affinity"' do
|
169
141
|
it 'should work' do
|
170
142
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
171
143
|
end
|
172
144
|
end
|
173
145
|
|
174
|
-
describe 'test attribute "
|
146
|
+
describe 'test attribute "language_of_performance"' do
|
175
147
|
it 'should work' do
|
176
148
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
177
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
149
|
+
# 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"])
|
178
150
|
# validator.allowable_values.each do |value|
|
179
|
-
# expect { instance.
|
151
|
+
# expect { instance.language_of_performance = value }.not_to raise_error
|
180
152
|
# end
|
181
153
|
end
|
182
154
|
end
|
183
155
|
|
184
|
-
describe 'test attribute "
|
156
|
+
describe 'test attribute "dominant_instrument"' do
|
185
157
|
it 'should work' do
|
186
158
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
159
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["piano", "electronics", "guitar", "strings", "synthesizer", "wind", "drum kit", "keys", "harpsichord", "choir", "electric bass", "organ", "brass", "percussion", "vocals", "double bass", "harp"])
|
160
|
+
# validator.allowable_values.each do |value|
|
161
|
+
# expect { instance.dominant_instrument = value }.not_to raise_error
|
162
|
+
# end
|
187
163
|
end
|
188
164
|
end
|
189
165
|
|
190
|
-
describe 'test attribute "
|
166
|
+
describe 'test attribute "energy"' do
|
191
167
|
it 'should work' do
|
192
168
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
193
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
169
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very quiet", "quiet", "moderate", "loud", "very loud", "dynamic"])
|
194
170
|
# validator.allowable_values.each do |value|
|
195
|
-
# expect { instance.
|
171
|
+
# expect { instance.energy = value }.not_to raise_error
|
196
172
|
# end
|
197
173
|
end
|
198
174
|
end
|
199
175
|
|
200
|
-
describe 'test attribute "
|
176
|
+
describe 'test attribute "engagement"' do
|
201
177
|
it 'should work' do
|
202
178
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
179
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very unengaging", "unengaging", "neutral engagement", "engaging", "very engaging", "varying engagement"])
|
180
|
+
# validator.allowable_values.each do |value|
|
181
|
+
# expect { instance.engagement = value }.not_to raise_error
|
182
|
+
# end
|
203
183
|
end
|
204
184
|
end
|
205
185
|
|
206
|
-
describe 'test attribute "
|
186
|
+
describe 'test attribute "groovyness"' do
|
207
187
|
it 'should work' do
|
208
188
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
209
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
189
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very steady", "steady", "moderate rhythm feel", "groovy", "very groovy"])
|
210
190
|
# validator.allowable_values.each do |value|
|
211
|
-
# expect { instance.
|
191
|
+
# expect { instance.groovyness = value }.not_to raise_error
|
212
192
|
# end
|
213
193
|
end
|
214
194
|
end
|
215
195
|
|
216
|
-
describe 'test attribute "
|
196
|
+
describe 'test attribute "harmony"' do
|
217
197
|
it 'should work' do
|
218
198
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
199
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very dissonant", "dissonant", "moderate harmonies", "harmonious", "very harmonious"])
|
200
|
+
# validator.allowable_values.each do |value|
|
201
|
+
# expect { instance.harmony = value }.not_to raise_error
|
202
|
+
# end
|
219
203
|
end
|
220
204
|
end
|
221
205
|
|
222
|
-
describe 'test attribute "
|
206
|
+
describe 'test attribute "pleasantness"' do
|
223
207
|
it 'should work' do
|
224
208
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
209
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very unpleasant", "unpleasant", "neutral pleasantness", "pleasant", "very pleasant", "varying pleasantness"])
|
210
|
+
# validator.allowable_values.each do |value|
|
211
|
+
# expect { instance.pleasantness = value }.not_to raise_error
|
212
|
+
# end
|
225
213
|
end
|
226
214
|
end
|
227
215
|
|
228
|
-
describe 'test attribute "
|
216
|
+
describe 'test attribute "primary_mood_cluster"' do
|
229
217
|
it 'should work' do
|
230
218
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
219
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
220
|
+
# validator.allowable_values.each do |value|
|
221
|
+
# expect { instance.primary_mood_cluster = value }.not_to raise_error
|
222
|
+
# end
|
231
223
|
end
|
232
224
|
end
|
233
225
|
|
234
|
-
describe 'test attribute "
|
226
|
+
describe 'test attribute "primary_sound_character"' do
|
235
227
|
it 'should work' do
|
236
228
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
229
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["brassy", "bright", "clear", "deep", "distorted", "flat", "full", "groovy", "melodious", "natural", "resonant", "shrill", "steady", "thin", "warm"])
|
230
|
+
# validator.allowable_values.each do |value|
|
231
|
+
# expect { instance.primary_sound_character = value }.not_to raise_error
|
232
|
+
# end
|
237
233
|
end
|
238
234
|
end
|
239
235
|
|
240
|
-
describe 'test attribute "
|
236
|
+
describe 'test attribute "rhythm"' do
|
241
237
|
it 'should work' do
|
242
238
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
239
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["common time", "triple meter", "complex time signature", "binary rhythm", "ternary rhythm"])
|
240
|
+
# validator.allowable_values.each do |value|
|
241
|
+
# expect { instance.rhythm = value }.not_to raise_error
|
242
|
+
# end
|
243
243
|
end
|
244
244
|
end
|
245
245
|
|
246
|
-
describe 'test attribute "
|
246
|
+
describe 'test attribute "roughness"' do
|
247
247
|
it 'should work' do
|
248
248
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
249
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
249
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very clear", "clear", "moderate roughness", "distorted", "very distorted"])
|
250
250
|
# validator.allowable_values.each do |value|
|
251
|
-
# expect { instance.
|
251
|
+
# expect { instance.roughness = value }.not_to raise_error
|
252
252
|
# end
|
253
253
|
end
|
254
254
|
end
|
255
255
|
|
256
|
-
describe 'test attribute "
|
256
|
+
describe 'test attribute "scale"' do
|
257
257
|
it 'should work' do
|
258
258
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
259
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["major key", "minor key", "neutral key"])
|
260
|
+
# validator.allowable_values.each do |value|
|
261
|
+
# expect { instance.scale = value }.not_to raise_error
|
262
|
+
# end
|
259
263
|
end
|
260
264
|
end
|
261
265
|
|
262
|
-
describe 'test attribute "
|
266
|
+
describe 'test attribute "key"' do
|
263
267
|
it 'should work' do
|
264
268
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
269
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B", "unclear"])
|
270
|
+
# validator.allowable_values.each do |value|
|
271
|
+
# expect { instance.key = value }.not_to raise_error
|
272
|
+
# end
|
265
273
|
end
|
266
274
|
end
|
267
275
|
|
268
|
-
describe 'test attribute "
|
276
|
+
describe 'test attribute "sound_generation"' do
|
269
277
|
it 'should work' do
|
270
278
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
271
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
279
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["acoustic", "electric", "electronic", "mixed sound generation"])
|
272
280
|
# validator.allowable_values.each do |value|
|
273
|
-
# expect { instance.
|
281
|
+
# expect { instance.sound_generation = value }.not_to raise_error
|
274
282
|
# end
|
275
283
|
end
|
276
284
|
end
|
277
285
|
|
278
|
-
describe 'test attribute "
|
286
|
+
describe 'test attribute "tempo"' do
|
279
287
|
it 'should work' do
|
280
288
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
289
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very slow", "slow", "mid-tempo", "fast", "very fast", "varying tempo"])
|
290
|
+
# validator.allowable_values.each do |value|
|
291
|
+
# expect { instance.tempo = value }.not_to raise_error
|
292
|
+
# end
|
281
293
|
end
|
282
294
|
end
|
283
295
|
|
284
|
-
describe 'test attribute "
|
296
|
+
describe 'test attribute "texture"' do
|
285
297
|
it 'should work' do
|
286
298
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
299
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very thin", "thin", "moderate texture", "full", "very full"])
|
300
|
+
# validator.allowable_values.each do |value|
|
301
|
+
# expect { instance.texture = value }.not_to raise_error
|
302
|
+
# end
|
287
303
|
end
|
288
304
|
end
|
289
305
|
|
290
|
-
describe 'test attribute "
|
306
|
+
describe 'test attribute "timbre"' do
|
291
307
|
it 'should work' do
|
292
308
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
309
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very warm", "warm", "moderate timbre", "bright", "very bright"])
|
310
|
+
# validator.allowable_values.each do |value|
|
311
|
+
# expect { instance.timbre = value }.not_to raise_error
|
312
|
+
# end
|
293
313
|
end
|
294
314
|
end
|
295
315
|
|
296
|
-
describe 'test attribute "
|
316
|
+
describe 'test attribute "tonality"' do
|
297
317
|
it 'should work' do
|
298
318
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
299
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
319
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["monotonous", "moderate melodiousness", "melodious", "atonal"])
|
300
320
|
# validator.allowable_values.each do |value|
|
301
|
-
# expect { instance.
|
321
|
+
# expect { instance.tonality = value }.not_to raise_error
|
302
322
|
# end
|
303
323
|
end
|
304
324
|
end
|
305
325
|
|
306
|
-
describe 'test attribute "
|
326
|
+
describe 'test attribute "valence"' do
|
307
327
|
it 'should work' do
|
308
328
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
329
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very sad", "sad", "moderate valence", "positive", "very positive", "varying valence"])
|
330
|
+
# validator.allowable_values.each do |value|
|
331
|
+
# expect { instance.valence = value }.not_to raise_error
|
332
|
+
# end
|
309
333
|
end
|
310
334
|
end
|
311
335
|
|
312
|
-
describe 'test attribute "
|
336
|
+
describe 'test attribute "vocals"' do
|
313
337
|
it 'should work' do
|
314
338
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
315
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
339
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["instrumental", "female vocals", "male vocals", "mixed vocals", "diverse gender vocals"])
|
316
340
|
# validator.allowable_values.each do |value|
|
317
|
-
# expect { instance.
|
341
|
+
# expect { instance.vocals = value }.not_to raise_error
|
318
342
|
# end
|
319
343
|
end
|
320
344
|
end
|
321
345
|
|
322
|
-
describe 'test attribute "
|
346
|
+
describe 'test attribute "origin_decade"' do
|
323
347
|
it 'should work' do
|
324
348
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
349
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["pre-1950s", "1950s", "1960s", "1970s", "1980s", "1990s", "2000s", "2010s", "2020s"])
|
350
|
+
# validator.allowable_values.each do |value|
|
351
|
+
# expect { instance.origin_decade = value }.not_to raise_error
|
352
|
+
# end
|
325
353
|
end
|
326
354
|
end
|
327
355
|
|
328
|
-
describe 'test attribute "
|
356
|
+
describe 'test attribute "curateability"' do
|
329
357
|
it 'should work' do
|
330
358
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
359
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["curateable", "uncurateable"])
|
360
|
+
# validator.allowable_values.each do |value|
|
361
|
+
# expect { instance.curateability = value }.not_to raise_error
|
362
|
+
# end
|
331
363
|
end
|
332
364
|
end
|
333
365
|
|
334
|
-
describe 'test attribute "
|
366
|
+
describe 'test attribute "use_case"' do
|
335
367
|
it 'should work' do
|
336
368
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
369
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax", "karaoke"])
|
370
|
+
# validator.allowable_values.each do |value|
|
371
|
+
# expect { instance.use_case = value }.not_to raise_error
|
372
|
+
# end
|
337
373
|
end
|
338
374
|
end
|
339
375
|
|
340
|
-
describe 'test attribute "
|
376
|
+
describe 'test attribute "channel_suitability"' do
|
341
377
|
it 'should work' do
|
342
378
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
379
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Spotify", "TikTok", "Unfitting", "YouTube"])
|
380
|
+
# validator.allowable_values.each do |value|
|
381
|
+
# expect { instance.channel_suitability = value }.not_to raise_error
|
382
|
+
# end
|
343
383
|
end
|
344
384
|
end
|
345
385
|
|
346
|
-
describe 'test attribute "
|
386
|
+
describe 'test attribute "loudness"' do
|
347
387
|
it 'should work' do
|
348
388
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
389
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very low", "low", "moderate", "high", "very high"])
|
390
|
+
# validator.allowable_values.each do |value|
|
391
|
+
# expect { instance.loudness = value }.not_to raise_error
|
392
|
+
# end
|
349
393
|
end
|
350
394
|
end
|
351
395
|
|
352
|
-
describe 'test attribute "
|
396
|
+
describe 'test attribute "primary_mood_cluster_affinity"' do
|
353
397
|
it 'should work' do
|
354
398
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
355
399
|
end
|
356
400
|
end
|
357
401
|
|
358
|
-
describe 'test attribute "
|
402
|
+
describe 'test attribute "secondary_mood_cluster"' do
|
359
403
|
it 'should work' do
|
360
404
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
361
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
405
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
362
406
|
# validator.allowable_values.each do |value|
|
363
|
-
# expect { instance.
|
407
|
+
# expect { instance.secondary_mood_cluster = value }.not_to raise_error
|
364
408
|
# end
|
365
409
|
end
|
366
410
|
end
|
367
411
|
|
368
|
-
describe 'test attribute "
|
412
|
+
describe 'test attribute "secondary_mood_cluster_affinity"' do
|
369
413
|
it 'should work' do
|
370
414
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
371
|
-
# 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"])
|
372
|
-
# validator.allowable_values.each do |value|
|
373
|
-
# expect { instance.dominant_instrument = value }.not_to raise_error
|
374
|
-
# end
|
375
415
|
end
|
376
416
|
end
|
377
417
|
|
378
|
-
describe 'test attribute "
|
418
|
+
describe 'test attribute "tertiary_mood_cluster"' do
|
379
419
|
it 'should work' do
|
380
420
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
381
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
421
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
382
422
|
# validator.allowable_values.each do |value|
|
383
|
-
# expect { instance.
|
423
|
+
# expect { instance.tertiary_mood_cluster = value }.not_to raise_error
|
384
424
|
# end
|
385
425
|
end
|
386
426
|
end
|
387
427
|
|
388
|
-
describe 'test attribute "
|
428
|
+
describe 'test attribute "tertiary_mood_cluster_affinity"' do
|
389
429
|
it 'should work' do
|
390
430
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
391
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very unengaging", "unengaging", "neutral engagement", "engaging", "very engaging", "varying engagement"])
|
392
|
-
# validator.allowable_values.each do |value|
|
393
|
-
# expect { instance.engagement = value }.not_to raise_error
|
394
|
-
# end
|
395
431
|
end
|
396
432
|
end
|
397
433
|
|
398
|
-
describe 'test attribute "
|
434
|
+
describe 'test attribute "vocals_affinity"' do
|
399
435
|
it 'should work' do
|
400
436
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
401
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very steady", "steady", "moderate rhythm feel", "groovy", "very groovy"])
|
402
|
-
# validator.allowable_values.each do |value|
|
403
|
-
# expect { instance.groovyness = value }.not_to raise_error
|
404
|
-
# end
|
405
437
|
end
|
406
438
|
end
|
407
439
|
|
408
|
-
describe 'test attribute "
|
440
|
+
describe 'test attribute "dominant_instrument_affinity"' do
|
409
441
|
it 'should work' do
|
410
442
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
411
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very dissonant", "dissonant", "moderate harmonies", "harmonious", "very harmonious"])
|
412
|
-
# validator.allowable_values.each do |value|
|
413
|
-
# expect { instance.harmony = value }.not_to raise_error
|
414
|
-
# end
|
415
443
|
end
|
416
444
|
end
|
417
445
|
|
418
|
-
describe 'test attribute "
|
446
|
+
describe 'test attribute "secondary_instrument"' do
|
419
447
|
it 'should work' do
|
420
448
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
421
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
449
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["piano", "electronics", "guitar", "strings", "synthesizer", "wind", "drum kit", "keys", "harpsichord", "choir", "electric bass", "organ", "brass", "percussion", "vocals", "double bass", "harp"])
|
422
450
|
# validator.allowable_values.each do |value|
|
423
|
-
# expect { instance.
|
451
|
+
# expect { instance.secondary_instrument = value }.not_to raise_error
|
424
452
|
# end
|
425
453
|
end
|
426
454
|
end
|
427
455
|
|
428
|
-
describe 'test attribute "
|
456
|
+
describe 'test attribute "secondary_instrument_affinity"' do
|
429
457
|
it 'should work' do
|
430
458
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
431
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
432
|
-
# validator.allowable_values.each do |value|
|
433
|
-
# expect { instance.primary_mood_cluster = value }.not_to raise_error
|
434
|
-
# end
|
435
459
|
end
|
436
460
|
end
|
437
461
|
|
438
|
-
describe 'test attribute "
|
462
|
+
describe 'test attribute "tertiary_instrument"' do
|
439
463
|
it 'should work' do
|
440
464
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
441
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
465
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["piano", "electronics", "guitar", "strings", "synthesizer", "wind", "drum kit", "keys", "harpsichord", "choir", "electric bass", "organ", "brass", "percussion", "vocals", "double bass", "harp"])
|
442
466
|
# validator.allowable_values.each do |value|
|
443
|
-
# expect { instance.
|
467
|
+
# expect { instance.tertiary_instrument = value }.not_to raise_error
|
444
468
|
# end
|
445
469
|
end
|
446
470
|
end
|
447
471
|
|
448
|
-
describe 'test attribute "
|
472
|
+
describe 'test attribute "tertiary_instrument_affinity"' do
|
449
473
|
it 'should work' do
|
450
474
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
451
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["common time", "triple meter", "complex time signature", "binary rhythm", "ternary rhythm"])
|
452
|
-
# validator.allowable_values.each do |value|
|
453
|
-
# expect { instance.rhythm = value }.not_to raise_error
|
454
|
-
# end
|
455
475
|
end
|
456
476
|
end
|
457
477
|
|
458
|
-
describe 'test attribute "
|
478
|
+
describe 'test attribute "sound_generation_affinity"' do
|
459
479
|
it 'should work' do
|
460
480
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
461
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very clear", "clear", "moderate roughness", "distorted", "very distorted"])
|
462
|
-
# validator.allowable_values.each do |value|
|
463
|
-
# expect { instance.roughness = value }.not_to raise_error
|
464
|
-
# end
|
465
481
|
end
|
466
482
|
end
|
467
483
|
|
468
|
-
describe 'test attribute "
|
484
|
+
describe 'test attribute "rhythm_affinity"' do
|
469
485
|
it 'should work' do
|
470
486
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
471
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["major key", "minor key", "neutral key"])
|
472
|
-
# validator.allowable_values.each do |value|
|
473
|
-
# expect { instance.scale = value }.not_to raise_error
|
474
|
-
# end
|
475
487
|
end
|
476
488
|
end
|
477
489
|
|
478
|
-
describe 'test attribute "
|
490
|
+
describe 'test attribute "primary_sound_character_affinity"' do
|
479
491
|
it 'should work' do
|
480
492
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
481
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B", "unclear"])
|
482
|
-
# validator.allowable_values.each do |value|
|
483
|
-
# expect { instance.key = value }.not_to raise_error
|
484
|
-
# end
|
485
493
|
end
|
486
494
|
end
|
487
495
|
|
488
|
-
describe 'test attribute "
|
496
|
+
describe 'test attribute "tonality_affinity"' do
|
489
497
|
it 'should work' do
|
490
498
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
491
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["acoustic", "electric", "electronic", "mixed sound generation"])
|
492
|
-
# validator.allowable_values.each do |value|
|
493
|
-
# expect { instance.sound_generation = value }.not_to raise_error
|
494
|
-
# end
|
495
499
|
end
|
496
500
|
end
|
497
501
|
|
498
|
-
describe 'test attribute "
|
502
|
+
describe 'test attribute "bpm"' do
|
499
503
|
it 'should work' do
|
500
504
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
501
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very slow", "slow", "mid-tempo", "fast", "very fast", "varying tempo"])
|
502
|
-
# validator.allowable_values.each do |value|
|
503
|
-
# expect { instance.tempo = value }.not_to raise_error
|
504
|
-
# end
|
505
505
|
end
|
506
506
|
end
|
507
507
|
|
508
|
-
describe 'test attribute "
|
508
|
+
describe 'test attribute "production_rating"' do
|
509
509
|
it 'should work' do
|
510
510
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
511
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
511
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["low production quality", "medium production quality", "high production quality"])
|
512
512
|
# validator.allowable_values.each do |value|
|
513
|
-
# expect { instance.
|
513
|
+
# expect { instance.production_rating = value }.not_to raise_error
|
514
514
|
# end
|
515
515
|
end
|
516
516
|
end
|
517
517
|
|
518
|
-
describe 'test attribute "
|
518
|
+
describe 'test attribute "production_rating_affinity"' do
|
519
519
|
it 'should work' do
|
520
520
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
521
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very warm", "warm", "moderate timbre", "bright", "very bright"])
|
522
|
-
# validator.allowable_values.each do |value|
|
523
|
-
# expect { instance.timbre = value }.not_to raise_error
|
524
|
-
# end
|
525
521
|
end
|
526
522
|
end
|
527
523
|
|
528
|
-
describe 'test attribute "
|
524
|
+
describe 'test attribute "performance_rating"' do
|
529
525
|
it 'should work' do
|
530
526
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
531
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
527
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["low performance quality", "medium performance quality", "high performance quality"])
|
532
528
|
# validator.allowable_values.each do |value|
|
533
|
-
# expect { instance.
|
529
|
+
# expect { instance.performance_rating = value }.not_to raise_error
|
534
530
|
# end
|
535
531
|
end
|
536
532
|
end
|
537
533
|
|
538
|
-
describe 'test attribute "
|
534
|
+
describe 'test attribute "performance_rating_affinity"' do
|
539
535
|
it 'should work' do
|
540
536
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
541
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very sad", "sad", "moderate valence", "positive", "very positive", "varying valence"])
|
542
|
-
# validator.allowable_values.each do |value|
|
543
|
-
# expect { instance.valence = value }.not_to raise_error
|
544
|
-
# end
|
545
537
|
end
|
546
538
|
end
|
547
539
|
|
548
|
-
describe 'test attribute "
|
540
|
+
describe 'test attribute "song_rating"' do
|
549
541
|
it 'should work' do
|
550
542
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
551
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
543
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["low song quality", "medium song quality", "high song quality"])
|
552
544
|
# validator.allowable_values.each do |value|
|
553
|
-
# expect { instance.
|
545
|
+
# expect { instance.song_rating = value }.not_to raise_error
|
554
546
|
# end
|
555
547
|
end
|
556
548
|
end
|
557
549
|
|
558
|
-
describe 'test attribute "
|
550
|
+
describe 'test attribute "song_rating_affinity"' do
|
559
551
|
it 'should work' do
|
560
552
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
561
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["pre-1950s", "1950s", "1960s", "1970s", "1980s", "1990s", "2000s", "2010s", "2020s"])
|
562
|
-
# validator.allowable_values.each do |value|
|
563
|
-
# expect { instance.origin_decade = value }.not_to raise_error
|
564
|
-
# end
|
565
553
|
end
|
566
554
|
end
|
567
555
|
|
568
|
-
describe 'test attribute "
|
556
|
+
describe 'test attribute "audience_age"' do
|
569
557
|
it 'should work' do
|
570
558
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
571
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
559
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
|
572
560
|
# validator.allowable_values.each do |value|
|
573
|
-
# expect { instance.
|
561
|
+
# expect { instance.audience_age = value }.not_to raise_error
|
574
562
|
# end
|
575
563
|
end
|
576
564
|
end
|
577
565
|
|
578
|
-
describe 'test attribute "
|
566
|
+
describe 'test attribute "audience_age_affinity"' do
|
579
567
|
it 'should work' do
|
580
568
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
581
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax", "karaoke"])
|
582
|
-
# validator.allowable_values.each do |value|
|
583
|
-
# expect { instance.use_case = value }.not_to raise_error
|
584
|
-
# end
|
585
569
|
end
|
586
570
|
end
|
587
571
|
|
588
|
-
describe 'test attribute "
|
572
|
+
describe 'test attribute "secondary_audience_age"' do
|
589
573
|
it 'should work' do
|
590
574
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
591
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
575
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
|
592
576
|
# validator.allowable_values.each do |value|
|
593
|
-
# expect { instance.
|
577
|
+
# expect { instance.secondary_audience_age = value }.not_to raise_error
|
594
578
|
# end
|
595
579
|
end
|
596
580
|
end
|
597
581
|
|
598
|
-
describe 'test attribute "
|
582
|
+
describe 'test attribute "secondary_audience_age_affinity"' do
|
599
583
|
it 'should work' do
|
600
584
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
601
|
-
|
585
|
+
end
|
586
|
+
end
|
587
|
+
|
588
|
+
describe 'test attribute "tertiary_audience_age"' do
|
589
|
+
it 'should work' do
|
590
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
591
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
|
602
592
|
# validator.allowable_values.each do |value|
|
603
|
-
# expect { instance.
|
593
|
+
# expect { instance.tertiary_audience_age = value }.not_to raise_error
|
604
594
|
# end
|
605
595
|
end
|
606
596
|
end
|
607
597
|
|
608
|
-
describe 'test attribute "
|
598
|
+
describe 'test attribute "tertiary_audience_age_affinity"' do
|
609
599
|
it 'should work' do
|
610
600
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
611
|
-
|
601
|
+
end
|
602
|
+
end
|
603
|
+
|
604
|
+
describe 'test attribute "audience_gender"' do
|
605
|
+
it 'should work' do
|
606
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
607
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["male", "female"])
|
612
608
|
# validator.allowable_values.each do |value|
|
613
|
-
# expect { instance.
|
609
|
+
# expect { instance.audience_gender = value }.not_to raise_error
|
614
610
|
# end
|
615
611
|
end
|
616
612
|
end
|
617
613
|
|
618
|
-
describe 'test attribute "
|
614
|
+
describe 'test attribute "audience_gender_affinity"' do
|
619
615
|
it 'should work' do
|
620
616
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
621
617
|
end
|
622
618
|
end
|
623
619
|
|
624
|
-
describe 'test attribute "
|
620
|
+
describe 'test attribute "audience_region_affinity"' do
|
625
621
|
it 'should work' do
|
626
622
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
627
623
|
end
|
628
624
|
end
|
629
625
|
|
630
|
-
describe 'test attribute "
|
626
|
+
describe 'test attribute "secondary_audience_region"' do
|
631
627
|
it 'should work' do
|
632
628
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
629
|
+
# 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"])
|
630
|
+
# validator.allowable_values.each do |value|
|
631
|
+
# expect { instance.secondary_audience_region = value }.not_to raise_error
|
632
|
+
# end
|
633
633
|
end
|
634
634
|
end
|
635
635
|
|
636
|
-
describe 'test attribute "
|
636
|
+
describe 'test attribute "secondary_audience_region_affinity"' do
|
637
637
|
it 'should work' do
|
638
638
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
639
639
|
end
|
640
640
|
end
|
641
641
|
|
642
|
-
describe 'test attribute "
|
642
|
+
describe 'test attribute "tertiary_audience_region"' do
|
643
643
|
it 'should work' do
|
644
644
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
645
|
+
# 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"])
|
646
|
+
# validator.allowable_values.each do |value|
|
647
|
+
# expect { instance.tertiary_audience_region = value }.not_to raise_error
|
648
|
+
# end
|
645
649
|
end
|
646
650
|
end
|
647
651
|
|
648
|
-
describe 'test attribute "
|
652
|
+
describe 'test attribute "tertiary_audience_region_affinity"' do
|
649
653
|
it 'should work' do
|
650
654
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
651
655
|
end
|
652
656
|
end
|
653
657
|
|
654
|
-
describe 'test attribute "
|
658
|
+
describe 'test attribute "origin_region"' do
|
655
659
|
it 'should work' do
|
656
660
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
661
|
+
# 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"])
|
662
|
+
# validator.allowable_values.each do |value|
|
663
|
+
# expect { instance.origin_region = value }.not_to raise_error
|
664
|
+
# end
|
657
665
|
end
|
658
666
|
end
|
659
667
|
|
660
|
-
describe 'test attribute "
|
668
|
+
describe 'test attribute "origin_region_affinity"' do
|
661
669
|
it 'should work' do
|
662
670
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
663
671
|
end
|
664
672
|
end
|
665
673
|
|
666
|
-
describe 'test attribute "
|
674
|
+
describe 'test attribute "origin_decade_affinity"' do
|
667
675
|
it 'should work' do
|
668
676
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
669
677
|
end
|
670
678
|
end
|
671
679
|
|
672
|
-
describe 'test attribute "
|
680
|
+
describe 'test attribute "language_of_performance_affinity"' do
|
673
681
|
it 'should work' do
|
674
682
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
675
683
|
end
|
676
684
|
end
|
677
685
|
|
678
|
-
describe 'test attribute "
|
686
|
+
describe 'test attribute "curateability_affinity"' do
|
679
687
|
it 'should work' do
|
680
688
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
681
689
|
end
|
682
690
|
end
|
683
691
|
|
684
|
-
describe 'test attribute "
|
692
|
+
describe 'test attribute "use_case_affinity"' do
|
685
693
|
it 'should work' do
|
686
694
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
687
695
|
end
|
688
696
|
end
|
689
697
|
|
690
|
-
describe 'test attribute "
|
698
|
+
describe 'test attribute "industry_suitability"' do
|
691
699
|
it 'should work' do
|
692
700
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
701
|
+
# 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"])
|
702
|
+
# validator.allowable_values.each do |value|
|
703
|
+
# expect { instance.industry_suitability = value }.not_to raise_error
|
704
|
+
# end
|
693
705
|
end
|
694
706
|
end
|
695
707
|
|
696
|
-
describe 'test attribute "
|
708
|
+
describe 'test attribute "industry_suitability_affinity"' do
|
697
709
|
it 'should work' do
|
698
710
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
699
711
|
end
|
700
712
|
end
|
701
713
|
|
702
|
-
describe 'test attribute "
|
714
|
+
describe 'test attribute "audience_region"' do
|
703
715
|
it 'should work' do
|
704
716
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
717
|
+
# 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"])
|
718
|
+
# validator.allowable_values.each do |value|
|
719
|
+
# expect { instance.audience_region = value }.not_to raise_error
|
720
|
+
# end
|
705
721
|
end
|
706
722
|
end
|
707
723
|
|