songtradr_api_client_ruby 1.12.24 → 1.13.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (174) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +6 -5
  4. data/docs/ApiKeyDTO.md +3 -3
  5. data/docs/CategoryMediumDTO.md +3 -3
  6. data/docs/FileSmallDTO.md +16 -16
  7. data/docs/MusicalFeaturesDTO.md +62 -62
  8. data/docs/PlaylistLargeDTO.md +3 -3
  9. data/docs/ProductMediumDTO.md +2 -2
  10. data/docs/RecordingApi.md +4 -0
  11. data/docs/RecordingGenrePredictionDTO.md +2 -2
  12. data/docs/RecordingMediumDTO.md +2 -0
  13. data/docs/TrackDTO.md +18 -0
  14. data/docs/TrackToMediumProductDTO.md +3 -3
  15. data/getspec.rb +34 -15
  16. data/lib/songtradr_api_client_ruby/api/allowed_values_api.rb +2 -2
  17. data/lib/songtradr_api_client_ruby/api/api_keys_api.rb +2 -2
  18. data/lib/songtradr_api_client_ruby/api/party_api.rb +2 -2
  19. data/lib/songtradr_api_client_ruby/api/playlist_api.rb +2 -2
  20. data/lib/songtradr_api_client_ruby/api/recording_api.rb +8 -2
  21. data/lib/songtradr_api_client_ruby/api/user_api.rb +2 -2
  22. data/lib/songtradr_api_client_ruby/api_client.rb +2 -2
  23. data/lib/songtradr_api_client_ruby/api_error.rb +2 -2
  24. data/lib/songtradr_api_client_ruby/configuration.rb +4 -4
  25. data/lib/songtradr_api_client_ruby/models/admin_api_user_dto.rb +2 -2
  26. data/lib/songtradr_api_client_ruby/models/api_key_dto.rb +22 -22
  27. data/lib/songtradr_api_client_ruby/models/category_medium_dto.rb +17 -17
  28. data/lib/songtradr_api_client_ruby/models/category_minimal_dto.rb +2 -2
  29. data/lib/songtradr_api_client_ruby/models/config_access_dto.rb +2 -2
  30. data/lib/songtradr_api_client_ruby/models/config_identifier_dto.rb +2 -2
  31. data/lib/songtradr_api_client_ruby/models/contributor_type_dto.rb +2 -2
  32. data/lib/songtradr_api_client_ruby/models/create_api_key_dto.rb +2 -2
  33. data/lib/songtradr_api_client_ruby/models/error_response.rb +2 -2
  34. data/lib/songtradr_api_client_ruby/models/field_summary_dto.rb +2 -2
  35. data/lib/songtradr_api_client_ruby/models/file_dto.rb +2 -2
  36. data/lib/songtradr_api_client_ruby/models/file_list_dto.rb +2 -2
  37. data/lib/songtradr_api_client_ruby/models/file_minimal_with_url_dto.rb +2 -2
  38. data/lib/songtradr_api_client_ruby/models/file_small_dto.rb +64 -64
  39. data/lib/songtradr_api_client_ruby/models/file_upload_dto.rb +2 -2
  40. data/lib/songtradr_api_client_ruby/models/file_w_ith_url_dto.rb +2 -2
  41. data/lib/songtradr_api_client_ruby/models/files_summary_dto.rb +2 -2
  42. data/lib/songtradr_api_client_ruby/models/forgot_password_dto.rb +2 -2
  43. data/lib/songtradr_api_client_ruby/models/genre_dto.rb +2 -2
  44. data/lib/songtradr_api_client_ruby/models/genre_minimal_dto.rb +2 -2
  45. data/lib/songtradr_api_client_ruby/models/genres_summary_dto.rb +2 -2
  46. data/lib/songtradr_api_client_ruby/models/init_put_recording_audio_dto.rb +2 -2
  47. data/lib/songtradr_api_client_ruby/models/jwt_token_dto.rb +2 -2
  48. data/lib/songtradr_api_client_ruby/models/login_dto.rb +2 -2
  49. data/lib/songtradr_api_client_ruby/models/musical_features_dto.rb +498 -498
  50. data/lib/songtradr_api_client_ruby/models/p_line_dto.rb +2 -2
  51. data/lib/songtradr_api_client_ruby/models/party_large_dto.rb +2 -2
  52. data/lib/songtradr_api_client_ruby/models/party_small_dto.rb +2 -2
  53. data/lib/songtradr_api_client_ruby/models/playlist_large_dto.rb +15 -15
  54. data/lib/songtradr_api_client_ruby/models/product_medium_dto.rb +12 -12
  55. data/lib/songtradr_api_client_ruby/models/product_party_dto.rb +2 -2
  56. data/lib/songtradr_api_client_ruby/models/recording_for_similarity_search_dto.rb +2 -2
  57. data/lib/songtradr_api_client_ruby/models/recording_genre_prediction_dto.rb +19 -19
  58. data/lib/songtradr_api_client_ruby/models/recording_large_dto.rb +2 -2
  59. data/lib/songtradr_api_client_ruby/models/recording_list_dto.rb +2 -2
  60. data/lib/songtradr_api_client_ruby/models/recording_medium_dto.rb +14 -3
  61. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +2 -2
  62. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +2 -2
  63. data/lib/songtradr_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +2 -2
  64. data/lib/songtradr_api_client_ruby/models/recording_party_dto.rb +2 -2
  65. data/lib/songtradr_api_client_ruby/models/recording_playlist_dto.rb +2 -2
  66. data/lib/songtradr_api_client_ruby/models/recording_small_dto.rb +2 -2
  67. data/lib/songtradr_api_client_ruby/models/recording_tag_small_dto.rb +2 -2
  68. data/lib/songtradr_api_client_ruby/models/save_file_recording_dto.rb +14 -14
  69. data/lib/songtradr_api_client_ruby/models/save_playlist_dto.rb +2 -2
  70. data/lib/songtradr_api_client_ruby/models/save_recording_genre_dto.rb +2 -2
  71. data/lib/songtradr_api_client_ruby/models/save_recording_party_dto.rb +2 -2
  72. data/lib/songtradr_api_client_ruby/models/save_recording_playlist_dto.rb +2 -2
  73. data/lib/songtradr_api_client_ruby/models/save_recording_tag_dto.rb +2 -2
  74. data/lib/songtradr_api_client_ruby/models/save_referrer_dto.rb +2 -2
  75. data/lib/songtradr_api_client_ruby/models/save_taggrams_dto.rb +2 -2
  76. data/lib/songtradr_api_client_ruby/models/save_user_dto.rb +2 -2
  77. data/lib/songtradr_api_client_ruby/models/search_filter_values_dto.rb +2 -2
  78. data/lib/songtradr_api_client_ruby/models/search_recording_granular_abstraction_dto.rb +2 -2
  79. data/lib/songtradr_api_client_ruby/models/search_recording_granular_dto.rb +2 -2
  80. data/lib/songtradr_api_client_ruby/models/sign_up_dto.rb +2 -2
  81. data/lib/songtradr_api_client_ruby/models/tag_dto.rb +2 -2
  82. data/lib/songtradr_api_client_ruby/models/tag_small_dto.rb +2 -2
  83. data/lib/songtradr_api_client_ruby/models/taggram_dto.rb +2 -2
  84. data/lib/songtradr_api_client_ruby/models/tags_summary_dto.rb +2 -2
  85. data/lib/songtradr_api_client_ruby/models/tagstrength_dto.rb +2 -2
  86. data/lib/songtradr_api_client_ruby/models/title_dto.rb +2 -2
  87. data/lib/songtradr_api_client_ruby/models/token_request.rb +2 -2
  88. data/lib/songtradr_api_client_ruby/models/track_dto.rb +215 -0
  89. data/lib/songtradr_api_client_ruby/models/track_to_medium_product_dto.rb +22 -22
  90. data/lib/songtradr_api_client_ruby/models/update_password_dto.rb +2 -2
  91. data/lib/songtradr_api_client_ruby/models/usage_dto.rb +2 -2
  92. data/lib/songtradr_api_client_ruby/models/user_dto.rb +2 -2
  93. data/lib/songtradr_api_client_ruby/version.rb +3 -3
  94. data/lib/songtradr_api_client_ruby.rb +3 -2
  95. data/openapi-generator-config.yaml +1 -1
  96. data/songtradr_api_client_ruby.gemspec +2 -2
  97. data/spec/api/allowed_values_api_spec.rb +2 -2
  98. data/spec/api/api_keys_api_spec.rb +2 -2
  99. data/spec/api/party_api_spec.rb +2 -2
  100. data/spec/api/playlist_api_spec.rb +2 -2
  101. data/spec/api/recording_api_spec.rb +4 -2
  102. data/spec/api/user_api_spec.rb +2 -2
  103. data/spec/api_client_spec.rb +2 -2
  104. data/spec/configuration_spec.rb +2 -2
  105. data/spec/models/admin_api_user_dto_spec.rb +2 -2
  106. data/spec/models/api_key_dto_spec.rb +5 -5
  107. data/spec/models/category_medium_dto_spec.rb +4 -4
  108. data/spec/models/category_minimal_dto_spec.rb +2 -2
  109. data/spec/models/config_access_dto_spec.rb +2 -2
  110. data/spec/models/config_identifier_dto_spec.rb +2 -2
  111. data/spec/models/contributor_type_dto_spec.rb +2 -2
  112. data/spec/models/create_api_key_dto_spec.rb +2 -2
  113. data/spec/models/error_response_spec.rb +2 -2
  114. data/spec/models/field_summary_dto_spec.rb +2 -2
  115. data/spec/models/file_dto_spec.rb +2 -2
  116. data/spec/models/file_list_dto_spec.rb +2 -2
  117. data/spec/models/file_minimal_with_url_dto_spec.rb +2 -2
  118. data/spec/models/file_small_dto_spec.rb +16 -16
  119. data/spec/models/file_upload_dto_spec.rb +2 -2
  120. data/spec/models/file_w_ith_url_dto_spec.rb +2 -2
  121. data/spec/models/files_summary_dto_spec.rb +2 -2
  122. data/spec/models/forgot_password_dto_spec.rb +2 -2
  123. data/spec/models/genre_dto_spec.rb +2 -2
  124. data/spec/models/genre_minimal_dto_spec.rb +2 -2
  125. data/spec/models/genres_summary_dto_spec.rb +2 -2
  126. data/spec/models/init_put_recording_audio_dto_spec.rb +2 -2
  127. data/spec/models/jwt_token_dto_spec.rb +2 -2
  128. data/spec/models/login_dto_spec.rb +2 -2
  129. data/spec/models/musical_features_dto_spec.rb +203 -203
  130. data/spec/models/p_line_dto_spec.rb +2 -2
  131. data/spec/models/party_large_dto_spec.rb +2 -2
  132. data/spec/models/party_small_dto_spec.rb +2 -2
  133. data/spec/models/playlist_large_dto_spec.rb +8 -8
  134. data/spec/models/product_medium_dto_spec.rb +5 -5
  135. data/spec/models/product_party_dto_spec.rb +2 -2
  136. data/spec/models/recording_for_similarity_search_dto_spec.rb +2 -2
  137. data/spec/models/recording_genre_prediction_dto_spec.rb +4 -4
  138. data/spec/models/recording_large_dto_spec.rb +2 -2
  139. data/spec/models/recording_list_dto_spec.rb +2 -2
  140. data/spec/models/recording_medium_dto_spec.rb +8 -2
  141. data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +2 -2
  142. data/spec/models/recording_minimal_with_taggrams_dto_spec.rb +2 -2
  143. data/spec/models/recording_minimal_with_tagstrengths_dto_spec.rb +2 -2
  144. data/spec/models/recording_party_dto_spec.rb +2 -2
  145. data/spec/models/recording_playlist_dto_spec.rb +2 -2
  146. data/spec/models/recording_small_dto_spec.rb +2 -2
  147. data/spec/models/recording_tag_small_dto_spec.rb +2 -2
  148. data/spec/models/save_file_recording_dto_spec.rb +8 -8
  149. data/spec/models/save_playlist_dto_spec.rb +2 -2
  150. data/spec/models/save_recording_genre_dto_spec.rb +2 -2
  151. data/spec/models/save_recording_party_dto_spec.rb +2 -2
  152. data/spec/models/save_recording_playlist_dto_spec.rb +2 -2
  153. data/spec/models/save_recording_tag_dto_spec.rb +2 -2
  154. data/spec/models/save_referrer_dto_spec.rb +2 -2
  155. data/spec/models/save_taggrams_dto_spec.rb +2 -2
  156. data/spec/models/save_user_dto_spec.rb +2 -2
  157. data/spec/models/search_filter_values_dto_spec.rb +2 -2
  158. data/spec/models/search_recording_granular_abstraction_dto_spec.rb +2 -2
  159. data/spec/models/search_recording_granular_dto_spec.rb +2 -2
  160. data/spec/models/sign_up_dto_spec.rb +2 -2
  161. data/spec/models/tag_dto_spec.rb +2 -2
  162. data/spec/models/tag_small_dto_spec.rb +2 -2
  163. data/spec/models/taggram_dto_spec.rb +2 -2
  164. data/spec/models/tags_summary_dto_spec.rb +2 -2
  165. data/spec/models/tagstrength_dto_spec.rb +2 -2
  166. data/spec/models/title_dto_spec.rb +2 -2
  167. data/spec/models/token_request_spec.rb +2 -2
  168. data/spec/models/track_dto_spec.rb +34 -0
  169. data/spec/models/track_to_medium_product_dto_spec.rb +5 -5
  170. data/spec/models/update_password_dto_spec.rb +2 -2
  171. data/spec/models/usage_dto_spec.rb +2 -2
  172. data/spec/models/user_dto_spec.rb +2 -2
  173. data/spec/spec_helper.rb +2 -2
  174. metadata +62 -58
