songtradr_api_client_ruby 1.15.0 → 1.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (205) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +8 -8
  3. data/README.md +5 -30
  4. data/docs/FileSmallDTO.md +7 -7
  5. data/docs/ImageRecognitionResponse.md +2 -2
  6. data/docs/MusicalFeaturesDTO.md +79 -79
  7. data/docs/RecordingApi.md +2 -0
  8. data/docs/RecordingMediumDTO.md +4 -4
  9. data/docs/RecordingSmallDTO.md +3 -3
  10. data/docs/UserApi.md +8 -0
  11. data/docs/VideoRecognitionResponse.md +2 -2
  12. data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +2 -2
  13. data/lib/songtradr_api_client_ruby/api/playlist_api.rb +2 -2
  14. data/lib/songtradr_api_client_ruby/api/recording_api.rb +6 -3
  15. data/lib/songtradr_api_client_ruby/api/user_api.rb +29 -5
  16. data/lib/songtradr_api_client_ruby/api_client.rb +4 -4
  17. data/lib/songtradr_api_client_ruby/api_error.rb +2 -2
  18. data/lib/songtradr_api_client_ruby/configuration.rb +2 -2
  19. data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +2 -2
  20. data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +2 -2
  21. data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +2 -2
  22. data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +2 -2
  23. data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +2 -2
  24. data/lib/songtradr_api_client_ruby/models/curate_playlist_dto.rb +2 -2
  25. data/lib/songtradr_api_client_ruby/models/curate_playlist_response_dto.rb +2 -2
  26. data/lib/songtradr_api_client_ruby/models/error_response.rb +2 -2
  27. data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +2 -2
  28. data/lib/songtradr_api_client_ruby/models/file_dto.rb +2 -2
  29. data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +2 -2
  30. data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +36 -36
  31. data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +2 -2
  32. data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +2 -2
  33. data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +2 -2
  34. data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +2 -2
  35. data/lib/songtradr_api_client_ruby/models/genre_dto.rb +2 -2
  36. data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +2 -2
  37. data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +2 -2
  38. data/lib/songtradr_api_client_ruby/models/image_recognition_response.rb +4 -4
  39. data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +2 -2
  40. data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +2 -2
  41. data/lib/songtradr_api_client_ruby/models/login_dto.rb +2 -2
  42. data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +599 -599
  43. data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +2 -2
  44. data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +2 -2
  45. data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +2 -2
  46. data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +2 -2
  47. data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +35 -35
  48. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +2 -2
  49. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +2 -2
  50. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +2 -2
  51. data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +2 -2
  52. data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +27 -27
  53. data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +2 -2
  54. data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +2 -2
  55. data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +2 -2
  56. data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +2 -2
  57. data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +2 -2
  58. data/lib/songtradr_api_client_ruby/models/tag_dto.rb +2 -2
  59. data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +2 -2
  60. data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +2 -2
  61. data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +2 -2
  62. data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +2 -2
  63. data/lib/songtradr_api_client_ruby/models/title_dto.rb +2 -2
  64. data/lib/songtradr_api_client_ruby/models/token_request.rb +2 -2
  65. data/lib/songtradr_api_client_ruby/models/track_dto.rb +2 -2
  66. data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +2 -2
  67. data/lib/songtradr_api_client_ruby/models/user_dto.rb +2 -2
  68. data/lib/songtradr_api_client_ruby/models/video_recognition_response.rb +4 -4
  69. data/lib/songtradr_api_client_ruby/version.rb +3 -3
  70. data/lib/songtradr_api_client_ruby.rb +2 -27
  71. data/openapi-generator-config.yaml +1 -1
  72. data/songtradr_api_client_ruby.gemspec +2 -2
  73. data/spec/api/allowed_values_api_spec.rb +2 -2
  74. data/spec/api/playlist_api_spec.rb +2 -2
  75. data/spec/api/recording_api_spec.rb +3 -2
  76. data/spec/api/user_api_spec.rb +6 -2
  77. data/spec/models/category_medium_dto_spec.rb +2 -2
  78. data/spec/models/category_minimal_dto_spec.rb +2 -2
  79. data/spec/models/config_access_dto_spec.rb +2 -2
  80. data/spec/models/config_identifier_dto_spec.rb +2 -2
  81. data/spec/models/contributor_type_dto_spec.rb +2 -2
  82. data/spec/models/curate_playlist_dto_spec.rb +2 -2
  83. data/spec/models/curate_playlist_response_dto_spec.rb +2 -2
  84. data/spec/models/error_response_spec.rb +2 -2
  85. data/spec/models/field_summary_dto_spec.rb +2 -2
  86. data/spec/models/file_dto_spec.rb +2 -2
  87. data/spec/models/file_list_dto_spec.rb +2 -2
  88. data/spec/models/file_small_dto_spec.rb +18 -18
  89. data/spec/models/file_upload_dto_spec.rb +2 -2
  90. data/spec/models/file_w_ith_url_dto_spec.rb +2 -2
  91. data/spec/models/files_summary_dto_spec.rb +2 -2
  92. data/spec/models/forgot_password_dto_spec.rb +2 -2
  93. data/spec/models/genre_dto_spec.rb +2 -2
  94. data/spec/models/genre_minimal_dto_spec.rb +2 -2
  95. data/spec/models/genres_summary_dto_spec.rb +2 -2
  96. data/spec/models/image_recognition_response_spec.rb +2 -2
  97. data/spec/models/init_put_recording_audio_dto_spec.rb +2 -2
  98. data/spec/models/jwt_token_dto_spec.rb +2 -2
  99. data/spec/models/login_dto_spec.rb +2 -2
  100. data/spec/models/musical_features_dto_spec.rb +176 -176
  101. data/spec/models/party_small_dto_spec.rb +2 -2
  102. data/spec/models/recording_for_similarity_search_dto_spec.rb +2 -2
  103. data/spec/models/recording_genre_prediction_dto_spec.rb +2 -2
  104. data/spec/models/recording_list_dto_spec.rb +2 -2
  105. data/spec/models/recording_medium_dto_spec.rb +9 -9
  106. data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +2 -2
  107. data/spec/models/recording_minimal_with_taggrams_dto_spec.rb +2 -2
  108. data/spec/models/recording_minimal_with_tagstrengths_dto_spec.rb +2 -2
  109. data/spec/models/recording_party_dto_spec.rb +2 -2
  110. data/spec/models/recording_small_dto_spec.rb +5 -5
  111. data/spec/models/recording_tag_small_dto_spec.rb +2 -2
  112. data/spec/models/save_user_dto_spec.rb +2 -2
  113. data/spec/models/search_filter_values_dto_spec.rb +2 -2
  114. data/spec/models/search_recording_granular_dto_spec.rb +2 -2
  115. data/spec/models/sign_up_dto_spec.rb +2 -2
  116. data/spec/models/tag_dto_spec.rb +2 -2
  117. data/spec/models/tag_small_dto_spec.rb +2 -2
  118. data/spec/models/taggram_dto_spec.rb +2 -2
  119. data/spec/models/tags_summary_dto_spec.rb +2 -2
  120. data/spec/models/tagstrength_dto_spec.rb +2 -2
  121. data/spec/models/title_dto_spec.rb +2 -2
  122. data/spec/models/token_request_spec.rb +2 -2
  123. data/spec/models/track_dto_spec.rb +2 -2
  124. data/spec/models/update_password_dto_spec.rb +2 -2
  125. data/spec/models/user_dto_spec.rb +2 -2
  126. data/spec/models/video_recognition_response_spec.rb +2 -2
  127. data/spec/spec_helper.rb +2 -2
  128. metadata +42 -146
  129. data/docs/AgeRange.md +0 -20
  130. data/docs/Beard.md +0 -20
  131. data/docs/BoundingBox.md +0 -24
  132. data/docs/DominantColor.md +0 -30
  133. data/docs/Emotion.md +0 -20
  134. data/docs/EyeDirection.md +0 -22
  135. data/docs/EyeOpen.md +0 -20
  136. data/docs/Eyeglasses.md +0 -20
  137. data/docs/FaceDetail.md +0 -50
  138. data/docs/FaceDetection.md +0 -20
  139. data/docs/FaceOccluded.md +0 -20
  140. data/docs/Gender.md +0 -20
  141. data/docs/ImageQuality.md +0 -20
  142. data/docs/Instance.md +0 -22
  143. data/docs/Label.md +0 -28
  144. data/docs/LabelAlias.md +0 -18
  145. data/docs/LabelCategory.md +0 -18
  146. data/docs/LabelDetection.md +0 -26
  147. data/docs/Landmark.md +0 -22
  148. data/docs/MouthOpen.md +0 -20
  149. data/docs/Mustache.md +0 -20
  150. data/docs/Parent.md +0 -18
  151. data/docs/Pose.md +0 -22
  152. data/docs/Smile.md +0 -20
  153. data/docs/Sunglasses.md +0 -20
  154. data/lib/songtradr_api_client_ruby/models/age_range.rb +0 -223
  155. data/lib/songtradr_api_client_ruby/models/beard.rb +0 -223
  156. data/lib/songtradr_api_client_ruby/models/bounding_box.rb +0 -241
  157. data/lib/songtradr_api_client_ruby/models/dominant_color.rb +0 -268
  158. data/lib/songtradr_api_client_ruby/models/emotion.rb +0 -223
  159. data/lib/songtradr_api_client_ruby/models/eye_direction.rb +0 -232
  160. data/lib/songtradr_api_client_ruby/models/eye_open.rb +0 -223
  161. data/lib/songtradr_api_client_ruby/models/eyeglasses.rb +0 -223
  162. data/lib/songtradr_api_client_ruby/models/face_detail.rb +0 -362
  163. data/lib/songtradr_api_client_ruby/models/face_detection.rb +0 -223
  164. data/lib/songtradr_api_client_ruby/models/face_occluded.rb +0 -223
  165. data/lib/songtradr_api_client_ruby/models/gender.rb +0 -223
  166. data/lib/songtradr_api_client_ruby/models/image_quality.rb +0 -223
  167. data/lib/songtradr_api_client_ruby/models/instance.rb +0 -234
  168. data/lib/songtradr_api_client_ruby/models/label.rb +0 -267
  169. data/lib/songtradr_api_client_ruby/models/label_alias.rb +0 -214
  170. data/lib/songtradr_api_client_ruby/models/label_category.rb +0 -214
  171. data/lib/songtradr_api_client_ruby/models/label_detection.rb +0 -250
  172. data/lib/songtradr_api_client_ruby/models/landmark.rb +0 -232
  173. data/lib/songtradr_api_client_ruby/models/mouth_open.rb +0 -223
  174. data/lib/songtradr_api_client_ruby/models/mustache.rb +0 -223
  175. data/lib/songtradr_api_client_ruby/models/parent.rb +0 -214
  176. data/lib/songtradr_api_client_ruby/models/pose.rb +0 -232
  177. data/lib/songtradr_api_client_ruby/models/smile.rb +0 -223
  178. data/lib/songtradr_api_client_ruby/models/sunglasses.rb +0 -223
  179. data/spec/api_client_spec.rb +0 -223
  180. data/spec/configuration_spec.rb +0 -82
  181. data/spec/models/age_range_spec.rb +0 -42
  182. data/spec/models/beard_spec.rb +0 -42
  183. data/spec/models/bounding_box_spec.rb +0 -54
  184. data/spec/models/dominant_color_spec.rb +0 -72
  185. data/spec/models/emotion_spec.rb +0 -42
  186. data/spec/models/eye_direction_spec.rb +0 -48
  187. data/spec/models/eye_open_spec.rb +0 -42
  188. data/spec/models/eyeglasses_spec.rb +0 -42
  189. data/spec/models/face_detail_spec.rb +0 -132
  190. data/spec/models/face_detection_spec.rb +0 -42
  191. data/spec/models/face_occluded_spec.rb +0 -42
  192. data/spec/models/gender_spec.rb +0 -42
  193. data/spec/models/image_quality_spec.rb +0 -42
  194. data/spec/models/instance_spec.rb +0 -48
  195. data/spec/models/label_alias_spec.rb +0 -36
  196. data/spec/models/label_category_spec.rb +0 -36
  197. data/spec/models/label_detection_spec.rb +0 -60
  198. data/spec/models/label_spec.rb +0 -66
  199. data/spec/models/landmark_spec.rb +0 -48
  200. data/spec/models/mouth_open_spec.rb +0 -42
  201. data/spec/models/mustache_spec.rb +0 -42
  202. data/spec/models/parent_spec.rb +0 -36
  203. data/spec/models/pose_spec.rb +0 -48
  204. data/spec/models/smile_spec.rb +0 -42
  205. 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.15.0
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.1.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.3.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -19,81 +19,65 @@ module SongtradrApiClientRuby
19
19
  # Search for space
