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