@@ -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.12.24
6
+ The version of the OpenAPI document: 1.13.1
7
7
  Contact: info@songtradr.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.0.0-SNAPSHOT
9
+ OpenAPI Generator version: 7.0.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -19,8 +19,77 @@ module SongtradrApiClientRuby
19
19
  # Search for space
20
20
  attr_accessor :space
21
21
 
22
+ # Search for an arousal
23
+ attr_accessor :arousal
24
+
22
25
  attr_accessor :language_of_performance
23
26
 
27
+ # Search for a dominant instrument
28
+ attr_accessor :dominant_instrument
29
+
30
+ # Search for energy
31
+ attr_accessor :energy
32
+
33
+ # Search for an engagement
34
+ attr_accessor :engagement
35
+
36
+ # Search for groovyness
37
+ attr_accessor :groovyness
38
+
39
+ # Search for a degree of harmoniousness
40
+ attr_accessor :harmony
41
+
42
+ # Search for pleasantness
43
+ attr_accessor :pleasantness
44
+
45
+ # Search for a language of the lyrics
46
+ attr_accessor :primary_mood_cluster
47
+
48
+ # Search for a sound character
49
+ attr_accessor :primary_sound_character
50
+
51
+ # Search for rhythm
52
+ attr_accessor :rhythm
53
+
54
+ # Search for roughness
55
+ attr_accessor :roughness
56
+
57
+ # Search for a tonal scale
58
+ attr_accessor :scale
59
+
60
+ # Search for type of sound generation
61
+ attr_accessor :sound_generation
62
+
63
+ # Search for tempo
64
+ attr_accessor :tempo
65
+
66
+ # Search for texture
67
+ attr_accessor :texture
68
+
69
+ # Search for timbre
70
+ attr_accessor :timbre
71
+
72
+ # Search for tonality
73
+ attr_accessor :tonality
74
+
75
+ # Search for a valence
76
+ attr_accessor :valence
77
+
78
+ # Search for a vocal gender or instrumental songs
79
+ attr_accessor :vocals
80
+
81
+ # Search for origin decade
82
+ attr_accessor :origin_decade
83
+
84
+ # Search for curatebility
85
+ attr_accessor :curateability
86
+
87
+ # Search for use case
88
+ attr_accessor :use_case
89
+
90
+ # Search for social media suitability
91
+ attr_accessor :channel_suitability
92
+
24
93
  attr_accessor :primary_mood_cluster_affinity
