musicube_api_client_ruby 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CODE_OF_CONDUCT.md +84 -0
- data/Gemfile +9 -0
- data/README.md +223 -0
- data/Rakefile +10 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/docs/AllowedValuesApi.md +200 -0
- data/docs/CategoryMediumDTO.md +22 -0
- data/docs/CategoryMinimalDTO.md +18 -0
- data/docs/ConfigAccessDTO.md +20 -0
- data/docs/ConfigIdentifierDTO.md +20 -0
- data/docs/ContributorTypeDTO.md +18 -0
- data/docs/ErrorResponse.md +26 -0
- data/docs/FieldSummaryDTO.md +22 -0
- data/docs/FileDTO.md +50 -0
- data/docs/FileListDTO.md +24 -0
- data/docs/FileMinimalWithUrlDTO.md +22 -0
- data/docs/FileSmallDTO.md +46 -0
- data/docs/FileUploadDTO.md +22 -0
- data/docs/FileWIthUrlDTO.md +20 -0
- data/docs/FilesSummaryDTO.md +30 -0
- data/docs/ForgotPasswordDTO.md +20 -0
- data/docs/GenreDTO.md +20 -0
- data/docs/GenreMinimalDTO.md +18 -0
- data/docs/GenresSummaryDTO.md +22 -0
- data/docs/InitPutRecordingAudioDTO.md +22 -0
- data/docs/JwtTokenDTO.md +22 -0
- data/docs/LoginDTO.md +24 -0
- data/docs/MusicalFeaturesDTO.md +186 -0
- data/docs/PLineDTO.md +20 -0
- data/docs/PartyApi.md +75 -0
- data/docs/PartyLargeDTO.md +32 -0
- data/docs/PartySmallDTO.md +20 -0
- data/docs/PlaylistApi.md +221 -0
- data/docs/PlaylistLargeDTO.md +38 -0
- data/docs/ProductMediumDTO.md +34 -0
- data/docs/ProductPartyDTO.md +20 -0
- data/docs/RecordingApi.md +789 -0
- data/docs/RecordingForSimilaritySearchDTO.md +20 -0
- data/docs/RecordingGenrePredictionDTO.md +22 -0
- data/docs/RecordingLargeDTO.md +40 -0
- data/docs/RecordingListDTO.md +24 -0
- data/docs/RecordingMediumDTO.md +36 -0
- data/docs/RecordingMinimalWithMusicalFeaturesDTO.md +20 -0
- data/docs/RecordingMinimalWithTaggramsDTO.md +22 -0
- data/docs/RecordingMinimalWithTagstrengthsDTO.md +20 -0
- data/docs/RecordingPartyDTO.md +20 -0
- data/docs/RecordingPlaylistDTO.md +24 -0
- data/docs/RecordingSmallDTO.md +24 -0
- data/docs/RecordingTagSmallDTO.md +18 -0
- data/docs/SaveFileRecordingDTO.md +236 -0
- data/docs/SavePlaylistDTO.md +34 -0
- data/docs/SaveRecordingGenreDTO.md +22 -0
- data/docs/SaveRecordingPartyDTO.md +20 -0
- data/docs/SaveRecordingPlaylistDTO.md +22 -0
- data/docs/SaveRecordingTagDTO.md +20 -0
- data/docs/SaveReferrerDTO.md +20 -0
- data/docs/SaveTaggramsDTO.md +82 -0
- data/docs/SaveUserDTO.md +28 -0
- data/docs/SearchFilterValuesDTO.md +98 -0
- data/docs/SearchRecordingGranularAbstractionDTO.md +20 -0
- data/docs/SearchRecordingGranularDTO.md +22 -0
- data/docs/SignUpDTO.md +24 -0
- data/docs/TagDTO.md +22 -0
- data/docs/TagSmallDTO.md +20 -0
- data/docs/TaggramDTO.md +26 -0
- data/docs/TagsSummaryDTO.md +22 -0
- data/docs/TagstrengthDTO.md +26 -0
- data/docs/TitleDTO.md +18 -0
- data/docs/TokenRequest.md +18 -0
- data/docs/TrackToMediumProductDTO.md +22 -0
- data/docs/UpdatePasswordDTO.md +20 -0
- data/docs/UsageDTO.md +18 -0
- data/docs/UserApi.md +1936 -0
- data/docs/UserDTO.md +56 -0
- data/git_push.sh +57 -0
- data/lib/musicube_api_client_ruby/api/allowed_values_api.rb +213 -0
- data/lib/musicube_api_client_ruby/api/party_api.rb +84 -0
- data/lib/musicube_api_client_ruby/api/playlist_api.rb +222 -0
- data/lib/musicube_api_client_ruby/api/recording_api.rb +900 -0
- data/lib/musicube_api_client_ruby/api/user_api.rb +2642 -0
- data/lib/musicube_api_client_ruby/api_client.rb +428 -0
- data/lib/musicube_api_client_ruby/api_error.rb +58 -0
- data/lib/musicube_api_client_ruby/configuration.rb +380 -0
- data/lib/musicube_api_client_ruby/models/category_medium_dto.rb +250 -0
- data/lib/musicube_api_client_ruby/models/category_minimal_dto.rb +225 -0
- data/lib/musicube_api_client_ruby/models/config_access_dto.rb +287 -0
- data/lib/musicube_api_client_ruby/models/config_identifier_dto.rb +239 -0
- data/lib/musicube_api_client_ruby/models/contributor_type_dto.rb +225 -0
- data/lib/musicube_api_client_ruby/models/error_response.rb +276 -0
- data/lib/musicube_api_client_ruby/models/field_summary_dto.rb +253 -0
- data/lib/musicube_api_client_ruby/models/file_dto.rb +450 -0
- data/lib/musicube_api_client_ruby/models/file_list_dto.rb +269 -0
- data/lib/musicube_api_client_ruby/models/file_minimal_with_url_dto.rb +253 -0
- data/lib/musicube_api_client_ruby/models/file_small_dto.rb +432 -0
- data/lib/musicube_api_client_ruby/models/file_upload_dto.rb +244 -0
- data/lib/musicube_api_client_ruby/models/file_w_ith_url_dto.rb +239 -0
- data/lib/musicube_api_client_ruby/models/files_summary_dto.rb +287 -0
- data/lib/musicube_api_client_ruby/models/forgot_password_dto.rb +267 -0
- data/lib/musicube_api_client_ruby/models/genre_dto.rb +239 -0
- data/lib/musicube_api_client_ruby/models/genre_minimal_dto.rb +225 -0
- data/lib/musicube_api_client_ruby/models/genres_summary_dto.rb +248 -0
- data/lib/musicube_api_client_ruby/models/init_put_recording_audio_dto.rb +238 -0
- data/lib/musicube_api_client_ruby/models/jwt_token_dto.rb +248 -0
- data/lib/musicube_api_client_ruby/models/login_dto.rb +257 -0
- data/lib/musicube_api_client_ruby/models/musical_features_dto.rb +1532 -0
- data/lib/musicube_api_client_ruby/models/p_line_dto.rb +234 -0
- data/lib/musicube_api_client_ruby/models/party_large_dto.rb +288 -0
- data/lib/musicube_api_client_ruby/models/party_small_dto.rb +239 -0
- data/lib/musicube_api_client_ruby/models/playlist_large_dto.rb +353 -0
- data/lib/musicube_api_client_ruby/models/product_medium_dto.rb +316 -0
- data/lib/musicube_api_client_ruby/models/product_party_dto.rb +236 -0
- data/lib/musicube_api_client_ruby/models/recording_for_similarity_search_dto.rb +239 -0
- data/lib/musicube_api_client_ruby/models/recording_genre_prediction_dto.rb +253 -0
- data/lib/musicube_api_client_ruby/models/recording_large_dto.rb +366 -0
- data/lib/musicube_api_client_ruby/models/recording_list_dto.rb +269 -0
- data/lib/musicube_api_client_ruby/models/recording_medium_dto.rb +340 -0
- data/lib/musicube_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +236 -0
- data/lib/musicube_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +248 -0
- data/lib/musicube_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +236 -0
- data/lib/musicube_api_client_ruby/models/recording_party_dto.rb +236 -0
- data/lib/musicube_api_client_ruby/models/recording_playlist_dto.rb +247 -0
- data/lib/musicube_api_client_ruby/models/recording_small_dto.rb +268 -0
- data/lib/musicube_api_client_ruby/models/recording_tag_small_dto.rb +225 -0
- data/lib/musicube_api_client_ruby/models/save_file_recording_dto.rb +1847 -0
- data/lib/musicube_api_client_ruby/models/save_playlist_dto.rb +350 -0
- data/lib/musicube_api_client_ruby/models/save_recording_genre_dto.rb +243 -0
- data/lib/musicube_api_client_ruby/models/save_recording_party_dto.rb +273 -0
- data/lib/musicube_api_client_ruby/models/save_recording_playlist_dto.rb +248 -0
- data/lib/musicube_api_client_ruby/models/save_recording_tag_dto.rb +234 -0
- data/lib/musicube_api_client_ruby/models/save_referrer_dto.rb +229 -0
- data/lib/musicube_api_client_ruby/models/save_taggrams_dto.rb +574 -0
- data/lib/musicube_api_client_ruby/models/save_user_dto.rb +317 -0
- data/lib/musicube_api_client_ruby/models/search_filter_values_dto.rb +867 -0
- data/lib/musicube_api_client_ruby/models/search_recording_granular_abstraction_dto.rb +270 -0
- data/lib/musicube_api_client_ruby/models/search_recording_granular_dto.rb +245 -0
- data/lib/musicube_api_client_ruby/models/sign_up_dto.rb +262 -0
- data/lib/musicube_api_client_ruby/models/tag_dto.rb +250 -0
- data/lib/musicube_api_client_ruby/models/tag_small_dto.rb +239 -0
- data/lib/musicube_api_client_ruby/models/taggram_dto.rb +271 -0
- data/lib/musicube_api_client_ruby/models/tags_summary_dto.rb +250 -0
- data/lib/musicube_api_client_ruby/models/tagstrength_dto.rb +269 -0
- data/lib/musicube_api_client_ruby/models/title_dto.rb +225 -0
- data/lib/musicube_api_client_ruby/models/token_request.rb +224 -0
- data/lib/musicube_api_client_ruby/models/track_to_medium_product_dto.rb +248 -0
- data/lib/musicube_api_client_ruby/models/update_password_dto.rb +238 -0
- data/lib/musicube_api_client_ruby/models/usage_dto.rb +220 -0
- data/lib/musicube_api_client_ruby/models/user_dto.rb +481 -0
- data/lib/musicube_api_client_ruby/version.rb +15 -0
- data/lib/musicube_api_client_ruby.rb +108 -0
- data/musicube_api_client_ruby.gemspec +39 -0
- data/openapi-generator-config.yaml +9 -0
- data/spec/api/allowed_values_api_spec.rb +68 -0
- data/spec/api/party_api_spec.rb +46 -0
- data/spec/api/playlist_api_spec.rb +72 -0
- data/spec/api/recording_api_spec.rb +192 -0
- data/spec/api/user_api_spec.rb +507 -0
- data/spec/api_client_spec.rb +223 -0
- data/spec/configuration_spec.rb +82 -0
- data/spec/models/category_medium_dto_spec.rb +46 -0
- data/spec/models/category_minimal_dto_spec.rb +34 -0
- data/spec/models/config_access_dto_spec.rb +48 -0
- data/spec/models/config_identifier_dto_spec.rb +40 -0
- data/spec/models/contributor_type_dto_spec.rb +34 -0
- data/spec/models/error_response_spec.rb +58 -0
- data/spec/models/field_summary_dto_spec.rb +46 -0
- data/spec/models/file_dto_spec.rb +142 -0
- data/spec/models/file_list_dto_spec.rb +52 -0
- data/spec/models/file_minimal_with_url_dto_spec.rb +46 -0
- data/spec/models/file_small_dto_spec.rb +130 -0
- data/spec/models/file_upload_dto_spec.rb +46 -0
- data/spec/models/file_w_ith_url_dto_spec.rb +40 -0
- data/spec/models/files_summary_dto_spec.rb +70 -0
- data/spec/models/forgot_password_dto_spec.rb +44 -0
- data/spec/models/genre_dto_spec.rb +40 -0
- data/spec/models/genre_minimal_dto_spec.rb +34 -0
- data/spec/models/genres_summary_dto_spec.rb +46 -0
- data/spec/models/init_put_recording_audio_dto_spec.rb +46 -0
- data/spec/models/jwt_token_dto_spec.rb +46 -0
- data/spec/models/login_dto_spec.rb +52 -0
- data/spec/models/musical_features_dto_spec.rb +706 -0
- data/spec/models/p_line_dto_spec.rb +40 -0
- data/spec/models/party_large_dto_spec.rb +76 -0
- data/spec/models/party_small_dto_spec.rb +40 -0
- data/spec/models/playlist_large_dto_spec.rb +98 -0
- data/spec/models/product_medium_dto_spec.rb +82 -0
- data/spec/models/product_party_dto_spec.rb +40 -0
- data/spec/models/recording_for_similarity_search_dto_spec.rb +40 -0
- data/spec/models/recording_genre_prediction_dto_spec.rb +46 -0
- data/spec/models/recording_large_dto_spec.rb +100 -0
- data/spec/models/recording_list_dto_spec.rb +52 -0
- data/spec/models/recording_medium_dto_spec.rb +88 -0
- data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +40 -0
- data/spec/models/recording_minimal_with_taggrams_dto_spec.rb +46 -0
- data/spec/models/recording_minimal_with_tagstrengths_dto_spec.rb +40 -0
- data/spec/models/recording_party_dto_spec.rb +40 -0
- data/spec/models/recording_playlist_dto_spec.rb +52 -0
- data/spec/models/recording_small_dto_spec.rb +52 -0
- data/spec/models/recording_tag_small_dto_spec.rb +34 -0
- data/spec/models/save_file_recording_dto_spec.rb +880 -0
- data/spec/models/save_playlist_dto_spec.rb +86 -0
- data/spec/models/save_recording_genre_dto_spec.rb +46 -0
- data/spec/models/save_recording_party_dto_spec.rb +44 -0
- data/spec/models/save_recording_playlist_dto_spec.rb +46 -0
- data/spec/models/save_recording_tag_dto_spec.rb +40 -0
- data/spec/models/save_referrer_dto_spec.rb +40 -0
- data/spec/models/save_taggrams_dto_spec.rb +226 -0
- data/spec/models/save_user_dto_spec.rb +72 -0
- data/spec/models/search_filter_values_dto_spec.rb +274 -0
- data/spec/models/search_recording_granular_abstraction_dto_spec.rb +44 -0
- data/spec/models/search_recording_granular_dto_spec.rb +46 -0
- data/spec/models/sign_up_dto_spec.rb +52 -0
- data/spec/models/tag_dto_spec.rb +46 -0
- data/spec/models/tag_small_dto_spec.rb +40 -0
- data/spec/models/taggram_dto_spec.rb +58 -0
- data/spec/models/tags_summary_dto_spec.rb +46 -0
- data/spec/models/tagstrength_dto_spec.rb +58 -0
- data/spec/models/title_dto_spec.rb +34 -0
- data/spec/models/token_request_spec.rb +34 -0
- data/spec/models/track_to_medium_product_dto_spec.rb +46 -0
- data/spec/models/update_password_dto_spec.rb +40 -0
- data/spec/models/usage_dto_spec.rb +34 -0
- data/spec/models/user_dto_spec.rb +148 -0
- data/spec/musicube_api_client_ruby_spec.rb +11 -0
- data/spec/spec_helper.rb +111 -0
- metadata +415 -0
@@ -0,0 +1,706 @@
|
|
1
|
+
=begin
|
2
|
+
#Songtradr API
|
3
|
+
|
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
|
+
|
6
|
+
The version of the OpenAPI document: 1.12.21
|
7
|
+
Contact: info@songtradr.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.6.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MusicubeApiClientRuby::MusicalFeaturesDTO
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe MusicubeApiClientRuby::MusicalFeaturesDTO do
|
21
|
+
let(:instance) { MusicubeApiClientRuby::MusicalFeaturesDTO.new }
|
22
|
+
|
23
|
+
describe 'test an instance of MusicalFeaturesDTO' do
|
24
|
+
it 'should create an instance of MusicalFeaturesDTO' do
|
25
|
+
expect(instance).to be_instance_of(MusicubeApiClientRuby::MusicalFeaturesDTO)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "space"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
31
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very compact", "compact", "moderate space", "wide", "very wide"])
|
32
|
+
# validator.allowable_values.each do |value|
|
33
|
+
# expect { instance.space = value }.not_to raise_error
|
34
|
+
# end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
describe 'test attribute "primary_sound_character_affinity"' do
|
39
|
+
it 'should work' do
|
40
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
describe 'test attribute "tonality_affinity"' do
|
45
|
+
it 'should work' do
|
46
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
describe 'test attribute "bpm"' do
|
51
|
+
it 'should work' do
|
52
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
describe 'test attribute "production_rating"' do
|
57
|
+
it 'should work' do
|
58
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
59
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["low production quality", "medium production quality", "high production quality"])
|
60
|
+
# validator.allowable_values.each do |value|
|
61
|
+
# expect { instance.production_rating = value }.not_to raise_error
|
62
|
+
# end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
describe 'test attribute "production_rating_affinity"' do
|
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
|
73
|
+
it 'should work' do
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
75
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["low performance quality", "medium performance quality", "high performance quality"])
|
76
|
+
# validator.allowable_values.each do |value|
|
77
|
+
# expect { instance.performance_rating = value }.not_to raise_error
|
78
|
+
# end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
describe 'test attribute "performance_rating_affinity"' do
|
83
|
+
it 'should work' do
|
84
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
describe 'test attribute "song_rating"' do
|
89
|
+
it 'should work' do
|
90
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
91
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["low song quality", "medium song quality", "high song quality"])
|
92
|
+
# validator.allowable_values.each do |value|
|
93
|
+
# expect { instance.song_rating = value }.not_to raise_error
|
94
|
+
# end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
describe 'test attribute "song_rating_affinity"' do
|
99
|
+
it 'should work' do
|
100
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
describe 'test attribute "audience_age"' do
|
105
|
+
it 'should work' do
|
106
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
107
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
|
108
|
+
# validator.allowable_values.each do |value|
|
109
|
+
# expect { instance.audience_age = value }.not_to raise_error
|
110
|
+
# end
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
114
|
+
describe 'test attribute "audience_age_affinity"' do
|
115
|
+
it 'should work' do
|
116
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
120
|
+
describe 'test attribute "secondary_audience_age"' do
|
121
|
+
it 'should work' do
|
122
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
123
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
|
124
|
+
# validator.allowable_values.each do |value|
|
125
|
+
# expect { instance.secondary_audience_age = value }.not_to raise_error
|
126
|
+
# end
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
130
|
+
describe 'test attribute "secondary_audience_age_affinity"' do
|
131
|
+
it 'should work' do
|
132
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
describe 'test attribute "tertiary_audience_age"' do
|
137
|
+
it 'should work' do
|
138
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
139
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
|
140
|
+
# validator.allowable_values.each do |value|
|
141
|
+
# expect { instance.tertiary_audience_age = value }.not_to raise_error
|
142
|
+
# end
|
143
|
+
end
|
144
|
+
end
|
145
|
+
|
146
|
+
describe 'test attribute "tertiary_audience_age_affinity"' do
|
147
|
+
it 'should work' do
|
148
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
152
|
+
describe 'test attribute "audience_gender"' do
|
153
|
+
it 'should work' do
|
154
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
155
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["male", "female"])
|
156
|
+
# validator.allowable_values.each do |value|
|
157
|
+
# expect { instance.audience_gender = value }.not_to raise_error
|
158
|
+
# end
|
159
|
+
end
|
160
|
+
end
|
161
|
+
|
162
|
+
describe 'test attribute "audience_gender_affinity"' do
|
163
|
+
it 'should work' do
|
164
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
168
|
+
describe 'test attribute "audience_region_affinity"' do
|
169
|
+
it 'should work' do
|
170
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
171
|
+
end
|
172
|
+
end
|
173
|
+
|
174
|
+
describe 'test attribute "secondary_audience_region"' do
|
175
|
+
it 'should work' do
|
176
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
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"])
|
178
|
+
# validator.allowable_values.each do |value|
|
179
|
+
# expect { instance.secondary_audience_region = value }.not_to raise_error
|
180
|
+
# end
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
184
|
+
describe 'test attribute "secondary_audience_region_affinity"' do
|
185
|
+
it 'should work' do
|
186
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
187
|
+
end
|
188
|
+
end
|
189
|
+
|
190
|
+
describe 'test attribute "tertiary_audience_region"' do
|
191
|
+
it 'should work' do
|
192
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
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"])
|
194
|
+
# validator.allowable_values.each do |value|
|
195
|
+
# expect { instance.tertiary_audience_region = value }.not_to raise_error
|
196
|
+
# end
|
197
|
+
end
|
198
|
+
end
|
199
|
+
|
200
|
+
describe 'test attribute "tertiary_audience_region_affinity"' do
|
201
|
+
it 'should work' do
|
202
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
206
|
+
describe 'test attribute "origin_region"' do
|
207
|
+
it 'should work' do
|
208
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
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"])
|
210
|
+
# validator.allowable_values.each do |value|
|
211
|
+
# expect { instance.origin_region = value }.not_to raise_error
|
212
|
+
# end
|
213
|
+
end
|
214
|
+
end
|
215
|
+
|
216
|
+
describe 'test attribute "origin_region_affinity"' do
|
217
|
+
it 'should work' do
|
218
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
219
|
+
end
|
220
|
+
end
|
221
|
+
|
222
|
+
describe 'test attribute "origin_decade_affinity"' do
|
223
|
+
it 'should work' do
|
224
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
225
|
+
end
|
226
|
+
end
|
227
|
+
|
228
|
+
describe 'test attribute "language_of_performance_affinity"' do
|
229
|
+
it 'should work' do
|
230
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
231
|
+
end
|
232
|
+
end
|
233
|
+
|
234
|
+
describe 'test attribute "curateability_affinity"' do
|
235
|
+
it 'should work' do
|
236
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
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"])
|
250
|
+
# validator.allowable_values.each do |value|
|
251
|
+
# expect { instance.industry_suitability = value }.not_to raise_error
|
252
|
+
# end
|
253
|
+
end
|
254
|
+
end
|
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
|
+
|
262
|
+
describe 'test attribute "audience_region"' do
|
263
|
+
it 'should work' do
|
264
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
265
|
+
# 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"])
|
266
|
+
# validator.allowable_values.each do |value|
|
267
|
+
# expect { instance.audience_region = value }.not_to raise_error
|
268
|
+
# end
|
269
|
+
end
|
270
|
+
end
|
271
|
+
|
272
|
+
describe 'test attribute "primary_mood_cluster_affinity"' do
|
273
|
+
it 'should work' do
|
274
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
275
|
+
end
|
276
|
+
end
|
277
|
+
|
278
|
+
describe 'test attribute "secondary_mood_cluster"' do
|
279
|
+
it 'should work' do
|
280
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
281
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
282
|
+
# validator.allowable_values.each do |value|
|
283
|
+
# expect { instance.secondary_mood_cluster = value }.not_to raise_error
|
284
|
+
# end
|
285
|
+
end
|
286
|
+
end
|
287
|
+
|
288
|
+
describe 'test attribute "secondary_mood_cluster_affinity"' do
|
289
|
+
it 'should work' do
|
290
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
291
|
+
end
|
292
|
+
end
|
293
|
+
|
294
|
+
describe 'test attribute "tertiary_mood_cluster"' do
|
295
|
+
it 'should work' do
|
296
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
297
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
298
|
+
# validator.allowable_values.each do |value|
|
299
|
+
# expect { instance.tertiary_mood_cluster = value }.not_to raise_error
|
300
|
+
# end
|
301
|
+
end
|
302
|
+
end
|
303
|
+
|
304
|
+
describe 'test attribute "tertiary_mood_cluster_affinity"' do
|
305
|
+
it 'should work' do
|
306
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
307
|
+
end
|
308
|
+
end
|
309
|
+
|
310
|
+
describe 'test attribute "vocals_affinity"' do
|
311
|
+
it 'should work' do
|
312
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
313
|
+
end
|
314
|
+
end
|
315
|
+
|
316
|
+
describe 'test attribute "dominant_instrument_affinity"' do
|
317
|
+
it 'should work' do
|
318
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
319
|
+
end
|
320
|
+
end
|
321
|
+
|
322
|
+
describe 'test attribute "secondary_instrument"' do
|
323
|
+
it 'should work' do
|
324
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
325
|
+
# 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"])
|
326
|
+
# validator.allowable_values.each do |value|
|
327
|
+
# expect { instance.secondary_instrument = value }.not_to raise_error
|
328
|
+
# end
|
329
|
+
end
|
330
|
+
end
|
331
|
+
|
332
|
+
describe 'test attribute "secondary_instrument_affinity"' do
|
333
|
+
it 'should work' do
|
334
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
335
|
+
end
|
336
|
+
end
|
337
|
+
|
338
|
+
describe 'test attribute "tertiary_instrument"' do
|
339
|
+
it 'should work' do
|
340
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
341
|
+
# 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"])
|
342
|
+
# validator.allowable_values.each do |value|
|
343
|
+
# expect { instance.tertiary_instrument = value }.not_to raise_error
|
344
|
+
# end
|
345
|
+
end
|
346
|
+
end
|
347
|
+
|
348
|
+
describe 'test attribute "tertiary_instrument_affinity"' do
|
349
|
+
it 'should work' do
|
350
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
351
|
+
end
|
352
|
+
end
|
353
|
+
|
354
|
+
describe 'test attribute "sound_generation_affinity"' do
|
355
|
+
it 'should work' do
|
356
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
357
|
+
end
|
358
|
+
end
|
359
|
+
|
360
|
+
describe 'test attribute "rhythm_affinity"' do
|
361
|
+
it 'should work' do
|
362
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
363
|
+
end
|
364
|
+
end
|
365
|
+
|
366
|
+
describe 'test attribute "language_of_performance"' do
|
367
|
+
it 'should work' do
|
368
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
369
|
+
# 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"])
|
370
|
+
# validator.allowable_values.each do |value|
|
371
|
+
# expect { instance.language_of_performance = value }.not_to raise_error
|
372
|
+
# end
|
373
|
+
end
|
374
|
+
end
|
375
|
+
|
376
|
+
describe 'test attribute "arousal"' do
|
377
|
+
it 'should work' do
|
378
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
379
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
|
380
|
+
# validator.allowable_values.each do |value|
|
381
|
+
# expect { instance.arousal = value }.not_to raise_error
|
382
|
+
# end
|
383
|
+
end
|
384
|
+
end
|
385
|
+
|
386
|
+
describe 'test attribute "dominant_instrument"' do
|
387
|
+
it 'should work' do
|
388
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
389
|
+
# 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"])
|
390
|
+
# validator.allowable_values.each do |value|
|
391
|
+
# expect { instance.dominant_instrument = value }.not_to raise_error
|
392
|
+
# end
|
393
|
+
end
|
394
|
+
end
|
395
|
+
|
396
|
+
describe 'test attribute "energy"' do
|
397
|
+
it 'should work' do
|
398
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
399
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very quiet", "quiet", "moderate", "loud", "very loud", "dynamic"])
|
400
|
+
# validator.allowable_values.each do |value|
|
401
|
+
# expect { instance.energy = value }.not_to raise_error
|
402
|
+
# end
|
403
|
+
end
|
404
|
+
end
|
405
|
+
|
406
|
+
describe 'test attribute "engagement"' do
|
407
|
+
it 'should work' do
|
408
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
409
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very unengaging", "unengaging", "neutral engagement", "engaging", "very engaging", "varying engagement"])
|
410
|
+
# validator.allowable_values.each do |value|
|
411
|
+
# expect { instance.engagement = value }.not_to raise_error
|
412
|
+
# end
|
413
|
+
end
|
414
|
+
end
|
415
|
+
|
416
|
+
describe 'test attribute "groovyness"' do
|
417
|
+
it 'should work' do
|
418
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
419
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very steady", "steady", "moderate rhythm feel", "groovy", "very groovy"])
|
420
|
+
# validator.allowable_values.each do |value|
|
421
|
+
# expect { instance.groovyness = value }.not_to raise_error
|
422
|
+
# end
|
423
|
+
end
|
424
|
+
end
|
425
|
+
|
426
|
+
describe 'test attribute "harmony"' do
|
427
|
+
it 'should work' do
|
428
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
429
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very dissonant", "dissonant", "moderate harmonies", "harmonious", "very harmonious"])
|
430
|
+
# validator.allowable_values.each do |value|
|
431
|
+
# expect { instance.harmony = value }.not_to raise_error
|
432
|
+
# end
|
433
|
+
end
|
434
|
+
end
|
435
|
+
|
436
|
+
describe 'test attribute "pleasantness"' do
|
437
|
+
it 'should work' do
|
438
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
439
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very unpleasant", "unpleasant", "neutral pleasantness", "pleasant", "very pleasant", "varying pleasantness"])
|
440
|
+
# validator.allowable_values.each do |value|
|
441
|
+
# expect { instance.pleasantness = value }.not_to raise_error
|
442
|
+
# end
|
443
|
+
end
|
444
|
+
end
|
445
|
+
|
446
|
+
describe 'test attribute "primary_mood_cluster"' do
|
447
|
+
it 'should work' do
|
448
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
449
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
450
|
+
# validator.allowable_values.each do |value|
|
451
|
+
# expect { instance.primary_mood_cluster = value }.not_to raise_error
|
452
|
+
# end
|
453
|
+
end
|
454
|
+
end
|
455
|
+
|
456
|
+
describe 'test attribute "primary_sound_character"' do
|
457
|
+
it 'should work' do
|
458
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
459
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["brassy", "bright", "clear", "deep", "distorted", "flat", "full", "groovy", "melodious", "natural", "resonant", "shrill", "steady", "thin", "warm"])
|
460
|
+
# validator.allowable_values.each do |value|
|
461
|
+
# expect { instance.primary_sound_character = value }.not_to raise_error
|
462
|
+
# end
|
463
|
+
end
|
464
|
+
end
|
465
|
+
|
466
|
+
describe 'test attribute "rhythm"' do
|
467
|
+
it 'should work' do
|
468
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
469
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["common time", "triple meter", "complex time signature", "binary rhythm", "ternary rhythm"])
|
470
|
+
# validator.allowable_values.each do |value|
|
471
|
+
# expect { instance.rhythm = value }.not_to raise_error
|
472
|
+
# end
|
473
|
+
end
|
474
|
+
end
|
475
|
+
|
476
|
+
describe 'test attribute "roughness"' do
|
477
|
+
it 'should work' do
|
478
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
479
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very clear", "clear", "moderate roughness", "distorted", "very distorted"])
|
480
|
+
# validator.allowable_values.each do |value|
|
481
|
+
# expect { instance.roughness = value }.not_to raise_error
|
482
|
+
# end
|
483
|
+
end
|
484
|
+
end
|
485
|
+
|
486
|
+
describe 'test attribute "scale"' do
|
487
|
+
it 'should work' do
|
488
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
489
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["major key", "minor key", "neutral key"])
|
490
|
+
# validator.allowable_values.each do |value|
|
491
|
+
# expect { instance.scale = value }.not_to raise_error
|
492
|
+
# end
|
493
|
+
end
|
494
|
+
end
|
495
|
+
|
496
|
+
describe 'test attribute "sound_generation"' do
|
497
|
+
it 'should work' do
|
498
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
499
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["acoustic", "electric", "electronic", "mixed sound generation"])
|
500
|
+
# validator.allowable_values.each do |value|
|
501
|
+
# expect { instance.sound_generation = value }.not_to raise_error
|
502
|
+
# end
|
503
|
+
end
|
504
|
+
end
|
505
|
+
|
506
|
+
describe 'test attribute "tempo"' do
|
507
|
+
it 'should work' do
|
508
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
509
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very slow", "slow", "mid-tempo", "fast", "very fast", "varying tempo"])
|
510
|
+
# validator.allowable_values.each do |value|
|
511
|
+
# expect { instance.tempo = value }.not_to raise_error
|
512
|
+
# end
|
513
|
+
end
|
514
|
+
end
|
515
|
+
|
516
|
+
describe 'test attribute "texture"' do
|
517
|
+
it 'should work' do
|
518
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
519
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very thin", "thin", "moderate texture", "full", "very full"])
|
520
|
+
# validator.allowable_values.each do |value|
|
521
|
+
# expect { instance.texture = value }.not_to raise_error
|
522
|
+
# end
|
523
|
+
end
|
524
|
+
end
|
525
|
+
|
526
|
+
describe 'test attribute "timbre"' do
|
527
|
+
it 'should work' do
|
528
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
529
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very warm", "warm", "moderate timbre", "bright", "very bright"])
|
530
|
+
# validator.allowable_values.each do |value|
|
531
|
+
# expect { instance.timbre = value }.not_to raise_error
|
532
|
+
# end
|
533
|
+
end
|
534
|
+
end
|
535
|
+
|
536
|
+
describe 'test attribute "tonality"' do
|
537
|
+
it 'should work' do
|
538
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
539
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["monotonous", "moderate melodiousness", "melodious", "atonal"])
|
540
|
+
# validator.allowable_values.each do |value|
|
541
|
+
# expect { instance.tonality = value }.not_to raise_error
|
542
|
+
# end
|
543
|
+
end
|
544
|
+
end
|
545
|
+
|
546
|
+
describe 'test attribute "valence"' do
|
547
|
+
it 'should work' do
|
548
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
549
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very sad", "sad", "moderate valence", "positive", "very positive", "varying valence"])
|
550
|
+
# validator.allowable_values.each do |value|
|
551
|
+
# expect { instance.valence = value }.not_to raise_error
|
552
|
+
# end
|
553
|
+
end
|
554
|
+
end
|
555
|
+
|
556
|
+
describe 'test attribute "vocals"' do
|
557
|
+
it 'should work' do
|
558
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
559
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["instrumental", "female vocals", "male vocals", "mixed vocals", "diverse gender vocals"])
|
560
|
+
# validator.allowable_values.each do |value|
|
561
|
+
# expect { instance.vocals = value }.not_to raise_error
|
562
|
+
# end
|
563
|
+
end
|
564
|
+
end
|
565
|
+
|
566
|
+
describe 'test attribute "origin_decade"' do
|
567
|
+
it 'should work' do
|
568
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
569
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["pre-1950s", "1950s", "1960s", "1970s", "1980s", "1990s", "2000s", "2010s", "2020s"])
|
570
|
+
# validator.allowable_values.each do |value|
|
571
|
+
# expect { instance.origin_decade = value }.not_to raise_error
|
572
|
+
# end
|
573
|
+
end
|
574
|
+
end
|
575
|
+
|
576
|
+
describe 'test attribute "curateability"' do
|
577
|
+
it 'should work' do
|
578
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
579
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["curateable", "uncurateable"])
|
580
|
+
# validator.allowable_values.each do |value|
|
581
|
+
# expect { instance.curateability = value }.not_to raise_error
|
582
|
+
# end
|
583
|
+
end
|
584
|
+
end
|
585
|
+
|
586
|
+
describe 'test attribute "use_case"' do
|
587
|
+
it 'should work' do
|
588
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
589
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax"])
|
590
|
+
# validator.allowable_values.each do |value|
|
591
|
+
# expect { instance.use_case = value }.not_to raise_error
|
592
|
+
# end
|
593
|
+
end
|
594
|
+
end
|
595
|
+
|
596
|
+
describe 'test attribute "channel_suitability"' do
|
597
|
+
it 'should work' do
|
598
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
599
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Spotify", "TikTok", "Unfitting", "YouTube"])
|
600
|
+
# validator.allowable_values.each do |value|
|
601
|
+
# expect { instance.channel_suitability = value }.not_to raise_error
|
602
|
+
# end
|
603
|
+
end
|
604
|
+
end
|
605
|
+
|
606
|
+
describe 'test attribute "pleasantness_affinity"' do
|
607
|
+
it 'should work' do
|
608
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
609
|
+
end
|
610
|
+
end
|
611
|
+
|
612
|
+
describe 'test attribute "engagement_affinity"' do
|
613
|
+
it 'should work' do
|
614
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
615
|
+
end
|
616
|
+
end
|
617
|
+
|
618
|
+
describe 'test attribute "energy_affinity"' do
|
619
|
+
it 'should work' do
|
620
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
621
|
+
end
|
622
|
+
end
|
623
|
+
|
624
|
+
describe 'test attribute "tempo_affinity"' do
|
625
|
+
it 'should work' do
|
626
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
627
|
+
end
|
628
|
+
end
|
629
|
+
|
630
|
+
describe 'test attribute "scale_affinity"' do
|
631
|
+
it 'should work' do
|
632
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
633
|
+
end
|
634
|
+
end
|
635
|
+
|
636
|
+
describe 'test attribute "timbre_affinity"' do
|
637
|
+
it 'should work' do
|
638
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
639
|
+
end
|
640
|
+
end
|
641
|
+
|
642
|
+
describe 'test attribute "roughness_affinity"' do
|
643
|
+
it 'should work' do
|
644
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
645
|
+
end
|
646
|
+
end
|
647
|
+
|
648
|
+
describe 'test attribute "harmony_affinity"' do
|
649
|
+
it 'should work' do
|
650
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
651
|
+
end
|
652
|
+
end
|
653
|
+
|
654
|
+
describe 'test attribute "texture_affinity"' do
|
655
|
+
it 'should work' do
|
656
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
657
|
+
end
|
658
|
+
end
|
659
|
+
|
660
|
+
describe 'test attribute "groovyness_affinity"' do
|
661
|
+
it 'should work' do
|
662
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
663
|
+
end
|
664
|
+
end
|
665
|
+
|
666
|
+
describe 'test attribute "space_affinity"' do
|
667
|
+
it 'should work' do
|
668
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
669
|
+
end
|
670
|
+
end
|
671
|
+
|
672
|
+
describe 'test attribute "key_affinity"' do
|
673
|
+
it 'should work' do
|
674
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
675
|
+
end
|
676
|
+
end
|
677
|
+
|
678
|
+
describe 'test attribute "channel_suitability_affinity"' do
|
679
|
+
it 'should work' do
|
680
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
681
|
+
end
|
682
|
+
end
|
683
|
+
|
684
|
+
describe 'test attribute "key"' do
|
685
|
+
it 'should work' do
|
686
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
687
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B", "unclear"])
|
688
|
+
# validator.allowable_values.each do |value|
|
689
|
+
# expect { instance.key = value }.not_to raise_error
|
690
|
+
# end
|
691
|
+
end
|
692
|
+
end
|
693
|
+
|
694
|
+
describe 'test attribute "valence_affinity"' do
|
695
|
+
it 'should work' do
|
696
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
697
|
+
end
|
698
|
+
end
|
699
|
+
|
700
|
+
describe 'test attribute "arousal_affinity"' do
|
701
|
+
it 'should work' do
|
702
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
703
|
+
end
|
704
|
+
end
|
705
|
+
|
706
|
+
end
|