20
20
  attr_accessor :space
21
21
 
22
- # Search for an arousal
23
- attr_accessor :arousal
22
+ attr_accessor :primary_mood_cluster_affinity
24
23
 
25
- attr_accessor :language_of_performance
24
+ # Search for a language of the lyrics
25
+ attr_accessor :secondary_mood_cluster
26
26
 
27
- # Search for a dominant instrument
28
- attr_accessor :dominant_instrument
27
+ attr_accessor :production_rating
29
28
 
30
- # Search for energy
31
- attr_accessor :energy
29
+ attr_accessor :production_rating_affinity
32
30
 
33
- # Search for an engagement
34
- attr_accessor :engagement
31
+ attr_accessor :performance_rating
35
32
 
36
- # Search for groovyness
37
- attr_accessor :groovyness
33
+ attr_accessor :performance_rating_affinity
38
34
 
39
- # Search for a degree of harmoniousness
40
- attr_accessor :harmony
35
+ attr_accessor :song_rating
41
36
 
42
- # Search for pleasantness
43
- attr_accessor :pleasantness
37
+ attr_accessor :song_rating_affinity
44
38
 
45
- # Search for a language of the lyrics
46
- attr_accessor :primary_mood_cluster
39
+ attr_accessor :audience_age
47
40
 
48
- # Search for a sound character
49
- attr_accessor :primary_sound_character
41
+ attr_accessor :audience_age_affinity
50
42
 
51
- # Search for rhythm
52
- attr_accessor :rhythm
43
+ attr_accessor :secondary_audience_age
53
44
 
54
- # Search for roughness
55
- attr_accessor :roughness
45
+ attr_accessor :secondary_audience_age_affinity
56
46
 
57
- # Search for a tonal scale
58
- attr_accessor :scale
47
+ attr_accessor :tertiary_audience_age
59
48
 
60
- # Search for type of sound generation
61
- attr_accessor :sound_generation
49
+ attr_accessor :tertiary_audience_age_affinity
62
50
 
63
- # Search for tempo
64
- attr_accessor :tempo
51
+ attr_accessor :audience_gender
65
52
 
66
- # Search for texture
67
- attr_accessor :texture
53
+ attr_accessor :audience_gender_affinity
68
54
 
69
- # Search for timbre
70
- attr_accessor :timbre
55
+ attr_accessor :audience_region_affinity
71
56
 
72
- # Search for tonality
73
- attr_accessor :tonality
57
+ attr_accessor :secondary_audience_region
74
58
 
75
- # Search for a valence
76
- attr_accessor :valence
59
+ attr_accessor :secondary_audience_region_affinity
77
60
 
78
- # Search for a vocal gender or instrumental songs
79
- attr_accessor :vocals
61
+ attr_accessor :tertiary_audience_region
80
62
 
81
- # Search for origin decade
82
- attr_accessor :origin_decade
63
+ attr_accessor :tertiary_audience_region_affinity
83
64
 
84
- # Search for curatebility
85
- attr_accessor :curateability
65
+ attr_accessor :origin_region
86
66
 
87
- # Search for use case
88
- attr_accessor :use_case
67
+ attr_accessor :origin_region_affinity
89
68
 
90
- # Search for social media suitability
91
- attr_accessor :channel_suitability
69
+ attr_accessor :origin_decade_affinity
92
70
 
93
- attr_accessor :primary_mood_cluster_affinity
71
+ attr_accessor :language_of_performance_affinity
94
72
 
95
- # Search for a language of the lyrics
96
- attr_accessor :secondary_mood_cluster
73
+ attr_accessor :curateability_affinity
74
+
75
+ attr_accessor :use_case_affinity
76
+
77
+ # Search for Industry suitability
78
+ attr_accessor :industry_suitability
79
+
80
+ attr_accessor :industry_suitability_affinity
97
81
 
98
82
  attr_accessor :secondary_mood_cluster_affinity
99
83
 
@@ -126,62 +110,81 @@ module SongtradrApiClientRuby
126
110
 
127
111
  attr_accessor :bpm
128
112
 
129
- attr_accessor :production_rating
130
-
131
- attr_accessor :production_rating_affinity
132
-
133
- attr_accessor :performance_rating
113
+ attr_accessor :audience_region
134
114
 
135
- attr_accessor :performance_rating_affinity
115
+ # Search for a dominant instrument
116
+ attr_accessor :dominant_instrument
136
117
 
137
- attr_accessor :song_rating
118
+ # Search for energy
119
+ attr_accessor :energy
138
120
 
139
- attr_accessor :song_rating_affinity
121
+ # Search for an engagement
122
+ attr_accessor :engagement
140
123
 