25
94
 
26
95
  # Search for a language of the lyrics
@@ -112,83 +181,17 @@ module SongtradrApiClientRuby
112
181
 
113
182
  attr_accessor :industry_suitability_affinity
114
183
 
115
- # Search for an arousal
116
- attr_accessor :arousal
117
-
118
- # Search for a dominant instrument
119
- attr_accessor :dominant_instrument
120
-
121
- # Search for energy
122
- attr_accessor :energy
123
-
124
- # Search for an engagement
125
- attr_accessor :engagement
126
-
127
- # Search for groovyness
128
- attr_accessor :groovyness
129
-
130
- # Search for a degree of harmoniousness
131
- attr_accessor :harmony
132
-
133
- # Search for pleasantness
134
- attr_accessor :pleasantness
135
-
136
- # Search for a language of the lyrics
137
- attr_accessor :primary_mood_cluster
138
-
139
- # Search for a sound character
140
- attr_accessor :primary_sound_character
141
-
142
- # Search for rhythm
143
- attr_accessor :rhythm
144
-
145
- # Search for roughness
146
- attr_accessor :roughness
147
-
148
- # Search for a tonal scale
149
- attr_accessor :scale
150
-
151
- # Search for type of sound generation
152
- attr_accessor :sound_generation
153
-
154
- # Search for tempo
155
- attr_accessor :tempo
156
-
157
- # Search for texture
158
- attr_accessor :texture
159
-
160
- # Search for timbre
161
- attr_accessor :timbre
162
-
163
- # Search for tonality
164
- attr_accessor :tonality
165
-
166
- # Search for a valence
167
- attr_accessor :valence
168
-
169
184
  attr_accessor :audience_region
170
185
 
171
- # Search for a vocal gender or instrumental songs
172
- attr_accessor :vocals
173
-
174
- # Search for origin decade
175
- attr_accessor :origin_decade
176
-
177
- # Search for curatebility
178
- attr_accessor :curateability
179
-
180
- # Search for use case
181
- attr_accessor :use_case
186
+ attr_accessor :valence_affinity
182
187
 
183
- # Search for social media suitability
184
- attr_accessor :channel_suitability
188
+ attr_accessor :arousal_affinity
185
189
 
186
- # Search for a harmonic key
187
- attr_accessor :key
190
+ attr_accessor :pleasantness_affinity
188
191
 
189
- attr_accessor :channel_suitability_affinity
192
+ attr_accessor :engagement_affinity
190
193
 
191
- attr_accessor :pleasantness_affinity
194
+ attr_accessor :energy_affinity
192
195
 
193
196
  attr_accessor :tempo_affinity
194
197
 
@@ -196,25 +199,22 @@ module SongtradrApiClientRuby
196
199
 
197
200
  attr_accessor :timbre_affinity
198
201
 
199
- attr_accessor :engagement_affinity
202
+ attr_accessor :roughness_affinity
200
203
 
201
- attr_accessor :energy_affinity
204
+ attr_accessor :harmony_affinity
202
205
 
203
206
  attr_accessor :texture_affinity
204
207
 
205
208
  attr_accessor :groovyness_affinity
206
209
 
207
- attr_accessor :valence_affinity
208
-
209
- attr_accessor :arousal_affinity
210
-
211
210
  attr_accessor :space_affinity
212
211
 
213
212
  attr_accessor :key_affinity
214
213
 
215
- attr_accessor :roughness_affinity
214
+ attr_accessor :channel_suitability_affinity
216
215
 
217
- attr_accessor :harmony_affinity
216
+ # Search for a harmonic key
217
+ attr_accessor :key
218
218
 
219
219
  class EnumAttributeValidator
220
220
  attr_reader :datatype
@@ -242,7 +242,30 @@ module SongtradrApiClientRuby
242
242
  def self.attribute_map
