songtradr_api_client_ruby 1.12.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +76 -0
- data/README.md +223 -0
- data/Rakefile +10 -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 +20 -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/getspec.rb +10 -0
- data/git_push.sh +57 -0
- data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +213 -0
- data/lib/songtradr_api_client_ruby/api/party_api.rb +84 -0
- data/lib/songtradr_api_client_ruby/api/playlist_api.rb +222 -0
- data/lib/songtradr_api_client_ruby/api/recording_api.rb +900 -0
- data/lib/songtradr_api_client_ruby/api/user_api.rb +2642 -0
- data/lib/songtradr_api_client_ruby/api_client.rb +428 -0
- data/lib/songtradr_api_client_ruby/api_error.rb +58 -0
- data/lib/songtradr_api_client_ruby/configuration.rb +380 -0
- data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +250 -0
- data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +225 -0
- data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +287 -0
- data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +239 -0
- data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +225 -0
- data/lib/songtradr_api_client_ruby/models/error_response.rb +276 -0
- data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +253 -0
- data/lib/songtradr_api_client_ruby/models/file_dto.rb +450 -0
- data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +269 -0
- data/lib/songtradr_api_client_ruby/models/file_minimal_with_url_dto.rb +253 -0
- data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +432 -0
- data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +244 -0
- data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +239 -0
- data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +287 -0
- data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +267 -0
- data/lib/songtradr_api_client_ruby/models/genre_dto.rb +239 -0
- data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +225 -0
- data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +248 -0
- data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +238 -0
- data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +248 -0
- data/lib/songtradr_api_client_ruby/models/login_dto.rb +257 -0
- data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +1532 -0
- data/lib/songtradr_api_client_ruby/models/p_line_dto.rb +234 -0
- data/lib/songtradr_api_client_ruby/models/party_large_dto.rb +288 -0
- data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +239 -0
- data/lib/songtradr_api_client_ruby/models/playlist_large_dto.rb +353 -0
- data/lib/songtradr_api_client_ruby/models/product_medium_dto.rb +316 -0
- data/lib/songtradr_api_client_ruby/models/product_party_dto.rb +236 -0
- data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +239 -0
- data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +253 -0
- data/lib/songtradr_api_client_ruby/models/recording_large_dto.rb +366 -0
- data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +269 -0
- data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +340 -0
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +236 -0
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +248 -0
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +236 -0
- data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +236 -0
- data/lib/songtradr_api_client_ruby/models/recording_playlist_dto.rb +247 -0
- data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +268 -0
- data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +225 -0
- data/lib/songtradr_api_client_ruby/models/save_file_recording_dto.rb +1847 -0
- data/lib/songtradr_api_client_ruby/models/save_playlist_dto.rb +350 -0
- data/lib/songtradr_api_client_ruby/models/save_recording_genre_dto.rb +243 -0
- data/lib/songtradr_api_client_ruby/models/save_recording_party_dto.rb +273 -0
- data/lib/songtradr_api_client_ruby/models/save_recording_playlist_dto.rb +248 -0
- data/lib/songtradr_api_client_ruby/models/save_recording_tag_dto.rb +234 -0
- data/lib/songtradr_api_client_ruby/models/save_referrer_dto.rb +229 -0
- data/lib/songtradr_api_client_ruby/models/save_taggrams_dto.rb +574 -0
- data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +317 -0
- data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +867 -0
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_abstraction_dto.rb +270 -0
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +235 -0
- data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +262 -0
- data/lib/songtradr_api_client_ruby/models/tag_dto.rb +250 -0
- data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +239 -0
- data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +271 -0
- data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +250 -0
- data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +269 -0
- data/lib/songtradr_api_client_ruby/models/title_dto.rb +225 -0
- data/lib/songtradr_api_client_ruby/models/token_request.rb +224 -0
- data/lib/songtradr_api_client_ruby/models/track_to_medium_product_dto.rb +248 -0
- data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +238 -0
- data/lib/songtradr_api_client_ruby/models/usage_dto.rb +220 -0
- data/lib/songtradr_api_client_ruby/models/user_dto.rb +481 -0
- data/lib/songtradr_api_client_ruby/version.rb +15 -0
- data/lib/songtradr_api_client_ruby.rb +108 -0
- data/openapi-generator-config.yaml +10 -0
- data/songtradr_api_client_ruby.gemspec +39 -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 +40 -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/spec_helper.rb +111 -0
- metadata +412 -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: 7.0.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for SongtradrApiClientRuby::MusicalFeaturesDTO
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe SongtradrApiClientRuby::MusicalFeaturesDTO do
|
21
|
+
let(:instance) { SongtradrApiClientRuby::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(SongtradrApiClientRuby::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 "curateability"' do
|
39
|
+
it 'should work' do
|
40
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
41
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["curateable", "uncurateable"])
|
42
|
+
# validator.allowable_values.each do |value|
|
43
|
+
# expect { instance.curateability = value }.not_to raise_error
|
44
|
+
# end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
describe 'test attribute "use_case"' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax"])
|
52
|
+
# validator.allowable_values.each do |value|
|
53
|
+
# expect { instance.use_case = value }.not_to raise_error
|
54
|
+
# end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "channel_suitability"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
61
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Spotify", "TikTok", "Unfitting", "YouTube"])
|
62
|
+
# validator.allowable_values.each do |value|
|
63
|
+
# expect { instance.channel_suitability = value }.not_to raise_error
|
64
|
+
# end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
describe 'test attribute "arousal"' do
|
69
|
+
it 'should work' do
|
70
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
71
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
|
72
|
+
# validator.allowable_values.each do |value|
|
73
|
+
# expect { instance.arousal = value }.not_to raise_error
|
74
|
+
# end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
describe 'test attribute "dominant_instrument"' do
|
79
|
+
it 'should work' do
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
81
|
+
# 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"])
|
82
|
+
# validator.allowable_values.each do |value|
|
83
|
+
# expect { instance.dominant_instrument = value }.not_to raise_error
|
84
|
+
# end
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
describe 'test attribute "language_of_performance"' 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', ["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"])
|
92
|
+
# validator.allowable_values.each do |value|
|
93
|
+
# expect { instance.language_of_performance = value }.not_to raise_error
|
94
|
+
# end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
describe 'test attribute "energy"' do
|
99
|
+
it 'should work' do
|
100
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
101
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very quiet", "quiet", "moderate", "loud", "very loud", "dynamic"])
|
102
|
+
# validator.allowable_values.each do |value|
|
103
|
+
# expect { instance.energy = value }.not_to raise_error
|
104
|
+
# end
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
describe 'test attribute "engagement"' do
|
109
|
+
it 'should work' do
|
110
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
111
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very unengaging", "unengaging", "neutral engagement", "engaging", "very engaging", "varying engagement"])
|
112
|
+
# validator.allowable_values.each do |value|
|
113
|
+
# expect { instance.engagement = value }.not_to raise_error
|
114
|
+
# end
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
describe 'test attribute "groovyness"' do
|
119
|
+
it 'should work' do
|
120
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
121
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very steady", "steady", "moderate rhythm feel", "groovy", "very groovy"])
|
122
|
+
# validator.allowable_values.each do |value|
|
123
|
+
# expect { instance.groovyness = value }.not_to raise_error
|
124
|
+
# end
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
128
|
+
describe 'test attribute "harmony"' do
|
129
|
+
it 'should work' do
|
130
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
131
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very dissonant", "dissonant", "moderate harmonies", "harmonious", "very harmonious"])
|
132
|
+
# validator.allowable_values.each do |value|
|
133
|
+
# expect { instance.harmony = value }.not_to raise_error
|
134
|
+
# end
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
138
|
+
describe 'test attribute "pleasantness"' do
|
139
|
+
it 'should work' do
|
140
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
141
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very unpleasant", "unpleasant", "neutral pleasantness", "pleasant", "very pleasant", "varying pleasantness"])
|
142
|
+
# validator.allowable_values.each do |value|
|
143
|
+
# expect { instance.pleasantness = value }.not_to raise_error
|
144
|
+
# end
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
148
|
+
describe 'test attribute "primary_mood_cluster"' do
|
149
|
+
it 'should work' do
|
150
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
151
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
152
|
+
# validator.allowable_values.each do |value|
|
153
|
+
# expect { instance.primary_mood_cluster = value }.not_to raise_error
|
154
|
+
# end
|
155
|
+
end
|
156
|
+
end
|
157
|
+
|
158
|
+
describe 'test attribute "primary_sound_character"' do
|
159
|
+
it 'should work' do
|
160
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
161
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["brassy", "bright", "clear", "deep", "distorted", "flat", "full", "groovy", "melodious", "natural", "resonant", "shrill", "steady", "thin", "warm"])
|
162
|
+
# validator.allowable_values.each do |value|
|
163
|
+
# expect { instance.primary_sound_character = value }.not_to raise_error
|
164
|
+
# end
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
168
|
+
describe 'test attribute "rhythm"' do
|
169
|
+
it 'should work' do
|
170
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
171
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["common time", "triple meter", "complex time signature", "binary rhythm", "ternary rhythm"])
|
172
|
+
# validator.allowable_values.each do |value|
|
173
|
+
# expect { instance.rhythm = value }.not_to raise_error
|
174
|
+
# end
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
178
|
+
describe 'test attribute "roughness"' do
|
179
|
+
it 'should work' do
|
180
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
181
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very clear", "clear", "moderate roughness", "distorted", "very distorted"])
|
182
|
+
# validator.allowable_values.each do |value|
|
183
|
+
# expect { instance.roughness = value }.not_to raise_error
|
184
|
+
# end
|
185
|
+
end
|
186
|
+
end
|
187
|
+
|
188
|
+
describe 'test attribute "scale"' do
|
189
|
+
it 'should work' do
|
190
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
191
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["major key", "minor key", "neutral key"])
|
192
|
+
# validator.allowable_values.each do |value|
|
193
|
+
# expect { instance.scale = value }.not_to raise_error
|
194
|
+
# end
|
195
|
+
end
|
196
|
+
end
|
197
|
+
|
198
|
+
describe 'test attribute "sound_generation"' do
|
199
|
+
it 'should work' do
|
200
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
201
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["acoustic", "electric", "electronic", "mixed sound generation"])
|
202
|
+
# validator.allowable_values.each do |value|
|
203
|
+
# expect { instance.sound_generation = value }.not_to raise_error
|
204
|
+
# end
|
205
|
+
end
|
206
|
+
end
|
207
|
+
|
208
|
+
describe 'test attribute "tempo"' do
|
209
|
+
it 'should work' do
|
210
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
211
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very slow", "slow", "mid-tempo", "fast", "very fast", "varying tempo"])
|
212
|
+
# validator.allowable_values.each do |value|
|
213
|
+
# expect { instance.tempo = value }.not_to raise_error
|
214
|
+
# end
|
215
|
+
end
|
216
|
+
end
|
217
|
+
|
218
|
+
describe 'test attribute "texture"' do
|
219
|
+
it 'should work' do
|
220
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
221
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very thin", "thin", "moderate texture", "full", "very full"])
|
222
|
+
# validator.allowable_values.each do |value|
|
223
|
+
# expect { instance.texture = value }.not_to raise_error
|
224
|
+
# end
|
225
|
+
end
|
226
|
+
end
|
227
|
+
|
228
|
+
describe 'test attribute "timbre"' do
|
229
|
+
it 'should work' do
|
230
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
231
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very warm", "warm", "moderate timbre", "bright", "very bright"])
|
232
|
+
# validator.allowable_values.each do |value|
|
233
|
+
# expect { instance.timbre = value }.not_to raise_error
|
234
|
+
# end
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
describe 'test attribute "tonality"' do
|
239
|
+
it 'should work' do
|
240
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
241
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["monotonous", "moderate melodiousness", "melodious", "atonal"])
|
242
|
+
# validator.allowable_values.each do |value|
|
243
|
+
# expect { instance.tonality = value }.not_to raise_error
|
244
|
+
# end
|
245
|
+
end
|
246
|
+
end
|
247
|
+
|
248
|
+
describe 'test attribute "valence"' do
|
249
|
+
it 'should work' do
|
250
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
251
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very sad", "sad", "moderate valence", "positive", "very positive", "varying valence"])
|
252
|
+
# validator.allowable_values.each do |value|
|
253
|
+
# expect { instance.valence = value }.not_to raise_error
|
254
|
+
# end
|
255
|
+
end
|
256
|
+
end
|
257
|
+
|
258
|
+
describe 'test attribute "vocals"' do
|
259
|
+
it 'should work' do
|
260
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
261
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["instrumental", "female vocals", "male vocals", "mixed vocals", "diverse gender vocals"])
|
262
|
+
# validator.allowable_values.each do |value|
|
263
|
+
# expect { instance.vocals = value }.not_to raise_error
|
264
|
+
# end
|
265
|
+
end
|
266
|
+
end
|
267
|
+
|
268
|
+
describe 'test attribute "origin_decade"' do
|
269
|
+
it 'should work' do
|
270
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
271
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["pre-1950s", "1950s", "1960s", "1970s", "1980s", "1990s", "2000s", "2010s", "2020s"])
|
272
|
+
# validator.allowable_values.each do |value|
|
273
|
+
# expect { instance.origin_decade = value }.not_to raise_error
|
274
|
+
# end
|
275
|
+
end
|
276
|
+
end
|
277
|
+
|
278
|
+
describe 'test attribute "primary_mood_cluster_affinity"' do
|
279
|
+
it 'should work' do
|
280
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
281
|
+
end
|
282
|
+
end
|
283
|
+
|
284
|
+
describe 'test attribute "secondary_mood_cluster"' do
|
285
|
+
it 'should work' do
|
286
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
287
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
288
|
+
# validator.allowable_values.each do |value|
|
289
|
+
# expect { instance.secondary_mood_cluster = value }.not_to raise_error
|
290
|
+
# end
|
291
|
+
end
|
292
|
+
end
|
293
|
+
|
294
|
+
describe 'test attribute "secondary_mood_cluster_affinity"' do
|
295
|
+
it 'should work' do
|
296
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
297
|
+
end
|
298
|
+
end
|
299
|
+
|
300
|
+
describe 'test attribute "tertiary_mood_cluster"' do
|
301
|
+
it 'should work' do
|
302
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
303
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
304
|
+
# validator.allowable_values.each do |value|
|
305
|
+
# expect { instance.tertiary_mood_cluster = value }.not_to raise_error
|
306
|
+
# end
|
307
|
+
end
|
308
|
+
end
|
309
|
+
|
310
|
+
describe 'test attribute "tertiary_mood_cluster_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 "vocals_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 "bpm"' do
|
323
|
+
it 'should work' do
|
324
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
325
|
+
end
|
326
|
+
end
|
327
|
+
|
328
|
+
describe 'test attribute "production_rating"' do
|
329
|
+
it 'should work' do
|
330
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
331
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["low production quality", "medium production quality", "high production quality"])
|
332
|
+
# validator.allowable_values.each do |value|
|
333
|
+
# expect { instance.production_rating = value }.not_to raise_error
|
334
|
+
# end
|
335
|
+
end
|
336
|
+
end
|
337
|
+
|
338
|
+
describe 'test attribute "production_rating_affinity"' do
|
339
|
+
it 'should work' do
|
340
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
341
|
+
end
|
342
|
+
end
|
343
|
+
|
344
|
+
describe 'test attribute "performance_rating"' do
|
345
|
+
it 'should work' do
|
346
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
347
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["low performance quality", "medium performance quality", "high performance quality"])
|
348
|
+
# validator.allowable_values.each do |value|
|
349
|
+
# expect { instance.performance_rating = value }.not_to raise_error
|
350
|
+
# end
|
351
|
+
end
|
352
|
+
end
|
353
|
+
|
354
|
+
describe 'test attribute "performance_rating_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 "song_rating"' do
|
361
|
+
it 'should work' do
|
362
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
363
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["low song quality", "medium song quality", "high song quality"])
|
364
|
+
# validator.allowable_values.each do |value|
|
365
|
+
# expect { instance.song_rating = value }.not_to raise_error
|
366
|
+
# end
|
367
|
+
end
|
368
|
+
end
|
369
|
+
|
370
|
+
describe 'test attribute "song_rating_affinity"' do
|
371
|
+
it 'should work' do
|
372
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
373
|
+
end
|
374
|
+
end
|
375
|
+
|
376
|
+
describe 'test attribute "audience_age"' 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', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
|
380
|
+
# validator.allowable_values.each do |value|
|
381
|
+
# expect { instance.audience_age = value }.not_to raise_error
|
382
|
+
# end
|
383
|
+
end
|
384
|
+
end
|
385
|
+
|
386
|
+
describe 'test attribute "audience_age_affinity"' do
|
387
|
+
it 'should work' do
|
388
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
389
|
+
end
|
390
|
+
end
|
391
|
+
|
392
|
+
describe 'test attribute "secondary_audience_age"' do
|
393
|
+
it 'should work' do
|
394
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
395
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
|
396
|
+
# validator.allowable_values.each do |value|
|
397
|
+
# expect { instance.secondary_audience_age = value }.not_to raise_error
|
398
|
+
# end
|
399
|
+
end
|
400
|
+
end
|
401
|
+
|
402
|
+
describe 'test attribute "secondary_audience_age_affinity"' do
|
403
|
+
it 'should work' do
|
404
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
405
|
+
end
|
406
|
+
end
|
407
|
+
|
408
|
+
describe 'test attribute "tertiary_audience_age"' do
|
409
|
+
it 'should work' do
|
410
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
411
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
|
412
|
+
# validator.allowable_values.each do |value|
|
413
|
+
# expect { instance.tertiary_audience_age = value }.not_to raise_error
|
414
|
+
# end
|
415
|
+
end
|
416
|
+
end
|
417
|
+
|
418
|
+
describe 'test attribute "tertiary_audience_age_affinity"' do
|
419
|
+
it 'should work' do
|
420
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
421
|
+
end
|
422
|
+
end
|
423
|
+
|
424
|
+
describe 'test attribute "audience_gender"' do
|
425
|
+
it 'should work' do
|
426
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
427
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["male", "female"])
|
428
|
+
# validator.allowable_values.each do |value|
|
429
|
+
# expect { instance.audience_gender = value }.not_to raise_error
|
430
|
+
# end
|
431
|
+
end
|
432
|
+
end
|
433
|
+
|
434
|
+
describe 'test attribute "audience_gender_affinity"' do
|
435
|
+
it 'should work' do
|
436
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
437
|
+
end
|
438
|
+
end
|
439
|
+
|
440
|
+
describe 'test attribute "dominant_instrument_affinity"' do
|
441
|
+
it 'should work' do
|
442
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
443
|
+
end
|
444
|
+
end
|
445
|
+
|
446
|
+
describe 'test attribute "secondary_instrument"' 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', ["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"])
|
450
|
+
# validator.allowable_values.each do |value|
|
451
|
+
# expect { instance.secondary_instrument = value }.not_to raise_error
|
452
|
+
# end
|
453
|
+
end
|
454
|
+
end
|
455
|
+
|
456
|
+
describe 'test attribute "secondary_instrument_affinity"' do
|
457
|
+
it 'should work' do
|
458
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
459
|
+
end
|
460
|
+
end
|
461
|
+
|
462
|
+
describe 'test attribute "tertiary_instrument"' do
|
463
|
+
it 'should work' do
|
464
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
465
|
+
# 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"])
|
466
|
+
# validator.allowable_values.each do |value|
|
467
|
+
# expect { instance.tertiary_instrument = value }.not_to raise_error
|
468
|
+
# end
|
469
|
+
end
|
470
|
+
end
|
471
|
+
|
472
|
+
describe 'test attribute "tertiary_instrument_affinity"' do
|
473
|
+
it 'should work' do
|
474
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
475
|
+
end
|
476
|
+
end
|
477
|
+
|
478
|
+
describe 'test attribute "sound_generation_affinity"' do
|
479
|
+
it 'should work' do
|
480
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
481
|
+
end
|
482
|
+
end
|
483
|
+
|
484
|
+
describe 'test attribute "rhythm_affinity"' do
|
485
|
+
it 'should work' do
|
486
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
487
|
+
end
|
488
|
+
end
|
489
|
+
|
490
|
+
describe 'test attribute "primary_sound_character_affinity"' do
|
491
|
+
it 'should work' do
|
492
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
493
|
+
end
|
494
|
+
end
|
495
|
+
|
496
|
+
describe 'test attribute "tonality_affinity"' do
|
497
|
+
it 'should work' do
|
498
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
499
|
+
end
|
500
|
+
end
|
501
|
+
|
502
|
+
describe 'test attribute "audience_region_affinity"' do
|
503
|
+
it 'should work' do
|
504
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
505
|
+
end
|
506
|
+
end
|
507
|
+
|
508
|
+
describe 'test attribute "secondary_audience_region"' do
|
509
|
+
it 'should work' do
|
510
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
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"])
|
512
|
+
# validator.allowable_values.each do |value|
|
513
|
+
# expect { instance.secondary_audience_region = value }.not_to raise_error
|
514
|
+
# end
|
515
|
+
end
|
516
|
+
end
|
517
|
+
|
518
|
+
describe 'test attribute "secondary_audience_region_affinity"' do
|
519
|
+
it 'should work' do
|
520
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
521
|
+
end
|
522
|
+
end
|
523
|
+
|
524
|
+
describe 'test attribute "tertiary_audience_region"' do
|
525
|
+
it 'should work' do
|
526
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
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"])
|
528
|
+
# validator.allowable_values.each do |value|
|
529
|
+
# expect { instance.tertiary_audience_region = value }.not_to raise_error
|
530
|
+
# end
|
531
|
+
end
|
532
|
+
end
|
533
|
+
|
534
|
+
describe 'test attribute "tertiary_audience_region_affinity"' do
|
535
|
+
it 'should work' do
|
536
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
537
|
+
end
|
538
|
+
end
|
539
|
+
|
540
|
+
describe 'test attribute "origin_region"' do
|
541
|
+
it 'should work' do
|
542
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
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"])
|
544
|
+
# validator.allowable_values.each do |value|
|
545
|
+
# expect { instance.origin_region = value }.not_to raise_error
|
546
|
+
# end
|
547
|
+
end
|
548
|
+
end
|
549
|
+
|
550
|
+
describe 'test attribute "origin_region_affinity"' do
|
551
|
+
it 'should work' do
|
552
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
553
|
+
end
|
554
|
+
end
|
555
|
+
|
556
|
+
describe 'test attribute "origin_decade_affinity"' do
|
557
|
+
it 'should work' do
|
558
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
559
|
+
end
|
560
|
+
end
|
561
|
+
|
562
|
+
describe 'test attribute "language_of_performance_affinity"' do
|
563
|
+
it 'should work' do
|
564
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
565
|
+
end
|
566
|
+
end
|
567
|
+
|
568
|
+
describe 'test attribute "curateability_affinity"' do
|
569
|
+
it 'should work' do
|
570
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
571
|
+
end
|
572
|
+
end
|
573
|
+
|
574
|
+
describe 'test attribute "use_case_affinity"' do
|
575
|
+
it 'should work' do
|
576
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
577
|
+
end
|
578
|
+
end
|
579
|
+
|
580
|
+
describe 'test attribute "industry_suitability"' do
|
581
|
+
it 'should work' do
|
582
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
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
|
+
# validator.allowable_values.each do |value|
|
585
|
+
# expect { instance.industry_suitability = value }.not_to raise_error
|
586
|
+
# end
|
587
|
+
end
|
588
|
+
end
|
589
|
+
|
590
|
+
describe 'test attribute "industry_suitability_affinity"' do
|
591
|
+
it 'should work' do
|
592
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
593
|
+
end
|
594
|
+
end
|
595
|
+
|
596
|
+
describe 'test attribute "audience_region"' 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', ["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
|
+
# validator.allowable_values.each do |value|
|
601
|
+
# expect { instance.audience_region = value }.not_to raise_error
|
602
|
+
# end
|
603
|
+
end
|
604
|
+
end
|
605
|
+
|
606
|
+
describe 'test attribute "valence_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 "arousal_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 "pleasantness_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 "engagement_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 "energy_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 "tempo_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 "scale_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 "timbre_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 "roughness_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 "harmony_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 "texture_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 "groovyness_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 "space_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_affinity"' do
|
685
|
+
it 'should work' do
|
686
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
687
|
+
end
|
688
|
+
end
|
689
|
+
|
690
|
+
describe 'test attribute "channel_suitability_affinity"' do
|
691
|
+
it 'should work' do
|
692
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
693
|
+
end
|
694
|
+
end
|
695
|
+
|
696
|
+
describe 'test attribute "key"' do
|
697
|
+
it 'should work' do
|
698
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
699
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B", "unclear"])
|
700
|
+
# validator.allowable_values.each do |value|
|
701
|
+
# expect { instance.key = value }.not_to raise_error
|
702
|
+
# end
|
703
|
+
end
|
704
|
+
end
|
705
|
+
|
706
|
+
end
|