141
- attr_accessor :audience_age
124
+ # Search for groovyness
125
+ attr_accessor :groovyness
142
126
 
143
- attr_accessor :audience_age_affinity
127
+ # Search for a degree of harmoniousness
128
+ attr_accessor :harmony
144
129
 
145
- attr_accessor :secondary_audience_age
130
+ # Search for pleasantness
131
+ attr_accessor :pleasantness
146
132
 
147
- attr_accessor :secondary_audience_age_affinity
133
+ # Search for a language of the lyrics
134
+ attr_accessor :primary_mood_cluster
148
135
 
149
- attr_accessor :tertiary_audience_age
136
+ # Search for a sound character
137
+ attr_accessor :primary_sound_character
150
138
 
151
- attr_accessor :tertiary_audience_age_affinity
139
+ # Search for rhythm
140
+ attr_accessor :rhythm
152
141
 
153
- attr_accessor :audience_gender
142
+ # Search for roughness
143
+ attr_accessor :roughness
154
144
 
155
- attr_accessor :audience_gender_affinity
145
+ # Search for a tonal scale
146
+ attr_accessor :scale
156
147
 
157
- attr_accessor :audience_region_affinity
148
+ # Search for a harmonic key
149
+ attr_accessor :key
158
150
 
159
- attr_accessor :secondary_audience_region
151
+ # Search for type of sound generation
152
+ attr_accessor :sound_generation
160
153
 
161
- attr_accessor :secondary_audience_region_affinity
154
+ # Search for tempo
155
+ attr_accessor :tempo
162
156
 
163
- attr_accessor :tertiary_audience_region
157
+ # Search for texture
158
+ attr_accessor :texture
164
159
 
165
- attr_accessor :tertiary_audience_region_affinity
160
+ # Search for timbre
161
+ attr_accessor :timbre
166
162
 
167
- attr_accessor :origin_region
163
+ # Search for tonality
164
+ attr_accessor :tonality
168
165
 
169
- attr_accessor :origin_region_affinity
166
+ # Search for a valence
167
+ attr_accessor :valence
170
168
 
171
- attr_accessor :origin_decade_affinity
169
+ # Search for a vocal gender or instrumental songs
170
+ attr_accessor :vocals
172
171
 
173
- attr_accessor :language_of_performance_affinity
172
+ # Search for origin decade
173
+ attr_accessor :origin_decade
174
174
 
175
- attr_accessor :curateability_affinity
175
+ # Search for curatebility
176
+ attr_accessor :curateability
176
177
 
177
- attr_accessor :use_case_affinity
178
+ # Search for use case
179
+ attr_accessor :use_case
178
180
 
179
- # Search for Industry suitability
180
- attr_accessor :industry_suitability
181
+ # Search for social media suitability
182
+ attr_accessor :channel_suitability
181
183
 
182
- attr_accessor :industry_suitability_affinity
184
+ attr_accessor :language_of_performance
183
185
 
184
- attr_accessor :audience_region
186
+ # Search for an arousal
187
+ attr_accessor :arousal
185
188
 
186
189
  attr_accessor :valence_affinity
187
190
 
@@ -213,9 +216,6 @@ module SongtradrApiClientRuby
213
216
 
214
217
  attr_accessor :channel_suitability_affinity
215
218
 
216
- # Search for a harmonic key
217
- attr_accessor :key
218
-
219
219
  class EnumAttributeValidator
220
220
  attr_reader :datatype
221
221
  attr_reader :allowable_values
@@ -242,46 +242,8 @@ module SongtradrApiClientRuby
242
242
  def self.attribute_map
243
243
  {
244
244
  :'space' => :'space',
245
- :'arousal' => :'arousal',
246
- :'language_of_performance' => :'languageOfPerformance',
247
- :'dominant_instrument' => :'dominantInstrument',
248
- :'energy' => :'energy',
249
- :'engagement' => :'engagement',
250
- :'groovyness' => :'groovyness',
251
- :'harmony' => :'harmony',
252
- :'pleasantness' => :'pleasantness',
253
- :'primary_mood_cluster' => :'primaryMoodCluster',
254
- :'primary_sound_character' => :'primarySoundCharacter',
255
- :'rhythm' => :'rhythm',
256
- :'roughness' => :'roughness',
257
- :'scale' => :'scale',
258
- :'sound_generation' => :'soundGeneration',
259
- :'tempo' => :'tempo',
260
- :'texture' => :'texture',
261
- :'timbre' => :'timbre',
262
- :'tonality' => :'tonality',
263
- :'valence' => :'valence',
264
- :'vocals' => :'vocals',
265
- :'origin_decade' => :'originDecade',
266
- :'curateability' => :'curateability',
267
- :'use_case' => :'useCase',
268
- :'channel_suitability' => :'channelSuitability',
269
245
  :'primary_mood_cluster_affinity' => :'primaryMoodClusterAffinity',
270
246
  :'secondary_mood_cluster' => :'secondaryMoodCluster',
271
- :'secondary_mood_cluster_affinity' => :'secondaryMoodClusterAffinity',
272
- :'tertiary_mood_cluster' => :'tertiaryMoodCluster',
273
- :'tertiary_mood_cluster_affinity' => :'tertiaryMoodClusterAffinity',
274
- :'vocals_affinity' => :'vocalsAffinity',
275
- :'dominant_instrument_affinity' => :'dominantInstrumentAffinity',
276
- :'secondary_instrument' => :'secondaryInstrument',
277
- :'secondary_instrument_affinity' => :'secondaryInstrumentAffinity',
278
- :'tertiary_instrument' => :'tertiaryInstrument',
279
- :'tertiary_instrument_affinity' => :'tertiaryInstrumentAffinity',
280
- :'sound_generation_affinity' => :'soundGenerationAffinity',
281
- :'rhythm_affinity' => :'rhythmAffinity',
282
- :'primary_sound_character_affinity' => :'primarySoundCharacterAffinity',
283
- :'tonality_affinity' => :'tonalityAffinity',
284
- :'bpm' => :'bpm',
285
247
  :'production_rating' => :'productionRating',
286
248
  :'production_rating_affinity' => :'productionRatingAffinity',
287
249
  :'performance_rating' => :'performanceRating',
@@ -309,7 +271,46 @@ module SongtradrApiClientRuby
309
271
  :'use_case_affinity' => :'useCaseAffinity',
310
272
  :'industry_suitability' => :'industrySuitability',
311
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',
312
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',
313
314
  :'valence_affinity' => :'valenceAffinity',
314
315
  :'arousal_affinity' => :'arousalAffinity',
315
316
  :'pleasantness_affinity' => :'pleasantnessAffinity',
@@ -324,8 +325,7 @@ module SongtradrApiClientRuby
324
325
  :'groovyness_affinity' => :'groovynessAffinity',
325
326
  :'space_affinity' => :'spaceAffinity',
326
327
  :'key_affinity' => :'keyAffinity',
327
- :'channel_suitability_affinity' => :'channelSuitabilityAffinity',
328
- :'key' => :'key'
328
+ :'channel_suitability_affinity' => :'channelSuitabilityAffinity'
329
329
  }
330
330
  end
331
331
 
@@ -338,46 +338,8 @@ module SongtradrApiClientRuby
338
338
  def self.openapi_types
339
339
  {
340
340
  :'space' => :'String',
341
- :'arousal' => :'String',
342
- :'language_of_performance' => :'String',
343
- :'dominant_instrument' => :'String',
344
- :'energy' => :'String',
345
- :'engagement' => :'String',
346
- :'groovyness' => :'String',
347
- :'harmony' => :'String',
348
- :'pleasantness' => :'String',
349
- :'primary_mood_cluster' => :'String',
350
- :'primary_sound_character' => :'String',
351
- :'rhythm' => :'String',
352
- :'roughness' => :'String',
353
- :'scale' => :'String',
354
- :'sound_generation' => :'String',
355
- :'tempo' => :'String',
356
- :'texture' => :'String',
357
- :'timbre' => :'String',
358
- :'tonality' => :'String',
359
- :'valence' => :'String',
360
- :'vocals' => :'String',
361
- :'origin_decade' => :'String',
362
- :'curateability' => :'String',
363
- :'use_case' => :'String',
364
- :'channel_suitability' => :'String',
365
341
  :'primary_mood_cluster_affinity' => :'Float',
366
342
  :'secondary_mood_cluster' => :'String',
367
- :'secondary_mood_cluster_affinity' => :'Float',
368
- :'tertiary_mood_cluster' => :'String',
369
- :'tertiary_mood_cluster_affinity' => :'Float',
370
- :'vocals_affinity' => :'Float',
371
- :'dominant_instrument_affinity' => :'Float',
372
- :'secondary_instrument' => :'String',
373
- :'secondary_instrument_affinity' => :'Float',
374
- :'tertiary_instrument' => :'String',
375
- :'tertiary_instrument_affinity' => :'Float',
376
- :'sound_generation_affinity' => :'Float',
377
- :'rhythm_affinity' => :'Float',
378
- :'primary_sound_character_affinity' => :'Float',
379
- :'tonality_affinity' => :'Float',
380
- :'bpm' => :'Float',
381
343
  :'production_rating' => :'String',
382
344
  :'production_rating_affinity' => :'Float',
383
345
  :'performance_rating' => :'String',
@@ -405,7 +367,46 @@ module SongtradrApiClientRuby
405
367
  :'use_case_affinity' => :'Float',
406
368
  :'industry_suitability' => :'String',
407
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',
408
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',
409
410
  :'valence_affinity' => :'Float',
410
411
  :'arousal_affinity' => :'Float',
411
412
  :'pleasantness_affinity' => :'Float',
@@ -420,8 +421,7 @@ module SongtradrApiClientRuby
420
421
  :'groovyness_affinity' => :'Float',
421
422
  :'space_affinity' => :'Float',
422
423
  :'key_affinity' => :'Float',
423
- :'channel_suitability_affinity' => :'Float',
424
- :'key' => :'String'
424
+ :'channel_suitability_affinity' => :'Float'
425
425
  }