243
243
  {
244
244
  :'space' => :'space',
245
+ :'arousal' => :'arousal',
245
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',
246
269
  :'primary_mood_cluster_affinity' => :'primaryMoodClusterAffinity',
247
270
  :'secondary_mood_cluster' => :'secondaryMoodCluster',
248
271
  :'secondary_mood_cluster_affinity' => :'secondaryMoodClusterAffinity',
@@ -286,46 +309,23 @@ module SongtradrApiClientRuby
286
309
  :'use_case_affinity' => :'useCaseAffinity',
287
310
  :'industry_suitability' => :'industrySuitability',
288
311
  :'industry_suitability_affinity' => :'industrySuitabilityAffinity',
289
- :'arousal' => :'arousal',
290
- :'dominant_instrument' => :'dominantInstrument',
291
- :'energy' => :'energy',
292
- :'engagement' => :'engagement',
293
- :'groovyness' => :'groovyness',
294
- :'harmony' => :'harmony',
295
- :'pleasantness' => :'pleasantness',
296
- :'primary_mood_cluster' => :'primaryMoodCluster',
297
- :'primary_sound_character' => :'primarySoundCharacter',
298
- :'rhythm' => :'rhythm',
299
- :'roughness' => :'roughness',
300
- :'scale' => :'scale',
301
- :'sound_generation' => :'soundGeneration',
302
- :'tempo' => :'tempo',
303
- :'texture' => :'texture',
304
- :'timbre' => :'timbre',
305
- :'tonality' => :'tonality',
306
- :'valence' => :'valence',
307
312
  :'audience_region' => :'audienceRegion',
308
- :'vocals' => :'vocals',
309
- :'origin_decade' => :'originDecade',
310
- :'curateability' => :'curateability',
311
- :'use_case' => :'useCase',
312
- :'channel_suitability' => :'channelSuitability',
313
- :'key' => :'key',
314
- :'channel_suitability_affinity' => :'channelSuitabilityAffinity',
313
+ :'valence_affinity' => :'valenceAffinity',
314
+ :'arousal_affinity' => :'arousalAffinity',
315
315
  :'pleasantness_affinity' => :'pleasantnessAffinity',
316
+ :'engagement_affinity' => :'engagementAffinity',
317
+ :'energy_affinity' => :'energyAffinity',
316
318
  :'tempo_affinity' => :'tempoAffinity',
317
319
  :'scale_affinity' => :'scaleAffinity',
318
320
  :'timbre_affinity' => :'timbreAffinity',
319
- :'engagement_affinity' => :'engagementAffinity',
320
- :'energy_affinity' => :'energyAffinity',
321
+ :'roughness_affinity' => :'roughnessAffinity',
322
+ :'harmony_affinity' => :'harmonyAffinity',
321
323
  :'texture_affinity' => :'textureAffinity',
322
324
  :'groovyness_affinity' => :'groovynessAffinity',
323
- :'valence_affinity' => :'valenceAffinity',
324
- :'arousal_affinity' => :'arousalAffinity',
325
325
  :'space_affinity' => :'spaceAffinity',
326
326
  :'key_affinity' => :'keyAffinity',
327
- :'roughness_affinity' => :'roughnessAffinity',
328
- :'harmony_affinity' => :'harmonyAffinity'
327
+ :'channel_suitability_affinity' => :'channelSuitabilityAffinity',
328
+ :'key' => :'key'
329
329
  }
330
330
  end
331
331
 
@@ -338,7 +338,30 @@ module SongtradrApiClientRuby
338
338
  def self.openapi_types
339
339
  {
340
340
  :'space' => :'String',
341
+ :'arousal' => :'String',
341
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',
342
365
  :'primary_mood_cluster_affinity' => :'Float',
343
366
  :'secondary_mood_cluster' => :'String',
344
367
  :'secondary_mood_cluster_affinity' => :'Float',
@@ -382,46 +405,23 @@ module SongtradrApiClientRuby
382
405
  :'use_case_affinity' => :'Float',
383
406
  :'industry_suitability' => :'String',
384
407
  :'industry_suitability_affinity' => :'Float',
385
- :'arousal' => :'String',
386
- :'dominant_instrument' => :'String',
387
- :'energy' => :'String',
388
- :'engagement' => :'String',
389
- :'groovyness' => :'String',
390
- :'harmony' => :'String',
391
- :'pleasantness' => :'String',
392
- :'primary_mood_cluster' => :'String',
393
- :'primary_sound_character' => :'String',
394
- :'rhythm' => :'String',
395
- :'roughness' => :'String',
396
- :'scale' => :'String',
397
- :'sound_generation' => :'String',
398
- :'tempo' => :'String',
399
- :'texture' => :'String',
400
- :'timbre' => :'String',
401
- :'tonality' => :'String',
402
- :'valence' => :'String',
403
408
  :'audience_region' => :'String',
404
- :'vocals' => :'String',
405
- :'origin_decade' => :'String',
406
- :'curateability' => :'String',
407
- :'use_case' => :'String',
408
- :'channel_suitability' => :'String',
409
- :'key' => :'String',
410
- :'channel_suitability_affinity' => :'Float',
409
+ :'valence_affinity' => :'Float',
410
+ :'arousal_affinity' => :'Float',
411
411
  :'pleasantness_affinity' => :'Float',
412
+ :'engagement_affinity' => :'Float',
413
+ :'energy_affinity' => :'Float',
412
414
  :'tempo_affinity' => :'Float',
413
415
  :'scale_affinity' => :'Float',
414
416
  :'timbre_affinity' => :'Float',
415
- :'engagement_affinity' => :'Float',
416
- :'energy_affinity' => :'Float',
417
+ :'roughness_affinity' => :'Float',
418
+ :'harmony_affinity' => :'Float',
417
419
  :'texture_affinity' => :'Float',
418
420
  :'groovyness_affinity' => :'Float',
419
- :'valence_affinity' => :'Float',
420
- :'arousal_affinity' => :'Float',
421
421
  :'space_affinity' => :'Float',
422
422
  :'key_affinity' => :'Float',
423
- :'roughness_affinity' => :'Float',
424
- :'harmony_affinity' => :'Float'
423
+ :'channel_suitability_affinity' => :'Float',
424
+ :'key' => :'String'
425
425
  }
426
426
  end
427
427
 
@@ -450,10 +450,102 @@ module SongtradrApiClientRuby
450
450
  self.space = attributes[:'space']
451
451
  end
452
452
 
453
+ if attributes.key?(:'arousal')
454
+ self.arousal = attributes[:'arousal']
455
+ end
456
+
453
457
  if attributes.key?(:'language_of_performance')
454
458
  self.language_of_performance = attributes[:'language_of_performance']
455
459
  end
456
460
 
