songtradr_api_client_ruby 1.16.0 → 1.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -5
- data/README.md +5 -30
- data/docs/ImageRecognitionResponse.md +2 -2
- data/docs/MusicalFeaturesDTO.md +78 -78
- data/docs/RecordingGenrePredictionDTO.md +3 -3
- data/docs/RecordingMediumDTO.md +4 -4
- data/docs/RecordingPartyDTO.md +3 -3
- data/docs/RecordingSmallDTO.md +3 -3
- data/docs/VideoRecognitionResponse.md +2 -2
- data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api/playlist_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api/recording_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api/user_api.rb +2 -2
- data/lib/songtradr_api_client_ruby/api_client.rb +4 -4
- data/lib/songtradr_api_client_ruby/api_error.rb +2 -2
- data/lib/songtradr_api_client_ruby/configuration.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/curate_playlist_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/curate_playlist_response_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/error_response.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/genre_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/image_recognition_response.rb +4 -4
- data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/login_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +557 -557
- data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +22 -22
- data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +35 -35
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +17 -17
- data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +27 -27
- data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tag_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/title_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/token_request.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/track_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/user_dto.rb +2 -2
- data/lib/songtradr_api_client_ruby/models/video_recognition_response.rb +4 -4
- data/lib/songtradr_api_client_ruby/version.rb +3 -3
- data/lib/songtradr_api_client_ruby.rb +2 -27
- data/openapi-generator-config.yaml +1 -1
- data/songtradr_api_client_ruby.gemspec +2 -2
- data/spec/api/allowed_values_api_spec.rb +2 -2
- data/spec/api/playlist_api_spec.rb +2 -2
- data/spec/api/recording_api_spec.rb +2 -2
- data/spec/api/user_api_spec.rb +2 -2
- data/spec/models/category_medium_dto_spec.rb +2 -2
- data/spec/models/category_minimal_dto_spec.rb +2 -2
- data/spec/models/config_access_dto_spec.rb +2 -2
- data/spec/models/config_identifier_dto_spec.rb +2 -2
- data/spec/models/contributor_type_dto_spec.rb +2 -2
- data/spec/models/curate_playlist_dto_spec.rb +2 -2
- data/spec/models/curate_playlist_response_dto_spec.rb +2 -2
- data/spec/models/error_response_spec.rb +2 -2
- data/spec/models/field_summary_dto_spec.rb +2 -2
- data/spec/models/file_dto_spec.rb +2 -2
- data/spec/models/file_list_dto_spec.rb +2 -2
- data/spec/models/file_small_dto_spec.rb +2 -2
- data/spec/models/file_upload_dto_spec.rb +2 -2
- data/spec/models/file_w_ith_url_dto_spec.rb +2 -2
- data/spec/models/files_summary_dto_spec.rb +2 -2
- data/spec/models/forgot_password_dto_spec.rb +2 -2
- data/spec/models/genre_dto_spec.rb +2 -2
- data/spec/models/genre_minimal_dto_spec.rb +2 -2
- data/spec/models/genres_summary_dto_spec.rb +2 -2
- data/spec/models/image_recognition_response_spec.rb +2 -2
- data/spec/models/init_put_recording_audio_dto_spec.rb +2 -2
- data/spec/models/jwt_token_dto_spec.rb +2 -2
- data/spec/models/login_dto_spec.rb +2 -2
- data/spec/models/musical_features_dto_spec.rb +171 -171
- data/spec/models/party_small_dto_spec.rb +2 -2
- data/spec/models/recording_for_similarity_search_dto_spec.rb +2 -2
- data/spec/models/recording_genre_prediction_dto_spec.rb +5 -5
- data/spec/models/recording_list_dto_spec.rb +2 -2
- data/spec/models/recording_medium_dto_spec.rb +9 -9
- data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +2 -2
- data/spec/models/recording_minimal_with_taggrams_dto_spec.rb +2 -2
- data/spec/models/recording_minimal_with_tagstrengths_dto_spec.rb +2 -2
- data/spec/models/recording_party_dto_spec.rb +4 -4
- data/spec/models/recording_small_dto_spec.rb +5 -5
- data/spec/models/recording_tag_small_dto_spec.rb +2 -2
- data/spec/models/save_user_dto_spec.rb +2 -2
- data/spec/models/search_filter_values_dto_spec.rb +2 -2
- data/spec/models/search_recording_granular_dto_spec.rb +2 -2
- data/spec/models/sign_up_dto_spec.rb +2 -2
- data/spec/models/tag_dto_spec.rb +2 -2
- data/spec/models/tag_small_dto_spec.rb +2 -2
- data/spec/models/taggram_dto_spec.rb +2 -2
- data/spec/models/tags_summary_dto_spec.rb +2 -2
- data/spec/models/tagstrength_dto_spec.rb +2 -2
- data/spec/models/title_dto_spec.rb +2 -2
- data/spec/models/token_request_spec.rb +2 -2
- data/spec/models/track_dto_spec.rb +2 -2
- data/spec/models/update_password_dto_spec.rb +2 -2
- data/spec/models/user_dto_spec.rb +2 -2
- data/spec/models/video_recognition_response_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +42 -146
- data/docs/AgeRange.md +0 -20
- data/docs/Beard.md +0 -20
- data/docs/BoundingBox.md +0 -24
- data/docs/DominantColor.md +0 -30
- data/docs/Emotion.md +0 -20
- data/docs/EyeDirection.md +0 -22
- data/docs/EyeOpen.md +0 -20
- data/docs/Eyeglasses.md +0 -20
- data/docs/FaceDetail.md +0 -50
- data/docs/FaceDetection.md +0 -20
- data/docs/FaceOccluded.md +0 -20
- data/docs/Gender.md +0 -20
- data/docs/ImageQuality.md +0 -20
- data/docs/Instance.md +0 -22
- data/docs/Label.md +0 -28
- data/docs/LabelAlias.md +0 -18
- data/docs/LabelCategory.md +0 -18
- data/docs/LabelDetection.md +0 -26
- data/docs/Landmark.md +0 -22
- data/docs/MouthOpen.md +0 -20
- data/docs/Mustache.md +0 -20
- data/docs/Parent.md +0 -18
- data/docs/Pose.md +0 -22
- data/docs/Smile.md +0 -20
- data/docs/Sunglasses.md +0 -20
- data/lib/songtradr_api_client_ruby/models/age_range.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/beard.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/bounding_box.rb +0 -241
- data/lib/songtradr_api_client_ruby/models/dominant_color.rb +0 -268
- data/lib/songtradr_api_client_ruby/models/emotion.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/eye_direction.rb +0 -232
- data/lib/songtradr_api_client_ruby/models/eye_open.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/eyeglasses.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/face_detail.rb +0 -362
- data/lib/songtradr_api_client_ruby/models/face_detection.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/face_occluded.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/gender.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/image_quality.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/instance.rb +0 -234
- data/lib/songtradr_api_client_ruby/models/label.rb +0 -267
- data/lib/songtradr_api_client_ruby/models/label_alias.rb +0 -214
- data/lib/songtradr_api_client_ruby/models/label_category.rb +0 -214
- data/lib/songtradr_api_client_ruby/models/label_detection.rb +0 -250
- data/lib/songtradr_api_client_ruby/models/landmark.rb +0 -232
- data/lib/songtradr_api_client_ruby/models/mouth_open.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/mustache.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/parent.rb +0 -214
- data/lib/songtradr_api_client_ruby/models/pose.rb +0 -232
- data/lib/songtradr_api_client_ruby/models/smile.rb +0 -223
- data/lib/songtradr_api_client_ruby/models/sunglasses.rb +0 -223
- data/spec/api_client_spec.rb +0 -223
- data/spec/configuration_spec.rb +0 -82
- data/spec/models/age_range_spec.rb +0 -42
- data/spec/models/beard_spec.rb +0 -42
- data/spec/models/bounding_box_spec.rb +0 -54
- data/spec/models/dominant_color_spec.rb +0 -72
- data/spec/models/emotion_spec.rb +0 -42
- data/spec/models/eye_direction_spec.rb +0 -48
- data/spec/models/eye_open_spec.rb +0 -42
- data/spec/models/eyeglasses_spec.rb +0 -42
- data/spec/models/face_detail_spec.rb +0 -132
- data/spec/models/face_detection_spec.rb +0 -42
- data/spec/models/face_occluded_spec.rb +0 -42
- data/spec/models/gender_spec.rb +0 -42
- data/spec/models/image_quality_spec.rb +0 -42
- data/spec/models/instance_spec.rb +0 -48
- data/spec/models/label_alias_spec.rb +0 -36
- data/spec/models/label_category_spec.rb +0 -36
- data/spec/models/label_detection_spec.rb +0 -60
- data/spec/models/label_spec.rb +0 -66
- data/spec/models/landmark_spec.rb +0 -48
- data/spec/models/mouth_open_spec.rb +0 -42
- data/spec/models/mustache_spec.rb +0 -42
- data/spec/models/parent_spec.rb +0 -36
- data/spec/models/pose_spec.rb +0 -48
- data/spec/models/smile_spec.rb +0 -42
- data/spec/models/sunglasses_spec.rb +0 -42
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 1.17.0
|
7
7
|
Contact: info@songtradr.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 7.
|
9
|
+
OpenAPI Generator version: 7.3.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -19,84 +19,65 @@ module SongtradrApiClientRuby
|
|
19
19
|
# Search for space
|
20
20
|
attr_accessor :space
|
21
21
|
|
22
|
-
|
23
|
-
attr_accessor :arousal
|
22
|
+
attr_accessor :primary_mood_cluster_affinity
|
24
23
|
|
25
|
-
# Search for
|
26
|
-
attr_accessor :
|
24
|
+
# Search for a language of the lyrics
|
25
|
+
attr_accessor :secondary_mood_cluster
|
27
26
|
|
28
|
-
|
29
|
-
attr_accessor :texture
|
27
|
+
attr_accessor :production_rating
|
30
28
|
|
31
|
-
|
32
|
-
attr_accessor :timbre
|
29
|
+
attr_accessor :production_rating_affinity
|
33
30
|
|
34
|
-
|
35
|
-
attr_accessor :tonality
|
31
|
+
attr_accessor :performance_rating
|
36
32
|
|
37
|
-
|
38
|
-
attr_accessor :valence
|
33
|
+
attr_accessor :performance_rating_affinity
|
39
34
|
|
40
|
-
|
41
|
-
attr_accessor :vocals
|
35
|
+
attr_accessor :song_rating
|
42
36
|
|
43
|
-
|
44
|
-
attr_accessor :origin_decade
|
37
|
+
attr_accessor :song_rating_affinity
|
45
38
|
|
46
|
-
|
47
|
-
attr_accessor :curateability
|
39
|
+
attr_accessor :audience_age
|
48
40
|
|
49
|
-
|
50
|
-
attr_accessor :use_case
|
41
|
+
attr_accessor :audience_age_affinity
|
51
42
|
|
52
|
-
|
53
|
-
attr_accessor :channel_suitability
|
43
|
+
attr_accessor :secondary_audience_age
|
54
44
|
|
55
|
-
attr_accessor :
|
45
|
+
attr_accessor :secondary_audience_age_affinity
|
56
46
|
|
57
|
-
|
58
|
-
attr_accessor :dominant_instrument
|
47
|
+
attr_accessor :tertiary_audience_age
|
59
48
|
|
60
|
-
|
61
|
-
attr_accessor :energy
|
49
|
+
attr_accessor :tertiary_audience_age_affinity
|
62
50
|
|
63
|
-
|
64
|
-
attr_accessor :engagement
|
51
|
+
attr_accessor :audience_gender
|
65
52
|
|
66
|
-
|
67
|
-
attr_accessor :groovyness
|
53
|
+
attr_accessor :audience_gender_affinity
|
68
54
|
|
69
|
-
|
70
|
-
attr_accessor :harmony
|
55
|
+
attr_accessor :audience_region_affinity
|
71
56
|
|
72
|
-
|
73
|
-
attr_accessor :pleasantness
|
57
|
+
attr_accessor :secondary_audience_region
|
74
58
|
|
75
|
-
|
76
|
-
attr_accessor :primary_mood_cluster
|
59
|
+
attr_accessor :secondary_audience_region_affinity
|
77
60
|
|
78
|
-
|
79
|
-
attr_accessor :primary_sound_character
|
61
|
+
attr_accessor :tertiary_audience_region
|
80
62
|
|
81
|
-
|
82
|
-
attr_accessor :rhythm
|
63
|
+
attr_accessor :tertiary_audience_region_affinity
|
83
64
|
|
84
|
-
|
85
|
-
attr_accessor :roughness
|
65
|
+
attr_accessor :origin_region
|
86
66
|
|
87
|
-
|
88
|
-
attr_accessor :scale
|
67
|
+
attr_accessor :origin_region_affinity
|
89
68
|
|
90
|
-
|
91
|
-
attr_accessor :key
|
69
|
+
attr_accessor :origin_decade_affinity
|
92
70
|
|
93
|
-
|
94
|
-
attr_accessor :sound_generation
|
71
|
+
attr_accessor :language_of_performance_affinity
|
95
72
|
|
96
|
-
attr_accessor :
|
73
|
+
attr_accessor :curateability_affinity
|
97
74
|
|
98
|
-
|
99
|
-
|
75
|
+
attr_accessor :use_case_affinity
|
76
|
+
|
77
|
+
# Search for Industry suitability
|
78
|
+
attr_accessor :industry_suitability
|
79
|
+
|
80
|
+
attr_accessor :industry_suitability_affinity
|
100
81
|
|
101
82
|
attr_accessor :secondary_mood_cluster_affinity
|
102
83
|
|
@@ -129,62 +110,81 @@ module SongtradrApiClientRuby
|
|
129
110
|
|
130
111
|
attr_accessor :bpm
|
131
112
|
|
132
|
-
attr_accessor :
|
133
|
-
|
134
|
-
attr_accessor :production_rating_affinity
|
135
|
-
|
136
|
-
attr_accessor :performance_rating
|
113
|
+
attr_accessor :audience_region
|
137
114
|
|
138
|
-
|
115
|
+
# Search for a dominant instrument
|
116
|
+
attr_accessor :dominant_instrument
|
139
117
|
|
140
|
-
|
118
|
+
# Search for energy
|
119
|
+
attr_accessor :energy
|
141
120
|
|
142
|
-
|
121
|
+
# Search for an engagement
|
122
|
+
attr_accessor :engagement
|
143
123
|
|
144
|
-
|
124
|
+
# Search for groovyness
|
125
|
+
attr_accessor :groovyness
|
145
126
|
|
146
|
-
|
127
|
+
# Search for a degree of harmoniousness
|
128
|
+
attr_accessor :harmony
|
147
129
|
|
148
|
-
|
130
|
+
# Search for pleasantness
|
131
|
+
attr_accessor :pleasantness
|
149
132
|
|
150
|
-
|
133
|
+
# Search for a language of the lyrics
|
134
|
+
attr_accessor :primary_mood_cluster
|
151
135
|
|
152
|
-
|
136
|
+
# Search for a sound character
|
137
|
+
attr_accessor :primary_sound_character
|
153
138
|
|
154
|
-
|
139
|
+
# Search for rhythm
|
140
|
+
attr_accessor :rhythm
|
155
141
|
|
156
|
-
|
142
|
+
# Search for roughness
|
143
|
+
attr_accessor :roughness
|
157
144
|
|
158
|
-
|
145
|
+
# Search for a tonal scale
|
146
|
+
attr_accessor :scale
|
159
147
|
|
160
|
-
|
148
|
+
# Search for a harmonic key
|
149
|
+
attr_accessor :key
|
161
150
|
|
162
|
-
|
151
|
+
# Search for type of sound generation
|
152
|
+
attr_accessor :sound_generation
|
163
153
|
|
164
|
-
|
154
|
+
# Search for tempo
|
155
|
+
attr_accessor :tempo
|
165
156
|
|
166
|
-
|
157
|
+
# Search for texture
|
158
|
+
attr_accessor :texture
|
167
159
|
|
168
|
-
|
160
|
+
# Search for timbre
|
161
|
+
attr_accessor :timbre
|
169
162
|
|
170
|
-
|
163
|
+
# Search for tonality
|
164
|
+
attr_accessor :tonality
|
171
165
|
|
172
|
-
|
166
|
+
# Search for a valence
|
167
|
+
attr_accessor :valence
|
173
168
|
|
174
|
-
|
169
|
+
# Search for a vocal gender or instrumental songs
|
170
|
+
attr_accessor :vocals
|
175
171
|
|
176
|
-
|
172
|
+
# Search for origin decade
|
173
|
+
attr_accessor :origin_decade
|
177
174
|
|
178
|
-
|
175
|
+
# Search for curatebility
|
176
|
+
attr_accessor :curateability
|
179
177
|
|
180
|
-
|
178
|
+
# Search for use case
|
179
|
+
attr_accessor :use_case
|
181
180
|
|
182
|
-
# Search for
|
183
|
-
attr_accessor :
|
181
|
+
# Search for social media suitability
|
182
|
+
attr_accessor :channel_suitability
|
184
183
|
|
185
|
-
attr_accessor :
|
184
|
+
attr_accessor :language_of_performance
|
186
185
|
|
187
|
-
|
186
|
+
# Search for an arousal
|
187
|
+
attr_accessor :arousal
|
188
188
|
|
189
189
|
attr_accessor :valence_affinity
|
190
190
|
|
@@ -242,47 +242,8 @@ module SongtradrApiClientRuby
|
|
242
242
|
def self.attribute_map
|
243
243
|
{
|
244
244
|
:'space' => :'space',
|
245
|
-
:'arousal' => :'arousal',
|
246
|
-
:'tempo' => :'tempo',
|
247
|
-
:'texture' => :'texture',
|
248
|
-
:'timbre' => :'timbre',
|
249
|
-
:'tonality' => :'tonality',
|
250
|
-
:'valence' => :'valence',
|
251
|
-
:'vocals' => :'vocals',
|
252
|
-
:'origin_decade' => :'originDecade',
|
253
|
-
:'curateability' => :'curateability',
|
254
|
-
:'use_case' => :'useCase',
|
255
|
-
:'channel_suitability' => :'channelSuitability',
|
256
|
-
:'language_of_performance' => :'languageOfPerformance',
|
257
|
-
:'dominant_instrument' => :'dominantInstrument',
|
258
|
-
:'energy' => :'energy',
|
259
|
-
:'engagement' => :'engagement',
|
260
|
-
:'groovyness' => :'groovyness',
|
261
|
-
:'harmony' => :'harmony',
|
262
|
-
:'pleasantness' => :'pleasantness',
|
263
|
-
:'primary_mood_cluster' => :'primaryMoodCluster',
|
264
|
-
:'primary_sound_character' => :'primarySoundCharacter',
|
265
|
-
:'rhythm' => :'rhythm',
|
266
|
-
:'roughness' => :'roughness',
|
267
|
-
:'scale' => :'scale',
|
268
|
-
:'key' => :'key',
|
269
|
-
:'sound_generation' => :'soundGeneration',
|
270
245
|
:'primary_mood_cluster_affinity' => :'primaryMoodClusterAffinity',
|
271
246
|
:'secondary_mood_cluster' => :'secondaryMoodCluster',
|
272
|
-
:'secondary_mood_cluster_affinity' => :'secondaryMoodClusterAffinity',
|
273
|
-
:'tertiary_mood_cluster' => :'tertiaryMoodCluster',
|
274
|
-
:'tertiary_mood_cluster_affinity' => :'tertiaryMoodClusterAffinity',
|
275
|
-
:'vocals_affinity' => :'vocalsAffinity',
|
276
|
-
:'dominant_instrument_affinity' => :'dominantInstrumentAffinity',
|
277
|
-
:'secondary_instrument' => :'secondaryInstrument',
|
278
|
-
:'secondary_instrument_affinity' => :'secondaryInstrumentAffinity',
|
279
|
-
:'tertiary_instrument' => :'tertiaryInstrument',
|
280
|
-
:'tertiary_instrument_affinity' => :'tertiaryInstrumentAffinity',
|
281
|
-
:'sound_generation_affinity' => :'soundGenerationAffinity',
|
282
|
-
:'rhythm_affinity' => :'rhythmAffinity',
|
283
|
-
:'primary_sound_character_affinity' => :'primarySoundCharacterAffinity',
|
284
|
-
:'tonality_affinity' => :'tonalityAffinity',
|
285
|
-
:'bpm' => :'bpm',
|
286
247
|
:'production_rating' => :'productionRating',
|
287
248
|
:'production_rating_affinity' => :'productionRatingAffinity',
|
288
249
|
:'performance_rating' => :'performanceRating',
|
@@ -310,7 +271,46 @@ module SongtradrApiClientRuby
|
|
310
271
|
:'use_case_affinity' => :'useCaseAffinity',
|
311
272
|
:'industry_suitability' => :'industrySuitability',
|
312
273
|
:'industry_suitability_affinity' => :'industrySuitabilityAffinity',
|
274
|
+
:'secondary_mood_cluster_affinity' => :'secondaryMoodClusterAffinity',
|
275
|
+
:'tertiary_mood_cluster' => :'tertiaryMoodCluster',
|
276
|
+
:'tertiary_mood_cluster_affinity' => :'tertiaryMoodClusterAffinity',
|
277
|
+
:'vocals_affinity' => :'vocalsAffinity',
|
278
|
+
:'dominant_instrument_affinity' => :'dominantInstrumentAffinity',
|
279
|
+
:'secondary_instrument' => :'secondaryInstrument',
|
280
|
+
:'secondary_instrument_affinity' => :'secondaryInstrumentAffinity',
|
281
|
+
:'tertiary_instrument' => :'tertiaryInstrument',
|
282
|
+
:'tertiary_instrument_affinity' => :'tertiaryInstrumentAffinity',
|
283
|
+
:'sound_generation_affinity' => :'soundGenerationAffinity',
|
284
|
+
:'rhythm_affinity' => :'rhythmAffinity',
|
285
|
+
:'primary_sound_character_affinity' => :'primarySoundCharacterAffinity',
|
286
|
+
:'tonality_affinity' => :'tonalityAffinity',
|
287
|
+
:'bpm' => :'bpm',
|
313
288
|
:'audience_region' => :'audienceRegion',
|
289
|
+
:'dominant_instrument' => :'dominantInstrument',
|
290
|
+
:'energy' => :'energy',
|
291
|
+
:'engagement' => :'engagement',
|
292
|
+
:'groovyness' => :'groovyness',
|
293
|
+
:'harmony' => :'harmony',
|
294
|
+
:'pleasantness' => :'pleasantness',
|
295
|
+
:'primary_mood_cluster' => :'primaryMoodCluster',
|
296
|
+
:'primary_sound_character' => :'primarySoundCharacter',
|
297
|
+
:'rhythm' => :'rhythm',
|
298
|
+
:'roughness' => :'roughness',
|
299
|
+
:'scale' => :'scale',
|
300
|
+
:'key' => :'key',
|
301
|
+
:'sound_generation' => :'soundGeneration',
|
302
|
+
:'tempo' => :'tempo',
|
303
|
+
:'texture' => :'texture',
|
304
|
+
:'timbre' => :'timbre',
|
305
|
+
:'tonality' => :'tonality',
|
306
|
+
:'valence' => :'valence',
|
307
|
+
:'vocals' => :'vocals',
|
308
|
+
:'origin_decade' => :'originDecade',
|
309
|
+
:'curateability' => :'curateability',
|
310
|
+
:'use_case' => :'useCase',
|
311
|
+
:'channel_suitability' => :'channelSuitability',
|
312
|
+
:'language_of_performance' => :'languageOfPerformance',
|
313
|
+
:'arousal' => :'arousal',
|
314
314
|
:'valence_affinity' => :'valenceAffinity',
|
315
315
|
:'arousal_affinity' => :'arousalAffinity',
|
316
316
|
:'pleasantness_affinity' => :'pleasantnessAffinity',
|
@@ -338,47 +338,8 @@ module SongtradrApiClientRuby
|
|
338
338
|
def self.openapi_types
|
339
339
|
{
|
340
340
|
:'space' => :'String',
|
341
|
-
:'arousal' => :'String',
|
342
|
-
:'tempo' => :'String',
|
343
|
-
:'texture' => :'String',
|
344
|
-
:'timbre' => :'String',
|
345
|
-
:'tonality' => :'String',
|
346
|
-
:'valence' => :'String',
|
347
|
-
:'vocals' => :'String',
|
348
|
-
:'origin_decade' => :'String',
|
349
|
-
:'curateability' => :'String',
|
350
|
-
:'use_case' => :'String',
|
351
|
-
:'channel_suitability' => :'String',
|
352
|
-
:'language_of_performance' => :'String',
|
353
|
-
:'dominant_instrument' => :'String',
|
354
|
-
:'energy' => :'String',
|
355
|
-
:'engagement' => :'String',
|
356
|
-
:'groovyness' => :'String',
|
357
|
-
:'harmony' => :'String',
|
358
|
-
:'pleasantness' => :'String',
|
359
|
-
:'primary_mood_cluster' => :'String',
|
360
|
-
:'primary_sound_character' => :'String',
|
361
|
-
:'rhythm' => :'String',
|
362
|
-
:'roughness' => :'String',
|
363
|
-
:'scale' => :'String',
|
364
|
-
:'key' => :'String',
|
365
|
-
:'sound_generation' => :'String',
|
366
341
|
:'primary_mood_cluster_affinity' => :'Float',
|
367
342
|
:'secondary_mood_cluster' => :'String',
|
368
|
-
:'secondary_mood_cluster_affinity' => :'Float',
|
369
|
-
:'tertiary_mood_cluster' => :'String',
|
370
|
-
:'tertiary_mood_cluster_affinity' => :'Float',
|
371
|
-
:'vocals_affinity' => :'Float',
|
372
|
-
:'dominant_instrument_affinity' => :'Float',
|
373
|
-
:'secondary_instrument' => :'String',
|
374
|
-
:'secondary_instrument_affinity' => :'Float',
|
375
|
-
:'tertiary_instrument' => :'String',
|
376
|
-
:'tertiary_instrument_affinity' => :'Float',
|
377
|
-
:'sound_generation_affinity' => :'Float',
|
378
|
-
:'rhythm_affinity' => :'Float',
|
379
|
-
:'primary_sound_character_affinity' => :'Float',
|
380
|
-
:'tonality_affinity' => :'Float',
|
381
|
-
:'bpm' => :'Float',
|
382
343
|
:'production_rating' => :'String',
|
383
344
|
:'production_rating_affinity' => :'Float',
|
384
345
|
:'performance_rating' => :'String',
|
@@ -406,7 +367,46 @@ module SongtradrApiClientRuby
|
|
406
367
|
:'use_case_affinity' => :'Float',
|
407
368
|
:'industry_suitability' => :'String',
|
408
369
|
:'industry_suitability_affinity' => :'Float',
|
370
|
+
:'secondary_mood_cluster_affinity' => :'Float',
|
371
|
+
:'tertiary_mood_cluster' => :'String',
|
372
|
+
:'tertiary_mood_cluster_affinity' => :'Float',
|
373
|
+
:'vocals_affinity' => :'Float',
|
374
|
+
:'dominant_instrument_affinity' => :'Float',
|
375
|
+
:'secondary_instrument' => :'String',
|
376
|
+
:'secondary_instrument_affinity' => :'Float',
|
377
|
+
:'tertiary_instrument' => :'String',
|
378
|
+
:'tertiary_instrument_affinity' => :'Float',
|
379
|
+
:'sound_generation_affinity' => :'Float',
|
380
|
+
:'rhythm_affinity' => :'Float',
|
381
|
+
:'primary_sound_character_affinity' => :'Float',
|
382
|
+
:'tonality_affinity' => :'Float',
|
383
|
+
:'bpm' => :'Float',
|
409
384
|
:'audience_region' => :'String',
|
385
|
+
:'dominant_instrument' => :'String',
|
386
|
+
:'energy' => :'String',
|
387
|
+
:'engagement' => :'String',
|
388
|
+
:'groovyness' => :'String',
|
389
|
+
:'harmony' => :'String',
|
390
|
+
:'pleasantness' => :'String',
|
391
|
+
:'primary_mood_cluster' => :'String',
|
392
|
+
:'primary_sound_character' => :'String',
|
393
|
+
:'rhythm' => :'String',
|
394
|
+
:'roughness' => :'String',
|
395
|
+
:'scale' => :'String',
|
396
|
+
:'key' => :'String',
|
397
|
+
:'sound_generation' => :'String',
|
398
|
+
:'tempo' => :'String',
|
399
|
+
:'texture' => :'String',
|
400
|
+
:'timbre' => :'String',
|
401
|
+
:'tonality' => :'String',
|
402
|
+
:'valence' => :'String',
|
403
|
+
:'vocals' => :'String',
|
404
|
+
:'origin_decade' => :'String',
|
405
|
+
:'curateability' => :'String',
|
406
|
+
:'use_case' => :'String',
|
407
|
+
:'channel_suitability' => :'String',
|
408
|
+
:'language_of_performance' => :'String',
|
409
|
+
:'arousal' => :'String',
|
410
410
|
:'valence_affinity' => :'Float',
|
411
411
|
:'arousal_affinity' => :'Float',
|
412
412
|
:'pleasantness_affinity' => :'Float',
|
@@ -450,112 +450,120 @@ module SongtradrApiClientRuby
|
|
450
450
|
self.space = attributes[:'space']
|
451
451
|
end
|
452
452
|
|
453
|
-
if attributes.key?(:'
|
454
|
-
self.
|
453
|
+
if attributes.key?(:'primary_mood_cluster_affinity')
|
454
|
+
self.primary_mood_cluster_affinity = attributes[:'primary_mood_cluster_affinity']
|
455
455
|
end
|
456
456
|
|
457
|
-
if attributes.key?(:'
|
458
|
-
self.
|
457
|
+
if attributes.key?(:'secondary_mood_cluster')
|
458
|
+
self.secondary_mood_cluster = attributes[:'secondary_mood_cluster']
|
459
459
|
end
|
460
460
|
|
461
|
-
if attributes.key?(:'
|
462
|
-
self.
|
461
|
+
if attributes.key?(:'production_rating')
|
462
|
+
self.production_rating = attributes[:'production_rating']
|
463
463
|
end
|
464
464
|
|
465
|
-
if attributes.key?(:'
|
466
|
-
self.
|
465
|
+
if attributes.key?(:'production_rating_affinity')
|
466
|
+
self.production_rating_affinity = attributes[:'production_rating_affinity']
|
467
467
|
end
|
468
468
|
|
469
|
-
if attributes.key?(:'
|
470
|
-
self.
|
469
|
+
if attributes.key?(:'performance_rating')
|
470
|
+
self.performance_rating = attributes[:'performance_rating']
|
471
471
|
end
|
472
472
|
|
473
|
-
if attributes.key?(:'
|
474
|
-
self.
|
473
|
+
if attributes.key?(:'performance_rating_affinity')
|
474
|
+
self.performance_rating_affinity = attributes[:'performance_rating_affinity']
|
475
475
|
end
|
476
476
|
|
477
|
-
if attributes.key?(:'
|
478
|
-
self.
|
477
|
+
if attributes.key?(:'song_rating')
|
478
|
+
self.song_rating = attributes[:'song_rating']
|
479
479
|
end
|
480
480
|
|
481
|
-
if attributes.key?(:'
|
482
|
-
self.
|
481
|
+
if attributes.key?(:'song_rating_affinity')
|
482
|
+
self.song_rating_affinity = attributes[:'song_rating_affinity']
|
483
483
|
end
|
484
484
|
|
485
|
-
if attributes.key?(:'
|
486
|
-
self.
|
485
|
+
if attributes.key?(:'audience_age')
|
486
|
+
self.audience_age = attributes[:'audience_age']
|
487
487
|
end
|
488
488
|
|
489
|
-
if attributes.key?(:'
|
490
|
-
self.
|
489
|
+
if attributes.key?(:'audience_age_affinity')
|
490
|
+
self.audience_age_affinity = attributes[:'audience_age_affinity']
|
491
491
|
end
|
492
492
|
|
493
|
-
if attributes.key?(:'
|
494
|
-
self.
|
493
|
+
if attributes.key?(:'secondary_audience_age')
|
494
|
+
self.secondary_audience_age = attributes[:'secondary_audience_age']
|
495
495
|
end
|
496
496
|
|
497
|
-
if attributes.key?(:'
|
498
|
-
self.
|
497
|
+
if attributes.key?(:'secondary_audience_age_affinity')
|
498
|
+
self.secondary_audience_age_affinity = attributes[:'secondary_audience_age_affinity']
|
499
499
|
end
|
500
500
|
|
501
|
-
if attributes.key?(:'
|
502
|
-
self.
|
501
|
+
if attributes.key?(:'tertiary_audience_age')
|
502
|
+
self.tertiary_audience_age = attributes[:'tertiary_audience_age']
|
503
503
|
end
|
504
504
|
|
505
|
-
if attributes.key?(:'
|
506
|
-
self.
|
505
|
+
if attributes.key?(:'tertiary_audience_age_affinity')
|
506
|
+
self.tertiary_audience_age_affinity = attributes[:'tertiary_audience_age_affinity']
|
507
507
|
end
|
508
508
|
|
509
|
-
if attributes.key?(:'
|
510
|
-
self.
|
509
|
+
if attributes.key?(:'audience_gender')
|
510
|
+
self.audience_gender = attributes[:'audience_gender']
|
511
511
|
end
|
512
512
|
|
513
|
-
if attributes.key?(:'
|
514
|
-
self.
|
513
|
+
if attributes.key?(:'audience_gender_affinity')
|
514
|
+
self.audience_gender_affinity = attributes[:'audience_gender_affinity']
|
515
515
|
end
|
516
516
|
|
517
|
-
if attributes.key?(:'
|
518
|
-
self.
|
517
|
+
if attributes.key?(:'audience_region_affinity')
|
518
|
+
self.audience_region_affinity = attributes[:'audience_region_affinity']
|
519
519
|
end
|
520
520
|
|
521
|
-
if attributes.key?(:'
|
522
|
-
self.
|
521
|
+
if attributes.key?(:'secondary_audience_region')
|
522
|
+
self.secondary_audience_region = attributes[:'secondary_audience_region']
|
523
523
|
end
|
524
524
|
|
525
|
-
if attributes.key?(:'
|
526
|
-
self.
|
525
|
+
if attributes.key?(:'secondary_audience_region_affinity')
|
526
|
+
self.secondary_audience_region_affinity = attributes[:'secondary_audience_region_affinity']
|
527
527
|
end
|
528
528
|
|
529
|
-
if attributes.key?(:'
|
530
|
-
self.
|
529
|
+
if attributes.key?(:'tertiary_audience_region')
|
530
|
+
self.tertiary_audience_region = attributes[:'tertiary_audience_region']
|
531
531
|
end
|
532
532
|
|
533
|
-
if attributes.key?(:'
|
534
|
-
self.
|
533
|
+
if attributes.key?(:'tertiary_audience_region_affinity')
|
534
|
+
self.tertiary_audience_region_affinity = attributes[:'tertiary_audience_region_affinity']
|
535
535
|
end
|
536
536
|
|
537
|
-
if attributes.key?(:'
|
538
|
-
self.
|
537
|
+
if attributes.key?(:'origin_region')
|
538
|
+
self.origin_region = attributes[:'origin_region']
|
539
539
|
end
|
540
540
|
|
541
|
-
if attributes.key?(:'
|
542
|
-
self.
|
541
|
+
if attributes.key?(:'origin_region_affinity')
|
542
|
+
self.origin_region_affinity = attributes[:'origin_region_affinity']
|
543
543
|
end
|
544
544
|
|
545
|
-
if attributes.key?(:'
|
546
|
-
self.
|
545
|
+
if attributes.key?(:'origin_decade_affinity')
|
546
|
+
self.origin_decade_affinity = attributes[:'origin_decade_affinity']
|
547
547
|
end
|
548
548
|
|
549
|
-
if attributes.key?(:'
|
550
|
-
self.
|
549
|
+
if attributes.key?(:'language_of_performance_affinity')
|
550
|
+
self.language_of_performance_affinity = attributes[:'language_of_performance_affinity']
|
551
551
|
end
|
552
552
|
|
553
|
-
if attributes.key?(:'
|
554
|
-
self.
|
553
|
+
if attributes.key?(:'curateability_affinity')
|
554
|
+
self.curateability_affinity = attributes[:'curateability_affinity']
|
555
555
|
end
|
556
556
|
|
557
|
-
if attributes.key?(:'
|
558
|
-
self.
|
557
|
+
if attributes.key?(:'use_case_affinity')
|
558
|
+
self.use_case_affinity = attributes[:'use_case_affinity']
|
559
|
+
end
|
560
|
+
|
561
|
+
if attributes.key?(:'industry_suitability')
|
562
|
+
self.industry_suitability = attributes[:'industry_suitability']
|
563
|
+
end
|
564
|
+
|
565
|
+
if attributes.key?(:'industry_suitability_affinity')
|
566
|
+
self.industry_suitability_affinity = attributes[:'industry_suitability_affinity']
|
559
567
|
end
|
560
568
|
|
561
569
|
if attributes.key?(:'secondary_mood_cluster_affinity')
|
@@ -614,116 +622,108 @@ module SongtradrApiClientRuby
|
|
614
622
|
self.bpm = attributes[:'bpm']
|
615
623
|
end
|
616
624
|
|
617
|
-
if attributes.key?(:'
|
618
|
-
self.
|
625
|
+
if attributes.key?(:'audience_region')
|
626
|
+
self.audience_region = attributes[:'audience_region']
|
619
627
|
end
|
620
628
|
|
621
|
-
if attributes.key?(:'
|
622
|
-
self.
|
629
|
+
if attributes.key?(:'dominant_instrument')
|
630
|
+
self.dominant_instrument = attributes[:'dominant_instrument']
|
623
631
|
end
|
624
632
|
|
625
|
-
if attributes.key?(:'
|
626
|
-
self.
|
633
|
+
if attributes.key?(:'energy')
|
634
|
+
self.energy = attributes[:'energy']
|
627
635
|
end
|
628
636
|
|
629
|
-
if attributes.key?(:'
|
630
|
-
self.
|
637
|
+
if attributes.key?(:'engagement')
|
638
|
+
self.engagement = attributes[:'engagement']
|
631
639
|
end
|
632
640
|
|
633
|
-
if attributes.key?(:'
|
634
|
-
self.
|
641
|
+
if attributes.key?(:'groovyness')
|
642
|
+
self.groovyness = attributes[:'groovyness']
|
635
643
|
end
|
636
644
|
|
637
|
-
if attributes.key?(:'
|
638
|
-
self.
|
645
|
+
if attributes.key?(:'harmony')
|
646
|
+
self.harmony = attributes[:'harmony']
|
639
647
|
end
|
640
648
|
|
641
|
-
if attributes.key?(:'
|
642
|
-
self.
|
649
|
+
if attributes.key?(:'pleasantness')
|
650
|
+
self.pleasantness = attributes[:'pleasantness']
|
643
651
|
end
|
644
652
|
|
645
|
-
if attributes.key?(:'
|
646
|
-
self.
|
653
|
+
if attributes.key?(:'primary_mood_cluster')
|
654
|
+
self.primary_mood_cluster = attributes[:'primary_mood_cluster']
|
647
655
|
end
|
648
656
|
|
649
|
-
if attributes.key?(:'
|
650
|
-
self.
|
657
|
+
if attributes.key?(:'primary_sound_character')
|
658
|
+
self.primary_sound_character = attributes[:'primary_sound_character']
|
651
659
|
end
|
652
660
|
|
653
|
-
if attributes.key?(:'
|
654
|
-
self.
|
661
|
+
if attributes.key?(:'rhythm')
|
662
|
+
self.rhythm = attributes[:'rhythm']
|
655
663
|
end
|
656
664
|
|
657
|
-
if attributes.key?(:'
|
658
|
-
self.
|
665
|
+
if attributes.key?(:'roughness')
|
666
|
+
self.roughness = attributes[:'roughness']
|
659
667
|
end
|
660
668
|
|
661
|
-
if attributes.key?(:'
|
662
|
-
self.
|
669
|
+
if attributes.key?(:'scale')
|
670
|
+
self.scale = attributes[:'scale']
|
663
671
|
end
|
664
672
|
|
665
|
-
if attributes.key?(:'
|
666
|
-
self.
|
673
|
+
if attributes.key?(:'key')
|
674
|
+
self.key = attributes[:'key']
|
667
675
|
end
|
668
676
|
|
669
|
-
if attributes.key?(:'
|
670
|
-
self.
|
677
|
+
if attributes.key?(:'sound_generation')
|
678
|
+
self.sound_generation = attributes[:'sound_generation']
|
671
679
|
end
|
672
680
|
|
673
|
-
if attributes.key?(:'
|
674
|
-
self.
|
681
|
+
if attributes.key?(:'tempo')
|
682
|
+
self.tempo = attributes[:'tempo']
|
675
683
|
end
|
676
684
|
|
677
|
-
if attributes.key?(:'
|
678
|
-
self.
|
685
|
+
if attributes.key?(:'texture')
|
686
|
+
self.texture = attributes[:'texture']
|
679
687
|
end
|
680
688
|
|
681
|
-
if attributes.key?(:'
|
682
|
-
self.
|
689
|
+
if attributes.key?(:'timbre')
|
690
|
+
self.timbre = attributes[:'timbre']
|
683
691
|
end
|
684
692
|
|
685
|
-
if attributes.key?(:'
|
686
|
-
self.
|
693
|
+
if attributes.key?(:'tonality')
|
694
|
+
self.tonality = attributes[:'tonality']
|
687
695
|
end
|
688
696
|
|
689
|
-
if attributes.key?(:'
|
690
|
-
self.
|
691
|
-
end
|
692
|
-
|
693
|
-
if attributes.key?(:'origin_region')
|
694
|
-
self.origin_region = attributes[:'origin_region']
|
695
|
-
end
|
696
|
-
|
697
|
-
if attributes.key?(:'origin_region_affinity')
|
698
|
-
self.origin_region_affinity = attributes[:'origin_region_affinity']
|
697
|
+
if attributes.key?(:'valence')
|
698
|
+
self.valence = attributes[:'valence']
|
699
699
|
end
|
700
700
|
|
701
|
-
if attributes.key?(:'
|
702
|
-
self.
|
701
|
+
if attributes.key?(:'vocals')
|
702
|
+
self.vocals = attributes[:'vocals']
|
703
703
|
end
|
704
704
|
|
705
|
-
if attributes.key?(:'
|
706
|
-
self.
|
705
|
+
if attributes.key?(:'origin_decade')
|
706
|
+
self.origin_decade = attributes[:'origin_decade']
|
707
707
|
end
|
708
708
|
|
709
|
-
if attributes.key?(:'
|
710
|
-
self.
|
709
|
+
if attributes.key?(:'curateability')
|
710
|
+
self.curateability = attributes[:'curateability']
|
711
711
|
end
|
712
712
|
|
713
|
-
if attributes.key?(:'
|
714
|
-
self.
|
713
|
+
if attributes.key?(:'use_case')
|
714
|
+
self.use_case = attributes[:'use_case']
|
715
715
|
end
|
716
716
|
|
717
|
-
if attributes.key?(:'
|
718
|
-
self.
|
717
|
+
if attributes.key?(:'channel_suitability')
|
718
|
+
self.channel_suitability = attributes[:'channel_suitability']
|
719
719
|
end
|
720
720
|
|
721
|
-
if attributes.key?(:'
|
722
|
-
self.
|
721
|
+
if attributes.key?(:'language_of_performance')
|
722
|
+
self.language_of_performance = attributes[:'language_of_performance']
|
723
723
|
end
|
724
724
|
|
725
|
-
if attributes.key?(:'
|
726
|
-
self.
|
725
|
+
if attributes.key?(:'arousal')
|
726
|
+
self.arousal = attributes[:'arousal']
|
727
727
|
end
|
728
728
|
|
729
729
|
if attributes.key?(:'valence_affinity')
|
@@ -801,64 +801,8 @@ module SongtradrApiClientRuby
|
|
801
801
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
802
802
|
space_validator = EnumAttributeValidator.new('String', ["very compact", "compact", "moderate space", "wide", "very wide"])
|
803
803
|
return false unless space_validator.valid?(@space)
|
804
|
-
arousal_validator = EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
|
805
|
-
return false unless arousal_validator.valid?(@arousal)
|
806
|
-
tempo_validator = EnumAttributeValidator.new('String', ["very slow", "slow", "mid-tempo", "fast", "very fast", "varying tempo"])
|
807
|
-
return false unless tempo_validator.valid?(@tempo)
|
808
|
-
texture_validator = EnumAttributeValidator.new('String', ["very thin", "thin", "moderate texture", "full", "very full"])
|
809
|
-
return false unless texture_validator.valid?(@texture)
|
810
|
-
timbre_validator = EnumAttributeValidator.new('String', ["very warm", "warm", "moderate timbre", "bright", "very bright"])
|
811
|
-
return false unless timbre_validator.valid?(@timbre)
|
812
|
-
tonality_validator = EnumAttributeValidator.new('String', ["monotonous", "moderate melodiousness", "melodious", "atonal"])
|
813
|
-
return false unless tonality_validator.valid?(@tonality)
|
814
|
-
valence_validator = EnumAttributeValidator.new('String', ["very sad", "sad", "moderate valence", "positive", "very positive", "varying valence"])
|
815
|
-
return false unless valence_validator.valid?(@valence)
|
816
|
-
vocals_validator = EnumAttributeValidator.new('String', ["instrumental", "female vocals", "male vocals", "mixed vocals", "diverse gender vocals"])
|
817
|
-
return false unless vocals_validator.valid?(@vocals)
|
818
|
-
origin_decade_validator = EnumAttributeValidator.new('String', ["pre-1950s", "1950s", "1960s", "1970s", "1980s", "1990s", "2000s", "2010s", "2020s"])
|
819
|
-
return false unless origin_decade_validator.valid?(@origin_decade)
|
820
|
-
curateability_validator = EnumAttributeValidator.new('String', ["curateable", "uncurateable"])
|
821
|
-
return false unless curateability_validator.valid?(@curateability)
|
822
|
-
use_case_validator = EnumAttributeValidator.new('String', ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax", "karaoke"])
|
823
|
-
return false unless use_case_validator.valid?(@use_case)
|
824
|
-
channel_suitability_validator = EnumAttributeValidator.new('String', ["Spotify", "TikTok", "Unfitting", "YouTube"])
|
825
|
-
return false unless channel_suitability_validator.valid?(@channel_suitability)
|
826
|
-
language_of_performance_validator = 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"])
|
827
|
-
return false unless language_of_performance_validator.valid?(@language_of_performance)
|
828
|
-
dominant_instrument_validator = 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"])
|
829
|
-
return false unless dominant_instrument_validator.valid?(@dominant_instrument)
|
830
|
-
energy_validator = EnumAttributeValidator.new('String', ["very quiet", "quiet", "moderate", "loud", "very loud", "dynamic"])
|
831
|
-
return false unless energy_validator.valid?(@energy)
|
832
|
-
engagement_validator = EnumAttributeValidator.new('String', ["very unengaging", "unengaging", "neutral engagement", "engaging", "very engaging", "varying engagement"])
|
833
|
-
return false unless engagement_validator.valid?(@engagement)
|
834
|
-
groovyness_validator = EnumAttributeValidator.new('String', ["very steady", "steady", "moderate rhythm feel", "groovy", "very groovy"])
|
835
|
-
return false unless groovyness_validator.valid?(@groovyness)
|
836
|
-
harmony_validator = EnumAttributeValidator.new('String', ["very dissonant", "dissonant", "moderate harmonies", "harmonious", "very harmonious"])
|
837
|
-
return false unless harmony_validator.valid?(@harmony)
|
838
|
-
pleasantness_validator = EnumAttributeValidator.new('String', ["very unpleasant", "unpleasant", "neutral pleasantness", "pleasant", "very pleasant", "varying pleasantness"])
|
839
|
-
return false unless pleasantness_validator.valid?(@pleasantness)
|
840
|
-
primary_mood_cluster_validator = EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
841
|
-
return false unless primary_mood_cluster_validator.valid?(@primary_mood_cluster)
|
842
|
-
primary_sound_character_validator = EnumAttributeValidator.new('String', ["brassy", "bright", "clear", "deep", "distorted", "flat", "full", "groovy", "melodious", "natural", "resonant", "shrill", "steady", "thin", "warm"])
|
843
|
-
return false unless primary_sound_character_validator.valid?(@primary_sound_character)
|
844
|
-
rhythm_validator = EnumAttributeValidator.new('String', ["common time", "triple meter", "complex time signature", "binary rhythm", "ternary rhythm"])
|
845
|
-
return false unless rhythm_validator.valid?(@rhythm)
|
846
|
-
roughness_validator = EnumAttributeValidator.new('String', ["very clear", "clear", "moderate roughness", "distorted", "very distorted"])
|
847
|
-
return false unless roughness_validator.valid?(@roughness)
|
848
|
-
scale_validator = EnumAttributeValidator.new('String', ["major key", "minor key", "neutral key"])
|
849
|
-
return false unless scale_validator.valid?(@scale)
|
850
|
-
key_validator = EnumAttributeValidator.new('String', ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B", "unclear"])
|
851
|
-
return false unless key_validator.valid?(@key)
|
852
|
-
sound_generation_validator = EnumAttributeValidator.new('String', ["acoustic", "electric", "electronic", "mixed sound generation"])
|
853
|
-
return false unless sound_generation_validator.valid?(@sound_generation)
|
854
804
|
secondary_mood_cluster_validator = EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
855
805
|
return false unless secondary_mood_cluster_validator.valid?(@secondary_mood_cluster)
|
856
|
-
tertiary_mood_cluster_validator = EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
857
|
-
return false unless tertiary_mood_cluster_validator.valid?(@tertiary_mood_cluster)
|
858
|
-
secondary_instrument_validator = 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"])
|
859
|
-
return false unless secondary_instrument_validator.valid?(@secondary_instrument)
|
860
|
-
tertiary_instrument_validator = 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"])
|
861
|
-
return false unless tertiary_instrument_validator.valid?(@tertiary_instrument)
|
862
806
|
production_rating_validator = EnumAttributeValidator.new('String', ["low production quality", "medium production quality", "high production quality"])
|
863
807
|
return false unless production_rating_validator.valid?(@production_rating)
|
864
808
|
performance_rating_validator = EnumAttributeValidator.new('String', ["low performance quality", "medium performance quality", "high performance quality"])
|
@@ -881,8 +825,64 @@ module SongtradrApiClientRuby
|
|
881
825
|
return false unless origin_region_validator.valid?(@origin_region)
|
882
826
|
industry_suitability_validator = 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"])
|
883
827
|
return false unless industry_suitability_validator.valid?(@industry_suitability)
|
828
|
+
tertiary_mood_cluster_validator = EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
829
|
+
return false unless tertiary_mood_cluster_validator.valid?(@tertiary_mood_cluster)
|
830
|
+
secondary_instrument_validator = 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"])
|
831
|
+
return false unless secondary_instrument_validator.valid?(@secondary_instrument)
|
832
|
+
tertiary_instrument_validator = 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"])
|
833
|
+
return false unless tertiary_instrument_validator.valid?(@tertiary_instrument)
|
884
834
|
audience_region_validator = 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"])
|
885
835
|
return false unless audience_region_validator.valid?(@audience_region)
|
836
|
+
dominant_instrument_validator = 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"])
|
837
|
+
return false unless dominant_instrument_validator.valid?(@dominant_instrument)
|
838
|
+
energy_validator = EnumAttributeValidator.new('String', ["very quiet", "quiet", "moderate", "loud", "very loud", "dynamic"])
|
839
|
+
return false unless energy_validator.valid?(@energy)
|
840
|
+
engagement_validator = EnumAttributeValidator.new('String', ["very unengaging", "unengaging", "neutral engagement", "engaging", "very engaging", "varying engagement"])
|
841
|
+
return false unless engagement_validator.valid?(@engagement)
|
842
|
+
groovyness_validator = EnumAttributeValidator.new('String', ["very steady", "steady", "moderate rhythm feel", "groovy", "very groovy"])
|
843
|
+
return false unless groovyness_validator.valid?(@groovyness)
|
844
|
+
harmony_validator = EnumAttributeValidator.new('String', ["very dissonant", "dissonant", "moderate harmonies", "harmonious", "very harmonious"])
|
845
|
+
return false unless harmony_validator.valid?(@harmony)
|
846
|
+
pleasantness_validator = EnumAttributeValidator.new('String', ["very unpleasant", "unpleasant", "neutral pleasantness", "pleasant", "very pleasant", "varying pleasantness"])
|
847
|
+
return false unless pleasantness_validator.valid?(@pleasantness)
|
848
|
+
primary_mood_cluster_validator = EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
849
|
+
return false unless primary_mood_cluster_validator.valid?(@primary_mood_cluster)
|
850
|
+
primary_sound_character_validator = EnumAttributeValidator.new('String', ["brassy", "bright", "clear", "deep", "distorted", "flat", "full", "groovy", "melodious", "natural", "resonant", "shrill", "steady", "thin", "warm"])
|
851
|
+
return false unless primary_sound_character_validator.valid?(@primary_sound_character)
|
852
|
+
rhythm_validator = EnumAttributeValidator.new('String', ["common time", "triple meter", "complex time signature", "binary rhythm", "ternary rhythm"])
|
853
|
+
return false unless rhythm_validator.valid?(@rhythm)
|
854
|
+
roughness_validator = EnumAttributeValidator.new('String', ["very clear", "clear", "moderate roughness", "distorted", "very distorted"])
|
855
|
+
return false unless roughness_validator.valid?(@roughness)
|
856
|
+
scale_validator = EnumAttributeValidator.new('String', ["major key", "minor key", "neutral key"])
|
857
|
+
return false unless scale_validator.valid?(@scale)
|
858
|
+
key_validator = EnumAttributeValidator.new('String', ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B", "unclear"])
|
859
|
+
return false unless key_validator.valid?(@key)
|
860
|
+
sound_generation_validator = EnumAttributeValidator.new('String', ["acoustic", "electric", "electronic", "mixed sound generation"])
|
861
|
+
return false unless sound_generation_validator.valid?(@sound_generation)
|
862
|
+
tempo_validator = EnumAttributeValidator.new('String', ["very slow", "slow", "mid-tempo", "fast", "very fast", "varying tempo"])
|
863
|
+
return false unless tempo_validator.valid?(@tempo)
|
864
|
+
texture_validator = EnumAttributeValidator.new('String', ["very thin", "thin", "moderate texture", "full", "very full"])
|
865
|
+
return false unless texture_validator.valid?(@texture)
|
866
|
+
timbre_validator = EnumAttributeValidator.new('String', ["very warm", "warm", "moderate timbre", "bright", "very bright"])
|
867
|
+
return false unless timbre_validator.valid?(@timbre)
|
868
|
+
tonality_validator = EnumAttributeValidator.new('String', ["monotonous", "moderate melodiousness", "melodious", "atonal"])
|
869
|
+
return false unless tonality_validator.valid?(@tonality)
|
870
|
+
valence_validator = EnumAttributeValidator.new('String', ["very sad", "sad", "moderate valence", "positive", "very positive", "varying valence"])
|
871
|
+
return false unless valence_validator.valid?(@valence)
|
872
|
+
vocals_validator = EnumAttributeValidator.new('String', ["instrumental", "female vocals", "male vocals", "mixed vocals", "diverse gender vocals"])
|
873
|
+
return false unless vocals_validator.valid?(@vocals)
|
874
|
+
origin_decade_validator = EnumAttributeValidator.new('String', ["pre-1950s", "1950s", "1960s", "1970s", "1980s", "1990s", "2000s", "2010s", "2020s"])
|
875
|
+
return false unless origin_decade_validator.valid?(@origin_decade)
|
876
|
+
curateability_validator = EnumAttributeValidator.new('String', ["curateable", "uncurateable"])
|
877
|
+
return false unless curateability_validator.valid?(@curateability)
|
878
|
+
use_case_validator = EnumAttributeValidator.new('String', ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax", "karaoke"])
|
879
|
+
return false unless use_case_validator.valid?(@use_case)
|
880
|
+
channel_suitability_validator = EnumAttributeValidator.new('String', ["Spotify", "TikTok", "Unfitting", "YouTube"])
|
881
|
+
return false unless channel_suitability_validator.valid?(@channel_suitability)
|
882
|
+
language_of_performance_validator = 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"])
|
883
|
+
return false unless language_of_performance_validator.valid?(@language_of_performance)
|
884
|
+
arousal_validator = EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
|
885
|
+
return false unless arousal_validator.valid?(@arousal)
|
886
886
|
true
|
887
887
|
end
|
888
888
|
|
@@ -897,123 +897,163 @@ module SongtradrApiClientRuby
|
|
897
897
|
end
|
898
898
|
|
899
899
|
# Custom attribute writer method checking allowed values (enum).
|
900
|
-
# @param [Object]
|
901
|
-
def
|
902
|
-
validator = EnumAttributeValidator.new('String', ["
|
903
|
-
unless validator.valid?(
|
904
|
-
fail ArgumentError, "invalid value for \"
|
900
|
+
# @param [Object] secondary_mood_cluster Object to be assigned
|
901
|
+
def secondary_mood_cluster=(secondary_mood_cluster)
|
902
|
+
validator = EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
903
|
+
unless validator.valid?(secondary_mood_cluster)
|
904
|
+
fail ArgumentError, "invalid value for \"secondary_mood_cluster\", must be one of #{validator.allowable_values}."
|
905
905
|
end
|
906
|
-
@
|
906
|
+
@secondary_mood_cluster = secondary_mood_cluster
|
907
907
|
end
|
908
908
|
|
909
909
|
# Custom attribute writer method checking allowed values (enum).
|
910
|
-
# @param [Object]
|
911
|
-
def
|
912
|
-
validator = EnumAttributeValidator.new('String', ["
|
913
|
-
unless validator.valid?(
|
914
|
-
fail ArgumentError, "invalid value for \"
|
910
|
+
# @param [Object] production_rating Object to be assigned
|
911
|
+
def production_rating=(production_rating)
|
912
|
+
validator = EnumAttributeValidator.new('String', ["low production quality", "medium production quality", "high production quality"])
|
913
|
+
unless validator.valid?(production_rating)
|
914
|
+
fail ArgumentError, "invalid value for \"production_rating\", must be one of #{validator.allowable_values}."
|
915
915
|
end
|
916
|
-
@
|
916
|
+
@production_rating = production_rating
|
917
917
|
end
|
918
918
|
|
919
919
|
# Custom attribute writer method checking allowed values (enum).
|
920
|
-
# @param [Object]
|
921
|
-
def
|
922
|
-
validator = EnumAttributeValidator.new('String', ["
|
923
|
-
unless validator.valid?(
|
924
|
-
fail ArgumentError, "invalid value for \"
|
920
|
+
# @param [Object] performance_rating Object to be assigned
|
921
|
+
def performance_rating=(performance_rating)
|
922
|
+
validator = EnumAttributeValidator.new('String', ["low performance quality", "medium performance quality", "high performance quality"])
|
923
|
+
unless validator.valid?(performance_rating)
|
924
|
+
fail ArgumentError, "invalid value for \"performance_rating\", must be one of #{validator.allowable_values}."
|
925
925
|
end
|
926
|
-
@
|
926
|
+
@performance_rating = performance_rating
|
927
927
|
end
|
928
928
|
|
929
929
|
# Custom attribute writer method checking allowed values (enum).
|
930
|
-
# @param [Object]
|
931
|
-
def
|
932
|
-
validator = EnumAttributeValidator.new('String', ["
|
933
|
-
unless validator.valid?(
|
934
|
-
fail ArgumentError, "invalid value for \"
|
930
|
+
# @param [Object] song_rating Object to be assigned
|
931
|
+
def song_rating=(song_rating)
|
932
|
+
validator = EnumAttributeValidator.new('String', ["low song quality", "medium song quality", "high song quality"])
|
933
|
+
unless validator.valid?(song_rating)
|
934
|
+
fail ArgumentError, "invalid value for \"song_rating\", must be one of #{validator.allowable_values}."
|
935
935
|
end
|
936
|
-
@
|
936
|
+
@song_rating = song_rating
|
937
937
|
end
|
938
938
|
|
939
939
|
# Custom attribute writer method checking allowed values (enum).
|
940
|
-
# @param [Object]
|
941
|
-
def
|
942
|
-
validator = EnumAttributeValidator.new('String', ["
|
943
|
-
unless validator.valid?(
|
944
|
-
fail ArgumentError, "invalid value for \"
|
940
|
+
# @param [Object] audience_age Object to be assigned
|
941
|
+
def audience_age=(audience_age)
|
942
|
+
validator = EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
|
943
|
+
unless validator.valid?(audience_age)
|
944
|
+
fail ArgumentError, "invalid value for \"audience_age\", must be one of #{validator.allowable_values}."
|
945
945
|
end
|
946
|
-
@
|
946
|
+
@audience_age = audience_age
|
947
947
|
end
|
948
948
|
|
949
949
|
# Custom attribute writer method checking allowed values (enum).
|
950
|
-
# @param [Object]
|
951
|
-
def
|
952
|
-
validator = EnumAttributeValidator.new('String', ["
|
953
|
-
unless validator.valid?(
|
954
|
-
fail ArgumentError, "invalid value for \"
|
950
|
+
# @param [Object] secondary_audience_age Object to be assigned
|
951
|
+
def secondary_audience_age=(secondary_audience_age)
|
952
|
+
validator = EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
|
953
|
+
unless validator.valid?(secondary_audience_age)
|
954
|
+
fail ArgumentError, "invalid value for \"secondary_audience_age\", must be one of #{validator.allowable_values}."
|
955
955
|
end
|
956
|
-
@
|
956
|
+
@secondary_audience_age = secondary_audience_age
|
957
957
|
end
|
958
958
|
|
959
959
|
# Custom attribute writer method checking allowed values (enum).
|
960
|
-
# @param [Object]
|
961
|
-
def
|
962
|
-
validator = EnumAttributeValidator.new('String', ["
|
963
|
-
unless validator.valid?(
|
964
|
-
fail ArgumentError, "invalid value for \"
|
960
|
+
# @param [Object] tertiary_audience_age Object to be assigned
|
961
|
+
def tertiary_audience_age=(tertiary_audience_age)
|
962
|
+
validator = EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
|
963
|
+
unless validator.valid?(tertiary_audience_age)
|
964
|
+
fail ArgumentError, "invalid value for \"tertiary_audience_age\", must be one of #{validator.allowable_values}."
|
965
965
|
end
|
966
|
-
@
|
966
|
+
@tertiary_audience_age = tertiary_audience_age
|
967
967
|
end
|
968
968
|
|
969
969
|
# Custom attribute writer method checking allowed values (enum).
|
970
|
-
# @param [Object]
|
971
|
-
def
|
972
|
-
validator = EnumAttributeValidator.new('String', ["
|
973
|
-
unless validator.valid?(
|
974
|
-
fail ArgumentError, "invalid value for \"
|
970
|
+
# @param [Object] audience_gender Object to be assigned
|
971
|
+
def audience_gender=(audience_gender)
|
972
|
+
validator = EnumAttributeValidator.new('String', ["male", "female"])
|
973
|
+
unless validator.valid?(audience_gender)
|
974
|
+
fail ArgumentError, "invalid value for \"audience_gender\", must be one of #{validator.allowable_values}."
|
975
975
|
end
|
976
|
-
@
|
976
|
+
@audience_gender = audience_gender
|
977
977
|
end
|
978
978
|
|
979
979
|
# Custom attribute writer method checking allowed values (enum).
|
980
|
-
# @param [Object]
|
981
|
-
def
|
982
|
-
validator = EnumAttributeValidator.new('String', ["
|
983
|
-
unless validator.valid?(
|
984
|
-
fail ArgumentError, "invalid value for \"
|
980
|
+
# @param [Object] secondary_audience_region Object to be assigned
|
981
|
+
def secondary_audience_region=(secondary_audience_region)
|
982
|
+
validator = 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"])
|
983
|
+
unless validator.valid?(secondary_audience_region)
|
984
|
+
fail ArgumentError, "invalid value for \"secondary_audience_region\", must be one of #{validator.allowable_values}."
|
985
985
|
end
|
986
|
-
@
|
986
|
+
@secondary_audience_region = secondary_audience_region
|
987
987
|
end
|
988
988
|
|
989
989
|
# Custom attribute writer method checking allowed values (enum).
|
990
|
-
# @param [Object]
|
991
|
-
def
|
992
|
-
validator = EnumAttributeValidator.new('String', ["
|
993
|
-
unless validator.valid?(
|
994
|
-
fail ArgumentError, "invalid value for \"
|
990
|
+
# @param [Object] tertiary_audience_region Object to be assigned
|
991
|
+
def tertiary_audience_region=(tertiary_audience_region)
|
992
|
+
validator = 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"])
|
993
|
+
unless validator.valid?(tertiary_audience_region)
|
994
|
+
fail ArgumentError, "invalid value for \"tertiary_audience_region\", must be one of #{validator.allowable_values}."
|
995
995
|
end
|
996
|
-
@
|
996
|
+
@tertiary_audience_region = tertiary_audience_region
|
997
997
|
end
|
998
998
|
|
999
999
|
# Custom attribute writer method checking allowed values (enum).
|
1000
|
-
# @param [Object]
|
1001
|
-
def
|
1002
|
-
validator = EnumAttributeValidator.new('String', ["
|
1003
|
-
unless validator.valid?(
|
1004
|
-
fail ArgumentError, "invalid value for \"
|
1000
|
+
# @param [Object] origin_region Object to be assigned
|
1001
|
+
def origin_region=(origin_region)
|
1002
|
+
validator = 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"])
|
1003
|
+
unless validator.valid?(origin_region)
|
1004
|
+
fail ArgumentError, "invalid value for \"origin_region\", must be one of #{validator.allowable_values}."
|
1005
1005
|
end
|
1006
|
-
@
|
1006
|
+
@origin_region = origin_region
|
1007
1007
|
end
|
1008
1008
|
|
1009
1009
|
# Custom attribute writer method checking allowed values (enum).
|
1010
|
-
# @param [Object]
|
1011
|
-
def
|
1012
|
-
validator = EnumAttributeValidator.new('String', ["
|
1013
|
-
unless validator.valid?(
|
1014
|
-
fail ArgumentError, "invalid value for \"
|
1010
|
+
# @param [Object] industry_suitability Object to be assigned
|
1011
|
+
def industry_suitability=(industry_suitability)
|
1012
|
+
validator = 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"])
|
1013
|
+
unless validator.valid?(industry_suitability)
|
1014
|
+
fail ArgumentError, "invalid value for \"industry_suitability\", must be one of #{validator.allowable_values}."
|
1015
1015
|
end
|
1016
|
-
@
|
1016
|
+
@industry_suitability = industry_suitability
|
1017
|
+
end
|
1018
|
+
|
1019
|
+
# Custom attribute writer method checking allowed values (enum).
|
1020
|
+
# @param [Object] tertiary_mood_cluster Object to be assigned
|
1021
|
+
def tertiary_mood_cluster=(tertiary_mood_cluster)
|
1022
|
+
validator = EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
1023
|
+
unless validator.valid?(tertiary_mood_cluster)
|
1024
|
+
fail ArgumentError, "invalid value for \"tertiary_mood_cluster\", must be one of #{validator.allowable_values}."
|
1025
|
+
end
|
1026
|
+
@tertiary_mood_cluster = tertiary_mood_cluster
|
1027
|
+
end
|
1028
|
+
|
1029
|
+
# Custom attribute writer method checking allowed values (enum).
|
1030
|
+
# @param [Object] secondary_instrument Object to be assigned
|
1031
|
+
def secondary_instrument=(secondary_instrument)
|
1032
|
+
validator = 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"])
|
1033
|
+
unless validator.valid?(secondary_instrument)
|
1034
|
+
fail ArgumentError, "invalid value for \"secondary_instrument\", must be one of #{validator.allowable_values}."
|
1035
|
+
end
|
1036
|
+
@secondary_instrument = secondary_instrument
|
1037
|
+
end
|
1038
|
+
|
1039
|
+
# Custom attribute writer method checking allowed values (enum).
|
1040
|
+
# @param [Object] tertiary_instrument Object to be assigned
|
1041
|
+
def tertiary_instrument=(tertiary_instrument)
|
1042
|
+
validator = 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"])
|
1043
|
+
unless validator.valid?(tertiary_instrument)
|
1044
|
+
fail ArgumentError, "invalid value for \"tertiary_instrument\", must be one of #{validator.allowable_values}."
|
1045
|
+
end
|
1046
|
+
@tertiary_instrument = tertiary_instrument
|
1047
|
+
end
|
1048
|
+
|
1049
|
+
# Custom attribute writer method checking allowed values (enum).
|
1050
|
+
# @param [Object] audience_region Object to be assigned
|
1051
|
+
def audience_region=(audience_region)
|
1052
|
+
validator = 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"])
|
1053
|
+
unless validator.valid?(audience_region)
|
1054
|
+
fail ArgumentError, "invalid value for \"audience_region\", must be one of #{validator.allowable_values}."
|
1055
|
+
end
|
1056
|
+
@audience_region = audience_region
|
1017
1057
|
end
|
1018
1058
|
|
1019
1059
|
# Custom attribute writer method checking allowed values (enum).
|
@@ -1147,163 +1187,123 @@ module SongtradrApiClientRuby
|
|
1147
1187
|
end
|
1148
1188
|
|
1149
1189
|
# Custom attribute writer method checking allowed values (enum).
|
1150
|
-
# @param [Object]
|
1151
|
-
def
|
1152
|
-
validator = EnumAttributeValidator.new('String', ["
|
1153
|
-
unless validator.valid?(
|
1154
|
-
fail ArgumentError, "invalid value for \"
|
1155
|
-
end
|
1156
|
-
@secondary_mood_cluster = secondary_mood_cluster
|
1157
|
-
end
|
1158
|
-
|
1159
|
-
# Custom attribute writer method checking allowed values (enum).
|
1160
|
-
# @param [Object] tertiary_mood_cluster Object to be assigned
|
1161
|
-
def tertiary_mood_cluster=(tertiary_mood_cluster)
|
1162
|
-
validator = EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
1163
|
-
unless validator.valid?(tertiary_mood_cluster)
|
1164
|
-
fail ArgumentError, "invalid value for \"tertiary_mood_cluster\", must be one of #{validator.allowable_values}."
|
1165
|
-
end
|
1166
|
-
@tertiary_mood_cluster = tertiary_mood_cluster
|
1167
|
-
end
|
1168
|
-
|
1169
|
-
# Custom attribute writer method checking allowed values (enum).
|
1170
|
-
# @param [Object] secondary_instrument Object to be assigned
|
1171
|
-
def secondary_instrument=(secondary_instrument)
|
1172
|
-
validator = 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"])
|
1173
|
-
unless validator.valid?(secondary_instrument)
|
1174
|
-
fail ArgumentError, "invalid value for \"secondary_instrument\", must be one of #{validator.allowable_values}."
|
1175
|
-
end
|
1176
|
-
@secondary_instrument = secondary_instrument
|
1177
|
-
end
|
1178
|
-
|
1179
|
-
# Custom attribute writer method checking allowed values (enum).
|
1180
|
-
# @param [Object] tertiary_instrument Object to be assigned
|
1181
|
-
def tertiary_instrument=(tertiary_instrument)
|
1182
|
-
validator = 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"])
|
1183
|
-
unless validator.valid?(tertiary_instrument)
|
1184
|
-
fail ArgumentError, "invalid value for \"tertiary_instrument\", must be one of #{validator.allowable_values}."
|
1185
|
-
end
|
1186
|
-
@tertiary_instrument = tertiary_instrument
|
1187
|
-
end
|
1188
|
-
|
1189
|
-
# Custom attribute writer method checking allowed values (enum).
|
1190
|
-
# @param [Object] production_rating Object to be assigned
|
1191
|
-
def production_rating=(production_rating)
|
1192
|
-
validator = EnumAttributeValidator.new('String', ["low production quality", "medium production quality", "high production quality"])
|
1193
|
-
unless validator.valid?(production_rating)
|
1194
|
-
fail ArgumentError, "invalid value for \"production_rating\", must be one of #{validator.allowable_values}."
|
1190
|
+
# @param [Object] tempo Object to be assigned
|
1191
|
+
def tempo=(tempo)
|
1192
|
+
validator = EnumAttributeValidator.new('String', ["very slow", "slow", "mid-tempo", "fast", "very fast", "varying tempo"])
|
1193
|
+
unless validator.valid?(tempo)
|
1194
|
+
fail ArgumentError, "invalid value for \"tempo\", must be one of #{validator.allowable_values}."
|
1195
1195
|
end
|
1196
|
-
@
|
1196
|
+
@tempo = tempo
|
1197
1197
|
end
|
1198
1198
|
|
1199
1199
|
# Custom attribute writer method checking allowed values (enum).
|
1200
|
-
# @param [Object]
|
1201
|
-
def
|
1202
|
-
validator = EnumAttributeValidator.new('String', ["
|
1203
|
-
unless validator.valid?(
|
1204
|
-
fail ArgumentError, "invalid value for \"
|
1200
|
+
# @param [Object] texture Object to be assigned
|
1201
|
+
def texture=(texture)
|
1202
|
+
validator = EnumAttributeValidator.new('String', ["very thin", "thin", "moderate texture", "full", "very full"])
|
1203
|
+
unless validator.valid?(texture)
|
1204
|
+
fail ArgumentError, "invalid value for \"texture\", must be one of #{validator.allowable_values}."
|
1205
1205
|
end
|
1206
|
-
@
|
1206
|
+
@texture = texture
|
1207
1207
|
end
|
1208
1208
|
|
1209
1209
|
# Custom attribute writer method checking allowed values (enum).
|
1210
|
-
# @param [Object]
|
1211
|
-
def
|
1212
|
-
validator = EnumAttributeValidator.new('String', ["
|
1213
|
-
unless validator.valid?(
|
1214
|
-
fail ArgumentError, "invalid value for \"
|
1210
|
+
# @param [Object] timbre Object to be assigned
|
1211
|
+
def timbre=(timbre)
|
1212
|
+
validator = EnumAttributeValidator.new('String', ["very warm", "warm", "moderate timbre", "bright", "very bright"])
|
1213
|
+
unless validator.valid?(timbre)
|
1214
|
+
fail ArgumentError, "invalid value for \"timbre\", must be one of #{validator.allowable_values}."
|
1215
1215
|
end
|
1216
|
-
@
|
1216
|
+
@timbre = timbre
|
1217
1217
|
end
|
1218
1218
|
|
1219
1219
|
# Custom attribute writer method checking allowed values (enum).
|
1220
|
-
# @param [Object]
|
1221
|
-
def
|
1222
|
-
validator = EnumAttributeValidator.new('String', ["
|
1223
|
-
unless validator.valid?(
|
1224
|
-
fail ArgumentError, "invalid value for \"
|
1220
|
+
# @param [Object] tonality Object to be assigned
|
1221
|
+
def tonality=(tonality)
|
1222
|
+
validator = EnumAttributeValidator.new('String', ["monotonous", "moderate melodiousness", "melodious", "atonal"])
|
1223
|
+
unless validator.valid?(tonality)
|
1224
|
+
fail ArgumentError, "invalid value for \"tonality\", must be one of #{validator.allowable_values}."
|
1225
1225
|
end
|
1226
|
-
@
|
1226
|
+
@tonality = tonality
|
1227
1227
|
end
|
1228
1228
|
|
1229
1229
|
# Custom attribute writer method checking allowed values (enum).
|
1230
|
-
# @param [Object]
|
1231
|
-
def
|
1232
|
-
validator = EnumAttributeValidator.new('String', ["
|
1233
|
-
unless validator.valid?(
|
1234
|
-
fail ArgumentError, "invalid value for \"
|
1230
|
+
# @param [Object] valence Object to be assigned
|
1231
|
+
def valence=(valence)
|
1232
|
+
validator = EnumAttributeValidator.new('String', ["very sad", "sad", "moderate valence", "positive", "very positive", "varying valence"])
|
1233
|
+
unless validator.valid?(valence)
|
1234
|
+
fail ArgumentError, "invalid value for \"valence\", must be one of #{validator.allowable_values}."
|
1235
1235
|
end
|
1236
|
-
@
|
1236
|
+
@valence = valence
|
1237
1237
|
end
|
1238
1238
|
|
1239
1239
|
# Custom attribute writer method checking allowed values (enum).
|
1240
|
-
# @param [Object]
|
1241
|
-
def
|
1242
|
-
validator = EnumAttributeValidator.new('String', ["
|
1243
|
-
unless validator.valid?(
|
1244
|
-
fail ArgumentError, "invalid value for \"
|
1240
|
+
# @param [Object] vocals Object to be assigned
|
1241
|
+
def vocals=(vocals)
|
1242
|
+
validator = EnumAttributeValidator.new('String', ["instrumental", "female vocals", "male vocals", "mixed vocals", "diverse gender vocals"])
|
1243
|
+
unless validator.valid?(vocals)
|
1244
|
+
fail ArgumentError, "invalid value for \"vocals\", must be one of #{validator.allowable_values}."
|
1245
1245
|
end
|
1246
|
-
@
|
1246
|
+
@vocals = vocals
|
1247
1247
|
end
|
1248
1248
|
|
1249
1249
|
# Custom attribute writer method checking allowed values (enum).
|
1250
|
-
# @param [Object]
|
1251
|
-
def
|
1252
|
-
validator = EnumAttributeValidator.new('String', ["
|
1253
|
-
unless validator.valid?(
|
1254
|
-
fail ArgumentError, "invalid value for \"
|
1250
|
+
# @param [Object] origin_decade Object to be assigned
|
1251
|
+
def origin_decade=(origin_decade)
|
1252
|
+
validator = EnumAttributeValidator.new('String', ["pre-1950s", "1950s", "1960s", "1970s", "1980s", "1990s", "2000s", "2010s", "2020s"])
|
1253
|
+
unless validator.valid?(origin_decade)
|
1254
|
+
fail ArgumentError, "invalid value for \"origin_decade\", must be one of #{validator.allowable_values}."
|
1255
1255
|
end
|
1256
|
-
@
|
1256
|
+
@origin_decade = origin_decade
|
1257
1257
|
end
|
1258
1258
|
|
1259
1259
|
# Custom attribute writer method checking allowed values (enum).
|
1260
|
-
# @param [Object]
|
1261
|
-
def
|
1262
|
-
validator = EnumAttributeValidator.new('String', ["
|
1263
|
-
unless validator.valid?(
|
1264
|
-
fail ArgumentError, "invalid value for \"
|
1260
|
+
# @param [Object] curateability Object to be assigned
|
1261
|
+
def curateability=(curateability)
|
1262
|
+
validator = EnumAttributeValidator.new('String', ["curateable", "uncurateable"])
|
1263
|
+
unless validator.valid?(curateability)
|
1264
|
+
fail ArgumentError, "invalid value for \"curateability\", must be one of #{validator.allowable_values}."
|
1265
1265
|
end
|
1266
|
-
@
|
1266
|
+
@curateability = curateability
|
1267
1267
|
end
|
1268
1268
|
|
1269
1269
|
# Custom attribute writer method checking allowed values (enum).
|
1270
|
-
# @param [Object]
|
1271
|
-
def
|
1272
|
-
validator = EnumAttributeValidator.new('String', ["
|
1273
|
-
unless validator.valid?(
|
1274
|
-
fail ArgumentError, "invalid value for \"
|
1270
|
+
# @param [Object] use_case Object to be assigned
|
1271
|
+
def use_case=(use_case)
|
1272
|
+
validator = EnumAttributeValidator.new('String', ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax", "karaoke"])
|
1273
|
+
unless validator.valid?(use_case)
|
1274
|
+
fail ArgumentError, "invalid value for \"use_case\", must be one of #{validator.allowable_values}."
|
1275
1275
|
end
|
1276
|
-
@
|
1276
|
+
@use_case = use_case
|
1277
1277
|
end
|
1278
1278
|
|
1279
1279
|
# Custom attribute writer method checking allowed values (enum).
|
1280
|
-
# @param [Object]
|
1281
|
-
def
|
1282
|
-
validator = EnumAttributeValidator.new('String', ["
|
1283
|
-
unless validator.valid?(
|
1284
|
-
fail ArgumentError, "invalid value for \"
|
1280
|
+
# @param [Object] channel_suitability Object to be assigned
|
1281
|
+
def channel_suitability=(channel_suitability)
|
1282
|
+
validator = EnumAttributeValidator.new('String', ["Spotify", "TikTok", "Unfitting", "YouTube"])
|
1283
|
+
unless validator.valid?(channel_suitability)
|
1284
|
+
fail ArgumentError, "invalid value for \"channel_suitability\", must be one of #{validator.allowable_values}."
|
1285
1285
|
end
|
1286
|
-
@
|
1286
|
+
@channel_suitability = channel_suitability
|
1287
1287
|
end
|
1288
1288
|
|
1289
1289
|
# Custom attribute writer method checking allowed values (enum).
|
1290
|
-
# @param [Object]
|
1291
|
-
def
|
1292
|
-
validator = EnumAttributeValidator.new('String', ["
|
1293
|
-
unless validator.valid?(
|
1294
|
-
fail ArgumentError, "invalid value for \"
|
1290
|
+
# @param [Object] language_of_performance Object to be assigned
|
1291
|
+
def language_of_performance=(language_of_performance)
|
1292
|
+
validator = 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"])
|
1293
|
+
unless validator.valid?(language_of_performance)
|
1294
|
+
fail ArgumentError, "invalid value for \"language_of_performance\", must be one of #{validator.allowable_values}."
|
1295
1295
|
end
|
1296
|
-
@
|
1296
|
+
@language_of_performance = language_of_performance
|
1297
1297
|
end
|
1298
1298
|
|
1299
1299
|
# Custom attribute writer method checking allowed values (enum).
|
1300
|
-
# @param [Object]
|
1301
|
-
def
|
1302
|
-
validator = EnumAttributeValidator.new('String', ["
|
1303
|
-
unless validator.valid?(
|
1304
|
-
fail ArgumentError, "invalid value for \"
|
1300
|
+
# @param [Object] arousal Object to be assigned
|
1301
|
+
def arousal=(arousal)
|
1302
|
+
validator = EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
|
1303
|
+
unless validator.valid?(arousal)
|
1304
|
+
fail ArgumentError, "invalid value for \"arousal\", must be one of #{validator.allowable_values}."
|
1305
1305
|
end
|
1306
|
-
@
|
1306
|
+
@arousal = arousal
|
1307
1307
|
end
|
1308
1308
|
|
1309
1309
|
# Checks equality by comparing each attribute.
|
@@ -1312,47 +1312,8 @@ module SongtradrApiClientRuby
|
|
1312
1312
|
return true if self.equal?(o)
|
1313
1313
|
self.class == o.class &&
|
1314
1314
|
space == o.space &&
|
1315
|
-
arousal == o.arousal &&
|
1316
|
-
tempo == o.tempo &&
|
1317
|
-
texture == o.texture &&
|
1318
|
-
timbre == o.timbre &&
|
1319
|
-
tonality == o.tonality &&
|
1320
|
-
valence == o.valence &&
|
1321
|
-
vocals == o.vocals &&
|
1322
|
-
origin_decade == o.origin_decade &&
|
1323
|
-
curateability == o.curateability &&
|
1324
|
-
use_case == o.use_case &&
|
1325
|
-
channel_suitability == o.channel_suitability &&
|
1326
|
-
language_of_performance == o.language_of_performance &&
|
1327
|
-
dominant_instrument == o.dominant_instrument &&
|
1328
|
-
energy == o.energy &&
|
1329
|
-
engagement == o.engagement &&
|
1330
|
-
groovyness == o.groovyness &&
|
1331
|
-
harmony == o.harmony &&
|
1332
|
-
pleasantness == o.pleasantness &&
|
1333
|
-
primary_mood_cluster == o.primary_mood_cluster &&
|
1334
|
-
primary_sound_character == o.primary_sound_character &&
|
1335
|
-
rhythm == o.rhythm &&
|
1336
|
-
roughness == o.roughness &&
|
1337
|
-
scale == o.scale &&
|
1338
|
-
key == o.key &&
|
1339
|
-
sound_generation == o.sound_generation &&
|
1340
1315
|
primary_mood_cluster_affinity == o.primary_mood_cluster_affinity &&
|
1341
1316
|
secondary_mood_cluster == o.secondary_mood_cluster &&
|
1342
|
-
secondary_mood_cluster_affinity == o.secondary_mood_cluster_affinity &&
|
1343
|
-
tertiary_mood_cluster == o.tertiary_mood_cluster &&
|
1344
|
-
tertiary_mood_cluster_affinity == o.tertiary_mood_cluster_affinity &&
|
1345
|
-
vocals_affinity == o.vocals_affinity &&
|
1346
|
-
dominant_instrument_affinity == o.dominant_instrument_affinity &&
|
1347
|
-
secondary_instrument == o.secondary_instrument &&
|
1348
|
-
secondary_instrument_affinity == o.secondary_instrument_affinity &&
|
1349
|
-
tertiary_instrument == o.tertiary_instrument &&
|
1350
|
-
tertiary_instrument_affinity == o.tertiary_instrument_affinity &&
|
1351
|
-
sound_generation_affinity == o.sound_generation_affinity &&
|
1352
|
-
rhythm_affinity == o.rhythm_affinity &&
|
1353
|
-
primary_sound_character_affinity == o.primary_sound_character_affinity &&
|
1354
|
-
tonality_affinity == o.tonality_affinity &&
|
1355
|
-
bpm == o.bpm &&
|
1356
1317
|
production_rating == o.production_rating &&
|
1357
1318
|
production_rating_affinity == o.production_rating_affinity &&
|
1358
1319
|
performance_rating == o.performance_rating &&
|
@@ -1380,7 +1341,46 @@ module SongtradrApiClientRuby
|
|
1380
1341
|
use_case_affinity == o.use_case_affinity &&
|
1381
1342
|
industry_suitability == o.industry_suitability &&
|
1382
1343
|
industry_suitability_affinity == o.industry_suitability_affinity &&
|
1344
|
+
secondary_mood_cluster_affinity == o.secondary_mood_cluster_affinity &&
|
1345
|
+
tertiary_mood_cluster == o.tertiary_mood_cluster &&
|
1346
|
+
tertiary_mood_cluster_affinity == o.tertiary_mood_cluster_affinity &&
|
1347
|
+
vocals_affinity == o.vocals_affinity &&
|
1348
|
+
dominant_instrument_affinity == o.dominant_instrument_affinity &&
|
1349
|
+
secondary_instrument == o.secondary_instrument &&
|
1350
|
+
secondary_instrument_affinity == o.secondary_instrument_affinity &&
|
1351
|
+
tertiary_instrument == o.tertiary_instrument &&
|
1352
|
+
tertiary_instrument_affinity == o.tertiary_instrument_affinity &&
|
1353
|
+
sound_generation_affinity == o.sound_generation_affinity &&
|
1354
|
+
rhythm_affinity == o.rhythm_affinity &&
|
1355
|
+
primary_sound_character_affinity == o.primary_sound_character_affinity &&
|
1356
|
+
tonality_affinity == o.tonality_affinity &&
|
1357
|
+
bpm == o.bpm &&
|
1383
1358
|
audience_region == o.audience_region &&
|
1359
|
+
dominant_instrument == o.dominant_instrument &&
|
1360
|
+
energy == o.energy &&
|
1361
|
+
engagement == o.engagement &&
|
1362
|
+
groovyness == o.groovyness &&
|
1363
|
+
harmony == o.harmony &&
|
1364
|
+
pleasantness == o.pleasantness &&
|
1365
|
+
primary_mood_cluster == o.primary_mood_cluster &&
|
1366
|
+
primary_sound_character == o.primary_sound_character &&
|
1367
|
+
rhythm == o.rhythm &&
|
1368
|
+
roughness == o.roughness &&
|
1369
|
+
scale == o.scale &&
|
1370
|
+
key == o.key &&
|
1371
|
+
sound_generation == o.sound_generation &&
|
1372
|
+
tempo == o.tempo &&
|
1373
|
+
texture == o.texture &&
|
1374
|
+
timbre == o.timbre &&
|
1375
|
+
tonality == o.tonality &&
|
1376
|
+
valence == o.valence &&
|
1377
|
+
vocals == o.vocals &&
|
1378
|
+
origin_decade == o.origin_decade &&
|
1379
|
+
curateability == o.curateability &&
|
1380
|
+
use_case == o.use_case &&
|
1381
|
+
channel_suitability == o.channel_suitability &&
|
1382
|
+
language_of_performance == o.language_of_performance &&
|
1383
|
+
arousal == o.arousal &&
|
1384
1384
|
valence_affinity == o.valence_affinity &&
|
1385
1385
|
arousal_affinity == o.arousal_affinity &&
|
1386
1386
|
pleasantness_affinity == o.pleasantness_affinity &&
|
@@ -1407,7 +1407,7 @@ module SongtradrApiClientRuby
|
|
1407
1407
|
# Calculates hash code according to all attributes.
|
1408
1408
|
# @return [Integer] Hash code
|
1409
1409
|
def hash
|
1410
|
-
[space,
|
1410
|
+
[space, primary_mood_cluster_affinity, secondary_mood_cluster, production_rating, production_rating_affinity, performance_rating, performance_rating_affinity, song_rating, song_rating_affinity, audience_age, audience_age_affinity, secondary_audience_age, secondary_audience_age_affinity, tertiary_audience_age, tertiary_audience_age_affinity, audience_gender, audience_gender_affinity, audience_region_affinity, secondary_audience_region, secondary_audience_region_affinity, tertiary_audience_region, tertiary_audience_region_affinity, origin_region, origin_region_affinity, origin_decade_affinity, language_of_performance_affinity, curateability_affinity, use_case_affinity, industry_suitability, industry_suitability_affinity, secondary_mood_cluster_affinity, tertiary_mood_cluster, tertiary_mood_cluster_affinity, vocals_affinity, dominant_instrument_affinity, secondary_instrument, secondary_instrument_affinity, tertiary_instrument, tertiary_instrument_affinity, sound_generation_affinity, rhythm_affinity, primary_sound_character_affinity, tonality_affinity, bpm, audience_region, dominant_instrument, energy, engagement, groovyness, harmony, pleasantness, primary_mood_cluster, primary_sound_character, rhythm, roughness, scale, key, sound_generation, tempo, texture, timbre, tonality, valence, vocals, origin_decade, curateability, use_case, channel_suitability, language_of_performance, arousal, valence_affinity, arousal_affinity, pleasantness_affinity, engagement_affinity, energy_affinity, tempo_affinity, scale_affinity, timbre_affinity, roughness_affinity, harmony_affinity, texture_affinity, groovyness_affinity, space_affinity, key_affinity, channel_suitability_affinity].hash
|
1411
1411
|
end
|
1412
1412
|
|
1413
1413
|
# Builds the object from hash
|