426
426
  end
427
427
 
@@ -450,108 +450,120 @@ module SongtradrApiClientRuby
450
450
  self.space = attributes[:'space']
451
451
  end
452
452
 
453
- if attributes.key?(:'arousal')
454
- self.arousal = attributes[:'arousal']
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?(:'language_of_performance')
458
- self.language_of_performance = attributes[:'language_of_performance']
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?(:'dominant_instrument')
462
- self.dominant_instrument = attributes[:'dominant_instrument']
461
+ if attributes.key?(:'production_rating')
462
+ self.production_rating = attributes[:'production_rating']
463
463
  end
464
464
 
465
- if attributes.key?(:'energy')
466
- self.energy = attributes[:'energy']
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?(:'engagement')
470
- self.engagement = attributes[:'engagement']
469
+ if attributes.key?(:'performance_rating')
470
+ self.performance_rating = attributes[:'performance_rating']
471
471
  end
472
472
 
473
- if attributes.key?(:'groovyness')
474
- self.groovyness = attributes[:'groovyness']
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?(:'harmony')
478
- self.harmony = attributes[:'harmony']
477
+ if attributes.key?(:'song_rating')
478
+ self.song_rating = attributes[:'song_rating']
479
479
  end
480
480
 
481
- if attributes.key?(:'pleasantness')
482
- self.pleasantness = attributes[:'pleasantness']
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?(:'primary_mood_cluster')
486
- self.primary_mood_cluster = attributes[:'primary_mood_cluster']
485
+ if attributes.key?(:'audience_age')
486
+ self.audience_age = attributes[:'audience_age']
487
487
  end
488
488
 
489
- if attributes.key?(:'primary_sound_character')
490
- self.primary_sound_character = attributes[:'primary_sound_character']
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?(:'rhythm')
494
- self.rhythm = attributes[:'rhythm']
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?(:'roughness')
498
- self.roughness = attributes[:'roughness']
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?(:'scale')
502
- self.scale = attributes[:'scale']
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?(:'sound_generation')
506
- self.sound_generation = attributes[:'sound_generation']
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?(:'tempo')
510
- self.tempo = attributes[:'tempo']
509
+ if attributes.key?(:'audience_gender')
510
+ self.audience_gender = attributes[:'audience_gender']
511
511
  end
512
512
 
513
- if attributes.key?(:'texture')
514
- self.texture = attributes[:'texture']
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?(:'timbre')
518
- self.timbre = attributes[:'timbre']
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?(:'tonality')
522
- self.tonality = attributes[:'tonality']
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?(:'valence')
526
- self.valence = attributes[:'valence']
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?(:'vocals')
530
- self.vocals = attributes[:'vocals']
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?(:'origin_decade')
534
- self.origin_decade = attributes[:'origin_decade']
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?(:'curateability')
538
- self.curateability = attributes[:'curateability']
537
+ if attributes.key?(:'origin_region')
538
+ self.origin_region = attributes[:'origin_region']
539
539
  end
540
540
 
541
- if attributes.key?(:'use_case')
542
- self.use_case = attributes[:'use_case']
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?(:'channel_suitability')
546
- self.channel_suitability = attributes[:'channel_suitability']
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?(:'primary_mood_cluster_affinity')
550
- self.primary_mood_cluster_affinity = attributes[:'primary_mood_cluster_affinity']
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?(:'secondary_mood_cluster')
554
- self.secondary_mood_cluster = attributes[:'secondary_mood_cluster']
553
+ if attributes.key?(:'curateability_affinity')
554
+ self.curateability_affinity = attributes[:'curateability_affinity']
555
+ end
556
+
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']
555
567
  end
556
568
 
557
569
  if attributes.key?(:'secondary_mood_cluster_affinity')
@@ -610,116 +622,108 @@ module SongtradrApiClientRuby
610
622
  self.bpm = attributes[:'bpm']
611
623
  end
612
624
 
613
- if attributes.key?(:'production_rating')
614
- self.production_rating = attributes[:'production_rating']
625
+ if attributes.key?(:'audience_region')
626
+ self.audience_region = attributes[:'audience_region']
615
627
  end
616
628
 
617
- if attributes.key?(:'production_rating_affinity')
618
- self.production_rating_affinity = attributes[:'production_rating_affinity']
629
+ if attributes.key?(:'dominant_instrument')
630
+ self.dominant_instrument = attributes[:'dominant_instrument']
619
631
  end
620
632
 
621
- if attributes.key?(:'performance_rating')
622
- self.performance_rating = attributes[:'performance_rating']
633
+ if attributes.key?(:'energy')
634
+ self.energy = attributes[:'energy']
623
635
  end
624
636
 
625
- if attributes.key?(:'performance_rating_affinity')
626
- self.performance_rating_affinity = attributes[:'performance_rating_affinity']
637
+ if attributes.key?(:'engagement')
638
+ self.engagement = attributes[:'engagement']
627
639
  end
628
640
 
629
- if attributes.key?(:'song_rating')
630
- self.song_rating = attributes[:'song_rating']
641
+ if attributes.key?(:'groovyness')
642
+ self.groovyness = attributes[:'groovyness']
631
643
  end
632
644
 
633
- if attributes.key?(:'song_rating_affinity')
634
- self.song_rating_affinity = attributes[:'song_rating_affinity']
645
+ if attributes.key?(:'harmony')
646
+ self.harmony = attributes[:'harmony']
635
647
  end
636
648
 
637
- if attributes.key?(:'audience_age')
638
- self.audience_age = attributes[:'audience_age']
649
+ if attributes.key?(:'pleasantness')
650
+ self.pleasantness = attributes[:'pleasantness']
639
651
  end
640
652
 
641
- if attributes.key?(:'audience_age_affinity')
642
- self.audience_age_affinity = attributes[:'audience_age_affinity']
653
+ if attributes.key?(:'primary_mood_cluster')
654
+ self.primary_mood_cluster = attributes[:'primary_mood_cluster']
643
655
  end
644
656
 
645
- if attributes.key?(:'secondary_audience_age')
646
- self.secondary_audience_age = attributes[:'secondary_audience_age']
657
+ if attributes.key?(:'primary_sound_character')
658
+ self.primary_sound_character = attributes[:'primary_sound_character']
647
659
  end
648
660
 
649
- if attributes.key?(:'secondary_audience_age_affinity')
650
- self.secondary_audience_age_affinity = attributes[:'secondary_audience_age_affinity']
661
+ if attributes.key?(:'rhythm')
662
+ self.rhythm = attributes[:'rhythm']
651
663
  end
652
664
 
653
- if attributes.key?(:'tertiary_audience_age')
654
- self.tertiary_audience_age = attributes[:'tertiary_audience_age']
665
+ if attributes.key?(:'roughness')
666
+ self.roughness = attributes[:'roughness']
655
667
  end
656
668
 
657
- if attributes.key?(:'tertiary_audience_age_affinity')
658
- self.tertiary_audience_age_affinity = attributes[:'tertiary_audience_age_affinity']
669
+ if attributes.key?(:'scale')
670
+ self.scale = attributes[:'scale']
659
671
  end
660
672
 
661
- if attributes.key?(:'audience_gender')
662
- self.audience_gender = attributes[:'audience_gender']
673
+ if attributes.key?(:'key')
674
+ self.key = attributes[:'key']
663
675
  end
664
676
 