461
+ if attributes.key?(:'dominant_instrument')
462
+ self.dominant_instrument = attributes[:'dominant_instrument']
463
+ end
464
+
465
+ if attributes.key?(:'energy')
466
+ self.energy = attributes[:'energy']
467
+ end
468
+
469
+ if attributes.key?(:'engagement')
470
+ self.engagement = attributes[:'engagement']
471
+ end
472
+
473
+ if attributes.key?(:'groovyness')
474
+ self.groovyness = attributes[:'groovyness']
475
+ end
476
+
477
+ if attributes.key?(:'harmony')
478
+ self.harmony = attributes[:'harmony']
479
+ end
480
+
481
+ if attributes.key?(:'pleasantness')
482
+ self.pleasantness = attributes[:'pleasantness']
483
+ end
484
+
485
+ if attributes.key?(:'primary_mood_cluster')
486
+ self.primary_mood_cluster = attributes[:'primary_mood_cluster']
487
+ end
488
+
489
+ if attributes.key?(:'primary_sound_character')
490
+ self.primary_sound_character = attributes[:'primary_sound_character']
491
+ end
492
+
493
+ if attributes.key?(:'rhythm')
494
+ self.rhythm = attributes[:'rhythm']
495
+ end
496
+
497
+ if attributes.key?(:'roughness')
498
+ self.roughness = attributes[:'roughness']
499
+ end
500
+
501
+ if attributes.key?(:'scale')
502
+ self.scale = attributes[:'scale']
503
+ end
504
+
505
+ if attributes.key?(:'sound_generation')
506
+ self.sound_generation = attributes[:'sound_generation']
507
+ end
508
+
509
+ if attributes.key?(:'tempo')
510
+ self.tempo = attributes[:'tempo']
511
+ end
512
+
513
+ if attributes.key?(:'texture')
514
+ self.texture = attributes[:'texture']
515
+ end
516
+
517
+ if attributes.key?(:'timbre')
518
+ self.timbre = attributes[:'timbre']
519
+ end
520
+
521
+ if attributes.key?(:'tonality')
522
+ self.tonality = attributes[:'tonality']
523
+ end
524
+
525
+ if attributes.key?(:'valence')
526
+ self.valence = attributes[:'valence']
527
+ end
528
+
529
+ if attributes.key?(:'vocals')
530
+ self.vocals = attributes[:'vocals']
531
+ end
532
+
533
+ if attributes.key?(:'origin_decade')
534
+ self.origin_decade = attributes[:'origin_decade']
535
+ end
536
+
537
+ if attributes.key?(:'curateability')
538
+ self.curateability = attributes[:'curateability']
539
+ end
540
+
541
+ if attributes.key?(:'use_case')
542
+ self.use_case = attributes[:'use_case']
543
+ end
544
+
545
+ if attributes.key?(:'channel_suitability')
546
+ self.channel_suitability = attributes[:'channel_suitability']
547
+ end
548
+
457
549
  if attributes.key?(:'primary_mood_cluster_affinity')
458
550
  self.primary_mood_cluster_affinity = attributes[:'primary_mood_cluster_affinity']
459
551
  end
@@ -626,112 +718,28 @@ module SongtradrApiClientRuby
626
718
  self.industry_suitability_affinity = attributes[:'industry_suitability_affinity']
627
719
  end
628
720
 
629
- if attributes.key?(:'arousal')
630
- self.arousal = attributes[:'arousal']
631
- end
632
-
633
- if attributes.key?(:'dominant_instrument')
634
- self.dominant_instrument = attributes[:'dominant_instrument']
635
- end
636
-
637
- if attributes.key?(:'energy')
638
- self.energy = attributes[:'energy']
639
- end
640
-
641
- if attributes.key?(:'engagement')
642
- self.engagement = attributes[:'engagement']
643
- end
644
-
645
- if attributes.key?(:'groovyness')
646
- self.groovyness = attributes[:'groovyness']
647
- end
648
-
649
- if attributes.key?(:'harmony')
650
- self.harmony = attributes[:'harmony']
651
- end
652
-
653
- if attributes.key?(:'pleasantness')
654
- self.pleasantness = attributes[:'pleasantness']
655
- end
656
-
657
- if attributes.key?(:'primary_mood_cluster')
658
- self.primary_mood_cluster = attributes[:'primary_mood_cluster']
659
- end
660
-
661
- if attributes.key?(:'primary_sound_character')
662
- self.primary_sound_character = attributes[:'primary_sound_character']
663
- end
664
-
665
- if attributes.key?(:'rhythm')
666
- self.rhythm = attributes[:'rhythm']
667
- end
668
-
669
- if attributes.key?(:'roughness')
670
- self.roughness = attributes[:'roughness']
671
- end
672
-
673
- if attributes.key?(:'scale')
674
- self.scale = attributes[:'scale']
675
- end
676
-
677
- if attributes.key?(:'sound_generation')
678
- self.sound_generation = attributes[:'sound_generation']
679
- end
680
-
681
- if attributes.key?(:'tempo')
682
- self.tempo = attributes[:'tempo']
683
- end
684
-
685
- if attributes.key?(:'texture')
686
- self.texture = attributes[:'texture']
687
- end
688
-
689
- if attributes.key?(:'timbre')
690
- self.timbre = attributes[:'timbre']
691
- end
692
-
693
- if attributes.key?(:'tonality')
694
- self.tonality = attributes[:'tonality']
695
- end
696
-
697
- if attributes.key?(:'valence')
698
- self.valence = attributes[:'valence']
699
- end
700
-
701
721
  if attributes.key?(:'audience_region')
702
722
  self.audience_region = attributes[:'audience_region']
703
723
  end
704
724
 
705
- if attributes.key?(:'vocals')
706
- self.vocals = attributes[:'vocals']
707
- end
708
-
709
- if attributes.key?(:'origin_decade')
710
- self.origin_decade = attributes[:'origin_decade']
711
- end
712
-
713
- if attributes.key?(:'curateability')
714
- self.curateability = attributes[:'curateability']
715
- end
716
-
717
- if attributes.key?(:'use_case')
718
- self.use_case = attributes[:'use_case']
725
+ if attributes.key?(:'valence_affinity')
726
+ self.valence_affinity = attributes[:'valence_affinity']
719
727
  end
720
728
 
721
- if attributes.key?(:'channel_suitability')
722
- self.channel_suitability = attributes[:'channel_suitability']
729
+ if attributes.key?(:'arousal_affinity')
730
+ self.arousal_affinity = attributes[:'arousal_affinity']
723
731
  end
724
732
 
725
- if attributes.key?(:'key')
726
- self.key = attributes[:'key']
733
+ if attributes.key?(:'pleasantness_affinity')
734
+ self.pleasantness_affinity = attributes[:'pleasantness_affinity']
727
735
  end
728
736
 
