songtradr_api_client_ruby 1.15.0 → 1.17.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 +8 -8
- data/README.md +5 -30
- data/docs/FileSmallDTO.md +7 -7
- data/docs/ImageRecognitionResponse.md +2 -2
- data/docs/MusicalFeaturesDTO.md +79 -79
- data/docs/RecordingApi.md +2 -0
- data/docs/RecordingMediumDTO.md +4 -4
- data/docs/RecordingSmallDTO.md +3 -3
- data/docs/UserApi.md +8 -0
- data/docs/VideoRecognitionResponse.md +2 -2
- data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api/playlist_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api/recording_api.rb +6 -3
- data/lib/songtradr_api_client_ruby/api/user_api.rb +29 -5
- data/lib/songtradr_api_client_ruby/api_client.rb +4 -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/curate_playlist_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/curate_playlist_response_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 +36 -36
- 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 +4 -4
- 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 +599 -599
- 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 +35 -35
- 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 +27 -27
- 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 +2 -2
- 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 +2 -2
- data/lib/songtradr_api_client_ruby/models/video_recognition_response.rb +4 -4
- data/lib/songtradr_api_client_ruby/version.rb +3 -3
- data/lib/songtradr_api_client_ruby.rb +2 -27
- data/openapi-generator-config.yaml +1 -1
- data/songtradr_api_client_ruby.gemspec +2 -2
- data/spec/api/allowed_values_api_spec.rb +2 -2
- data/spec/api/playlist_api_spec.rb +2 -2
- data/spec/api/recording_api_spec.rb +3 -2
- data/spec/api/user_api_spec.rb +6 -2
- 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/curate_playlist_dto_spec.rb +2 -2
- data/spec/models/curate_playlist_response_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 +18 -18
- 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 +176 -176
- 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 +9 -9
- 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 +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 +2 -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 +2 -2
- data/spec/models/video_recognition_response_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +42 -146
- data/docs/AgeRange.md +0 -20
- data/docs/Beard.md +0 -20
- data/docs/BoundingBox.md +0 -24
- data/docs/DominantColor.md +0 -30
- data/docs/Emotion.md +0 -20
- data/docs/EyeDirection.md +0 -22
- data/docs/EyeOpen.md +0 -20
- data/docs/Eyeglasses.md +0 -20
- data/docs/FaceDetail.md +0 -50
- data/docs/FaceDetection.md +0 -20
- data/docs/FaceOccluded.md +0 -20
- data/docs/Gender.md +0 -20
- data/docs/ImageQuality.md +0 -20
- data/docs/Instance.md +0 -22
- data/docs/Label.md +0 -28
- data/docs/LabelAlias.md +0 -18
- data/docs/LabelCategory.md +0 -18
- data/docs/LabelDetection.md +0 -26
- data/docs/Landmark.md +0 -22
- data/docs/MouthOpen.md +0 -20
- data/docs/Mustache.md +0 -20
- data/docs/Parent.md +0 -18
- data/docs/Pose.md +0 -22
- data/docs/Smile.md +0 -20
- data/docs/Sunglasses.md +0 -20
- data/lib/songtradr_api_client_ruby/models/age_range.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/beard.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/bounding_box.rb +0 -241
- data/lib/songtradr_api_client_ruby/models/dominant_color.rb +0 -268
- data/lib/songtradr_api_client_ruby/models/emotion.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/eye_direction.rb +0 -232
- data/lib/songtradr_api_client_ruby/models/eye_open.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/eyeglasses.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/face_detail.rb +0 -362
- data/lib/songtradr_api_client_ruby/models/face_detection.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/face_occluded.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/gender.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/image_quality.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/instance.rb +0 -234
- data/lib/songtradr_api_client_ruby/models/label.rb +0 -267
- data/lib/songtradr_api_client_ruby/models/label_alias.rb +0 -214
- data/lib/songtradr_api_client_ruby/models/label_category.rb +0 -214
- data/lib/songtradr_api_client_ruby/models/label_detection.rb +0 -250
- data/lib/songtradr_api_client_ruby/models/landmark.rb +0 -232
- data/lib/songtradr_api_client_ruby/models/mouth_open.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/mustache.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/parent.rb +0 -214
- data/lib/songtradr_api_client_ruby/models/pose.rb +0 -232
- data/lib/songtradr_api_client_ruby/models/smile.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/sunglasses.rb +0 -223
- data/spec/api_client_spec.rb +0 -223
- data/spec/configuration_spec.rb +0 -82
- data/spec/models/age_range_spec.rb +0 -42
- data/spec/models/beard_spec.rb +0 -42
- data/spec/models/bounding_box_spec.rb +0 -54
- data/spec/models/dominant_color_spec.rb +0 -72
- data/spec/models/emotion_spec.rb +0 -42
- data/spec/models/eye_direction_spec.rb +0 -48
- data/spec/models/eye_open_spec.rb +0 -42
- data/spec/models/eyeglasses_spec.rb +0 -42
- data/spec/models/face_detail_spec.rb +0 -132
- data/spec/models/face_detection_spec.rb +0 -42
- data/spec/models/face_occluded_spec.rb +0 -42
- data/spec/models/gender_spec.rb +0 -42
- data/spec/models/image_quality_spec.rb +0 -42
- data/spec/models/instance_spec.rb +0 -48
- data/spec/models/label_alias_spec.rb +0 -36
- data/spec/models/label_category_spec.rb +0 -36
- data/spec/models/label_detection_spec.rb +0 -60
- data/spec/models/label_spec.rb +0 -66
- data/spec/models/landmark_spec.rb +0 -48
- data/spec/models/mouth_open_spec.rb +0 -42
- data/spec/models/mustache_spec.rb +0 -42
- data/spec/models/parent_spec.rb +0 -36
- data/spec/models/pose_spec.rb +0 -48
- data/spec/models/smile_spec.rb +0 -42
- data/spec/models/sunglasses_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: 1.
|
6
|
+
The version of the OpenAPI document: 1.17.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.3.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -37,262 +37,228 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
40
|
-
describe 'test attribute "
|
40
|
+
describe 'test attribute "primary_mood_cluster_affinity"' 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
|
47
43
|
end
|
48
44
|
end
|
49
45
|
|
50
|
-
describe 'test attribute "
|
46
|
+
describe 'test attribute "secondary_mood_cluster"' do
|
51
47
|
it 'should work' do
|
52
48
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
53
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
49
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
54
50
|
# validator.allowable_values.each do |value|
|
55
|
-
# expect { instance.
|
51
|
+
# expect { instance.secondary_mood_cluster = value }.not_to raise_error
|
56
52
|
# end
|
57
53
|
end
|
58
54
|
end
|
59
55
|
|
60
|
-
describe 'test attribute "
|
56
|
+
describe 'test attribute "production_rating"' do
|
61
57
|
it 'should work' do
|
62
58
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
63
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
59
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["low production quality", "medium production quality", "high production quality"])
|
64
60
|
# validator.allowable_values.each do |value|
|
65
|
-
# expect { instance.
|
61
|
+
# expect { instance.production_rating = value }.not_to raise_error
|
66
62
|
# end
|
67
63
|
end
|
68
64
|
end
|
69
65
|
|
70
|
-
describe 'test attribute "
|
66
|
+
describe 'test attribute "production_rating_affinity"' do
|
71
67
|
it 'should work' do
|
72
68
|
# 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
|
77
69
|
end
|
78
70
|
end
|
79
71
|
|
80
|
-
describe 'test attribute "
|
72
|
+
describe 'test attribute "performance_rating"' do
|
81
73
|
it 'should work' do
|
82
74
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
83
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
75
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["low performance quality", "medium performance quality", "high performance quality"])
|
84
76
|
# validator.allowable_values.each do |value|
|
85
|
-
# expect { instance.
|
77
|
+
# expect { instance.performance_rating = value }.not_to raise_error
|
86
78
|
# end
|
87
79
|
end
|
88
80
|
end
|
89
81
|
|
90
|
-
describe 'test attribute "
|
82
|
+
describe 'test attribute "performance_rating_affinity"' do
|
91
83
|
it 'should work' do
|
92
84
|
# 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
|
97
85
|
end
|
98
86
|
end
|
99
87
|
|
100
|
-
describe 'test attribute "
|
88
|
+
describe 'test attribute "song_rating"' do
|
101
89
|
it 'should work' do
|
102
90
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
103
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
91
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["low song quality", "medium song quality", "high song quality"])
|
104
92
|
# validator.allowable_values.each do |value|
|
105
|
-
# expect { instance.
|
93
|
+
# expect { instance.song_rating = value }.not_to raise_error
|
106
94
|
# end
|
107
95
|
end
|
108
96
|
end
|
109
97
|
|
110
|
-
describe 'test attribute "
|
98
|
+
describe 'test attribute "song_rating_affinity"' do
|
111
99
|
it 'should work' do
|
112
100
|
# 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
101
|
end
|
118
102
|
end
|
119
103
|
|
120
|
-
describe 'test attribute "
|
104
|
+
describe 'test attribute "audience_age"' 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', ["
|
107
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
|
124
108
|
# validator.allowable_values.each do |value|
|
125
|
-
# expect { instance.
|
109
|
+
# expect { instance.audience_age = value }.not_to raise_error
|
126
110
|
# end
|
127
111
|
end
|
128
112
|
end
|
129
113
|
|
130
|
-
describe 'test attribute "
|
114
|
+
describe 'test attribute "audience_age_affinity"' do
|
131
115
|
it 'should work' do
|
132
116
|
# 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
|
137
117
|
end
|
138
118
|
end
|
139
119
|
|
140
|
-
describe 'test attribute "
|
120
|
+
describe 'test attribute "secondary_audience_age"' do
|
141
121
|
it 'should work' do
|
142
122
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
143
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
123
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
|
144
124
|
# validator.allowable_values.each do |value|
|
145
|
-
# expect { instance.
|
125
|
+
# expect { instance.secondary_audience_age = value }.not_to raise_error
|
146
126
|
# end
|
147
127
|
end
|
148
128
|
end
|
149
129
|
|
150
|
-
describe 'test attribute "
|
130
|
+
describe 'test attribute "secondary_audience_age_affinity"' do
|
151
131
|
it 'should work' do
|
152
132
|
# 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
|
157
133
|
end
|
158
134
|
end
|
159
135
|
|
160
|
-
describe 'test attribute "
|
136
|
+
describe 'test attribute "tertiary_audience_age"' do
|
161
137
|
it 'should work' do
|
162
138
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
163
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
139
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
|
164
140
|
# validator.allowable_values.each do |value|
|
165
|
-
# expect { instance.
|
141
|
+
# expect { instance.tertiary_audience_age = value }.not_to raise_error
|
166
142
|
# end
|
167
143
|
end
|
168
144
|
end
|
169
145
|
|
170
|
-
describe 'test attribute "
|
146
|
+
describe 'test attribute "tertiary_audience_age_affinity"' do
|
171
147
|
it 'should work' do
|
172
148
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
173
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["acoustic", "electric", "electronic", "mixed sound generation"])
|
174
|
-
# validator.allowable_values.each do |value|
|
175
|
-
# expect { instance.sound_generation = value }.not_to raise_error
|
176
|
-
# end
|
177
149
|
end
|
178
150
|
end
|
179
151
|
|
180
|
-
describe 'test attribute "
|
152
|
+
describe 'test attribute "audience_gender"' do
|
181
153
|
it 'should work' do
|
182
154
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
183
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
155
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["male", "female"])
|
184
156
|
# validator.allowable_values.each do |value|
|
185
|
-
# expect { instance.
|
157
|
+
# expect { instance.audience_gender = value }.not_to raise_error
|
186
158
|
# end
|
187
159
|
end
|
188
160
|
end
|
189
161
|
|
190
|
-
describe 'test attribute "
|
162
|
+
describe 'test attribute "audience_gender_affinity"' do
|
191
163
|
it 'should work' do
|
192
164
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
193
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very thin", "thin", "moderate texture", "full", "very full"])
|
194
|
-
# validator.allowable_values.each do |value|
|
195
|
-
# expect { instance.texture = value }.not_to raise_error
|
196
|
-
# end
|
197
165
|
end
|
198
166
|
end
|
199
167
|
|
200
|
-
describe 'test attribute "
|
168
|
+
describe 'test attribute "audience_region_affinity"' do
|
201
169
|
it 'should work' do
|
202
170
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
203
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very warm", "warm", "moderate timbre", "bright", "very bright"])
|
204
|
-
# validator.allowable_values.each do |value|
|
205
|
-
# expect { instance.timbre = value }.not_to raise_error
|
206
|
-
# end
|
207
171
|
end
|
208
172
|
end
|
209
173
|
|
210
|
-
describe 'test attribute "
|
174
|
+
describe 'test attribute "secondary_audience_region"' do
|
211
175
|
it 'should work' do
|
212
176
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
213
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
177
|
+
# 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"])
|
214
178
|
# validator.allowable_values.each do |value|
|
215
|
-
# expect { instance.
|
179
|
+
# expect { instance.secondary_audience_region = value }.not_to raise_error
|
216
180
|
# end
|
217
181
|
end
|
218
182
|
end
|
219
183
|
|
220
|
-
describe 'test attribute "
|
184
|
+
describe 'test attribute "secondary_audience_region_affinity"' do
|
221
185
|
it 'should work' do
|
222
186
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
223
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very sad", "sad", "moderate valence", "positive", "very positive", "varying valence"])
|
224
|
-
# validator.allowable_values.each do |value|
|
225
|
-
# expect { instance.valence = value }.not_to raise_error
|
226
|
-
# end
|
227
187
|
end
|
228
188
|
end
|
229
189
|
|
230
|
-
describe 'test attribute "
|
190
|
+
describe 'test attribute "tertiary_audience_region"' do
|
231
191
|
it 'should work' do
|
232
192
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
233
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
193
|
+
# 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"])
|
234
194
|
# validator.allowable_values.each do |value|
|
235
|
-
# expect { instance.
|
195
|
+
# expect { instance.tertiary_audience_region = value }.not_to raise_error
|
236
196
|
# end
|
237
197
|
end
|
238
198
|
end
|
239
199
|
|
240
|
-
describe 'test attribute "
|
200
|
+
describe 'test attribute "tertiary_audience_region_affinity"' do
|
241
201
|
it 'should work' do
|
242
202
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
243
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["pre-1950s", "1950s", "1960s", "1970s", "1980s", "1990s", "2000s", "2010s", "2020s"])
|
244
|
-
# validator.allowable_values.each do |value|
|
245
|
-
# expect { instance.origin_decade = value }.not_to raise_error
|
246
|
-
# end
|
247
203
|
end
|
248
204
|
end
|
249
205
|
|
250
|
-
describe 'test attribute "
|
206
|
+
describe 'test attribute "origin_region"' do
|
251
207
|
it 'should work' do
|
252
208
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
253
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
209
|
+
# 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"])
|
254
210
|
# validator.allowable_values.each do |value|
|
255
|
-
# expect { instance.
|
211
|
+
# expect { instance.origin_region = value }.not_to raise_error
|
256
212
|
# end
|
257
213
|
end
|
258
214
|
end
|
259
215
|
|
260
|
-
describe 'test attribute "
|
216
|
+
describe 'test attribute "origin_region_affinity"' do
|
261
217
|
it 'should work' do
|
262
218
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
263
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax"])
|
264
|
-
# validator.allowable_values.each do |value|
|
265
|
-
# expect { instance.use_case = value }.not_to raise_error
|
266
|
-
# end
|
267
219
|
end
|
268
220
|
end
|
269
221
|
|
270
|
-
describe 'test attribute "
|
222
|
+
describe 'test attribute "origin_decade_affinity"' do
|
271
223
|
it 'should work' do
|
272
224
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
273
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Spotify", "TikTok", "Unfitting", "YouTube"])
|
274
|
-
# validator.allowable_values.each do |value|
|
275
|
-
# expect { instance.channel_suitability = value }.not_to raise_error
|
276
|
-
# end
|
277
225
|
end
|
278
226
|
end
|
279
227
|
|
280
|
-
describe 'test attribute "
|
228
|
+
describe 'test attribute "language_of_performance_affinity"' do
|
281
229
|
it 'should work' do
|
282
230
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
283
231
|
end
|
284
232
|
end
|
285
233
|
|
286
|
-
describe 'test attribute "
|
234
|
+
describe 'test attribute "curateability_affinity"' do
|
287
235
|
it 'should work' do
|
288
236
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
289
|
-
|
237
|
+
end
|
238
|
+
end
|
239
|
+
|
240
|
+
describe 'test attribute "use_case_affinity"' do
|
241
|
+
it 'should work' do
|
242
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
243
|
+
end
|
244
|
+
end
|
245
|
+
|
246
|
+
describe 'test attribute "industry_suitability"' do
|
247
|
+
it 'should work' do
|
248
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
249
|
+
# 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"])
|
290
250
|
# validator.allowable_values.each do |value|
|
291
|
-
# expect { instance.
|
251
|
+
# expect { instance.industry_suitability = value }.not_to raise_error
|
292
252
|
# end
|
293
253
|
end
|
294
254
|
end
|
295
255
|
|
256
|
+
describe 'test attribute "industry_suitability_affinity"' do
|
257
|
+
it 'should work' do
|
258
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
259
|
+
end
|
260
|
+
end
|
261
|
+
|
296
262
|
describe 'test attribute "secondary_mood_cluster_affinity"' do
|
297
263
|
it 'should work' do
|
298
264
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
@@ -389,218 +355,262 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
389
355
|
end
|
390
356
|
end
|
391
357
|
|
392
|
-
describe 'test attribute "
|
358
|
+
describe 'test attribute "audience_region"' do
|
393
359
|
it 'should work' do
|
394
360
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
395
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
361
|
+
# 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"])
|
396
362
|
# validator.allowable_values.each do |value|
|
397
|
-
# expect { instance.
|
363
|
+
# expect { instance.audience_region = value }.not_to raise_error
|
398
364
|
# end
|
399
365
|
end
|
400
366
|
end
|
401
367
|
|
402
|
-
describe 'test attribute "
|
403
|
-
it 'should work' do
|
404
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
405
|
-
end
|
406
|
-
end
|
407
|
-
|
408
|
-
describe 'test attribute "performance_rating"' do
|
368
|
+
describe 'test attribute "dominant_instrument"' do
|
409
369
|
it 'should work' do
|
410
370
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
411
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
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"])
|
412
372
|
# validator.allowable_values.each do |value|
|
413
|
-
# expect { instance.
|
373
|
+
# expect { instance.dominant_instrument = value }.not_to raise_error
|
414
374
|
# end
|
415
375
|
end
|
416
376
|
end
|
417
377
|
|
418
|
-
describe 'test attribute "
|
419
|
-
it 'should work' do
|
420
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
421
|
-
end
|
422
|
-
end
|
423
|
-
|
424
|
-
describe 'test attribute "song_rating"' do
|
378
|
+
describe 'test attribute "energy"' do
|
425
379
|
it 'should work' do
|
426
380
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
427
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
381
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very quiet", "quiet", "moderate", "loud", "very loud", "dynamic"])
|
428
382
|
# validator.allowable_values.each do |value|
|
429
|
-
# expect { instance.
|
383
|
+
# expect { instance.energy = value }.not_to raise_error
|
430
384
|
# end
|
431
385
|
end
|
432
386
|
end
|
433
387
|
|
434
|
-
describe 'test attribute "
|
388
|
+
describe 'test attribute "engagement"' do
|
435
389
|
it 'should work' do
|
436
390
|
# 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
|
437
395
|
end
|
438
396
|
end
|
439
397
|
|
440
|
-
describe 'test attribute "
|
398
|
+
describe 'test attribute "groovyness"' do
|
441
399
|
it 'should work' do
|
442
400
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
443
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
401
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very steady", "steady", "moderate rhythm feel", "groovy", "very groovy"])
|
444
402
|
# validator.allowable_values.each do |value|
|
445
|
-
# expect { instance.
|
403
|
+
# expect { instance.groovyness = value }.not_to raise_error
|
446
404
|
# end
|
447
405
|
end
|
448
406
|
end
|
449
407
|
|
450
|
-
describe 'test attribute "
|
408
|
+
describe 'test attribute "harmony"' do
|
451
409
|
it 'should work' do
|
452
410
|
# 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
|
453
415
|
end
|
454
416
|
end
|
455
417
|
|
456
|
-
describe 'test attribute "
|
418
|
+
describe 'test attribute "pleasantness"' do
|
457
419
|
it 'should work' do
|
458
420
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
459
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
421
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very unpleasant", "unpleasant", "neutral pleasantness", "pleasant", "very pleasant", "varying pleasantness"])
|
460
422
|
# validator.allowable_values.each do |value|
|
461
|
-
# expect { instance.
|
423
|
+
# expect { instance.pleasantness = value }.not_to raise_error
|
462
424
|
# end
|
463
425
|
end
|
464
426
|
end
|
465
427
|
|
466
|
-
describe 'test attribute "
|
428
|
+
describe 'test attribute "primary_mood_cluster"' do
|
467
429
|
it 'should work' do
|
468
430
|
# 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
|
469
435
|
end
|
470
436
|
end
|
471
437
|
|
472
|
-
describe 'test attribute "
|
438
|
+
describe 'test attribute "primary_sound_character"' do
|
473
439
|
it 'should work' do
|
474
440
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
475
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
441
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["brassy", "bright", "clear", "deep", "distorted", "flat", "full", "groovy", "melodious", "natural", "resonant", "shrill", "steady", "thin", "warm"])
|
476
442
|
# validator.allowable_values.each do |value|
|
477
|
-
# expect { instance.
|
443
|
+
# expect { instance.primary_sound_character = value }.not_to raise_error
|
478
444
|
# end
|
479
445
|
end
|
480
446
|
end
|
481
447
|
|
482
|
-
describe 'test attribute "
|
448
|
+
describe 'test attribute "rhythm"' do
|
483
449
|
it 'should work' do
|
484
450
|
# 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
|
485
455
|
end
|
486
456
|
end
|
487
457
|
|
488
|
-
describe 'test attribute "
|
458
|
+
describe 'test attribute "roughness"' do
|
489
459
|
it 'should work' do
|
490
460
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
491
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
461
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very clear", "clear", "moderate roughness", "distorted", "very distorted"])
|
492
462
|
# validator.allowable_values.each do |value|
|
493
|
-
# expect { instance.
|
463
|
+
# expect { instance.roughness = value }.not_to raise_error
|
494
464
|
# end
|
495
465
|
end
|
496
466
|
end
|
497
467
|
|
498
|
-
describe 'test attribute "
|
468
|
+
describe 'test attribute "scale"' do
|
499
469
|
it 'should work' do
|
500
470
|
# 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
|
501
475
|
end
|
502
476
|
end
|
503
477
|
|
504
|
-
describe 'test attribute "
|
478
|
+
describe 'test attribute "key"' do
|
505
479
|
it 'should work' do
|
506
480
|
# 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
|
507
485
|
end
|
508
486
|
end
|
509
487
|
|
510
|
-
describe 'test attribute "
|
488
|
+
describe 'test attribute "sound_generation"' do
|
511
489
|
it 'should work' do
|
512
490
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
513
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
491
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["acoustic", "electric", "electronic", "mixed sound generation"])
|
514
492
|
# validator.allowable_values.each do |value|
|
515
|
-
# expect { instance.
|
493
|
+
# expect { instance.sound_generation = value }.not_to raise_error
|
516
494
|
# end
|
517
495
|
end
|
518
496
|
end
|
519
497
|
|
520
|
-
describe 'test attribute "
|
498
|
+
describe 'test attribute "tempo"' do
|
521
499
|
it 'should work' do
|
522
500
|
# 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
|
523
505
|
end
|
524
506
|
end
|
525
507
|
|
526
|
-
describe 'test attribute "
|
508
|
+
describe 'test attribute "texture"' do
|
527
509
|
it 'should work' do
|
528
510
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
529
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
511
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very thin", "thin", "moderate texture", "full", "very full"])
|
530
512
|
# validator.allowable_values.each do |value|
|
531
|
-
# expect { instance.
|
513
|
+
# expect { instance.texture = value }.not_to raise_error
|
532
514
|
# end
|
533
515
|
end
|
534
516
|
end
|
535
517
|
|
536
|
-
describe 'test attribute "
|
518
|
+
describe 'test attribute "timbre"' do
|
537
519
|
it 'should work' do
|
538
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
|
539
525
|
end
|
540
526
|
end
|
541
527
|
|
542
|
-
describe 'test attribute "
|
528
|
+
describe 'test attribute "tonality"' do
|
543
529
|
it 'should work' do
|
544
530
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
545
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
531
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["monotonous", "moderate melodiousness", "melodious", "atonal"])
|
546
532
|
# validator.allowable_values.each do |value|
|
547
|
-
# expect { instance.
|
533
|
+
# expect { instance.tonality = value }.not_to raise_error
|
548
534
|
# end
|
549
535
|
end
|
550
536
|
end
|
551
537
|
|
552
|
-
describe 'test attribute "
|
538
|
+
describe 'test attribute "valence"' do
|
553
539
|
it 'should work' do
|
554
540
|
# 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
|
555
545
|
end
|
556
546
|
end
|
557
547
|
|
558
|
-
describe 'test attribute "
|
548
|
+
describe 'test attribute "vocals"' do
|
559
549
|
it 'should work' do
|
560
550
|
# 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
|
561
555
|
end
|
562
556
|
end
|
563
557
|
|
564
|
-
describe 'test attribute "
|
558
|
+
describe 'test attribute "origin_decade"' do
|
565
559
|
it 'should work' do
|
566
560
|
# 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
|
567
565
|
end
|
568
566
|
end
|
569
567
|
|
570
|
-
describe 'test attribute "
|
568
|
+
describe 'test attribute "curateability"' do
|
571
569
|
it 'should work' do
|
572
570
|
# 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
|
573
575
|
end
|
574
576
|
end
|
575
577
|
|
576
|
-
describe 'test attribute "
|
578
|
+
describe 'test attribute "use_case"' do
|
577
579
|
it 'should work' do
|
578
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
|
579
585
|
end
|
580
586
|
end
|
581
587
|
|
582
|
-
describe 'test attribute "
|
588
|
+
describe 'test attribute "channel_suitability"' do
|
583
589
|
it 'should work' do
|
584
590
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
585
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
591
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Spotify", "TikTok", "Unfitting", "YouTube"])
|
586
592
|
# validator.allowable_values.each do |value|
|
587
|
-
# expect { instance.
|
593
|
+
# expect { instance.channel_suitability = value }.not_to raise_error
|
588
594
|
# end
|
589
595
|
end
|
590
596
|
end
|
591
597
|
|
592
|
-
describe 'test attribute "
|
598
|
+
describe 'test attribute "language_of_performance"' do
|
593
599
|
it 'should work' do
|
594
600
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
601
|
+
# 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"])
|
602
|
+
# validator.allowable_values.each do |value|
|
603
|
+
# expect { instance.language_of_performance = value }.not_to raise_error
|
604
|
+
# end
|
595
605
|
end
|
596
606
|
end
|
597
607
|
|
598
|
-
describe 'test attribute "
|
608
|
+
describe 'test attribute "arousal"' do
|
599
609
|
it 'should work' do
|
600
610
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
601
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
611
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
|
602
612
|
# validator.allowable_values.each do |value|
|
603
|
-
# expect { instance.
|
613
|
+
# expect { instance.arousal = value }.not_to raise_error
|
604
614
|
# end
|
605
615
|
end
|
606
616
|
end
|
@@ -695,14 +705,4 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
695
705
|
end
|
696
706
|
end
|
697
707
|
|
698
|
-
describe 'test attribute "key"' do
|
699
|
-
it 'should work' do
|
700
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
701
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B", "unclear"])
|
702
|
-
# validator.allowable_values.each do |value|
|
703
|
-
# expect { instance.key = value }.not_to raise_error
|
704
|
-
# end
|
705
|
-
end
|
706
|
-
end
|
707
|
-
|
708
708
|
end
|