665
- if attributes.key?(:'audience_gender_affinity')
666
- self.audience_gender_affinity = attributes[:'audience_gender_affinity']
677
+ if attributes.key?(:'sound_generation')
678
+ self.sound_generation = attributes[:'sound_generation']
667
679
  end
668
680
 
669
- if attributes.key?(:'audience_region_affinity')
670
- self.audience_region_affinity = attributes[:'audience_region_affinity']
681
+ if attributes.key?(:'tempo')
682
+ self.tempo = attributes[:'tempo']
671
683
  end
672
684
 
673
- if attributes.key?(:'secondary_audience_region')
674
- self.secondary_audience_region = attributes[:'secondary_audience_region']
685
+ if attributes.key?(:'texture')
686
+ self.texture = attributes[:'texture']
675
687
  end
676
688
 
677
- if attributes.key?(:'secondary_audience_region_affinity')
678
- self.secondary_audience_region_affinity = attributes[:'secondary_audience_region_affinity']
689
+ if attributes.key?(:'timbre')
690
+ self.timbre = attributes[:'timbre']
679
691
  end
680
692
 
681
- if attributes.key?(:'tertiary_audience_region')
682
- self.tertiary_audience_region = attributes[:'tertiary_audience_region']
693
+ if attributes.key?(:'tonality')
694
+ self.tonality = attributes[:'tonality']
683
695
  end
684
696
 
685
- if attributes.key?(:'tertiary_audience_region_affinity')
686
- self.tertiary_audience_region_affinity = attributes[:'tertiary_audience_region_affinity']
697
+ if attributes.key?(:'valence')
698
+ self.valence = attributes[:'valence']
687
699
  end
688
700
 
689
- if attributes.key?(:'origin_region')
690
- self.origin_region = attributes[:'origin_region']
691
- end
692
-
693
- if attributes.key?(:'origin_region_affinity')
694
- self.origin_region_affinity = attributes[:'origin_region_affinity']
695
- end
696
-
697
- if attributes.key?(:'origin_decade_affinity')
698
- self.origin_decade_affinity = attributes[:'origin_decade_affinity']
701
+ if attributes.key?(:'vocals')
702
+ self.vocals = attributes[:'vocals']
699
703
  end
700
704
 
701
- if attributes.key?(:'language_of_performance_affinity')
702
- self.language_of_performance_affinity = attributes[:'language_of_performance_affinity']
705
+ if attributes.key?(:'origin_decade')
706
+ self.origin_decade = attributes[:'origin_decade']
703
707
  end
704
708
 
705
- if attributes.key?(:'curateability_affinity')
706
- self.curateability_affinity = attributes[:'curateability_affinity']
709
+ if attributes.key?(:'curateability')
710
+ self.curateability = attributes[:'curateability']
707
711
  end
708
712
 
709
- if attributes.key?(:'use_case_affinity')
710
- self.use_case_affinity = attributes[:'use_case_affinity']
713
+ if attributes.key?(:'use_case')
714
+ self.use_case = attributes[:'use_case']
711
715
  end
712
716
 
713
- if attributes.key?(:'industry_suitability')
714
- self.industry_suitability = attributes[:'industry_suitability']
717
+ if attributes.key?(:'channel_suitability')
718
+ self.channel_suitability = attributes[:'channel_suitability']
715
719
  end
716
720
 
717
- if attributes.key?(:'industry_suitability_affinity')
718
- self.industry_suitability_affinity = attributes[:'industry_suitability_affinity']
721
+ if attributes.key?(:'language_of_performance')
722
+ self.language_of_performance = attributes[:'language_of_performance']
719
723
  end
720
724
 
721
- if attributes.key?(:'audience_region')
722
- self.audience_region = attributes[:'audience_region']
725
+ if attributes.key?(:'arousal')
726
+ self.arousal = attributes[:'arousal']
723
727
  end
724
728
 
725
729
  if attributes.key?(:'valence_affinity')
@@ -781,10 +785,6 @@ module SongtradrApiClientRuby
781
785
  if attributes.key?(:'channel_suitability_affinity')
782
786
  self.channel_suitability_affinity = attributes[:'channel_suitability_affinity']
783
787
  end
784
-
785
- if attributes.key?(:'key')
786
- self.key = attributes[:'key']
787
- end
788
788
  end
789
789
 
790
790
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -801,10 +801,38 @@ 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
- 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"])
807
- return false unless language_of_performance_validator.valid?(@language_of_performance)
804
+ secondary_mood_cluster_validator = EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
805
+ return false unless secondary_mood_cluster_validator.valid?(@secondary_mood_cluster)
806
+ production_rating_validator = EnumAttributeValidator.new('String', ["low production quality", "medium production quality", "high production quality"])
807
+ return false unless production_rating_validator.valid?(@production_rating)
808
+ performance_rating_validator = EnumAttributeValidator.new('String', ["low performance quality", "medium performance quality", "high performance quality"])
809
+ return false unless performance_rating_validator.valid?(@performance_rating)
810
+ song_rating_validator = EnumAttributeValidator.new('String', ["low song quality", "medium song quality", "high song quality"])
811
+ return false unless song_rating_validator.valid?(@song_rating)
812
+ audience_age_validator = EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
813
+ return false unless audience_age_validator.valid?(@audience_age)
814
+ secondary_audience_age_validator = EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
815
+ return false unless secondary_audience_age_validator.valid?(@secondary_audience_age)
816
+ tertiary_audience_age_validator = EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
817
+ return false unless tertiary_audience_age_validator.valid?(@tertiary_audience_age)
818
+ audience_gender_validator = EnumAttributeValidator.new('String', ["male", "female"])
819
+ return false unless audience_gender_validator.valid?(@audience_gender)
820
+ secondary_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"])
821
+ return false unless secondary_audience_region_validator.valid?(@secondary_audience_region)
822
+ tertiary_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"])
823
+ return false unless tertiary_audience_region_validator.valid?(@tertiary_audience_region)
824
+ origin_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"])
825
+ return false unless origin_region_validator.valid?(@origin_region)
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"])
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)
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"])
835
+ return false unless audience_region_validator.valid?(@audience_region)
808
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"])
809
837
  return false unless dominant_instrument_validator.valid?(@dominant_instrument)
810
838
  energy_validator = EnumAttributeValidator.new('String', ["very quiet", "quiet", "moderate", "loud", "very loud", "dynamic"])
@@ -827,6 +855,8 @@ module SongtradrApiClientRuby
827
855
  return false unless roughness_validator.valid?(@roughness)
828
856
  scale_validator = EnumAttributeValidator.new('String', ["major key", "minor key", "neutral key"])
829
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)
830
860
  sound_generation_validator = EnumAttributeValidator.new('String', ["acoustic", "electric", "electronic", "mixed sound generation"])
831
861
  return false unless sound_generation_validator.valid?(@sound_generation)
832
862
  tempo_validator = EnumAttributeValidator.new('String', ["very slow", "slow", "mid-tempo", "fast", "very fast", "varying tempo"])
@@ -845,44 +875,14 @@ module SongtradrApiClientRuby
845
875
  return false unless origin_decade_validator.valid?(@origin_decade)
846
876
  curateability_validator = EnumAttributeValidator.new('String', ["curateable", "uncurateable"])
847
877
  return false unless curateability_validator.valid?(@curateability)