729
- if attributes.key?(:'channel_suitability_affinity')
730
- self.channel_suitability_affinity = attributes[:'channel_suitability_affinity']
737
+ if attributes.key?(:'engagement_affinity')
738
+ self.engagement_affinity = attributes[:'engagement_affinity']
731
739
  end
732
740
 
733
- if attributes.key?(:'pleasantness_affinity')
734
- self.pleasantness_affinity = attributes[:'pleasantness_affinity']
741
+ if attributes.key?(:'energy_affinity')
742
+ self.energy_affinity = attributes[:'energy_affinity']
735
743
  end
736
744
 
737
745
  if attributes.key?(:'tempo_affinity')
@@ -746,12 +754,12 @@ module SongtradrApiClientRuby
746
754
  self.timbre_affinity = attributes[:'timbre_affinity']
747
755
  end
748
756
 
749
- if attributes.key?(:'engagement_affinity')
750
- self.engagement_affinity = attributes[:'engagement_affinity']
757
+ if attributes.key?(:'roughness_affinity')
758
+ self.roughness_affinity = attributes[:'roughness_affinity']
751
759
  end
752
760
 
753
- if attributes.key?(:'energy_affinity')
754
- self.energy_affinity = attributes[:'energy_affinity']
761
+ if attributes.key?(:'harmony_affinity')
762
+ self.harmony_affinity = attributes[:'harmony_affinity']
755
763
  end
756
764
 
757
765
  if attributes.key?(:'texture_affinity')
@@ -762,14 +770,6 @@ module SongtradrApiClientRuby
762
770
  self.groovyness_affinity = attributes[:'groovyness_affinity']
763
771
  end
764
772
 
765
- if attributes.key?(:'valence_affinity')
766
- self.valence_affinity = attributes[:'valence_affinity']
767
- end
768
-
769
- if attributes.key?(:'arousal_affinity')
770
- self.arousal_affinity = attributes[:'arousal_affinity']
771
- end
772
-
773
773
  if attributes.key?(:'space_affinity')
774
774
  self.space_affinity = attributes[:'space_affinity']
775
775
  end
@@ -778,12 +778,12 @@ module SongtradrApiClientRuby
778
778
  self.key_affinity = attributes[:'key_affinity']
779
779
  end
780
780
 
781
- if attributes.key?(:'roughness_affinity')
782
- self.roughness_affinity = attributes[:'roughness_affinity']
781
+ if attributes.key?(:'channel_suitability_affinity')
782
+ self.channel_suitability_affinity = attributes[:'channel_suitability_affinity']
783
783
  end
784
784
 
785
- if attributes.key?(:'harmony_affinity')
786
- self.harmony_affinity = attributes[:'harmony_affinity']
785
+ if attributes.key?(:'key')
786
+ self.key = attributes[:'key']
787
787
  end
788
788
  end
789
789
 
@@ -801,40 +801,10 @@ 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
- 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"])
805
- return false unless language_of_performance_validator.valid?(@language_of_performance)
806
- secondary_mood_cluster_validator = EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
807
- return false unless secondary_mood_cluster_validator.valid?(@secondary_mood_cluster)
808
- tertiary_mood_cluster_validator = EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
809
- return false unless tertiary_mood_cluster_validator.valid?(@tertiary_mood_cluster)
810
- 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"])
811
- return false unless secondary_instrument_validator.valid?(@secondary_instrument)
812
- 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"])
813
- return false unless tertiary_instrument_validator.valid?(@tertiary_instrument)
814
- production_rating_validator = EnumAttributeValidator.new('String', ["low production quality", "medium production quality", "high production quality"])
815
- return false unless production_rating_validator.valid?(@production_rating)
816
- performance_rating_validator = EnumAttributeValidator.new('String', ["low performance quality", "medium performance quality", "high performance quality"])
817
- return false unless performance_rating_validator.valid?(@performance_rating)
818
- song_rating_validator = EnumAttributeValidator.new('String', ["low song quality", "medium song quality", "high song quality"])
819
- return false unless song_rating_validator.valid?(@song_rating)
820
- audience_age_validator = EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
821
- return false unless audience_age_validator.valid?(@audience_age)
822
- secondary_audience_age_validator = EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
823
- return false unless secondary_audience_age_validator.valid?(@secondary_audience_age)
824
- tertiary_audience_age_validator = EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
825
- return false unless tertiary_audience_age_validator.valid?(@tertiary_audience_age)
826
- audience_gender_validator = EnumAttributeValidator.new('String', ["male", "female"])
827
- return false unless audience_gender_validator.valid?(@audience_gender)
828
- 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"])
829
- return false unless secondary_audience_region_validator.valid?(@secondary_audience_region)
830
- 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"])
831
- return false unless tertiary_audience_region_validator.valid?(@tertiary_audience_region)
832
- 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"])
833
- return false unless origin_region_validator.valid?(@origin_region)
834
- 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"])
835
- return false unless industry_suitability_validator.valid?(@industry_suitability)
836
804
  arousal_validator = EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
837
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)
838
808
  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"])
839
809
  return false unless dominant_instrument_validator.valid?(@dominant_instrument)
840
810
  energy_validator = EnumAttributeValidator.new('String', ["very quiet", "quiet", "moderate", "loud", "very loud", "dynamic"])
@@ -869,8 +839,6 @@ module SongtradrApiClientRuby
869
839
  return false unless tonality_validator.valid?(@tonality)
870
840
  valence_validator = EnumAttributeValidator.new('String', ["very sad", "sad", "moderate valence", "positive", "very positive", "varying valence"])
871
841
  return false unless valence_validator.valid?(@valence)
872
- 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"])
873
- return false unless audience_region_validator.valid?(@audience_region)
874
842
  vocals_validator = EnumAttributeValidator.new('String', ["instrumental", "female vocals", "male vocals", "mixed vocals", "diverse gender vocals"])
875
843
  return false unless vocals_validator.valid?(@vocals)
876
844
  origin_decade_validator = EnumAttributeValidator.new('String', ["pre-1950s", "1950s", "1960s", "1970s", "1980s", "1990s", "2000s", "2010s", "2020s"])
@@ -881,179 +849,51 @@ module SongtradrApiClientRuby
881
849
  return false unless use_case_validator.valid?(@use_case)
882
850
  channel_suitability_validator = EnumAttributeValidator.new('String', ["Spotify", "TikTok", "Unfitting", "YouTube"])
