songtradr_api_client_ruby 1.12.23 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +6 -5
- data/docs/AllowedValuesApi.md +2 -2
- data/docs/ApiKeyDTO.md +2 -2
- data/docs/CategoryMediumDTO.md +3 -3
- data/docs/FileSmallDTO.md +3 -3
- data/docs/MusicalFeaturesDTO.md +38 -38
- data/docs/PlaylistLargeDTO.md +2 -2
- data/docs/ProductMediumDTO.md +4 -4
- data/docs/RecordingApi.md +6 -0
- data/docs/RecordingLargeDTO.md +5 -5
- data/docs/RecordingMediumDTO.md +5 -3
- data/docs/RecordingMinimalWithMusicalFeaturesDTO.md +3 -3
- data/docs/RecordingSmallDTO.md +3 -3
- data/docs/TrackDTO.md +18 -0
- data/docs/UserApi.md +4 -0
- data/docs/UserDTO.md +18 -0
- data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +4 -4
- data/lib/songtradr_api_client_ruby/api/api_keys_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/party_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/playlist_api.rb +1 -1
- data/lib/songtradr_api_client_ruby/api/recording_api.rb +10 -1
- data/lib/songtradr_api_client_ruby/api/user_api.rb +7 -1
- data/lib/songtradr_api_client_ruby/api_client.rb +1 -1
- data/lib/songtradr_api_client_ruby/api_error.rb +1 -1
- data/lib/songtradr_api_client_ruby/configuration.rb +10 -8
- data/lib/songtradr_api_client_ruby/models/admin_api_user_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/api_key_dto.rb +29 -28
- data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +30 -31
- data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/create_api_key_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/error_response.rb +19 -18
- data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +19 -18
- data/lib/songtradr_api_client_ruby/models/file_dto.rb +23 -18
- data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +21 -18
- data/lib/songtradr_api_client_ruby/models/file_minimal_with_url_dto.rb +19 -18
- data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +41 -36
- data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/genre_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/login_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +354 -359
- data/lib/songtradr_api_client_ruby/models/p_line_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/party_large_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/playlist_large_dto.rb +25 -28
- data/lib/songtradr_api_client_ruby/models/product_medium_dto.rb +46 -39
- data/lib/songtradr_api_client_ruby/models/product_party_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +19 -18
- data/lib/songtradr_api_client_ruby/models/recording_large_dto.rb +57 -40
- data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +21 -18
- data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +55 -31
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +28 -31
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/recording_playlist_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +36 -31
- data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/save_file_recording_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/save_playlist_dto.rb +21 -18
- data/lib/songtradr_api_client_ruby/models/save_recording_genre_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/save_recording_party_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/save_recording_playlist_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/save_recording_tag_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/save_referrer_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/save_taggrams_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +95 -18
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_abstraction_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +19 -18
- data/lib/songtradr_api_client_ruby/models/tag_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/title_dto.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/token_request.rb +15 -18
- data/lib/songtradr_api_client_ruby/models/track_dto.rb +215 -0
- data/lib/songtradr_api_client_ruby/models/track_to_medium_product_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +17 -18
- data/lib/songtradr_api_client_ruby/models/usage_dto.rb +13 -18
- data/lib/songtradr_api_client_ruby/models/user_dto.rb +196 -19
- data/lib/songtradr_api_client_ruby/version.rb +2 -2
- data/lib/songtradr_api_client_ruby.rb +2 -1
- data/openapi-generator-config.yaml +1 -1
- data/songtradr_api_client_ruby.gemspec +1 -1
- data/spec/api/allowed_values_api_spec.rb +2 -2
- data/spec/api/api_keys_api_spec.rb +1 -1
- data/spec/api/party_api_spec.rb +1 -1
- data/spec/api/playlist_api_spec.rb +1 -1
- data/spec/api/recording_api_spec.rb +4 -1
- data/spec/api/user_api_spec.rb +3 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/admin_api_user_dto_spec.rb +1 -1
- data/spec/models/api_key_dto_spec.rb +3 -3
- data/spec/models/category_medium_dto_spec.rb +3 -3
- data/spec/models/category_minimal_dto_spec.rb +1 -1
- data/spec/models/config_access_dto_spec.rb +1 -1
- data/spec/models/config_identifier_dto_spec.rb +1 -1
- data/spec/models/contributor_type_dto_spec.rb +1 -1
- data/spec/models/create_api_key_dto_spec.rb +1 -1
- data/spec/models/error_response_spec.rb +1 -1
- data/spec/models/field_summary_dto_spec.rb +1 -1
- data/spec/models/file_dto_spec.rb +1 -1
- data/spec/models/file_list_dto_spec.rb +1 -1
- data/spec/models/file_minimal_with_url_dto_spec.rb +1 -1
- data/spec/models/file_small_dto_spec.rb +7 -7
- data/spec/models/file_upload_dto_spec.rb +1 -1
- data/spec/models/file_w_ith_url_dto_spec.rb +1 -1
- data/spec/models/files_summary_dto_spec.rb +1 -1
- data/spec/models/forgot_password_dto_spec.rb +1 -1
- data/spec/models/genre_dto_spec.rb +1 -1
- data/spec/models/genre_minimal_dto_spec.rb +1 -1
- data/spec/models/genres_summary_dto_spec.rb +1 -1
- data/spec/models/init_put_recording_audio_dto_spec.rb +1 -1
- data/spec/models/jwt_token_dto_spec.rb +1 -1
- data/spec/models/login_dto_spec.rb +1 -1
- data/spec/models/musical_features_dto_spec.rb +163 -163
- data/spec/models/p_line_dto_spec.rb +1 -1
- data/spec/models/party_large_dto_spec.rb +1 -1
- data/spec/models/party_small_dto_spec.rb +1 -1
- data/spec/models/playlist_large_dto_spec.rb +4 -4
- data/spec/models/product_medium_dto_spec.rb +7 -7
- data/spec/models/product_party_dto_spec.rb +1 -1
- data/spec/models/recording_for_similarity_search_dto_spec.rb +1 -1
- data/spec/models/recording_genre_prediction_dto_spec.rb +1 -1
- data/spec/models/recording_large_dto_spec.rb +9 -9
- data/spec/models/recording_list_dto_spec.rb +1 -1
- data/spec/models/recording_medium_dto_spec.rb +10 -4
- data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +3 -3
- data/spec/models/recording_minimal_with_taggrams_dto_spec.rb +1 -1
- data/spec/models/recording_minimal_with_tagstrengths_dto_spec.rb +1 -1
- data/spec/models/recording_party_dto_spec.rb +1 -1
- data/spec/models/recording_playlist_dto_spec.rb +1 -1
- data/spec/models/recording_small_dto_spec.rb +4 -4
- data/spec/models/recording_tag_small_dto_spec.rb +1 -1
- data/spec/models/save_file_recording_dto_spec.rb +1 -1
- data/spec/models/save_playlist_dto_spec.rb +1 -1
- data/spec/models/save_recording_genre_dto_spec.rb +1 -1
- data/spec/models/save_recording_party_dto_spec.rb +1 -1
- data/spec/models/save_recording_playlist_dto_spec.rb +1 -1
- data/spec/models/save_recording_tag_dto_spec.rb +1 -1
- data/spec/models/save_referrer_dto_spec.rb +1 -1
- data/spec/models/save_taggrams_dto_spec.rb +1 -1
- data/spec/models/save_user_dto_spec.rb +1 -1
- data/spec/models/search_filter_values_dto_spec.rb +1 -1
- data/spec/models/search_recording_granular_abstraction_dto_spec.rb +1 -1
- data/spec/models/search_recording_granular_dto_spec.rb +1 -1
- data/spec/models/sign_up_dto_spec.rb +1 -1
- data/spec/models/tag_dto_spec.rb +1 -1
- data/spec/models/tag_small_dto_spec.rb +1 -1
- data/spec/models/taggram_dto_spec.rb +1 -1
- data/spec/models/tags_summary_dto_spec.rb +1 -1
- data/spec/models/tagstrength_dto_spec.rb +1 -1
- data/spec/models/title_dto_spec.rb +1 -1
- data/spec/models/token_request_spec.rb +1 -1
- data/spec/models/track_dto_spec.rb +34 -0
- data/spec/models/track_to_medium_product_dto_spec.rb +1 -1
- data/spec/models/update_password_dto_spec.rb +1 -1
- data/spec/models/usage_dto_spec.rb +1 -1
- data/spec/models/user_dto_spec.rb +55 -1
- data/spec/spec_helper.rb +1 -1
- metadata +62 -58
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 1.
|
|
6
|
+
The version of the OpenAPI document: 1.13.0
|
|
7
7
|
Contact: info@songtradr.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 7.0.0-SNAPSHOT
|
|
@@ -45,560 +45,560 @@ describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
-
describe 'test attribute "
|
|
48
|
+
describe 'test attribute "arousal"' do
|
|
49
49
|
it 'should work' do
|
|
50
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
51
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
|
|
52
52
|
# validator.allowable_values.each do |value|
|
|
53
|
-
# expect { instance.
|
|
53
|
+
# expect { instance.arousal = value }.not_to raise_error
|
|
54
54
|
# end
|
|
55
55
|
end
|
|
56
56
|
end
|
|
57
57
|
|
|
58
|
-
describe 'test attribute "
|
|
58
|
+
describe 'test attribute "dominant_instrument"' do
|
|
59
59
|
it 'should work' do
|
|
60
60
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
61
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
61
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["electric guitar", "piano", "electronics", "guitar", "strings", "synthesizer", "wind", "saxophone", "flute", "trumpet", "drum kit", "keys", "accordion", "violin", "harpsichord", "choir", "cello", "electric bass", "organ", "brass", "percussion", "vocals", "double bass", "harp"])
|
|
62
62
|
# validator.allowable_values.each do |value|
|
|
63
|
-
# expect { instance.
|
|
63
|
+
# expect { instance.dominant_instrument = value }.not_to raise_error
|
|
64
64
|
# end
|
|
65
65
|
end
|
|
66
66
|
end
|
|
67
67
|
|
|
68
|
-
describe 'test attribute "
|
|
68
|
+
describe 'test attribute "energy"' do
|
|
69
69
|
it 'should work' do
|
|
70
70
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
71
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
71
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very quiet", "quiet", "moderate", "loud", "very loud", "dynamic"])
|
|
72
72
|
# validator.allowable_values.each do |value|
|
|
73
|
-
# expect { instance.
|
|
73
|
+
# expect { instance.energy = value }.not_to raise_error
|
|
74
74
|
# end
|
|
75
75
|
end
|
|
76
76
|
end
|
|
77
77
|
|
|
78
|
-
describe 'test attribute "
|
|
78
|
+
describe 'test attribute "engagement"' do
|
|
79
79
|
it 'should work' do
|
|
80
80
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
81
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very unengaging", "unengaging", "neutral engagement", "engaging", "very engaging", "varying engagement"])
|
|
82
82
|
# validator.allowable_values.each do |value|
|
|
83
|
-
# expect { instance.
|
|
83
|
+
# expect { instance.engagement = value }.not_to raise_error
|
|
84
84
|
# end
|
|
85
85
|
end
|
|
86
86
|
end
|
|
87
87
|
|
|
88
|
-
describe 'test attribute "
|
|
88
|
+
describe 'test attribute "groovyness"' do
|
|
89
89
|
it 'should work' do
|
|
90
90
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
91
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very
|
|
91
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very steady", "steady", "moderate rhythm feel", "groovy", "very groovy"])
|
|
92
92
|
# validator.allowable_values.each do |value|
|
|
93
|
-
# expect { instance.
|
|
93
|
+
# expect { instance.groovyness = value }.not_to raise_error
|
|
94
94
|
# end
|
|
95
95
|
end
|
|
96
96
|
end
|
|
97
97
|
|
|
98
|
-
describe 'test attribute "
|
|
98
|
+
describe 'test attribute "harmony"' do
|
|
99
99
|
it 'should work' do
|
|
100
100
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
101
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very
|
|
101
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very dissonant", "dissonant", "moderate harmonies", "harmonious", "very harmonious"])
|
|
102
102
|
# validator.allowable_values.each do |value|
|
|
103
|
-
# expect { instance.
|
|
103
|
+
# expect { instance.harmony = value }.not_to raise_error
|
|
104
104
|
# end
|
|
105
105
|
end
|
|
106
106
|
end
|
|
107
107
|
|
|
108
|
-
describe 'test attribute "
|
|
108
|
+
describe 'test attribute "pleasantness"' do
|
|
109
109
|
it 'should work' do
|
|
110
110
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
111
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very
|
|
111
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very unpleasant", "unpleasant", "neutral pleasantness", "pleasant", "very pleasant", "varying pleasantness"])
|
|
112
112
|
# validator.allowable_values.each do |value|
|
|
113
|
-
# expect { instance.
|
|
113
|
+
# expect { instance.pleasantness = value }.not_to raise_error
|
|
114
114
|
# end
|
|
115
115
|
end
|
|
116
116
|
end
|
|
117
117
|
|
|
118
|
-
describe 'test attribute "
|
|
118
|
+
describe 'test attribute "primary_mood_cluster"' do
|
|
119
119
|
it 'should work' do
|
|
120
120
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
121
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
121
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
|
122
122
|
# validator.allowable_values.each do |value|
|
|
123
|
-
# expect { instance.
|
|
123
|
+
# expect { instance.primary_mood_cluster = value }.not_to raise_error
|
|
124
124
|
# end
|
|
125
125
|
end
|
|
126
126
|
end
|
|
127
127
|
|
|
128
|
-
describe 'test attribute "
|
|
128
|
+
describe 'test attribute "primary_sound_character"' do
|
|
129
129
|
it 'should work' do
|
|
130
130
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
131
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
131
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["brassy", "bright", "clear", "deep", "distorted", "flat", "full", "groovy", "melodious", "natural", "resonant", "shrill", "steady", "thin", "warm"])
|
|
132
132
|
# validator.allowable_values.each do |value|
|
|
133
|
-
# expect { instance.
|
|
133
|
+
# expect { instance.primary_sound_character = value }.not_to raise_error
|
|
134
134
|
# end
|
|
135
135
|
end
|
|
136
136
|
end
|
|
137
137
|
|
|
138
|
-
describe 'test attribute "
|
|
138
|
+
describe 'test attribute "rhythm"' do
|
|
139
139
|
it 'should work' do
|
|
140
140
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
141
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
141
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["common time", "triple meter", "complex time signature", "binary rhythm", "ternary rhythm"])
|
|
142
142
|
# validator.allowable_values.each do |value|
|
|
143
|
-
# expect { instance.
|
|
143
|
+
# expect { instance.rhythm = value }.not_to raise_error
|
|
144
144
|
# end
|
|
145
145
|
end
|
|
146
146
|
end
|
|
147
147
|
|
|
148
|
-
describe 'test attribute "
|
|
148
|
+
describe 'test attribute "roughness"' do
|
|
149
149
|
it 'should work' do
|
|
150
150
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
151
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
151
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very clear", "clear", "moderate roughness", "distorted", "very distorted"])
|
|
152
152
|
# validator.allowable_values.each do |value|
|
|
153
|
-
# expect { instance.
|
|
153
|
+
# expect { instance.roughness = value }.not_to raise_error
|
|
154
154
|
# end
|
|
155
155
|
end
|
|
156
156
|
end
|
|
157
157
|
|
|
158
|
-
describe 'test attribute "
|
|
158
|
+
describe 'test attribute "scale"' do
|
|
159
159
|
it 'should work' do
|
|
160
160
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
161
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
161
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["major key", "minor key", "neutral key"])
|
|
162
162
|
# validator.allowable_values.each do |value|
|
|
163
|
-
# expect { instance.
|
|
163
|
+
# expect { instance.scale = value }.not_to raise_error
|
|
164
164
|
# end
|
|
165
165
|
end
|
|
166
166
|
end
|
|
167
167
|
|
|
168
|
-
describe 'test attribute "
|
|
168
|
+
describe 'test attribute "sound_generation"' do
|
|
169
169
|
it 'should work' do
|
|
170
170
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
171
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
171
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["acoustic", "electric", "electronic", "mixed sound generation"])
|
|
172
172
|
# validator.allowable_values.each do |value|
|
|
173
|
-
# expect { instance.
|
|
173
|
+
# expect { instance.sound_generation = value }.not_to raise_error
|
|
174
174
|
# end
|
|
175
175
|
end
|
|
176
176
|
end
|
|
177
177
|
|
|
178
|
-
describe 'test attribute "
|
|
178
|
+
describe 'test attribute "tempo"' do
|
|
179
179
|
it 'should work' do
|
|
180
180
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
181
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
181
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very slow", "slow", "mid-tempo", "fast", "very fast", "varying tempo"])
|
|
182
182
|
# validator.allowable_values.each do |value|
|
|
183
|
-
# expect { instance.
|
|
183
|
+
# expect { instance.tempo = value }.not_to raise_error
|
|
184
184
|
# end
|
|
185
185
|
end
|
|
186
186
|
end
|
|
187
187
|
|
|
188
|
-
describe 'test attribute "
|
|
188
|
+
describe 'test attribute "texture"' do
|
|
189
189
|
it 'should work' do
|
|
190
190
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
191
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very thin", "thin", "moderate texture", "full", "very full"])
|
|
192
|
+
# validator.allowable_values.each do |value|
|
|
193
|
+
# expect { instance.texture = value }.not_to raise_error
|
|
194
|
+
# end
|
|
191
195
|
end
|
|
192
196
|
end
|
|
193
197
|
|
|
194
|
-
describe 'test attribute "
|
|
198
|
+
describe 'test attribute "timbre"' do
|
|
195
199
|
it 'should work' do
|
|
196
200
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
201
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very warm", "warm", "moderate timbre", "bright", "very bright"])
|
|
202
|
+
# validator.allowable_values.each do |value|
|
|
203
|
+
# expect { instance.timbre = value }.not_to raise_error
|
|
204
|
+
# end
|
|
197
205
|
end
|
|
198
206
|
end
|
|
199
207
|
|
|
200
|
-
describe 'test attribute "
|
|
208
|
+
describe 'test attribute "tonality"' do
|
|
201
209
|
it 'should work' do
|
|
202
210
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
211
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["monotonous", "moderate melodiousness", "melodious", "atonal"])
|
|
212
|
+
# validator.allowable_values.each do |value|
|
|
213
|
+
# expect { instance.tonality = value }.not_to raise_error
|
|
214
|
+
# end
|
|
203
215
|
end
|
|
204
216
|
end
|
|
205
217
|
|
|
206
|
-
describe 'test attribute "
|
|
218
|
+
describe 'test attribute "valence"' do
|
|
207
219
|
it 'should work' do
|
|
208
220
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
221
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very sad", "sad", "moderate valence", "positive", "very positive", "varying valence"])
|
|
222
|
+
# validator.allowable_values.each do |value|
|
|
223
|
+
# expect { instance.valence = value }.not_to raise_error
|
|
224
|
+
# end
|
|
209
225
|
end
|
|
210
226
|
end
|
|
211
227
|
|
|
212
|
-
describe 'test attribute "
|
|
228
|
+
describe 'test attribute "vocals"' do
|
|
213
229
|
it 'should work' do
|
|
214
230
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
231
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["instrumental", "female vocals", "male vocals", "mixed vocals", "diverse gender vocals"])
|
|
232
|
+
# validator.allowable_values.each do |value|
|
|
233
|
+
# expect { instance.vocals = value }.not_to raise_error
|
|
234
|
+
# end
|
|
215
235
|
end
|
|
216
236
|
end
|
|
217
237
|
|
|
218
|
-
describe 'test attribute "
|
|
238
|
+
describe 'test attribute "origin_decade"' do
|
|
219
239
|
it 'should work' do
|
|
220
240
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
241
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["pre-1950s", "1950s", "1960s", "1970s", "1980s", "1990s", "2000s", "2010s", "2020s"])
|
|
242
|
+
# validator.allowable_values.each do |value|
|
|
243
|
+
# expect { instance.origin_decade = value }.not_to raise_error
|
|
244
|
+
# end
|
|
221
245
|
end
|
|
222
246
|
end
|
|
223
247
|
|
|
224
|
-
describe 'test attribute "
|
|
248
|
+
describe 'test attribute "curateability"' do
|
|
225
249
|
it 'should work' do
|
|
226
250
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
227
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
251
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["curateable", "uncurateable"])
|
|
228
252
|
# validator.allowable_values.each do |value|
|
|
229
|
-
# expect { instance.
|
|
253
|
+
# expect { instance.curateability = value }.not_to raise_error
|
|
230
254
|
# end
|
|
231
255
|
end
|
|
232
256
|
end
|
|
233
257
|
|
|
234
|
-
describe 'test attribute "
|
|
258
|
+
describe 'test attribute "use_case"' do
|
|
235
259
|
it 'should work' do
|
|
236
260
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
261
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax"])
|
|
262
|
+
# validator.allowable_values.each do |value|
|
|
263
|
+
# expect { instance.use_case = value }.not_to raise_error
|
|
264
|
+
# end
|
|
237
265
|
end
|
|
238
266
|
end
|
|
239
267
|
|
|
240
|
-
describe 'test attribute "
|
|
268
|
+
describe 'test attribute "channel_suitability"' do
|
|
241
269
|
it 'should work' do
|
|
242
270
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
243
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
271
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Spotify", "TikTok", "Unfitting", "YouTube"])
|
|
244
272
|
# validator.allowable_values.each do |value|
|
|
245
|
-
# expect { instance.
|
|
273
|
+
# expect { instance.channel_suitability = value }.not_to raise_error
|
|
246
274
|
# end
|
|
247
275
|
end
|
|
248
276
|
end
|
|
249
277
|
|
|
250
|
-
describe 'test attribute "
|
|
278
|
+
describe 'test attribute "primary_mood_cluster_affinity"' do
|
|
251
279
|
it 'should work' do
|
|
252
280
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
253
281
|
end
|
|
254
282
|
end
|
|
255
283
|
|
|
256
|
-
describe 'test attribute "
|
|
284
|
+
describe 'test attribute "secondary_mood_cluster"' do
|
|
257
285
|
it 'should work' do
|
|
258
286
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
259
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
287
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
|
260
288
|
# validator.allowable_values.each do |value|
|
|
261
|
-
# expect { instance.
|
|
289
|
+
# expect { instance.secondary_mood_cluster = value }.not_to raise_error
|
|
262
290
|
# end
|
|
263
291
|
end
|
|
264
292
|
end
|
|
265
293
|
|
|
266
|
-
describe 'test attribute "
|
|
294
|
+
describe 'test attribute "secondary_mood_cluster_affinity"' do
|
|
267
295
|
it 'should work' do
|
|
268
296
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
269
297
|
end
|
|
270
298
|
end
|
|
271
299
|
|
|
272
|
-
describe 'test attribute "
|
|
300
|
+
describe 'test attribute "tertiary_mood_cluster"' do
|
|
273
301
|
it 'should work' do
|
|
274
302
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
275
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
303
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
|
276
304
|
# validator.allowable_values.each do |value|
|
|
277
|
-
# expect { instance.
|
|
305
|
+
# expect { instance.tertiary_mood_cluster = value }.not_to raise_error
|
|
278
306
|
# end
|
|
279
307
|
end
|
|
280
308
|
end
|
|
281
309
|
|
|
282
|
-
describe 'test attribute "
|
|
310
|
+
describe 'test attribute "tertiary_mood_cluster_affinity"' do
|
|
283
311
|
it 'should work' do
|
|
284
312
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
285
313
|
end
|
|
286
314
|
end
|
|
287
315
|
|
|
288
|
-
describe 'test attribute "
|
|
316
|
+
describe 'test attribute "vocals_affinity"' do
|
|
289
317
|
it 'should work' do
|
|
290
318
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
291
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
|
|
292
|
-
# validator.allowable_values.each do |value|
|
|
293
|
-
# expect { instance.secondary_audience_age = value }.not_to raise_error
|
|
294
|
-
# end
|
|
295
319
|
end
|
|
296
320
|
end
|
|
297
321
|
|
|
298
|
-
describe 'test attribute "
|
|
322
|
+
describe 'test attribute "dominant_instrument_affinity"' do
|
|
299
323
|
it 'should work' do
|
|
300
324
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
301
325
|
end
|
|
302
326
|
end
|
|
303
327
|
|
|
304
|
-
describe 'test attribute "
|
|
328
|
+
describe 'test attribute "secondary_instrument"' do
|
|
305
329
|
it 'should work' do
|
|
306
330
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
307
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
331
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["electric guitar", "piano", "electronics", "guitar", "strings", "synthesizer", "wind", "saxophone", "flute", "trumpet", "drum kit", "keys", "accordion", "violin", "harpsichord", "choir", "cello", "electric bass", "organ", "brass", "percussion", "vocals", "double bass", "harp"])
|
|
308
332
|
# validator.allowable_values.each do |value|
|
|
309
|
-
# expect { instance.
|
|
333
|
+
# expect { instance.secondary_instrument = value }.not_to raise_error
|
|
310
334
|
# end
|
|
311
335
|
end
|
|
312
336
|
end
|
|
313
337
|
|
|
314
|
-
describe 'test attribute "
|
|
338
|
+
describe 'test attribute "secondary_instrument_affinity"' do
|
|
315
339
|
it 'should work' do
|
|
316
340
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
317
341
|
end
|
|
318
342
|
end
|
|
319
343
|
|
|
320
|
-
describe 'test attribute "
|
|
344
|
+
describe 'test attribute "tertiary_instrument"' do
|
|
321
345
|
it 'should work' do
|
|
322
346
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
323
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
347
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["electric guitar", "piano", "electronics", "guitar", "strings", "synthesizer", "wind", "saxophone", "flute", "trumpet", "drum kit", "keys", "accordion", "violin", "harpsichord", "choir", "cello", "electric bass", "organ", "brass", "percussion", "vocals", "double bass", "harp"])
|
|
324
348
|
# validator.allowable_values.each do |value|
|
|
325
|
-
# expect { instance.
|
|
349
|
+
# expect { instance.tertiary_instrument = value }.not_to raise_error
|
|
326
350
|
# end
|
|
327
351
|
end
|
|
328
352
|
end
|
|
329
353
|
|
|
330
|
-
describe 'test attribute "
|
|
354
|
+
describe 'test attribute "tertiary_instrument_affinity"' do
|
|
331
355
|
it 'should work' do
|
|
332
356
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
333
357
|
end
|
|
334
358
|
end
|
|
335
359
|
|
|
336
|
-
describe 'test attribute "
|
|
360
|
+
describe 'test attribute "sound_generation_affinity"' do
|
|
337
361
|
it 'should work' do
|
|
338
362
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
339
363
|
end
|
|
340
364
|
end
|
|
341
365
|
|
|
342
|
-
describe 'test attribute "
|
|
366
|
+
describe 'test attribute "rhythm_affinity"' do
|
|
343
367
|
it 'should work' do
|
|
344
368
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
345
|
-
# 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"])
|
|
346
|
-
# validator.allowable_values.each do |value|
|
|
347
|
-
# expect { instance.secondary_audience_region = value }.not_to raise_error
|
|
348
|
-
# end
|
|
349
369
|
end
|
|
350
370
|
end
|
|
351
371
|
|
|
352
|
-
describe 'test attribute "
|
|
372
|
+
describe 'test attribute "primary_sound_character_affinity"' do
|
|
353
373
|
it 'should work' do
|
|
354
374
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
355
375
|
end
|
|
356
376
|
end
|
|
357
377
|
|
|
358
|
-
describe 'test attribute "
|
|
378
|
+
describe 'test attribute "tonality_affinity"' do
|
|
359
379
|
it 'should work' do
|
|
360
380
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
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"])
|
|
362
|
-
# validator.allowable_values.each do |value|
|
|
363
|
-
# expect { instance.tertiary_audience_region = value }.not_to raise_error
|
|
364
|
-
# end
|
|
365
381
|
end
|
|
366
382
|
end
|
|
367
383
|
|
|
368
|
-
describe 'test attribute "
|
|
384
|
+
describe 'test attribute "bpm"' do
|
|
369
385
|
it 'should work' do
|
|
370
386
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
371
387
|
end
|
|
372
388
|
end
|
|
373
389
|
|
|
374
|
-
describe 'test attribute "
|
|
390
|
+
describe 'test attribute "production_rating"' do
|
|
375
391
|
it 'should work' do
|
|
376
392
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
377
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
393
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["low production quality", "medium production quality", "high production quality"])
|
|
378
394
|
# validator.allowable_values.each do |value|
|
|
379
|
-
# expect { instance.
|
|
395
|
+
# expect { instance.production_rating = value }.not_to raise_error
|
|
380
396
|
# end
|
|
381
397
|
end
|
|
382
398
|
end
|
|
383
399
|
|
|
384
|
-
describe 'test attribute "
|
|
400
|
+
describe 'test attribute "production_rating_affinity"' do
|
|
385
401
|
it 'should work' do
|
|
386
402
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
387
403
|
end
|
|
388
404
|
end
|
|
389
405
|
|
|
390
|
-
describe 'test attribute "
|
|
406
|
+
describe 'test attribute "performance_rating"' do
|
|
391
407
|
it 'should work' do
|
|
392
408
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
409
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["low performance quality", "medium performance quality", "high performance quality"])
|
|
410
|
+
# validator.allowable_values.each do |value|
|
|
411
|
+
# expect { instance.performance_rating = value }.not_to raise_error
|
|
412
|
+
# end
|
|
393
413
|
end
|
|
394
414
|
end
|
|
395
415
|
|
|
396
|
-
describe 'test attribute "
|
|
416
|
+
describe 'test attribute "performance_rating_affinity"' do
|
|
397
417
|
it 'should work' do
|
|
398
418
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
399
419
|
end
|
|
400
420
|
end
|
|
401
421
|
|
|
402
|
-
describe 'test attribute "
|
|
422
|
+
describe 'test attribute "song_rating"' do
|
|
403
423
|
it 'should work' do
|
|
404
424
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
425
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["low song quality", "medium song quality", "high song quality"])
|
|
426
|
+
# validator.allowable_values.each do |value|
|
|
427
|
+
# expect { instance.song_rating = value }.not_to raise_error
|
|
428
|
+
# end
|
|
405
429
|
end
|
|
406
430
|
end
|
|
407
431
|
|
|
408
|
-
describe 'test attribute "
|
|
432
|
+
describe 'test attribute "song_rating_affinity"' do
|
|
409
433
|
it 'should work' do
|
|
410
434
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
411
435
|
end
|
|
412
436
|
end
|
|
413
437
|
|
|
414
|
-
describe 'test attribute "
|
|
438
|
+
describe 'test attribute "audience_age"' do
|
|
415
439
|
it 'should work' do
|
|
416
440
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
417
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
441
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
|
|
418
442
|
# validator.allowable_values.each do |value|
|
|
419
|
-
# expect { instance.
|
|
443
|
+
# expect { instance.audience_age = value }.not_to raise_error
|
|
420
444
|
# end
|
|
421
445
|
end
|
|
422
446
|
end
|
|
423
447
|
|
|
424
|
-
describe 'test attribute "
|
|
448
|
+
describe 'test attribute "audience_age_affinity"' do
|
|
425
449
|
it 'should work' do
|
|
426
450
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
427
|
-
# 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"])
|
|
428
|
-
# validator.allowable_values.each do |value|
|
|
429
|
-
# expect { instance.dominant_instrument = value }.not_to raise_error
|
|
430
|
-
# end
|
|
431
451
|
end
|
|
432
452
|
end
|
|
433
453
|
|
|
434
|
-
describe 'test attribute "
|
|
454
|
+
describe 'test attribute "secondary_audience_age"' do
|
|
435
455
|
it 'should work' do
|
|
436
456
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
437
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
457
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
|
|
438
458
|
# validator.allowable_values.each do |value|
|
|
439
|
-
# expect { instance.
|
|
459
|
+
# expect { instance.secondary_audience_age = value }.not_to raise_error
|
|
440
460
|
# end
|
|
441
461
|
end
|
|
442
462
|
end
|
|
443
463
|
|
|
444
|
-
describe 'test attribute "
|
|
464
|
+
describe 'test attribute "secondary_audience_age_affinity"' do
|
|
445
465
|
it 'should work' do
|
|
446
466
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
447
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very unengaging", "unengaging", "neutral engagement", "engaging", "very engaging", "varying engagement"])
|
|
448
|
-
# validator.allowable_values.each do |value|
|
|
449
|
-
# expect { instance.engagement = value }.not_to raise_error
|
|
450
|
-
# end
|
|
451
467
|
end
|
|
452
468
|
end
|
|
453
469
|
|
|
454
|
-
describe 'test attribute "
|
|
470
|
+
describe 'test attribute "tertiary_audience_age"' do
|
|
455
471
|
it 'should work' do
|
|
456
472
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
457
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
473
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
|
|
458
474
|
# validator.allowable_values.each do |value|
|
|
459
|
-
# expect { instance.
|
|
475
|
+
# expect { instance.tertiary_audience_age = value }.not_to raise_error
|
|
460
476
|
# end
|
|
461
477
|
end
|
|
462
478
|
end
|
|
463
479
|
|
|
464
|
-
describe 'test attribute "
|
|
480
|
+
describe 'test attribute "tertiary_audience_age_affinity"' do
|
|
465
481
|
it 'should work' do
|
|
466
482
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
467
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very dissonant", "dissonant", "moderate harmonies", "harmonious", "very harmonious"])
|
|
468
|
-
# validator.allowable_values.each do |value|
|
|
469
|
-
# expect { instance.harmony = value }.not_to raise_error
|
|
470
|
-
# end
|
|
471
483
|
end
|
|
472
484
|
end
|
|
473
485
|
|
|
474
|
-
describe 'test attribute "
|
|
486
|
+
describe 'test attribute "audience_gender"' do
|
|
475
487
|
it 'should work' do
|
|
476
488
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
477
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
489
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["male", "female"])
|
|
478
490
|
# validator.allowable_values.each do |value|
|
|
479
|
-
# expect { instance.
|
|
491
|
+
# expect { instance.audience_gender = value }.not_to raise_error
|
|
480
492
|
# end
|
|
481
493
|
end
|
|
482
494
|
end
|
|
483
495
|
|
|
484
|
-
describe 'test attribute "
|
|
496
|
+
describe 'test attribute "audience_gender_affinity"' do
|
|
485
497
|
it 'should work' do
|
|
486
498
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
487
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
|
488
|
-
# validator.allowable_values.each do |value|
|
|
489
|
-
# expect { instance.primary_mood_cluster = value }.not_to raise_error
|
|
490
|
-
# end
|
|
491
499
|
end
|
|
492
500
|
end
|
|
493
501
|
|
|
494
|
-
describe 'test attribute "
|
|
502
|
+
describe 'test attribute "audience_region_affinity"' do
|
|
495
503
|
it 'should work' do
|
|
496
504
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
497
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["brassy", "bright", "clear", "deep", "distorted", "flat", "full", "groovy", "melodious", "natural", "resonant", "shrill", "steady", "thin", "warm"])
|
|
498
|
-
# validator.allowable_values.each do |value|
|
|
499
|
-
# expect { instance.primary_sound_character = value }.not_to raise_error
|
|
500
|
-
# end
|
|
501
505
|
end
|
|
502
506
|
end
|
|
503
507
|
|
|
504
|
-
describe 'test attribute "
|
|
508
|
+
describe 'test attribute "secondary_audience_region"' do
|
|
505
509
|
it 'should work' do
|
|
506
510
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
507
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
511
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Australia and New Zealand", "Central America and the Carribean", "Central and Southern Asia", "Eastern Asia", "Eastern Europe", "Northern Africa and Western Asia", "Northern America", "Oceania", "South America", "South-Eastern Asia", "Southern Europe", "Sub-Saharan Africa", "Western and Northern Europe"])
|
|
508
512
|
# validator.allowable_values.each do |value|
|
|
509
|
-
# expect { instance.
|
|
513
|
+
# expect { instance.secondary_audience_region = value }.not_to raise_error
|
|
510
514
|
# end
|
|
511
515
|
end
|
|
512
516
|
end
|
|
513
517
|
|
|
514
|
-
describe 'test attribute "
|
|
518
|
+
describe 'test attribute "secondary_audience_region_affinity"' do
|
|
515
519
|
it 'should work' do
|
|
516
520
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
517
521
|
end
|
|
518
522
|
end
|
|
519
523
|
|
|
520
|
-
describe 'test attribute "
|
|
524
|
+
describe 'test attribute "tertiary_audience_region"' do
|
|
521
525
|
it 'should work' do
|
|
522
526
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
523
527
|
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Australia and New Zealand", "Central America and the Carribean", "Central and Southern Asia", "Eastern Asia", "Eastern Europe", "Northern Africa and Western Asia", "Northern America", "Oceania", "South America", "South-Eastern Asia", "Southern Europe", "Sub-Saharan Africa", "Western and Northern Europe"])
|
|
524
528
|
# validator.allowable_values.each do |value|
|
|
525
|
-
# expect { instance.
|
|
529
|
+
# expect { instance.tertiary_audience_region = value }.not_to raise_error
|
|
526
530
|
# end
|
|
527
531
|
end
|
|
528
532
|
end
|
|
529
533
|
|
|
530
|
-
describe 'test attribute "
|
|
534
|
+
describe 'test attribute "tertiary_audience_region_affinity"' do
|
|
531
535
|
it 'should work' do
|
|
532
536
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
533
537
|
end
|
|
534
538
|
end
|
|
535
539
|
|
|
536
|
-
describe 'test attribute "
|
|
540
|
+
describe 'test attribute "origin_region"' do
|
|
537
541
|
it 'should work' do
|
|
538
542
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
539
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
543
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Australia and New Zealand", "Central America and the Carribean", "Central and Southern Asia", "Eastern Asia", "Eastern Europe", "Northern Africa and Western Asia", "Northern America", "Oceania", "South America", "South-Eastern Asia", "Southern Europe", "Sub-Saharan Africa", "Western and Northern Europe"])
|
|
540
544
|
# validator.allowable_values.each do |value|
|
|
541
|
-
# expect { instance.
|
|
545
|
+
# expect { instance.origin_region = value }.not_to raise_error
|
|
542
546
|
# end
|
|
543
547
|
end
|
|
544
548
|
end
|
|
545
549
|
|
|
546
|
-
describe 'test attribute "
|
|
550
|
+
describe 'test attribute "origin_region_affinity"' do
|
|
547
551
|
it 'should work' do
|
|
548
552
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
549
553
|
end
|
|
550
554
|
end
|
|
551
555
|
|
|
552
|
-
describe 'test attribute "
|
|
556
|
+
describe 'test attribute "origin_decade_affinity"' do
|
|
553
557
|
it 'should work' do
|
|
554
558
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
555
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
|
556
|
-
# validator.allowable_values.each do |value|
|
|
557
|
-
# expect { instance.tertiary_mood_cluster = value }.not_to raise_error
|
|
558
|
-
# end
|
|
559
559
|
end
|
|
560
560
|
end
|
|
561
561
|
|
|
562
|
-
describe 'test attribute "
|
|
562
|
+
describe 'test attribute "language_of_performance_affinity"' do
|
|
563
563
|
it 'should work' do
|
|
564
564
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
565
565
|
end
|
|
566
566
|
end
|
|
567
567
|
|
|
568
|
-
describe 'test attribute "
|
|
568
|
+
describe 'test attribute "curateability_affinity"' do
|
|
569
569
|
it 'should work' do
|
|
570
570
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
571
571
|
end
|
|
572
572
|
end
|
|
573
573
|
|
|
574
|
-
describe 'test attribute "
|
|
574
|
+
describe 'test attribute "use_case_affinity"' do
|
|
575
575
|
it 'should work' do
|
|
576
576
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
577
577
|
end
|
|
578
578
|
end
|
|
579
579
|
|
|
580
|
-
describe 'test attribute "
|
|
580
|
+
describe 'test attribute "industry_suitability"' do
|
|
581
581
|
it 'should work' do
|
|
582
582
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
583
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
583
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Automobiles and Parts", "Consumer Products and Services", "Financial Services", "Food, Beverage and Tobacco", "Health Care", "Insurance", "Media", "Politics, Government and Organizations", "Real Estate", "Retail", "Technology", "Telecommunications", "Travel and Leisure"])
|
|
584
584
|
# validator.allowable_values.each do |value|
|
|
585
|
-
# expect { instance.
|
|
585
|
+
# expect { instance.industry_suitability = value }.not_to raise_error
|
|
586
586
|
# end
|
|
587
587
|
end
|
|
588
588
|
end
|
|
589
589
|
|
|
590
|
-
describe 'test attribute "
|
|
590
|
+
describe 'test attribute "industry_suitability_affinity"' do
|
|
591
591
|
it 'should work' do
|
|
592
592
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
593
593
|
end
|
|
594
594
|
end
|
|
595
595
|
|
|
596
|
-
describe 'test attribute "
|
|
596
|
+
describe 'test attribute "audience_region"' do
|
|
597
597
|
it 'should work' do
|
|
598
598
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
599
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
599
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Australia and New Zealand", "Central America and the Carribean", "Central and Southern Asia", "Eastern Asia", "Eastern Europe", "Northern Africa and Western Asia", "Northern America", "Oceania", "South America", "South-Eastern Asia", "Southern Europe", "Sub-Saharan Africa", "Western and Northern Europe"])
|
|
600
600
|
# validator.allowable_values.each do |value|
|
|
601
|
-
# expect { instance.
|
|
601
|
+
# expect { instance.audience_region = value }.not_to raise_error
|
|
602
602
|
# end
|
|
603
603
|
end
|
|
604
604
|
end
|