848
- use_case_validator = EnumAttributeValidator.new('String', ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax"])
878
+ use_case_validator = EnumAttributeValidator.new('String', ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax", "karaoke"])
849
879
  return false unless use_case_validator.valid?(@use_case)
850
880
  channel_suitability_validator = EnumAttributeValidator.new('String', ["Spotify", "TikTok", "Unfitting", "YouTube"])
851
881
  return false unless channel_suitability_validator.valid?(@channel_suitability)
852
- secondary_mood_cluster_validator = EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
853
- return false unless secondary_mood_cluster_validator.valid?(@secondary_mood_cluster)
854
- tertiary_mood_cluster_validator = EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
855
- return false unless tertiary_mood_cluster_validator.valid?(@tertiary_mood_cluster)
856
- 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"])
857
- return false unless secondary_instrument_validator.valid?(@secondary_instrument)
858
- 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"])
859
- return false unless tertiary_instrument_validator.valid?(@tertiary_instrument)
860
- production_rating_validator = EnumAttributeValidator.new('String', ["low production quality", "medium production quality", "high production quality"])
861
- return false unless production_rating_validator.valid?(@production_rating)
862
- performance_rating_validator = EnumAttributeValidator.new('String', ["low performance quality", "medium performance quality", "high performance quality"])
863
- return false unless performance_rating_validator.valid?(@performance_rating)
864
- song_rating_validator = EnumAttributeValidator.new('String', ["low song quality", "medium song quality", "high song quality"])
865
- return false unless song_rating_validator.valid?(@song_rating)
866
- audience_age_validator = EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
867
- return false unless audience_age_validator.valid?(@audience_age)
868
- secondary_audience_age_validator = EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
869
- return false unless secondary_audience_age_validator.valid?(@secondary_audience_age)
870
- tertiary_audience_age_validator = EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
871
- return false unless tertiary_audience_age_validator.valid?(@tertiary_audience_age)
872
- audience_gender_validator = EnumAttributeValidator.new('String', ["male", "female"])
873
- return false unless audience_gender_validator.valid?(@audience_gender)
874
- secondary_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"])
875
- return false unless secondary_audience_region_validator.valid?(@secondary_audience_region)
876
- tertiary_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"])
877
- return false unless tertiary_audience_region_validator.valid?(@tertiary_audience_region)
878
- origin_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"])
879
- return false unless origin_region_validator.valid?(@origin_region)
880
- 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"])
881
- return false unless industry_suitability_validator.valid?(@industry_suitability)
882
- 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"])
883
- return false unless audience_region_validator.valid?(@audience_region)
884
- key_validator = EnumAttributeValidator.new('String', ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B", "unclear"])
885
- return false unless key_validator.valid?(@key)
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,124 +897,264 @@ module SongtradrApiClientRuby
897
897
  end
898
898
 
899
899
  # Custom attribute writer method checking allowed values (enum).
900
- # @param [Object] arousal Object to be assigned
901
- def arousal=(arousal)
902
- validator = EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
903
- unless validator.valid?(arousal)
904
- fail ArgumentError, "invalid value for \"arousal\", must be one of #{validator.allowable_values}."
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
- @arousal = arousal
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] language_of_performance Object to be assigned
911
- def language_of_performance=(language_of_performance)
912
- 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"])
913
- unless validator.valid?(language_of_performance)
914
- fail ArgumentError, "invalid value for \"language_of_performance\", must be one of #{validator.allowable_values}."
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
- @language_of_performance = language_of_performance
916
+ @production_rating = production_rating
917
917
  end
918
918
 
919
919
  # Custom attribute writer method checking allowed values (enum).
920
- # @param [Object] dominant_instrument Object to be assigned
921
- def dominant_instrument=(dominant_instrument)
922
- 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"])
923
- unless validator.valid?(dominant_instrument)
924
- fail ArgumentError, "invalid value for \"dominant_instrument\", must be one of #{validator.allowable_values}."
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
- @dominant_instrument = dominant_instrument
926
+ @performance_rating = performance_rating
927
927
  end
928
928
 
929
929
  # Custom attribute writer method checking allowed values (enum).
930
- # @param [Object] energy Object to be assigned
931
- def energy=(energy)
932
- validator = EnumAttributeValidator.new('String', ["very quiet", "quiet", "moderate", "loud", "very loud", "dynamic"])
933
- unless validator.valid?(energy)
934
- fail ArgumentError, "invalid value for \"energy\", must be one of #{validator.allowable_values}."
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
- @energy = energy
936
+ @song_rating = song_rating
937
937
  end
938
938
 
939
939
  # Custom attribute writer method checking allowed values (enum).
940
- # @param [Object] engagement Object to be assigned
941
- def engagement=(engagement)
942
- validator = EnumAttributeValidator.new('String', ["very unengaging", "unengaging", "neutral engagement", "engaging", "very engaging", "varying engagement"])
943
- unless validator.valid?(engagement)
944
- fail ArgumentError, "invalid value for \"engagement\", must be one of #{validator.allowable_values}."
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
- @engagement = engagement
946
+ @audience_age = audience_age
947
947
  end
948
948
 
949
949
  # Custom attribute writer method checking allowed values (enum).
950
- # @param [Object] groovyness Object to be assigned
951
- def groovyness=(groovyness)
952
- validator = EnumAttributeValidator.new('String', ["very steady", "steady", "moderate rhythm feel", "groovy", "very groovy"])
953
- unless validator.valid?(groovyness)
954
- fail ArgumentError, "invalid value for \"groovyness\", must be one of #{validator.allowable_values}."
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
- @groovyness = groovyness
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] harmony Object to be assigned
961
- def harmony=(harmony)
962
- validator = EnumAttributeValidator.new('String', ["very dissonant", "dissonant", "moderate harmonies", "harmonious", "very harmonious"])
963
- unless validator.valid?(harmony)
964
- fail ArgumentError, "invalid value for \"harmony\", must be one of #{validator.allowable_values}."
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
- @harmony = harmony
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] pleasantness Object to be assigned
971
- def pleasantness=(pleasantness)
972
- validator = EnumAttributeValidator.new('String', ["very unpleasant", "unpleasant", "neutral pleasantness", "pleasant", "very pleasant", "varying pleasantness"])
973
- unless validator.valid?(pleasantness)
974
- fail ArgumentError, "invalid value for \"pleasantness\", must be one of #{validator.allowable_values}."
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
- @pleasantness = pleasantness
976
+ @audience_gender = audience_gender
977
977
  end
978
978
 
979
979
  # Custom attribute writer method checking allowed values (enum).
980
- # @param [Object] primary_mood_cluster Object to be assigned
981
- def primary_mood_cluster=(primary_mood_cluster)
982
- validator = EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
983
- unless validator.valid?(primary_mood_cluster)
984
- fail ArgumentError, "invalid value for \"primary_mood_cluster\", must be one of #{validator.allowable_values}."
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
- @primary_mood_cluster = primary_mood_cluster
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] primary_sound_character Object to be assigned
991
- def primary_sound_character=(primary_sound_character)
992
- validator = EnumAttributeValidator.new('String', ["brassy", "bright", "clear", "deep", "distorted", "flat", "full", "groovy", "melodious", "natural", "resonant", "shrill", "steady", "thin", "warm"])
993
- unless validator.valid?(primary_sound_character)
994
- fail ArgumentError, "invalid value for \"primary_sound_character\", must be one of #{validator.allowable_values}."
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
- @primary_sound_character = primary_sound_character
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] rhythm Object to be assigned
1001
- def rhythm=(rhythm)
1002
- validator = EnumAttributeValidator.new('String', ["common time", "triple meter", "complex time signature", "binary rhythm", "ternary rhythm"])
1003
- unless validator.valid?(rhythm)
1004
- fail ArgumentError, "invalid value for \"rhythm\", must be one of #{validator.allowable_values}."
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
- @rhythm = rhythm
1006
+ @origin_region = origin_region
1007
1007
  end
1008
1008
 
1009
1009
  # Custom attribute writer method checking allowed values (enum).