883
851
  return false unless channel_suitability_validator.valid?(@channel_suitability)
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)
886
- true
887
- end
888
-
889
- # Custom attribute writer method checking allowed values (enum).
890
- # @param [Object] space Object to be assigned
891
- def space=(space)
892
- validator = EnumAttributeValidator.new('String', ["very compact", "compact", "moderate space", "wide", "very wide"])
893
- unless validator.valid?(space)
894
- fail ArgumentError, "invalid value for \"space\", must be one of #{validator.allowable_values}."
895
- end
896
- @space = space
897
- end
898
-
899
- # Custom attribute writer method checking allowed values (enum).
900
- # @param [Object] language_of_performance Object to be assigned
901
- def language_of_performance=(language_of_performance)
902
- 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"])
903
- unless validator.valid?(language_of_performance)
904
- fail ArgumentError, "invalid value for \"language_of_performance\", must be one of #{validator.allowable_values}."
905
- end
906
- @language_of_performance = language_of_performance
907
- end
908
-
909
- # Custom attribute writer method checking allowed values (enum).
910
- # @param [Object] secondary_mood_cluster Object to be assigned
911
- def secondary_mood_cluster=(secondary_mood_cluster)
912
- validator = EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
913
- unless validator.valid?(secondary_mood_cluster)
914
- fail ArgumentError, "invalid value for \"secondary_mood_cluster\", must be one of #{validator.allowable_values}."
915
- end
916
- @secondary_mood_cluster = secondary_mood_cluster
917
- end
918
-
919
- # Custom attribute writer method checking allowed values (enum).
920
- # @param [Object] tertiary_mood_cluster Object to be assigned
921
- def tertiary_mood_cluster=(tertiary_mood_cluster)
922
- validator = EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
923
- unless validator.valid?(tertiary_mood_cluster)
924
- fail ArgumentError, "invalid value for \"tertiary_mood_cluster\", must be one of #{validator.allowable_values}."
925
- end
926
- @tertiary_mood_cluster = tertiary_mood_cluster
927
- end
928
-
929
- # Custom attribute writer method checking allowed values (enum).
930
- # @param [Object] secondary_instrument Object to be assigned
931
- def secondary_instrument=(secondary_instrument)
932
- 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"])
933
- unless validator.valid?(secondary_instrument)
934
- fail ArgumentError, "invalid value for \"secondary_instrument\", must be one of #{validator.allowable_values}."
935
- end
936
- @secondary_instrument = secondary_instrument
937
- end
938
-
939
- # Custom attribute writer method checking allowed values (enum).
940
- # @param [Object] tertiary_instrument Object to be assigned
941
- def tertiary_instrument=(tertiary_instrument)
942
- 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"])
943
- unless validator.valid?(tertiary_instrument)
944
- fail ArgumentError, "invalid value for \"tertiary_instrument\", must be one of #{validator.allowable_values}."
945
- end
946
- @tertiary_instrument = tertiary_instrument
947
- end
948
-
949
- # Custom attribute writer method checking allowed values (enum).
950
- # @param [Object] production_rating Object to be assigned
951
- def production_rating=(production_rating)
952
- validator = EnumAttributeValidator.new('String', ["low production quality", "medium production quality", "high production quality"])
953
- unless validator.valid?(production_rating)
954
- fail ArgumentError, "invalid value for \"production_rating\", must be one of #{validator.allowable_values}."
955
- end
956
- @production_rating = production_rating
957
- end
958
-
959
- # Custom attribute writer method checking allowed values (enum).
960
- # @param [Object] performance_rating Object to be assigned
961
- def performance_rating=(performance_rating)
962
- validator = EnumAttributeValidator.new('String', ["low performance quality", "medium performance quality", "high performance quality"])
963
- unless validator.valid?(performance_rating)
964
- fail ArgumentError, "invalid value for \"performance_rating\", must be one of #{validator.allowable_values}."
965
- end
966
- @performance_rating = performance_rating
967
- end
968
-
969
- # Custom attribute writer method checking allowed values (enum).
970
- # @param [Object] song_rating Object to be assigned
971
- def song_rating=(song_rating)
972
- validator = EnumAttributeValidator.new('String', ["low song quality", "medium song quality", "high song quality"])
973
- unless validator.valid?(song_rating)
974
- fail ArgumentError, "invalid value for \"song_rating\", must be one of #{validator.allowable_values}."
975
- end
976
- @song_rating = song_rating
977
- end
978
-
979
- # Custom attribute writer method checking allowed values (enum).
980
- # @param [Object] audience_age Object to be assigned
981
- def audience_age=(audience_age)
982
- validator = EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
983
- unless validator.valid?(audience_age)
984
- fail ArgumentError, "invalid value for \"audience_age\", must be one of #{validator.allowable_values}."
985
- end
986
- @audience_age = audience_age
987
- end
988
-
989
- # Custom attribute writer method checking allowed values (enum).
990
- # @param [Object] secondary_audience_age Object to be assigned
991
- def secondary_audience_age=(secondary_audience_age)
992
- validator = EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
993
- unless validator.valid?(secondary_audience_age)
994
- fail ArgumentError, "invalid value for \"secondary_audience_age\", must be one of #{validator.allowable_values}."
995
- end
996
- @secondary_audience_age = secondary_audience_age
997
- end
998
-
999
- # Custom attribute writer method checking allowed values (enum).
1000
- # @param [Object] tertiary_audience_age Object to be assigned
1001
- def tertiary_audience_age=(tertiary_audience_age)
1002
- validator = EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
1003
- unless validator.valid?(tertiary_audience_age)
1004
- fail ArgumentError, "invalid value for \"tertiary_audience_age\", must be one of #{validator.allowable_values}."
1005
- end
1006
- @tertiary_audience_age = tertiary_audience_age
1007
- end
1008
-
1009
- # Custom attribute writer method checking allowed values (enum).
1010
- # @param [Object] audience_gender Object to be assigned
1011
- def audience_gender=(audience_gender)
1012
- validator = EnumAttributeValidator.new('String', ["male", "female"])
1013
- unless validator.valid?(audience_gender)
1014
- fail ArgumentError, "invalid value for \"audience_gender\", must be one of #{validator.allowable_values}."
1015
- end
1016
- @audience_gender = audience_gender
1017
- end
1018
-
1019
- # Custom attribute writer method checking allowed values (enum).
1020
- # @param [Object] secondary_audience_region Object to be assigned
1021
- def secondary_audience_region=(secondary_audience_region)
1022
- 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"])
1023
- unless validator.valid?(secondary_audience_region)
1024
- fail ArgumentError, "invalid value for \"secondary_audience_region\", must be one of #{validator.allowable_values}."
1025
- end
1026
- @secondary_audience_region = secondary_audience_region
1027
- end
1028
-
1029
- # Custom attribute writer method checking allowed values (enum).
1030
- # @param [Object] tertiary_audience_region Object to be assigned
1031
- def tertiary_audience_region=(tertiary_audience_region)
1032
- 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"])
1033
- unless validator.valid?(tertiary_audience_region)
1034
- fail ArgumentError, "invalid value for \"tertiary_audience_region\", must be one of #{validator.allowable_values}."
1035
- end
1036
- @tertiary_audience_region = tertiary_audience_region
1037
- end
1038
-
1039
- # Custom attribute writer method checking allowed values (enum).
1040
- # @param [Object] origin_region Object to be assigned
1041
- def origin_region=(origin_region)
1042
- 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"])
1043
- unless validator.valid?(origin_region)
1044
- fail ArgumentError, "invalid value for \"origin_region\", must be one of #{validator.allowable_values}."
1045
- end
1046
- @origin_region = origin_region
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)
886
+ true
1047
887
  end