1010
- # @param [Object] roughness Object to be assigned
1011
- def roughness=(roughness)
1012
- validator = EnumAttributeValidator.new('String', ["very clear", "clear", "moderate roughness", "distorted", "very distorted"])
1013
- unless validator.valid?(roughness)
1014
- fail ArgumentError, "invalid value for \"roughness\", must be one of #{validator.allowable_values}."
1015
- end
1016
- @roughness = roughness
1017
- end
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
+ end
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
1057
+ end
1058
+
1059
+ # Custom attribute writer method checking allowed values (enum).
1060
+ # @param [Object] dominant_instrument Object to be assigned
1061
+ def dominant_instrument=(dominant_instrument)
1062
+ 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"])
1063
+ unless validator.valid?(dominant_instrument)
1064
+ fail ArgumentError, "invalid value for \"dominant_instrument\", must be one of #{validator.allowable_values}."
1065
+ end
1066
+ @dominant_instrument = dominant_instrument
1067
+ end
1068
+
1069
+ # Custom attribute writer method checking allowed values (enum).
1070
+ # @param [Object] energy Object to be assigned
1071
+ def energy=(energy)
1072
+ validator = EnumAttributeValidator.new('String', ["very quiet", "quiet", "moderate", "loud", "very loud", "dynamic"])
1073
+ unless validator.valid?(energy)
1074
+ fail ArgumentError, "invalid value for \"energy\", must be one of #{validator.allowable_values}."
1075
+ end
1076
+ @energy = energy
1077
+ end
1078
+
1079
+ # Custom attribute writer method checking allowed values (enum).
1080
+ # @param [Object] engagement Object to be assigned
1081
+ def engagement=(engagement)
1082
+ validator = EnumAttributeValidator.new('String', ["very unengaging", "unengaging", "neutral engagement", "engaging", "very engaging", "varying engagement"])
1083
+ unless validator.valid?(engagement)
1084
+ fail ArgumentError, "invalid value for \"engagement\", must be one of #{validator.allowable_values}."
1085
+ end
1086
+ @engagement = engagement
1087
+ end
1088
+
1089
+ # Custom attribute writer method checking allowed values (enum).
1090
+ # @param [Object] groovyness Object to be assigned
1091
+ def groovyness=(groovyness)
1092
+ validator = EnumAttributeValidator.new('String', ["very steady", "steady", "moderate rhythm feel", "groovy", "very groovy"])
1093
+ unless validator.valid?(groovyness)
1094
+ fail ArgumentError, "invalid value for \"groovyness\", must be one of #{validator.allowable_values}."
1095
+ end
1096
+ @groovyness = groovyness
1097
+ end
1098
+
1099
+ # Custom attribute writer method checking allowed values (enum).
1100
+ # @param [Object] harmony Object to be assigned
1101
+ def harmony=(harmony)
1102
+ validator = EnumAttributeValidator.new('String', ["very dissonant", "dissonant", "moderate harmonies", "harmonious", "very harmonious"])
1103
+ unless validator.valid?(harmony)
1104
+ fail ArgumentError, "invalid value for \"harmony\", must be one of #{validator.allowable_values}."
1105
+ end
1106
+ @harmony = harmony
1107
+ end
1108
+
1109
+ # Custom attribute writer method checking allowed values (enum).
1110
+ # @param [Object] pleasantness Object to be assigned
1111
+ def pleasantness=(pleasantness)
1112
+ validator = EnumAttributeValidator.new('String', ["very unpleasant", "unpleasant", "neutral pleasantness", "pleasant", "very pleasant", "varying pleasantness"])
1113
+ unless validator.valid?(pleasantness)
1114
+ fail ArgumentError, "invalid value for \"pleasantness\", must be one of #{validator.allowable_values}."
1115
+ end
1116
+ @pleasantness = pleasantness
1117
+ end
1118
+
1119
+ # Custom attribute writer method checking allowed values (enum).
1120
+ # @param [Object] primary_mood_cluster Object to be assigned
1121
+ def primary_mood_cluster=(primary_mood_cluster)
1122
+ validator = EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
1123
+ unless validator.valid?(primary_mood_cluster)
1124
+ fail ArgumentError, "invalid value for \"primary_mood_cluster\", must be one of #{validator.allowable_values}."
1125
+ end
1126
+ @primary_mood_cluster = primary_mood_cluster
1127
+ end
1128
+
1129
+ # Custom attribute writer method checking allowed values (enum).
1130
+ # @param [Object] primary_sound_character Object to be assigned
1131
+ def primary_sound_character=(primary_sound_character)
1132
+ validator = EnumAttributeValidator.new('String', ["brassy", "bright", "clear", "deep", "distorted", "flat", "full", "groovy", "melodious", "natural", "resonant", "shrill", "steady", "thin", "warm"])
1133
+ unless validator.valid?(primary_sound_character)
1134
+ fail ArgumentError, "invalid value for \"primary_sound_character\", must be one of #{validator.allowable_values}."
1135
+ end
1136
+ @primary_sound_character = primary_sound_character
1137
+ end
1138
+
1139
+ # Custom attribute writer method checking allowed values (enum).
1140
+ # @param [Object] rhythm Object to be assigned
1141
+ def rhythm=(rhythm)
1142
+ validator = EnumAttributeValidator.new('String', ["common time", "triple meter", "complex time signature", "binary rhythm", "ternary rhythm"])
1143
+ unless validator.valid?(rhythm)
1144
+ fail ArgumentError, "invalid value for \"rhythm\", must be one of #{validator.allowable_values}."
1145
+ end
1146
+ @rhythm = rhythm
1147
+ end
1148
+
1149
+ # Custom attribute writer method checking allowed values (enum).
1150
+ # @param [Object] roughness Object to be assigned
1151
+ def roughness=(roughness)
1152
+ validator = EnumAttributeValidator.new('String', ["very clear", "clear", "moderate roughness", "distorted", "very distorted"])
1153
+ unless validator.valid?(roughness)
1154
+ fail ArgumentError, "invalid value for \"roughness\", must be one of #{validator.allowable_values}."
1155
+ end
1156
+ @roughness = roughness
1157
+ end
1018
1158
 
1019
1159
  # Custom attribute writer method checking allowed values (enum).
1020
1160
  # @param [Object] scale Object to be assigned
@@ -1026,6 +1166,16 @@ module SongtradrApiClientRuby
1026
1166
  @scale = scale
1027
1167
  end
1028
1168
 