1048
888
 
1049
889
  # Custom attribute writer method checking allowed values (enum).
1050
- # @param [Object] industry_suitability Object to be assigned
1051
- def industry_suitability=(industry_suitability)
1052
- 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"])
1053
- unless validator.valid?(industry_suitability)
1054
- fail ArgumentError, "invalid value for \"industry_suitability\", must be one of #{validator.allowable_values}."
890
+ # @param [Object] space Object to be assigned
891
+ def space=(space)
892
+ validator = EnumAttributeValidator.new('String', ["very compact", "compact", "moderate space", "wide", "very wide"])
893
+ unless validator.valid?(space)
894
+ fail ArgumentError, "invalid value for \"space\", must be one of #{validator.allowable_values}."
1055
895
  end
1056
- @industry_suitability = industry_suitability
896
+ @space = space
1057
897
  end
1058
898
 
1059
899
  # Custom attribute writer method checking allowed values (enum).
@@ -1066,6 +906,16 @@ module SongtradrApiClientRuby
1066
906
  @arousal = arousal
1067
907
  end
1068
908
 
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}."
915
+ end
916
+ @language_of_performance = language_of_performance
917
+ end
918
+
1069
919
  # Custom attribute writer method checking allowed values (enum).
1070
920
  # @param [Object] dominant_instrument Object to be assigned
1071
921
  def dominant_instrument=(dominant_instrument)
@@ -1236,16 +1086,6 @@ module SongtradrApiClientRuby
1236
1086
  @valence = valence
1237
1087
  end
1238
1088
 
1239
- # Custom attribute writer method checking allowed values (enum).
1240
- # @param [Object] audience_region Object to be assigned
1241
- def audience_region=(audience_region)
1242
- 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"])
1243
- unless validator.valid?(audience_region)
1244
- fail ArgumentError, "invalid value for \"audience_region\", must be one of #{validator.allowable_values}."
1245
- end
1246
- @audience_region = audience_region
1247
- end
1248
-
1249
1089
  # Custom attribute writer method checking allowed values (enum).
1250
1090
  # @param [Object] vocals Object to be assigned
1251
1091
  def vocals=(vocals)
@@ -1296,6 +1136,166 @@ module SongtradrApiClientRuby
1296
1136
  @channel_suitability = channel_suitability
1297
1137
  end
1298
1138
 
1139
+ # 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}."
1295
+ end
1296
+ @audience_region = audience_region
1297
+ end
1298
+
1299
1299
  # Custom attribute writer method checking allowed values (enum).
1300
1300
  # @param [Object] key Object to be assigned
1301
1301
  def key=(key)
@@ -1312,7 +1312,30 @@ 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 &&
1315
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 &&
1316
1339
  primary_mood_cluster_affinity == o.primary_mood_cluster_affinity &&
1317
1340
  secondary_mood_cluster == o.secondary_mood_cluster &&
1318
1341
  secondary_mood_cluster_affinity == o.secondary_mood_cluster_affinity &&
@@ -1356,46 +1379,23 @@ module SongtradrApiClientRuby
1356
1379
  use_case_affinity == o.use_case_affinity &&
1357
1380
  industry_suitability == o.industry_suitability &&
1358
1381
  industry_suitability_affinity == o.industry_suitability_affinity &&
1359
- arousal == o.arousal &&
1360
- dominant_instrument == o.dominant_instrument &&
1361
- energy == o.energy &&
1362
- engagement == o.engagement &&
1363
- groovyness == o.groovyness &&
1364
- harmony == o.harmony &&
1365
- pleasantness == o.pleasantness &&
1366
- primary_mood_cluster == o.primary_mood_cluster &&
1367
- primary_sound_character == o.primary_sound_character &&
1368
- rhythm == o.rhythm &&
1369
- roughness == o.roughness &&
1370
- scale == o.scale &&
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
1382
  audience_region == o.audience_region &&
1378
- vocals == o.vocals &&
1379
- origin_decade == o.origin_decade &&
1380
- curateability == o.curateability &&
1381
- use_case == o.use_case &&
1382
- channel_suitability == o.channel_suitability &&
1383
- key == o.key &&
1384
- channel_suitability_affinity == o.channel_suitability_affinity &&
1383
+ valence_affinity == o.valence_affinity &&
1384
+ arousal_affinity == o.arousal_affinity &&
1385
1385
  pleasantness_affinity == o.pleasantness_affinity &&
1386
+ engagement_affinity == o.engagement_affinity &&
1387
+ energy_affinity == o.energy_affinity &&
1386
1388
  tempo_affinity == o.tempo_affinity &&
1387
1389
  scale_affinity == o.scale_affinity &&
1388
1390
  timbre_affinity == o.timbre_affinity &&
1389
- engagement_affinity == o.engagement_affinity &&
1390
- energy_affinity == o.energy_affinity &&
1391
+ roughness_affinity == o.roughness_affinity &&
1392
+ harmony_affinity == o.harmony_affinity &&
1391
1393
  texture_affinity == o.texture_affinity &&
1392
1394
  groovyness_affinity == o.groovyness_affinity &&
1393
- valence_affinity == o.valence_affinity &&
1394
- arousal_affinity == o.arousal_affinity &&
1395
1395
  space_affinity == o.space_affinity &&
1396
1396
  key_affinity == o.key_affinity &&
1397
- roughness_affinity == o.roughness_affinity &&
1398
- harmony_affinity == o.harmony_affinity
1397
+ channel_suitability_affinity == o.channel_suitability_affinity &&
1398
+ key == o.key
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, language_of_performance, 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, arousal, dominant_instrument, energy, engagement, groovyness, harmony, pleasantness, primary_mood_cluster, primary_sound_character, rhythm, roughness, scale, sound_generation, tempo, texture, timbre, tonality, valence, audience_region, vocals, origin_decade, curateability, use_case, channel_suitability, key, channel_suitability_affinity, pleasantness_affinity, tempo_affinity, scale_affinity, timbre_affinity, engagement_affinity, energy_affinity, texture_affinity, groovyness_affinity, valence_affinity, arousal_affinity, space_affinity, key_affinity, roughness_affinity, harmony_affinity].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
1411
1411
  end
1412
1412
 
1413
1413
  # Builds the object from hash