1169
+ # Custom attribute writer method checking allowed values (enum).
1170
+ # @param [Object] key Object to be assigned
1171
+ def key=(key)
1172
+ validator = EnumAttributeValidator.new('String', ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B", "unclear"])
1173
+ unless validator.valid?(key)
1174
+ fail ArgumentError, "invalid value for \"key\", must be one of #{validator.allowable_values}."
1175
+ end
1176
+ @key = key
1177
+ end
1178
+
1029
1179
  # Custom attribute writer method checking allowed values (enum).
1030
1180
  # @param [Object] sound_generation Object to be assigned
1031
1181
  def sound_generation=(sound_generation)
@@ -1119,7 +1269,7 @@ module SongtradrApiClientRuby
1119
1269
  # Custom attribute writer method checking allowed values (enum).
1120
1270
  # @param [Object] use_case Object to be assigned
1121
1271
  def use_case=(use_case)
1122
- validator = EnumAttributeValidator.new('String', ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax"])
1272
+ validator = EnumAttributeValidator.new('String', ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax", "karaoke"])
1123
1273
  unless validator.valid?(use_case)
1124
1274
  fail ArgumentError, "invalid value for \"use_case\", must be one of #{validator.allowable_values}."
1125
1275
  end
@@ -1137,173 +1287,23 @@ module SongtradrApiClientRuby
1137
1287
  end
1138
1288
 
1139
1289
  # Custom attribute writer method checking allowed values (enum).
1140
- # @param [Object] secondary_mood_cluster Object to be assigned
1141
- def secondary_mood_cluster=(secondary_mood_cluster)
1142
- validator = EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
1143
- unless validator.valid?(secondary_mood_cluster)
1144
- fail ArgumentError, "invalid value for \"secondary_mood_cluster\", must be one of #{validator.allowable_values}."
1145
- end
1146
- @secondary_mood_cluster = secondary_mood_cluster
1147
- end
1148
-
1149
- # Custom attribute writer method checking allowed values (enum).
1150
- # @param [Object] tertiary_mood_cluster Object to be assigned
1151
- def tertiary_mood_cluster=(tertiary_mood_cluster)
1152
- validator = EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
1153
- unless validator.valid?(tertiary_mood_cluster)
1154
- fail ArgumentError, "invalid value for \"tertiary_mood_cluster\", must be one of #{validator.allowable_values}."
1155
- end
1156
- @tertiary_mood_cluster = tertiary_mood_cluster
1157
- end
1158
-
1159
- # Custom attribute writer method checking allowed values (enum).
1160
- # @param [Object] secondary_instrument Object to be assigned
1161
- def secondary_instrument=(secondary_instrument)
1162
- 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"])
1163
- unless validator.valid?(secondary_instrument)
1164
- fail ArgumentError, "invalid value for \"secondary_instrument\", must be one of #{validator.allowable_values}."
1165
- end
1166
- @secondary_instrument = secondary_instrument
1167
- end
1168
-
1169
- # Custom attribute writer method checking allowed values (enum).
1170
- # @param [Object] tertiary_instrument Object to be assigned
1171
- def tertiary_instrument=(tertiary_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?(tertiary_instrument)
1174
- fail ArgumentError, "invalid value for \"tertiary_instrument\", must be one of #{validator.allowable_values}."
1175
- end
1176
- @tertiary_instrument = tertiary_instrument
1177
- end
1178
-
1179
- # Custom attribute writer method checking allowed values (enum).
1180
- # @param [Object] production_rating Object to be assigned
1181
- def production_rating=(production_rating)
1182
- validator = EnumAttributeValidator.new('String', ["low production quality", "medium production quality", "high production quality"])
1183
- unless validator.valid?(production_rating)
1184
- fail ArgumentError, "invalid value for \"production_rating\", must be one of #{validator.allowable_values}."
1185
- end
1186
- @production_rating = production_rating
1187
- end
1188
-
1189
- # Custom attribute writer method checking allowed values (enum).
1190
- # @param [Object] performance_rating Object to be assigned
1191
- def performance_rating=(performance_rating)
1192
- validator = EnumAttributeValidator.new('String', ["low performance quality", "medium performance quality", "high performance quality"])
1193
- unless validator.valid?(performance_rating)
1194
- fail ArgumentError, "invalid value for \"performance_rating\", must be one of #{validator.allowable_values}."
1195
- end
1196
- @performance_rating = performance_rating
1197
- end
1198
-
1199
- # Custom attribute writer method checking allowed values (enum).
1200
- # @param [Object] song_rating Object to be assigned
1201
- def song_rating=(song_rating)
1202
- validator = EnumAttributeValidator.new('String', ["low song quality", "medium song quality", "high song quality"])
1203
- unless validator.valid?(song_rating)
1204
- fail ArgumentError, "invalid value for \"song_rating\", must be one of #{validator.allowable_values}."
1205
- end
1206
- @song_rating = song_rating
1207
- end
1208
-
1209
- # Custom attribute writer method checking allowed values (enum).
1210
- # @param [Object] audience_age Object to be assigned
1211
- def audience_age=(audience_age)
1212
- validator = EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
1213
- unless validator.valid?(audience_age)
1214
- fail ArgumentError, "invalid value for \"audience_age\", must be one of #{validator.allowable_values}."
1215
- end
1216
- @audience_age = audience_age
1217
- end
1218
-
1219
- # Custom attribute writer method checking allowed values (enum).
1220
- # @param [Object] secondary_audience_age Object to be assigned
1221
- def secondary_audience_age=(secondary_audience_age)
1222
- validator = EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
1223
- unless validator.valid?(secondary_audience_age)
1224
- fail ArgumentError, "invalid value for \"secondary_audience_age\", must be one of #{validator.allowable_values}."
1225
- end
1226
- @secondary_audience_age = secondary_audience_age
1227
- end
1228
-
1229
- # Custom attribute writer method checking allowed values (enum).
1230
- # @param [Object] tertiary_audience_age Object to be assigned
1231
- def tertiary_audience_age=(tertiary_audience_age)
1232
- validator = EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
1233
- unless validator.valid?(tertiary_audience_age)
1234
- fail ArgumentError, "invalid value for \"tertiary_audience_age\", must be one of #{validator.allowable_values}."
1235
- end
1236
- @tertiary_audience_age = tertiary_audience_age
1237
- end
1238
-
1239
- # Custom attribute writer method checking allowed values (enum).
1240
- # @param [Object] audience_gender Object to be assigned
1241
- def audience_gender=(audience_gender)
1242
- validator = EnumAttributeValidator.new('String', ["male", "female"])
1243
- unless validator.valid?(audience_gender)
1244
- fail ArgumentError, "invalid value for \"audience_gender\", must be one of #{validator.allowable_values}."
1245
- end
1246
- @audience_gender = audience_gender
1247
- end
1248
-
1249
- # Custom attribute writer method checking allowed values (enum).
1250
- # @param [Object] secondary_audience_region Object to be assigned
1251
- def secondary_audience_region=(secondary_audience_region)
1252
- 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"])
1253
- unless validator.valid?(secondary_audience_region)
1254
- fail ArgumentError, "invalid value for \"secondary_audience_region\", must be one of #{validator.allowable_values}."
1255
- end
1256
- @secondary_audience_region = secondary_audience_region
1257
- end
1258
-
1259
- # Custom attribute writer method checking allowed values (enum).
1260
- # @param [Object] tertiary_audience_region Object to be assigned
1261
- def tertiary_audience_region=(tertiary_audience_region)
1262
- 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"])
1263
- unless validator.valid?(tertiary_audience_region)
1264
- fail ArgumentError, "invalid value for \"tertiary_audience_region\", must be one of #{validator.allowable_values}."
1265
- end
1266
- @tertiary_audience_region = tertiary_audience_region
1267
- end
1268
-
1269
- # Custom attribute writer method checking allowed values (enum).
1270
- # @param [Object] origin_region Object to be assigned
1271
- def origin_region=(origin_region)
1272
- 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"])
1273
- unless validator.valid?(origin_region)
1274
- fail ArgumentError, "invalid value for \"origin_region\", must be one of #{validator.allowable_values}."
1275
- end
1276
- @origin_region = origin_region
1277
- end
1278
-
1279
- # Custom attribute writer method checking allowed values (enum).
1280
- # @param [Object] industry_suitability Object to be assigned
1281
- def industry_suitability=(industry_suitability)
1282
- 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"])
1283
- unless validator.valid?(industry_suitability)
1284
- fail ArgumentError, "invalid value for \"industry_suitability\", must be one of #{validator.allowable_values}."
1285
- end
1286
- @industry_suitability = industry_suitability
1287
- end
1288
-
1289
- # Custom attribute writer method checking allowed values (enum).
1290
- # @param [Object] audience_region Object to be assigned
1291
- def audience_region=(audience_region)
1292
- 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"])
1293
- unless validator.valid?(audience_region)
1294
- fail ArgumentError, "invalid value for \"audience_region\", must be one of #{validator.allowable_values}."
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
- @audience_region = audience_region
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] key Object to be assigned
1301
- def key=(key)
1302
- validator = EnumAttributeValidator.new('String', ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B", "unclear"])
1303
- unless validator.valid?(key)
1304
- fail ArgumentError, "invalid value for \"key\", must be one of #{validator.allowable_values}."
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
- @key = key
1306
+ @arousal = arousal
1307
1307
  end
1308
1308
 
1309
1309
  # Checks equality by comparing each attribute.
@@ -1312,46 +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
- language_of_performance == o.language_of_performance &&
1317
- dominant_instrument == o.dominant_instrument &&
1318
- energy == o.energy &&
1319
- engagement == o.engagement &&
1320
- groovyness == o.groovyness &&
1321
- harmony == o.harmony &&
1322
- pleasantness == o.pleasantness &&
1323
- primary_mood_cluster == o.primary_mood_cluster &&
1324
- primary_sound_character == o.primary_sound_character &&
1325
- rhythm == o.rhythm &&
1326
- roughness == o.roughness &&
1327
- scale == o.scale &&
1328
- sound_generation == o.sound_generation &&
1329
- tempo == o.tempo &&
1330
- texture == o.texture &&
1331
- timbre == o.timbre &&
1332
- tonality == o.tonality &&
1333
- valence == o.valence &&
1334
- vocals == o.vocals &&
1335
- origin_decade == o.origin_decade &&
1336
- curateability == o.curateability &&
1337
- use_case == o.use_case &&
1338
- channel_suitability == o.channel_suitability &&
1339
1315
  primary_mood_cluster_affinity == o.primary_mood_cluster_affinity &&
1340
1316
  secondary_mood_cluster == o.secondary_mood_cluster &&
1341
- secondary_mood_cluster_affinity == o.secondary_mood_cluster_affinity &&
1342
- tertiary_mood_cluster == o.tertiary_mood_cluster &&
1343
- tertiary_mood_cluster_affinity == o.tertiary_mood_cluster_affinity &&
1344
- vocals_affinity == o.vocals_affinity &&
1345
- dominant_instrument_affinity == o.dominant_instrument_affinity &&
1346
- secondary_instrument == o.secondary_instrument &&
1347
- secondary_instrument_affinity == o.secondary_instrument_affinity &&
1348
- tertiary_instrument == o.tertiary_instrument &&
1349
- tertiary_instrument_affinity == o.tertiary_instrument_affinity &&
1350
- sound_generation_affinity == o.sound_generation_affinity &&
1351
- rhythm_affinity == o.rhythm_affinity &&
1352
- primary_sound_character_affinity == o.primary_sound_character_affinity &&
1353
- tonality_affinity == o.tonality_affinity &&
1354
- bpm == o.bpm &&
1355
1317
  production_rating == o.production_rating &&
1356
1318
  production_rating_affinity == o.production_rating_affinity &&
1357
1319
  performance_rating == o.performance_rating &&
@@ -1379,7 +1341,46 @@ module SongtradrApiClientRuby
1379
1341
  use_case_affinity == o.use_case_affinity &&
1380
1342
  industry_suitability == o.industry_suitability &&
1381
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 &&
1382
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 &&
1383
1384
  valence_affinity == o.valence_affinity &&
1384
1385
  arousal_affinity == o.arousal_affinity &&
1385
1386
  pleasantness_affinity == o.pleasantness_affinity &&
@@ -1394,8 +1395,7 @@ module SongtradrApiClientRuby
1394
1395
  groovyness_affinity == o.groovyness_affinity &&
1395
1396
  space_affinity == o.space_affinity &&
1396
1397
  key_affinity == o.key_affinity &&
1397
- channel_suitability_affinity == o.channel_suitability_affinity &&
1398
- key == o.key
1398
+ channel_suitability_affinity == o.channel_suitability_affinity
1399
1399
  end
1400
1400
 
1401
1401
  # @see the `==` method
@@ -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, arousal, language_of_performance, dominant_instrument, energy, engagement, groovyness, harmony, pleasantness, primary_mood_cluster, primary_sound_character, rhythm, roughness, scale, sound_generation, tempo, texture, timbre, tonality, valence, vocals, origin_decade, curateability, use_case, channel_suitability, primary_mood_cluster_affinity, secondary_mood_cluster, 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, 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, audience_region, 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, key].hash
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