service_album_api 1.1.16

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,3190 @@
1
+ #
2
+ # Autogenerated by Thrift Compiler (0.9.1)
3
+ #
4
+ # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
+ #
6
+
7
+ require 'thrift'
8
+ require 'album_facade_types'
9
+
10
+ module Service
11
+ module Album
12
+ module Api
13
+ module IAlbumFacadeHandler
14
+ class Client
15
+ include ::Thrift::Client
16
+
17
+ def querySimpleAlbum(id)
18
+ send_querySimpleAlbum(id)
19
+ return recv_querySimpleAlbum()
20
+ end
21
+
22
+ def send_querySimpleAlbum(id)
23
+ send_message('querySimpleAlbum', QuerySimpleAlbum_args, :id => id)
24
+ end
25
+
26
+ def recv_querySimpleAlbum()
27
+ result = receive_message(QuerySimpleAlbum_result)
28
+ return result.success unless result.success.nil?
29
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'querySimpleAlbum failed: unknown result')
30
+ end
31
+
32
+ def queryBriefAlbum(id)
33
+ send_queryBriefAlbum(id)
34
+ return recv_queryBriefAlbum()
35
+ end
36
+
37
+ def send_queryBriefAlbum(id)
38
+ send_message('queryBriefAlbum', QueryBriefAlbum_args, :id => id)
39
+ end
40
+
41
+ def recv_queryBriefAlbum()
42
+ result = receive_message(QueryBriefAlbum_result)
43
+ return result.success unless result.success.nil?
44
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryBriefAlbum failed: unknown result')
45
+ end
46
+
47
+ def queryBasicAlbum(id)
48
+ send_queryBasicAlbum(id)
49
+ return recv_queryBasicAlbum()
50
+ end
51
+
52
+ def send_queryBasicAlbum(id)
53
+ send_message('queryBasicAlbum', QueryBasicAlbum_args, :id => id)
54
+ end
55
+
56
+ def recv_queryBasicAlbum()
57
+ result = receive_message(QueryBasicAlbum_result)
58
+ return result.success unless result.success.nil?
59
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryBasicAlbum failed: unknown result')
60
+ end
61
+
62
+ def queryRichAlbum(id)
63
+ send_queryRichAlbum(id)
64
+ return recv_queryRichAlbum()
65
+ end
66
+
67
+ def send_queryRichAlbum(id)
68
+ send_message('queryRichAlbum', QueryRichAlbum_args, :id => id)
69
+ end
70
+
71
+ def recv_queryRichAlbum()
72
+ result = receive_message(QueryRichAlbum_result)
73
+ return result.success unless result.success.nil?
74
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryRichAlbum failed: unknown result')
75
+ end
76
+
77
+ def querySimpleAlbums(ids)
78
+ send_querySimpleAlbums(ids)
79
+ return recv_querySimpleAlbums()
80
+ end
81
+
82
+ def send_querySimpleAlbums(ids)
83
+ send_message('querySimpleAlbums', QuerySimpleAlbums_args, :ids => ids)
84
+ end
85
+
86
+ def recv_querySimpleAlbums()
87
+ result = receive_message(QuerySimpleAlbums_result)
88
+ return result.success unless result.success.nil?
89
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'querySimpleAlbums failed: unknown result')
90
+ end
91
+
92
+ def queryBriefAlbums(ids)
93
+ send_queryBriefAlbums(ids)
94
+ return recv_queryBriefAlbums()
95
+ end
96
+
97
+ def send_queryBriefAlbums(ids)
98
+ send_message('queryBriefAlbums', QueryBriefAlbums_args, :ids => ids)
99
+ end
100
+
101
+ def recv_queryBriefAlbums()
102
+ result = receive_message(QueryBriefAlbums_result)
103
+ return result.success unless result.success.nil?
104
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryBriefAlbums failed: unknown result')
105
+ end
106
+
107
+ def queryBasicAlbums(ids)
108
+ send_queryBasicAlbums(ids)
109
+ return recv_queryBasicAlbums()
110
+ end
111
+
112
+ def send_queryBasicAlbums(ids)
113
+ send_message('queryBasicAlbums', QueryBasicAlbums_args, :ids => ids)
114
+ end
115
+
116
+ def recv_queryBasicAlbums()
117
+ result = receive_message(QueryBasicAlbums_result)
118
+ return result.success unless result.success.nil?
119
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryBasicAlbums failed: unknown result')
120
+ end
121
+
122
+ def createAlbum(album, extraParams)
123
+ send_createAlbum(album, extraParams)
124
+ return recv_createAlbum()
125
+ end
126
+
127
+ def send_createAlbum(album, extraParams)
128
+ send_message('createAlbum', CreateAlbum_args, :album => album, :extraParams => extraParams)
129
+ end
130
+
131
+ def recv_createAlbum()
132
+ result = receive_message(CreateAlbum_result)
133
+ return result.success unless result.success.nil?
134
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'createAlbum failed: unknown result')
135
+ end
136
+
137
+ def updateAlbum(album, extraParams)
138
+ send_updateAlbum(album, extraParams)
139
+ recv_updateAlbum()
140
+ end
141
+
142
+ def send_updateAlbum(album, extraParams)
143
+ send_message('updateAlbum', UpdateAlbum_args, :album => album, :extraParams => extraParams)
144
+ end
145
+
146
+ def recv_updateAlbum()
147
+ result = receive_message(UpdateAlbum_result)
148
+ return
149
+ end
150
+
151
+ def updateDigStatus(uid, albumId, digStatus)
152
+ send_updateDigStatus(uid, albumId, digStatus)
153
+ recv_updateDigStatus()
154
+ end
155
+
156
+ def send_updateDigStatus(uid, albumId, digStatus)
157
+ send_message('updateDigStatus', UpdateDigStatus_args, :uid => uid, :albumId => albumId, :digStatus => digStatus)
158
+ end
159
+
160
+ def recv_updateDigStatus()
161
+ result = receive_message(UpdateDigStatus_result)
162
+ return
163
+ end
164
+
165
+ def updateIsPublic(uid, albumId, isPublic)
166
+ send_updateIsPublic(uid, albumId, isPublic)
167
+ recv_updateIsPublic()
168
+ end
169
+
170
+ def send_updateIsPublic(uid, albumId, isPublic)
171
+ send_message('updateIsPublic', UpdateIsPublic_args, :uid => uid, :albumId => albumId, :isPublic => isPublic)
172
+ end
173
+
174
+ def recv_updateIsPublic()
175
+ result = receive_message(UpdateIsPublic_result)
176
+ return
177
+ end
178
+
179
+ def deleteAlbum(album, extraParams)
180
+ send_deleteAlbum(album, extraParams)
181
+ recv_deleteAlbum()
182
+ end
183
+
184
+ def send_deleteAlbum(album, extraParams)
185
+ send_message('deleteAlbum', DeleteAlbum_args, :album => album, :extraParams => extraParams)
186
+ end
187
+
188
+ def recv_deleteAlbum()
189
+ result = receive_message(DeleteAlbum_result)
190
+ raise result.e unless result.e.nil?
191
+ return
192
+ end
193
+
194
+ def queryBasicAlbumsByIdAndUid(ids)
195
+ send_queryBasicAlbumsByIdAndUid(ids)
196
+ return recv_queryBasicAlbumsByIdAndUid()
197
+ end
198
+
199
+ def send_queryBasicAlbumsByIdAndUid(ids)
200
+ send_message('queryBasicAlbumsByIdAndUid', QueryBasicAlbumsByIdAndUid_args, :ids => ids)
201
+ end
202
+
203
+ def recv_queryBasicAlbumsByIdAndUid()
204
+ result = receive_message(QueryBasicAlbumsByIdAndUid_result)
205
+ return result.success unless result.success.nil?
206
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryBasicAlbumsByIdAndUid failed: unknown result')
207
+ end
208
+
209
+ def queryBasicAlbumsWithTrack(ids)
210
+ send_queryBasicAlbumsWithTrack(ids)
211
+ return recv_queryBasicAlbumsWithTrack()
212
+ end
213
+
214
+ def send_queryBasicAlbumsWithTrack(ids)
215
+ send_message('queryBasicAlbumsWithTrack', QueryBasicAlbumsWithTrack_args, :ids => ids)
216
+ end
217
+
218
+ def recv_queryBasicAlbumsWithTrack()
219
+ result = receive_message(QueryBasicAlbumsWithTrack_result)
220
+ return result.success unless result.success.nil?
221
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryBasicAlbumsWithTrack failed: unknown result')
222
+ end
223
+
224
+ def querySimpleAlbumsByIdAndUid(ids)
225
+ send_querySimpleAlbumsByIdAndUid(ids)
226
+ return recv_querySimpleAlbumsByIdAndUid()
227
+ end
228
+
229
+ def send_querySimpleAlbumsByIdAndUid(ids)
230
+ send_message('querySimpleAlbumsByIdAndUid', QuerySimpleAlbumsByIdAndUid_args, :ids => ids)
231
+ end
232
+
233
+ def recv_querySimpleAlbumsByIdAndUid()
234
+ result = receive_message(QuerySimpleAlbumsByIdAndUid_result)
235
+ return result.success unless result.success.nil?
236
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'querySimpleAlbumsByIdAndUid failed: unknown result')
237
+ end
238
+
239
+ def querySelfSimpleAlbums(uid, page, size)
240
+ send_querySelfSimpleAlbums(uid, page, size)
241
+ return recv_querySelfSimpleAlbums()
242
+ end
243
+
244
+ def send_querySelfSimpleAlbums(uid, page, size)
245
+ send_message('querySelfSimpleAlbums', QuerySelfSimpleAlbums_args, :uid => uid, :page => page, :size => size)
246
+ end
247
+
248
+ def recv_querySelfSimpleAlbums()
249
+ result = receive_message(QuerySelfSimpleAlbums_result)
250
+ return result.success unless result.success.nil?
251
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'querySelfSimpleAlbums failed: unknown result')
252
+ end
253
+
254
+ def queryOtherSimpleAlbums(uid, page, size)
255
+ send_queryOtherSimpleAlbums(uid, page, size)
256
+ return recv_queryOtherSimpleAlbums()
257
+ end
258
+
259
+ def send_queryOtherSimpleAlbums(uid, page, size)
260
+ send_message('queryOtherSimpleAlbums', QueryOtherSimpleAlbums_args, :uid => uid, :page => page, :size => size)
261
+ end
262
+
263
+ def recv_queryOtherSimpleAlbums()
264
+ result = receive_message(QueryOtherSimpleAlbums_result)
265
+ return result.success unless result.success.nil?
266
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryOtherSimpleAlbums failed: unknown result')
267
+ end
268
+
269
+ def querySelfBasicAlbums(uid, page, size, order)
270
+ send_querySelfBasicAlbums(uid, page, size, order)
271
+ return recv_querySelfBasicAlbums()
272
+ end
273
+
274
+ def send_querySelfBasicAlbums(uid, page, size, order)
275
+ send_message('querySelfBasicAlbums', QuerySelfBasicAlbums_args, :uid => uid, :page => page, :size => size, :order => order)
276
+ end
277
+
278
+ def recv_querySelfBasicAlbums()
279
+ result = receive_message(QuerySelfBasicAlbums_result)
280
+ return result.success unless result.success.nil?
281
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'querySelfBasicAlbums failed: unknown result')
282
+ end
283
+
284
+ def queryOtherBasicAlbums(uid, page, size, order)
285
+ send_queryOtherBasicAlbums(uid, page, size, order)
286
+ return recv_queryOtherBasicAlbums()
287
+ end
288
+
289
+ def send_queryOtherBasicAlbums(uid, page, size, order)
290
+ send_message('queryOtherBasicAlbums', QueryOtherBasicAlbums_args, :uid => uid, :page => page, :size => size, :order => order)
291
+ end
292
+
293
+ def recv_queryOtherBasicAlbums()
294
+ result = receive_message(QueryOtherBasicAlbums_result)
295
+ return result.success unless result.success.nil?
296
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryOtherBasicAlbums failed: unknown result')
297
+ end
298
+
299
+ def queryUserAlbumCount(uid, isSelf)
300
+ send_queryUserAlbumCount(uid, isSelf)
301
+ return recv_queryUserAlbumCount()
302
+ end
303
+
304
+ def send_queryUserAlbumCount(uid, isSelf)
305
+ send_message('queryUserAlbumCount', QueryUserAlbumCount_args, :uid => uid, :isSelf => isSelf)
306
+ end
307
+
308
+ def recv_queryUserAlbumCount()
309
+ result = receive_message(QueryUserAlbumCount_result)
310
+ return result.success unless result.success.nil?
311
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryUserAlbumCount failed: unknown result')
312
+ end
313
+
314
+ def queryAlbumTrackIds(albumId, page, pageSize, asc)
315
+ send_queryAlbumTrackIds(albumId, page, pageSize, asc)
316
+ return recv_queryAlbumTrackIds()
317
+ end
318
+
319
+ def send_queryAlbumTrackIds(albumId, page, pageSize, asc)
320
+ send_message('queryAlbumTrackIds', QueryAlbumTrackIds_args, :albumId => albumId, :page => page, :pageSize => pageSize, :asc => asc)
321
+ end
322
+
323
+ def recv_queryAlbumTrackIds()
324
+ result = receive_message(QueryAlbumTrackIds_result)
325
+ return result.success unless result.success.nil?
326
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryAlbumTrackIds failed: unknown result')
327
+ end
328
+
329
+ def queryTrackRecords(uid, albumId, offset, count, asc)
330
+ send_queryTrackRecords(uid, albumId, offset, count, asc)
331
+ return recv_queryTrackRecords()
332
+ end
333
+
334
+ def send_queryTrackRecords(uid, albumId, offset, count, asc)
335
+ send_message('queryTrackRecords', QueryTrackRecords_args, :uid => uid, :albumId => albumId, :offset => offset, :count => count, :asc => asc)
336
+ end
337
+
338
+ def recv_queryTrackRecords()
339
+ result = receive_message(QueryTrackRecords_result)
340
+ return result.success unless result.success.nil?
341
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryTrackRecords failed: unknown result')
342
+ end
343
+
344
+ def queryMyTrackRecords(currentUid, albumId, offset, count, asc)
345
+ send_queryMyTrackRecords(currentUid, albumId, offset, count, asc)
346
+ return recv_queryMyTrackRecords()
347
+ end
348
+
349
+ def send_queryMyTrackRecords(currentUid, albumId, offset, count, asc)
350
+ send_message('queryMyTrackRecords', QueryMyTrackRecords_args, :currentUid => currentUid, :albumId => albumId, :offset => offset, :count => count, :asc => asc)
351
+ end
352
+
353
+ def recv_queryMyTrackRecords()
354
+ result = receive_message(QueryMyTrackRecords_result)
355
+ return result.success unless result.success.nil?
356
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryMyTrackRecords failed: unknown result')
357
+ end
358
+
359
+ def queryAlbumPlayList(uid, albumId, offset, count, asc)
360
+ send_queryAlbumPlayList(uid, albumId, offset, count, asc)
361
+ return recv_queryAlbumPlayList()
362
+ end
363
+
364
+ def send_queryAlbumPlayList(uid, albumId, offset, count, asc)
365
+ send_message('queryAlbumPlayList', QueryAlbumPlayList_args, :uid => uid, :albumId => albumId, :offset => offset, :count => count, :asc => asc)
366
+ end
367
+
368
+ def recv_queryAlbumPlayList()
369
+ result = receive_message(QueryAlbumPlayList_result)
370
+ return result.success unless result.success.nil?
371
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryAlbumPlayList failed: unknown result')
372
+ end
373
+
374
+ def deleteAlbumRecordsCache(albumId)
375
+ send_deleteAlbumRecordsCache(albumId)
376
+ recv_deleteAlbumRecordsCache()
377
+ end
378
+
379
+ def send_deleteAlbumRecordsCache(albumId)
380
+ send_message('deleteAlbumRecordsCache', DeleteAlbumRecordsCache_args, :albumId => albumId)
381
+ end
382
+
383
+ def recv_deleteAlbumRecordsCache()
384
+ result = receive_message(DeleteAlbumRecordsCache_result)
385
+ return
386
+ end
387
+
388
+ def updateRecordOrder(uid, albumId, recordId, position)
389
+ send_updateRecordOrder(uid, albumId, recordId, position)
390
+ return recv_updateRecordOrder()
391
+ end
392
+
393
+ def send_updateRecordOrder(uid, albumId, recordId, position)
394
+ send_message('updateRecordOrder', UpdateRecordOrder_args, :uid => uid, :albumId => albumId, :recordId => recordId, :position => position)
395
+ end
396
+
397
+ def recv_updateRecordOrder()
398
+ result = receive_message(UpdateRecordOrder_result)
399
+ return result.success unless result.success.nil?
400
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'updateRecordOrder failed: unknown result')
401
+ end
402
+
403
+ def updateRecordsOrder(albumId, ids)
404
+ send_updateRecordsOrder(albumId, ids)
405
+ recv_updateRecordsOrder()
406
+ end
407
+
408
+ def send_updateRecordsOrder(albumId, ids)
409
+ send_message('updateRecordsOrder', UpdateRecordsOrder_args, :albumId => albumId, :ids => ids)
410
+ end
411
+
412
+ def recv_updateRecordsOrder()
413
+ result = receive_message(UpdateRecordsOrder_result)
414
+ return
415
+ end
416
+
417
+ def getAlbumSize(uid, albumId)
418
+ send_getAlbumSize(uid, albumId)
419
+ return recv_getAlbumSize()
420
+ end
421
+
422
+ def send_getAlbumSize(uid, albumId)
423
+ send_message('getAlbumSize', GetAlbumSize_args, :uid => uid, :albumId => albumId)
424
+ end
425
+
426
+ def recv_getAlbumSize()
427
+ result = receive_message(GetAlbumSize_result)
428
+ return result.success unless result.success.nil?
429
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getAlbumSize failed: unknown result')
430
+ end
431
+
432
+ def revertRecords(albumId, order)
433
+ send_revertRecords(albumId, order)
434
+ recv_revertRecords()
435
+ end
436
+
437
+ def send_revertRecords(albumId, order)
438
+ send_message('revertRecords', RevertRecords_args, :albumId => albumId, :order => order)
439
+ end
440
+
441
+ def recv_revertRecords()
442
+ result = receive_message(RevertRecords_result)
443
+ return
444
+ end
445
+
446
+ def getPosition(albumId, recordId)
447
+ send_getPosition(albumId, recordId)
448
+ return recv_getPosition()
449
+ end
450
+
451
+ def send_getPosition(albumId, recordId)
452
+ send_message('getPosition', GetPosition_args, :albumId => albumId, :recordId => recordId)
453
+ end
454
+
455
+ def recv_getPosition()
456
+ result = receive_message(GetPosition_result)
457
+ return result.success unless result.success.nil?
458
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getPosition failed: unknown result')
459
+ end
460
+
461
+ def queryRecordsAfterId(uid, albumId, recordId, count, asc)
462
+ send_queryRecordsAfterId(uid, albumId, recordId, count, asc)
463
+ return recv_queryRecordsAfterId()
464
+ end
465
+
466
+ def send_queryRecordsAfterId(uid, albumId, recordId, count, asc)
467
+ send_message('queryRecordsAfterId', QueryRecordsAfterId_args, :uid => uid, :albumId => albumId, :recordId => recordId, :count => count, :asc => asc)
468
+ end
469
+
470
+ def recv_queryRecordsAfterId()
471
+ result = receive_message(QueryRecordsAfterId_result)
472
+ return result.success unless result.success.nil?
473
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryRecordsAfterId failed: unknown result')
474
+ end
475
+
476
+ def getMyAlbumSize(uid, albumId)
477
+ send_getMyAlbumSize(uid, albumId)
478
+ return recv_getMyAlbumSize()
479
+ end
480
+
481
+ def send_getMyAlbumSize(uid, albumId)
482
+ send_message('getMyAlbumSize', GetMyAlbumSize_args, :uid => uid, :albumId => albumId)
483
+ end
484
+
485
+ def recv_getMyAlbumSize()
486
+ result = receive_message(GetMyAlbumSize_result)
487
+ return result.success unless result.success.nil?
488
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getMyAlbumSize failed: unknown result')
489
+ end
490
+
491
+ def ownToAlbum(uid, albumId, recordId)
492
+ send_ownToAlbum(uid, albumId, recordId)
493
+ return recv_ownToAlbum()
494
+ end
495
+
496
+ def send_ownToAlbum(uid, albumId, recordId)
497
+ send_message('ownToAlbum', OwnToAlbum_args, :uid => uid, :albumId => albumId, :recordId => recordId)
498
+ end
499
+
500
+ def recv_ownToAlbum()
501
+ result = receive_message(OwnToAlbum_result)
502
+ return result.success unless result.success.nil?
503
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'ownToAlbum failed: unknown result')
504
+ end
505
+
506
+ def queryTrackRecordsByAlbumId(albumId, offset, count, asc)
507
+ send_queryTrackRecordsByAlbumId(albumId, offset, count, asc)
508
+ return recv_queryTrackRecordsByAlbumId()
509
+ end
510
+
511
+ def send_queryTrackRecordsByAlbumId(albumId, offset, count, asc)
512
+ send_message('queryTrackRecordsByAlbumId', QueryTrackRecordsByAlbumId_args, :albumId => albumId, :offset => offset, :count => count, :asc => asc)
513
+ end
514
+
515
+ def recv_queryTrackRecordsByAlbumId()
516
+ result = receive_message(QueryTrackRecordsByAlbumId_result)
517
+ return result.success unless result.success.nil?
518
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryTrackRecordsByAlbumId failed: unknown result')
519
+ end
520
+
521
+ def albumOff(albumId, offType)
522
+ send_albumOff(albumId, offType)
523
+ recv_albumOff()
524
+ end
525
+
526
+ def send_albumOff(albumId, offType)
527
+ send_message('albumOff', AlbumOff_args, :albumId => albumId, :offType => offType)
528
+ end
529
+
530
+ def recv_albumOff()
531
+ result = receive_message(AlbumOff_result)
532
+ return
533
+ end
534
+
535
+ def albumOn(albumId, digStatus)
536
+ send_albumOn(albumId, digStatus)
537
+ recv_albumOn()
538
+ end
539
+
540
+ def send_albumOn(albumId, digStatus)
541
+ send_message('albumOn', AlbumOn_args, :albumId => albumId, :digStatus => digStatus)
542
+ end
543
+
544
+ def recv_albumOn()
545
+ result = receive_message(AlbumOn_result)
546
+ return
547
+ end
548
+
549
+ def lastTrackOfAlbum(albumId)
550
+ send_lastTrackOfAlbum(albumId)
551
+ return recv_lastTrackOfAlbum()
552
+ end
553
+
554
+ def send_lastTrackOfAlbum(albumId)
555
+ send_message('lastTrackOfAlbum', LastTrackOfAlbum_args, :albumId => albumId)
556
+ end
557
+
558
+ def recv_lastTrackOfAlbum()
559
+ result = receive_message(LastTrackOfAlbum_result)
560
+ return result.success unless result.success.nil?
561
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'lastTrackOfAlbum failed: unknown result')
562
+ end
563
+
564
+ def lastTrackOfAlbumByUid(albumId, uid)
565
+ send_lastTrackOfAlbumByUid(albumId, uid)
566
+ return recv_lastTrackOfAlbumByUid()
567
+ end
568
+
569
+ def send_lastTrackOfAlbumByUid(albumId, uid)
570
+ send_message('lastTrackOfAlbumByUid', LastTrackOfAlbumByUid_args, :albumId => albumId, :uid => uid)
571
+ end
572
+
573
+ def recv_lastTrackOfAlbumByUid()
574
+ result = receive_message(LastTrackOfAlbumByUid_result)
575
+ return result.success unless result.success.nil?
576
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'lastTrackOfAlbumByUid failed: unknown result')
577
+ end
578
+
579
+ def queryDefaultBasicAlbum(uid, isPublic)
580
+ send_queryDefaultBasicAlbum(uid, isPublic)
581
+ return recv_queryDefaultBasicAlbum()
582
+ end
583
+
584
+ def send_queryDefaultBasicAlbum(uid, isPublic)
585
+ send_message('queryDefaultBasicAlbum', QueryDefaultBasicAlbum_args, :uid => uid, :isPublic => isPublic)
586
+ end
587
+
588
+ def recv_queryDefaultBasicAlbum()
589
+ result = receive_message(QueryDefaultBasicAlbum_result)
590
+ return result.success unless result.success.nil?
591
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryDefaultBasicAlbum failed: unknown result')
592
+ end
593
+
594
+ def queryDefaultAlbumId(uid, isPublic)
595
+ send_queryDefaultAlbumId(uid, isPublic)
596
+ return recv_queryDefaultAlbumId()
597
+ end
598
+
599
+ def send_queryDefaultAlbumId(uid, isPublic)
600
+ send_message('queryDefaultAlbumId', QueryDefaultAlbumId_args, :uid => uid, :isPublic => isPublic)
601
+ end
602
+
603
+ def recv_queryDefaultAlbumId()
604
+ result = receive_message(QueryDefaultAlbumId_result)
605
+ return result.success unless result.success.nil?
606
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryDefaultAlbumId failed: unknown result')
607
+ end
608
+
609
+ def queryBasicAlbumsWithOffline(ids)
610
+ send_queryBasicAlbumsWithOffline(ids)
611
+ return recv_queryBasicAlbumsWithOffline()
612
+ end
613
+
614
+ def send_queryBasicAlbumsWithOffline(ids)
615
+ send_message('queryBasicAlbumsWithOffline', QueryBasicAlbumsWithOffline_args, :ids => ids)
616
+ end
617
+
618
+ def recv_queryBasicAlbumsWithOffline()
619
+ result = receive_message(QueryBasicAlbumsWithOffline_result)
620
+ return result.success unless result.success.nil?
621
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryBasicAlbumsWithOffline failed: unknown result')
622
+ end
623
+
624
+ def queryBasicAlbumsByUidWithOffline(uid, page, size)
625
+ send_queryBasicAlbumsByUidWithOffline(uid, page, size)
626
+ return recv_queryBasicAlbumsByUidWithOffline()
627
+ end
628
+
629
+ def send_queryBasicAlbumsByUidWithOffline(uid, page, size)
630
+ send_message('queryBasicAlbumsByUidWithOffline', QueryBasicAlbumsByUidWithOffline_args, :uid => uid, :page => page, :size => size)
631
+ end
632
+
633
+ def recv_queryBasicAlbumsByUidWithOffline()
634
+ result = receive_message(QueryBasicAlbumsByUidWithOffline_result)
635
+ return result.success unless result.success.nil?
636
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryBasicAlbumsByUidWithOffline failed: unknown result')
637
+ end
638
+
639
+ def queryTrackRecordsWithUnPublish(uid, albumId, page, size, asc)
640
+ send_queryTrackRecordsWithUnPublish(uid, albumId, page, size, asc)
641
+ return recv_queryTrackRecordsWithUnPublish()
642
+ end
643
+
644
+ def send_queryTrackRecordsWithUnPublish(uid, albumId, page, size, asc)
645
+ send_message('queryTrackRecordsWithUnPublish', QueryTrackRecordsWithUnPublish_args, :uid => uid, :albumId => albumId, :page => page, :size => size, :asc => asc)
646
+ end
647
+
648
+ def recv_queryTrackRecordsWithUnPublish()
649
+ result = receive_message(QueryTrackRecordsWithUnPublish_result)
650
+ return result.success unless result.success.nil?
651
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryTrackRecordsWithUnPublish failed: unknown result')
652
+ end
653
+
654
+ def queryLastUpTrack(albumId)
655
+ send_queryLastUpTrack(albumId)
656
+ return recv_queryLastUpTrack()
657
+ end
658
+
659
+ def send_queryLastUpTrack(albumId)
660
+ send_message('queryLastUpTrack', QueryLastUpTrack_args, :albumId => albumId)
661
+ end
662
+
663
+ def recv_queryLastUpTrack()
664
+ result = receive_message(QueryLastUpTrack_result)
665
+ return result.success unless result.success.nil?
666
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryLastUpTrack failed: unknown result')
667
+ end
668
+
669
+ def queryLastUpTracks(albumIds)
670
+ send_queryLastUpTracks(albumIds)
671
+ return recv_queryLastUpTracks()
672
+ end
673
+
674
+ def send_queryLastUpTracks(albumIds)
675
+ send_message('queryLastUpTracks', QueryLastUpTracks_args, :albumIds => albumIds)
676
+ end
677
+
678
+ def recv_queryLastUpTracks()
679
+ result = receive_message(QueryLastUpTracks_result)
680
+ return result.success unless result.success.nil?
681
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryLastUpTracks failed: unknown result')
682
+ end
683
+
684
+ def queryLastTrackRecord(albumId, uid)
685
+ send_queryLastTrackRecord(albumId, uid)
686
+ return recv_queryLastTrackRecord()
687
+ end
688
+
689
+ def send_queryLastTrackRecord(albumId, uid)
690
+ send_message('queryLastTrackRecord', QueryLastTrackRecord_args, :albumId => albumId, :uid => uid)
691
+ end
692
+
693
+ def recv_queryLastTrackRecord()
694
+ result = receive_message(QueryLastTrackRecord_result)
695
+ return result.success unless result.success.nil?
696
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryLastTrackRecord failed: unknown result')
697
+ end
698
+
699
+ def queryTrackRecordsByCreateTimeDesc(uid, albumId, offset, count)
700
+ send_queryTrackRecordsByCreateTimeDesc(uid, albumId, offset, count)
701
+ return recv_queryTrackRecordsByCreateTimeDesc()
702
+ end
703
+
704
+ def send_queryTrackRecordsByCreateTimeDesc(uid, albumId, offset, count)
705
+ send_message('queryTrackRecordsByCreateTimeDesc', QueryTrackRecordsByCreateTimeDesc_args, :uid => uid, :albumId => albumId, :offset => offset, :count => count)
706
+ end
707
+
708
+ def recv_queryTrackRecordsByCreateTimeDesc()
709
+ result = receive_message(QueryTrackRecordsByCreateTimeDesc_result)
710
+ return result.success unless result.success.nil?
711
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryTrackRecordsByCreateTimeDesc failed: unknown result')
712
+ end
713
+
714
+ def changePositionByCreateTime(uid, albumId, asc)
715
+ send_changePositionByCreateTime(uid, albumId, asc)
716
+ recv_changePositionByCreateTime()
717
+ end
718
+
719
+ def send_changePositionByCreateTime(uid, albumId, asc)
720
+ send_message('changePositionByCreateTime', ChangePositionByCreateTime_args, :uid => uid, :albumId => albumId, :asc => asc)
721
+ end
722
+
723
+ def recv_changePositionByCreateTime()
724
+ result = receive_message(ChangePositionByCreateTime_result)
725
+ return
726
+ end
727
+
728
+ def sendAlbumCreatedMessage(albumId)
729
+ send_sendAlbumCreatedMessage(albumId)
730
+ recv_sendAlbumCreatedMessage()
731
+ end
732
+
733
+ def send_sendAlbumCreatedMessage(albumId)
734
+ send_message('sendAlbumCreatedMessage', SendAlbumCreatedMessage_args, :albumId => albumId)
735
+ end
736
+
737
+ def recv_sendAlbumCreatedMessage()
738
+ result = receive_message(SendAlbumCreatedMessage_result)
739
+ return
740
+ end
741
+
742
+ def sendAlbumUpdatedMessage(albumId)
743
+ send_sendAlbumUpdatedMessage(albumId)
744
+ recv_sendAlbumUpdatedMessage()
745
+ end
746
+
747
+ def send_sendAlbumUpdatedMessage(albumId)
748
+ send_message('sendAlbumUpdatedMessage', SendAlbumUpdatedMessage_args, :albumId => albumId)
749
+ end
750
+
751
+ def recv_sendAlbumUpdatedMessage()
752
+ result = receive_message(SendAlbumUpdatedMessage_result)
753
+ return
754
+ end
755
+
756
+ def sendAlbumDeletedMessage(albumId)
757
+ send_sendAlbumDeletedMessage(albumId)
758
+ recv_sendAlbumDeletedMessage()
759
+ end
760
+
761
+ def send_sendAlbumDeletedMessage(albumId)
762
+ send_message('sendAlbumDeletedMessage', SendAlbumDeletedMessage_args, :albumId => albumId)
763
+ end
764
+
765
+ def recv_sendAlbumDeletedMessage()
766
+ result = receive_message(SendAlbumDeletedMessage_result)
767
+ return
768
+ end
769
+
770
+ def queryAlbumUid(albumIds)
771
+ send_queryAlbumUid(albumIds)
772
+ return recv_queryAlbumUid()
773
+ end
774
+
775
+ def send_queryAlbumUid(albumIds)
776
+ send_message('queryAlbumUid', QueryAlbumUid_args, :albumIds => albumIds)
777
+ end
778
+
779
+ def recv_queryAlbumUid()
780
+ result = receive_message(QueryAlbumUid_result)
781
+ return result.success unless result.success.nil?
782
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryAlbumUid failed: unknown result')
783
+ end
784
+
785
+ def queryLastUpTrackInfos(ids)
786
+ send_queryLastUpTrackInfos(ids)
787
+ return recv_queryLastUpTrackInfos()
788
+ end
789
+
790
+ def send_queryLastUpTrackInfos(ids)
791
+ send_message('queryLastUpTrackInfos', QueryLastUpTrackInfos_args, :ids => ids)
792
+ end
793
+
794
+ def recv_queryLastUpTrackInfos()
795
+ result = receive_message(QueryLastUpTrackInfos_result)
796
+ return result.success unless result.success.nil?
797
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryLastUpTrackInfos failed: unknown result')
798
+ end
799
+
800
+ def queryTrackRecordPageByRecordId(uid, albumId, recordId, size, asc)
801
+ send_queryTrackRecordPageByRecordId(uid, albumId, recordId, size, asc)
802
+ return recv_queryTrackRecordPageByRecordId()
803
+ end
804
+
805
+ def send_queryTrackRecordPageByRecordId(uid, albumId, recordId, size, asc)
806
+ send_message('queryTrackRecordPageByRecordId', QueryTrackRecordPageByRecordId_args, :uid => uid, :albumId => albumId, :recordId => recordId, :size => size, :asc => asc)
807
+ end
808
+
809
+ def recv_queryTrackRecordPageByRecordId()
810
+ result = receive_message(QueryTrackRecordPageByRecordId_result)
811
+ return result.success unless result.success.nil?
812
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryTrackRecordPageByRecordId failed: unknown result')
813
+ end
814
+
815
+ def queryTrackRecordPageByTrackId(albumId, trackId, size, asc)
816
+ send_queryTrackRecordPageByTrackId(albumId, trackId, size, asc)
817
+ return recv_queryTrackRecordPageByTrackId()
818
+ end
819
+
820
+ def send_queryTrackRecordPageByTrackId(albumId, trackId, size, asc)
821
+ send_message('queryTrackRecordPageByTrackId', QueryTrackRecordPageByTrackId_args, :albumId => albumId, :trackId => trackId, :size => size, :asc => asc)
822
+ end
823
+
824
+ def recv_queryTrackRecordPageByTrackId()
825
+ result = receive_message(QueryTrackRecordPageByTrackId_result)
826
+ return result.success unless result.success.nil?
827
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryTrackRecordPageByTrackId failed: unknown result')
828
+ end
829
+
830
+ def queryMyTrackRecordsOrderByCreatedAt(albumId, uid, offset, count, asc)
831
+ send_queryMyTrackRecordsOrderByCreatedAt(albumId, uid, offset, count, asc)
832
+ return recv_queryMyTrackRecordsOrderByCreatedAt()
833
+ end
834
+
835
+ def send_queryMyTrackRecordsOrderByCreatedAt(albumId, uid, offset, count, asc)
836
+ send_message('queryMyTrackRecordsOrderByCreatedAt', QueryMyTrackRecordsOrderByCreatedAt_args, :albumId => albumId, :uid => uid, :offset => offset, :count => count, :asc => asc)
837
+ end
838
+
839
+ def recv_queryMyTrackRecordsOrderByCreatedAt()
840
+ result = receive_message(QueryMyTrackRecordsOrderByCreatedAt_result)
841
+ return result.success unless result.success.nil?
842
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryMyTrackRecordsOrderByCreatedAt failed: unknown result')
843
+ end
844
+
845
+ end
846
+
847
+ class Processor
848
+ include ::Thrift::Processor
849
+
850
+ def process_querySimpleAlbum(seqid, iprot, oprot)
851
+ args = read_args(iprot, QuerySimpleAlbum_args)
852
+ result = QuerySimpleAlbum_result.new()
853
+ result.success = @handler.querySimpleAlbum(args.id)
854
+ write_result(result, oprot, 'querySimpleAlbum', seqid)
855
+ end
856
+
857
+ def process_queryBriefAlbum(seqid, iprot, oprot)
858
+ args = read_args(iprot, QueryBriefAlbum_args)
859
+ result = QueryBriefAlbum_result.new()
860
+ result.success = @handler.queryBriefAlbum(args.id)
861
+ write_result(result, oprot, 'queryBriefAlbum', seqid)
862
+ end
863
+
864
+ def process_queryBasicAlbum(seqid, iprot, oprot)
865
+ args = read_args(iprot, QueryBasicAlbum_args)
866
+ result = QueryBasicAlbum_result.new()
867
+ result.success = @handler.queryBasicAlbum(args.id)
868
+ write_result(result, oprot, 'queryBasicAlbum', seqid)
869
+ end
870
+
871
+ def process_queryRichAlbum(seqid, iprot, oprot)
872
+ args = read_args(iprot, QueryRichAlbum_args)
873
+ result = QueryRichAlbum_result.new()
874
+ result.success = @handler.queryRichAlbum(args.id)
875
+ write_result(result, oprot, 'queryRichAlbum', seqid)
876
+ end
877
+
878
+ def process_querySimpleAlbums(seqid, iprot, oprot)
879
+ args = read_args(iprot, QuerySimpleAlbums_args)
880
+ result = QuerySimpleAlbums_result.new()
881
+ result.success = @handler.querySimpleAlbums(args.ids)
882
+ write_result(result, oprot, 'querySimpleAlbums', seqid)
883
+ end
884
+
885
+ def process_queryBriefAlbums(seqid, iprot, oprot)
886
+ args = read_args(iprot, QueryBriefAlbums_args)
887
+ result = QueryBriefAlbums_result.new()
888
+ result.success = @handler.queryBriefAlbums(args.ids)
889
+ write_result(result, oprot, 'queryBriefAlbums', seqid)
890
+ end
891
+
892
+ def process_queryBasicAlbums(seqid, iprot, oprot)
893
+ args = read_args(iprot, QueryBasicAlbums_args)
894
+ result = QueryBasicAlbums_result.new()
895
+ result.success = @handler.queryBasicAlbums(args.ids)
896
+ write_result(result, oprot, 'queryBasicAlbums', seqid)
897
+ end
898
+
899
+ def process_createAlbum(seqid, iprot, oprot)
900
+ args = read_args(iprot, CreateAlbum_args)
901
+ result = CreateAlbum_result.new()
902
+ result.success = @handler.createAlbum(args.album, args.extraParams)
903
+ write_result(result, oprot, 'createAlbum', seqid)
904
+ end
905
+
906
+ def process_updateAlbum(seqid, iprot, oprot)
907
+ args = read_args(iprot, UpdateAlbum_args)
908
+ result = UpdateAlbum_result.new()
909
+ @handler.updateAlbum(args.album, args.extraParams)
910
+ write_result(result, oprot, 'updateAlbum', seqid)
911
+ end
912
+
913
+ def process_updateDigStatus(seqid, iprot, oprot)
914
+ args = read_args(iprot, UpdateDigStatus_args)
915
+ result = UpdateDigStatus_result.new()
916
+ @handler.updateDigStatus(args.uid, args.albumId, args.digStatus)
917
+ write_result(result, oprot, 'updateDigStatus', seqid)
918
+ end
919
+
920
+ def process_updateIsPublic(seqid, iprot, oprot)
921
+ args = read_args(iprot, UpdateIsPublic_args)
922
+ result = UpdateIsPublic_result.new()
923
+ @handler.updateIsPublic(args.uid, args.albumId, args.isPublic)
924
+ write_result(result, oprot, 'updateIsPublic', seqid)
925
+ end
926
+
927
+ def process_deleteAlbum(seqid, iprot, oprot)
928
+ args = read_args(iprot, DeleteAlbum_args)
929
+ result = DeleteAlbum_result.new()
930
+ begin
931
+ @handler.deleteAlbum(args.album, args.extraParams)
932
+ rescue ::Service::Album::Api::AlbumException => e
933
+ result.e = e
934
+ end
935
+ write_result(result, oprot, 'deleteAlbum', seqid)
936
+ end
937
+
938
+ def process_queryBasicAlbumsByIdAndUid(seqid, iprot, oprot)
939
+ args = read_args(iprot, QueryBasicAlbumsByIdAndUid_args)
940
+ result = QueryBasicAlbumsByIdAndUid_result.new()
941
+ result.success = @handler.queryBasicAlbumsByIdAndUid(args.ids)
942
+ write_result(result, oprot, 'queryBasicAlbumsByIdAndUid', seqid)
943
+ end
944
+
945
+ def process_queryBasicAlbumsWithTrack(seqid, iprot, oprot)
946
+ args = read_args(iprot, QueryBasicAlbumsWithTrack_args)
947
+ result = QueryBasicAlbumsWithTrack_result.new()
948
+ result.success = @handler.queryBasicAlbumsWithTrack(args.ids)
949
+ write_result(result, oprot, 'queryBasicAlbumsWithTrack', seqid)
950
+ end
951
+
952
+ def process_querySimpleAlbumsByIdAndUid(seqid, iprot, oprot)
953
+ args = read_args(iprot, QuerySimpleAlbumsByIdAndUid_args)
954
+ result = QuerySimpleAlbumsByIdAndUid_result.new()
955
+ result.success = @handler.querySimpleAlbumsByIdAndUid(args.ids)
956
+ write_result(result, oprot, 'querySimpleAlbumsByIdAndUid', seqid)
957
+ end
958
+
959
+ def process_querySelfSimpleAlbums(seqid, iprot, oprot)
960
+ args = read_args(iprot, QuerySelfSimpleAlbums_args)
961
+ result = QuerySelfSimpleAlbums_result.new()
962
+ result.success = @handler.querySelfSimpleAlbums(args.uid, args.page, args.size)
963
+ write_result(result, oprot, 'querySelfSimpleAlbums', seqid)
964
+ end
965
+
966
+ def process_queryOtherSimpleAlbums(seqid, iprot, oprot)
967
+ args = read_args(iprot, QueryOtherSimpleAlbums_args)
968
+ result = QueryOtherSimpleAlbums_result.new()
969
+ result.success = @handler.queryOtherSimpleAlbums(args.uid, args.page, args.size)
970
+ write_result(result, oprot, 'queryOtherSimpleAlbums', seqid)
971
+ end
972
+
973
+ def process_querySelfBasicAlbums(seqid, iprot, oprot)
974
+ args = read_args(iprot, QuerySelfBasicAlbums_args)
975
+ result = QuerySelfBasicAlbums_result.new()
976
+ result.success = @handler.querySelfBasicAlbums(args.uid, args.page, args.size, args.order)
977
+ write_result(result, oprot, 'querySelfBasicAlbums', seqid)
978
+ end
979
+
980
+ def process_queryOtherBasicAlbums(seqid, iprot, oprot)
981
+ args = read_args(iprot, QueryOtherBasicAlbums_args)
982
+ result = QueryOtherBasicAlbums_result.new()
983
+ result.success = @handler.queryOtherBasicAlbums(args.uid, args.page, args.size, args.order)
984
+ write_result(result, oprot, 'queryOtherBasicAlbums', seqid)
985
+ end
986
+
987
+ def process_queryUserAlbumCount(seqid, iprot, oprot)
988
+ args = read_args(iprot, QueryUserAlbumCount_args)
989
+ result = QueryUserAlbumCount_result.new()
990
+ result.success = @handler.queryUserAlbumCount(args.uid, args.isSelf)
991
+ write_result(result, oprot, 'queryUserAlbumCount', seqid)
992
+ end
993
+
994
+ def process_queryAlbumTrackIds(seqid, iprot, oprot)
995
+ args = read_args(iprot, QueryAlbumTrackIds_args)
996
+ result = QueryAlbumTrackIds_result.new()
997
+ result.success = @handler.queryAlbumTrackIds(args.albumId, args.page, args.pageSize, args.asc)
998
+ write_result(result, oprot, 'queryAlbumTrackIds', seqid)
999
+ end
1000
+
1001
+ def process_queryTrackRecords(seqid, iprot, oprot)
1002
+ args = read_args(iprot, QueryTrackRecords_args)
1003
+ result = QueryTrackRecords_result.new()
1004
+ result.success = @handler.queryTrackRecords(args.uid, args.albumId, args.offset, args.count, args.asc)
1005
+ write_result(result, oprot, 'queryTrackRecords', seqid)
1006
+ end
1007
+
1008
+ def process_queryMyTrackRecords(seqid, iprot, oprot)
1009
+ args = read_args(iprot, QueryMyTrackRecords_args)
1010
+ result = QueryMyTrackRecords_result.new()
1011
+ result.success = @handler.queryMyTrackRecords(args.currentUid, args.albumId, args.offset, args.count, args.asc)
1012
+ write_result(result, oprot, 'queryMyTrackRecords', seqid)
1013
+ end
1014
+
1015
+ def process_queryAlbumPlayList(seqid, iprot, oprot)
1016
+ args = read_args(iprot, QueryAlbumPlayList_args)
1017
+ result = QueryAlbumPlayList_result.new()
1018
+ result.success = @handler.queryAlbumPlayList(args.uid, args.albumId, args.offset, args.count, args.asc)
1019
+ write_result(result, oprot, 'queryAlbumPlayList', seqid)
1020
+ end
1021
+
1022
+ def process_deleteAlbumRecordsCache(seqid, iprot, oprot)
1023
+ args = read_args(iprot, DeleteAlbumRecordsCache_args)
1024
+ result = DeleteAlbumRecordsCache_result.new()
1025
+ @handler.deleteAlbumRecordsCache(args.albumId)
1026
+ write_result(result, oprot, 'deleteAlbumRecordsCache', seqid)
1027
+ end
1028
+
1029
+ def process_updateRecordOrder(seqid, iprot, oprot)
1030
+ args = read_args(iprot, UpdateRecordOrder_args)
1031
+ result = UpdateRecordOrder_result.new()
1032
+ result.success = @handler.updateRecordOrder(args.uid, args.albumId, args.recordId, args.position)
1033
+ write_result(result, oprot, 'updateRecordOrder', seqid)
1034
+ end
1035
+
1036
+ def process_updateRecordsOrder(seqid, iprot, oprot)
1037
+ args = read_args(iprot, UpdateRecordsOrder_args)
1038
+ result = UpdateRecordsOrder_result.new()
1039
+ @handler.updateRecordsOrder(args.albumId, args.ids)
1040
+ write_result(result, oprot, 'updateRecordsOrder', seqid)
1041
+ end
1042
+
1043
+ def process_getAlbumSize(seqid, iprot, oprot)
1044
+ args = read_args(iprot, GetAlbumSize_args)
1045
+ result = GetAlbumSize_result.new()
1046
+ result.success = @handler.getAlbumSize(args.uid, args.albumId)
1047
+ write_result(result, oprot, 'getAlbumSize', seqid)
1048
+ end
1049
+
1050
+ def process_revertRecords(seqid, iprot, oprot)
1051
+ args = read_args(iprot, RevertRecords_args)
1052
+ result = RevertRecords_result.new()
1053
+ @handler.revertRecords(args.albumId, args.order)
1054
+ write_result(result, oprot, 'revertRecords', seqid)
1055
+ end
1056
+
1057
+ def process_getPosition(seqid, iprot, oprot)
1058
+ args = read_args(iprot, GetPosition_args)
1059
+ result = GetPosition_result.new()
1060
+ result.success = @handler.getPosition(args.albumId, args.recordId)
1061
+ write_result(result, oprot, 'getPosition', seqid)
1062
+ end
1063
+
1064
+ def process_queryRecordsAfterId(seqid, iprot, oprot)
1065
+ args = read_args(iprot, QueryRecordsAfterId_args)
1066
+ result = QueryRecordsAfterId_result.new()
1067
+ result.success = @handler.queryRecordsAfterId(args.uid, args.albumId, args.recordId, args.count, args.asc)
1068
+ write_result(result, oprot, 'queryRecordsAfterId', seqid)
1069
+ end
1070
+
1071
+ def process_getMyAlbumSize(seqid, iprot, oprot)
1072
+ args = read_args(iprot, GetMyAlbumSize_args)
1073
+ result = GetMyAlbumSize_result.new()
1074
+ result.success = @handler.getMyAlbumSize(args.uid, args.albumId)
1075
+ write_result(result, oprot, 'getMyAlbumSize', seqid)
1076
+ end
1077
+
1078
+ def process_ownToAlbum(seqid, iprot, oprot)
1079
+ args = read_args(iprot, OwnToAlbum_args)
1080
+ result = OwnToAlbum_result.new()
1081
+ result.success = @handler.ownToAlbum(args.uid, args.albumId, args.recordId)
1082
+ write_result(result, oprot, 'ownToAlbum', seqid)
1083
+ end
1084
+
1085
+ def process_queryTrackRecordsByAlbumId(seqid, iprot, oprot)
1086
+ args = read_args(iprot, QueryTrackRecordsByAlbumId_args)
1087
+ result = QueryTrackRecordsByAlbumId_result.new()
1088
+ result.success = @handler.queryTrackRecordsByAlbumId(args.albumId, args.offset, args.count, args.asc)
1089
+ write_result(result, oprot, 'queryTrackRecordsByAlbumId', seqid)
1090
+ end
1091
+
1092
+ def process_albumOff(seqid, iprot, oprot)
1093
+ args = read_args(iprot, AlbumOff_args)
1094
+ result = AlbumOff_result.new()
1095
+ @handler.albumOff(args.albumId, args.offType)
1096
+ write_result(result, oprot, 'albumOff', seqid)
1097
+ end
1098
+
1099
+ def process_albumOn(seqid, iprot, oprot)
1100
+ args = read_args(iprot, AlbumOn_args)
1101
+ result = AlbumOn_result.new()
1102
+ @handler.albumOn(args.albumId, args.digStatus)
1103
+ write_result(result, oprot, 'albumOn', seqid)
1104
+ end
1105
+
1106
+ def process_lastTrackOfAlbum(seqid, iprot, oprot)
1107
+ args = read_args(iprot, LastTrackOfAlbum_args)
1108
+ result = LastTrackOfAlbum_result.new()
1109
+ result.success = @handler.lastTrackOfAlbum(args.albumId)
1110
+ write_result(result, oprot, 'lastTrackOfAlbum', seqid)
1111
+ end
1112
+
1113
+ def process_lastTrackOfAlbumByUid(seqid, iprot, oprot)
1114
+ args = read_args(iprot, LastTrackOfAlbumByUid_args)
1115
+ result = LastTrackOfAlbumByUid_result.new()
1116
+ result.success = @handler.lastTrackOfAlbumByUid(args.albumId, args.uid)
1117
+ write_result(result, oprot, 'lastTrackOfAlbumByUid', seqid)
1118
+ end
1119
+
1120
+ def process_queryDefaultBasicAlbum(seqid, iprot, oprot)
1121
+ args = read_args(iprot, QueryDefaultBasicAlbum_args)
1122
+ result = QueryDefaultBasicAlbum_result.new()
1123
+ result.success = @handler.queryDefaultBasicAlbum(args.uid, args.isPublic)
1124
+ write_result(result, oprot, 'queryDefaultBasicAlbum', seqid)
1125
+ end
1126
+
1127
+ def process_queryDefaultAlbumId(seqid, iprot, oprot)
1128
+ args = read_args(iprot, QueryDefaultAlbumId_args)
1129
+ result = QueryDefaultAlbumId_result.new()
1130
+ result.success = @handler.queryDefaultAlbumId(args.uid, args.isPublic)
1131
+ write_result(result, oprot, 'queryDefaultAlbumId', seqid)
1132
+ end
1133
+
1134
+ def process_queryBasicAlbumsWithOffline(seqid, iprot, oprot)
1135
+ args = read_args(iprot, QueryBasicAlbumsWithOffline_args)
1136
+ result = QueryBasicAlbumsWithOffline_result.new()
1137
+ result.success = @handler.queryBasicAlbumsWithOffline(args.ids)
1138
+ write_result(result, oprot, 'queryBasicAlbumsWithOffline', seqid)
1139
+ end
1140
+
1141
+ def process_queryBasicAlbumsByUidWithOffline(seqid, iprot, oprot)
1142
+ args = read_args(iprot, QueryBasicAlbumsByUidWithOffline_args)
1143
+ result = QueryBasicAlbumsByUidWithOffline_result.new()
1144
+ result.success = @handler.queryBasicAlbumsByUidWithOffline(args.uid, args.page, args.size)
1145
+ write_result(result, oprot, 'queryBasicAlbumsByUidWithOffline', seqid)
1146
+ end
1147
+
1148
+ def process_queryTrackRecordsWithUnPublish(seqid, iprot, oprot)
1149
+ args = read_args(iprot, QueryTrackRecordsWithUnPublish_args)
1150
+ result = QueryTrackRecordsWithUnPublish_result.new()
1151
+ result.success = @handler.queryTrackRecordsWithUnPublish(args.uid, args.albumId, args.page, args.size, args.asc)
1152
+ write_result(result, oprot, 'queryTrackRecordsWithUnPublish', seqid)
1153
+ end
1154
+
1155
+ def process_queryLastUpTrack(seqid, iprot, oprot)
1156
+ args = read_args(iprot, QueryLastUpTrack_args)
1157
+ result = QueryLastUpTrack_result.new()
1158
+ result.success = @handler.queryLastUpTrack(args.albumId)
1159
+ write_result(result, oprot, 'queryLastUpTrack', seqid)
1160
+ end
1161
+
1162
+ def process_queryLastUpTracks(seqid, iprot, oprot)
1163
+ args = read_args(iprot, QueryLastUpTracks_args)
1164
+ result = QueryLastUpTracks_result.new()
1165
+ result.success = @handler.queryLastUpTracks(args.albumIds)
1166
+ write_result(result, oprot, 'queryLastUpTracks', seqid)
1167
+ end
1168
+
1169
+ def process_queryLastTrackRecord(seqid, iprot, oprot)
1170
+ args = read_args(iprot, QueryLastTrackRecord_args)
1171
+ result = QueryLastTrackRecord_result.new()
1172
+ result.success = @handler.queryLastTrackRecord(args.albumId, args.uid)
1173
+ write_result(result, oprot, 'queryLastTrackRecord', seqid)
1174
+ end
1175
+
1176
+ def process_queryTrackRecordsByCreateTimeDesc(seqid, iprot, oprot)
1177
+ args = read_args(iprot, QueryTrackRecordsByCreateTimeDesc_args)
1178
+ result = QueryTrackRecordsByCreateTimeDesc_result.new()
1179
+ result.success = @handler.queryTrackRecordsByCreateTimeDesc(args.uid, args.albumId, args.offset, args.count)
1180
+ write_result(result, oprot, 'queryTrackRecordsByCreateTimeDesc', seqid)
1181
+ end
1182
+
1183
+ def process_changePositionByCreateTime(seqid, iprot, oprot)
1184
+ args = read_args(iprot, ChangePositionByCreateTime_args)
1185
+ result = ChangePositionByCreateTime_result.new()
1186
+ @handler.changePositionByCreateTime(args.uid, args.albumId, args.asc)
1187
+ write_result(result, oprot, 'changePositionByCreateTime', seqid)
1188
+ end
1189
+
1190
+ def process_sendAlbumCreatedMessage(seqid, iprot, oprot)
1191
+ args = read_args(iprot, SendAlbumCreatedMessage_args)
1192
+ result = SendAlbumCreatedMessage_result.new()
1193
+ @handler.sendAlbumCreatedMessage(args.albumId)
1194
+ write_result(result, oprot, 'sendAlbumCreatedMessage', seqid)
1195
+ end
1196
+
1197
+ def process_sendAlbumUpdatedMessage(seqid, iprot, oprot)
1198
+ args = read_args(iprot, SendAlbumUpdatedMessage_args)
1199
+ result = SendAlbumUpdatedMessage_result.new()
1200
+ @handler.sendAlbumUpdatedMessage(args.albumId)
1201
+ write_result(result, oprot, 'sendAlbumUpdatedMessage', seqid)
1202
+ end
1203
+
1204
+ def process_sendAlbumDeletedMessage(seqid, iprot, oprot)
1205
+ args = read_args(iprot, SendAlbumDeletedMessage_args)
1206
+ result = SendAlbumDeletedMessage_result.new()
1207
+ @handler.sendAlbumDeletedMessage(args.albumId)
1208
+ write_result(result, oprot, 'sendAlbumDeletedMessage', seqid)
1209
+ end
1210
+
1211
+ def process_queryAlbumUid(seqid, iprot, oprot)
1212
+ args = read_args(iprot, QueryAlbumUid_args)
1213
+ result = QueryAlbumUid_result.new()
1214
+ result.success = @handler.queryAlbumUid(args.albumIds)
1215
+ write_result(result, oprot, 'queryAlbumUid', seqid)
1216
+ end
1217
+
1218
+ def process_queryLastUpTrackInfos(seqid, iprot, oprot)
1219
+ args = read_args(iprot, QueryLastUpTrackInfos_args)
1220
+ result = QueryLastUpTrackInfos_result.new()
1221
+ result.success = @handler.queryLastUpTrackInfos(args.ids)
1222
+ write_result(result, oprot, 'queryLastUpTrackInfos', seqid)
1223
+ end
1224
+
1225
+ def process_queryTrackRecordPageByRecordId(seqid, iprot, oprot)
1226
+ args = read_args(iprot, QueryTrackRecordPageByRecordId_args)
1227
+ result = QueryTrackRecordPageByRecordId_result.new()
1228
+ result.success = @handler.queryTrackRecordPageByRecordId(args.uid, args.albumId, args.recordId, args.size, args.asc)
1229
+ write_result(result, oprot, 'queryTrackRecordPageByRecordId', seqid)
1230
+ end
1231
+
1232
+ def process_queryTrackRecordPageByTrackId(seqid, iprot, oprot)
1233
+ args = read_args(iprot, QueryTrackRecordPageByTrackId_args)
1234
+ result = QueryTrackRecordPageByTrackId_result.new()
1235
+ result.success = @handler.queryTrackRecordPageByTrackId(args.albumId, args.trackId, args.size, args.asc)
1236
+ write_result(result, oprot, 'queryTrackRecordPageByTrackId', seqid)
1237
+ end
1238
+
1239
+ def process_queryMyTrackRecordsOrderByCreatedAt(seqid, iprot, oprot)
1240
+ args = read_args(iprot, QueryMyTrackRecordsOrderByCreatedAt_args)
1241
+ result = QueryMyTrackRecordsOrderByCreatedAt_result.new()
1242
+ result.success = @handler.queryMyTrackRecordsOrderByCreatedAt(args.albumId, args.uid, args.offset, args.count, args.asc)
1243
+ write_result(result, oprot, 'queryMyTrackRecordsOrderByCreatedAt', seqid)
1244
+ end
1245
+
1246
+ end
1247
+
1248
+ # HELPER FUNCTIONS AND STRUCTURES
1249
+
1250
+ class QuerySimpleAlbum_args
1251
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1252
+ ID = 1
1253
+
1254
+ FIELDS = {
1255
+ ID => {:type => ::Thrift::Types::I64, :name => 'id'}
1256
+ }
1257
+
1258
+ def struct_fields; FIELDS; end
1259
+
1260
+ def validate
1261
+ end
1262
+
1263
+ ::Thrift::Struct.generate_accessors self
1264
+ end
1265
+
1266
+ class QuerySimpleAlbum_result
1267
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1268
+ SUCCESS = 0
1269
+
1270
+ FIELDS = {
1271
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Content::Thrift::SimpleAlbum}
1272
+ }
1273
+
1274
+ def struct_fields; FIELDS; end
1275
+
1276
+ def validate
1277
+ end
1278
+
1279
+ ::Thrift::Struct.generate_accessors self
1280
+ end
1281
+
1282
+ class QueryBriefAlbum_args
1283
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1284
+ ID = 1
1285
+
1286
+ FIELDS = {
1287
+ ID => {:type => ::Thrift::Types::I64, :name => 'id'}
1288
+ }
1289
+
1290
+ def struct_fields; FIELDS; end
1291
+
1292
+ def validate
1293
+ end
1294
+
1295
+ ::Thrift::Struct.generate_accessors self
1296
+ end
1297
+
1298
+ class QueryBriefAlbum_result
1299
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1300
+ SUCCESS = 0
1301
+
1302
+ FIELDS = {
1303
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Content::Thrift::BriefAlbum}
1304
+ }
1305
+
1306
+ def struct_fields; FIELDS; end
1307
+
1308
+ def validate
1309
+ end
1310
+
1311
+ ::Thrift::Struct.generate_accessors self
1312
+ end
1313
+
1314
+ class QueryBasicAlbum_args
1315
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1316
+ ID = 1
1317
+
1318
+ FIELDS = {
1319
+ ID => {:type => ::Thrift::Types::I64, :name => 'id'}
1320
+ }
1321
+
1322
+ def struct_fields; FIELDS; end
1323
+
1324
+ def validate
1325
+ end
1326
+
1327
+ ::Thrift::Struct.generate_accessors self
1328
+ end
1329
+
1330
+ class QueryBasicAlbum_result
1331
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1332
+ SUCCESS = 0
1333
+
1334
+ FIELDS = {
1335
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Content::Thrift::BasicAlbum}
1336
+ }
1337
+
1338
+ def struct_fields; FIELDS; end
1339
+
1340
+ def validate
1341
+ end
1342
+
1343
+ ::Thrift::Struct.generate_accessors self
1344
+ end
1345
+
1346
+ class QueryRichAlbum_args
1347
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1348
+ ID = 1
1349
+
1350
+ FIELDS = {
1351
+ ID => {:type => ::Thrift::Types::I64, :name => 'id'}
1352
+ }
1353
+
1354
+ def struct_fields; FIELDS; end
1355
+
1356
+ def validate
1357
+ end
1358
+
1359
+ ::Thrift::Struct.generate_accessors self
1360
+ end
1361
+
1362
+ class QueryRichAlbum_result
1363
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1364
+ SUCCESS = 0
1365
+
1366
+ FIELDS = {
1367
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Content::Thrift::RichAlbum}
1368
+ }
1369
+
1370
+ def struct_fields; FIELDS; end
1371
+
1372
+ def validate
1373
+ end
1374
+
1375
+ ::Thrift::Struct.generate_accessors self
1376
+ end
1377
+
1378
+ class QuerySimpleAlbums_args
1379
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1380
+ IDS = 1
1381
+
1382
+ FIELDS = {
1383
+ IDS => {:type => ::Thrift::Types::LIST, :name => 'ids', :element => {:type => ::Thrift::Types::I64}}
1384
+ }
1385
+
1386
+ def struct_fields; FIELDS; end
1387
+
1388
+ def validate
1389
+ end
1390
+
1391
+ ::Thrift::Struct.generate_accessors self
1392
+ end
1393
+
1394
+ class QuerySimpleAlbums_result
1395
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1396
+ SUCCESS = 0
1397
+
1398
+ FIELDS = {
1399
+ SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::I64}, :value => {:type => ::Thrift::Types::STRUCT, :class => ::Service::Content::Thrift::SimpleAlbum}}
1400
+ }
1401
+
1402
+ def struct_fields; FIELDS; end
1403
+
1404
+ def validate
1405
+ end
1406
+
1407
+ ::Thrift::Struct.generate_accessors self
1408
+ end
1409
+
1410
+ class QueryBriefAlbums_args
1411
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1412
+ IDS = 1
1413
+
1414
+ FIELDS = {
1415
+ IDS => {:type => ::Thrift::Types::LIST, :name => 'ids', :element => {:type => ::Thrift::Types::I64}}
1416
+ }
1417
+
1418
+ def struct_fields; FIELDS; end
1419
+
1420
+ def validate
1421
+ end
1422
+
1423
+ ::Thrift::Struct.generate_accessors self
1424
+ end
1425
+
1426
+ class QueryBriefAlbums_result
1427
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1428
+ SUCCESS = 0
1429
+
1430
+ FIELDS = {
1431
+ SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::I64}, :value => {:type => ::Thrift::Types::STRUCT, :class => ::Service::Content::Thrift::BriefAlbum}}
1432
+ }
1433
+
1434
+ def struct_fields; FIELDS; end
1435
+
1436
+ def validate
1437
+ end
1438
+
1439
+ ::Thrift::Struct.generate_accessors self
1440
+ end
1441
+
1442
+ class QueryBasicAlbums_args
1443
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1444
+ IDS = 1
1445
+
1446
+ FIELDS = {
1447
+ IDS => {:type => ::Thrift::Types::LIST, :name => 'ids', :element => {:type => ::Thrift::Types::I64}}
1448
+ }
1449
+
1450
+ def struct_fields; FIELDS; end
1451
+
1452
+ def validate
1453
+ end
1454
+
1455
+ ::Thrift::Struct.generate_accessors self
1456
+ end
1457
+
1458
+ class QueryBasicAlbums_result
1459
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1460
+ SUCCESS = 0
1461
+
1462
+ FIELDS = {
1463
+ SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::I64}, :value => {:type => ::Thrift::Types::STRUCT, :class => ::Service::Content::Thrift::BasicAlbum}}
1464
+ }
1465
+
1466
+ def struct_fields; FIELDS; end
1467
+
1468
+ def validate
1469
+ end
1470
+
1471
+ ::Thrift::Struct.generate_accessors self
1472
+ end
1473
+
1474
+ class CreateAlbum_args
1475
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1476
+ ALBUM = 1
1477
+ EXTRAPARAMS = 2
1478
+
1479
+ FIELDS = {
1480
+ ALBUM => {:type => ::Thrift::Types::STRUCT, :name => 'album', :class => ::Service::Content::Thrift::InsertableAlbum},
1481
+ EXTRAPARAMS => {:type => ::Thrift::Types::MAP, :name => 'extraParams', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}}
1482
+ }
1483
+
1484
+ def struct_fields; FIELDS; end
1485
+
1486
+ def validate
1487
+ end
1488
+
1489
+ ::Thrift::Struct.generate_accessors self
1490
+ end
1491
+
1492
+ class CreateAlbum_result
1493
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1494
+ SUCCESS = 0
1495
+
1496
+ FIELDS = {
1497
+ SUCCESS => {:type => ::Thrift::Types::I64, :name => 'success'}
1498
+ }
1499
+
1500
+ def struct_fields; FIELDS; end
1501
+
1502
+ def validate
1503
+ end
1504
+
1505
+ ::Thrift::Struct.generate_accessors self
1506
+ end
1507
+
1508
+ class UpdateAlbum_args
1509
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1510
+ ALBUM = 1
1511
+ EXTRAPARAMS = 2
1512
+
1513
+ FIELDS = {
1514
+ ALBUM => {:type => ::Thrift::Types::STRUCT, :name => 'album', :class => ::Service::Content::Thrift::AlterableAlbum},
1515
+ EXTRAPARAMS => {:type => ::Thrift::Types::MAP, :name => 'extraParams', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}}
1516
+ }
1517
+
1518
+ def struct_fields; FIELDS; end
1519
+
1520
+ def validate
1521
+ end
1522
+
1523
+ ::Thrift::Struct.generate_accessors self
1524
+ end
1525
+
1526
+ class UpdateAlbum_result
1527
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1528
+
1529
+ FIELDS = {
1530
+
1531
+ }
1532
+
1533
+ def struct_fields; FIELDS; end
1534
+
1535
+ def validate
1536
+ end
1537
+
1538
+ ::Thrift::Struct.generate_accessors self
1539
+ end
1540
+
1541
+ class UpdateDigStatus_args
1542
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1543
+ UID = 1
1544
+ ALBUMID = 2
1545
+ DIGSTATUS = 3
1546
+
1547
+ FIELDS = {
1548
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
1549
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'},
1550
+ DIGSTATUS => {:type => ::Thrift::Types::I32, :name => 'digStatus'}
1551
+ }
1552
+
1553
+ def struct_fields; FIELDS; end
1554
+
1555
+ def validate
1556
+ end
1557
+
1558
+ ::Thrift::Struct.generate_accessors self
1559
+ end
1560
+
1561
+ class UpdateDigStatus_result
1562
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1563
+
1564
+ FIELDS = {
1565
+
1566
+ }
1567
+
1568
+ def struct_fields; FIELDS; end
1569
+
1570
+ def validate
1571
+ end
1572
+
1573
+ ::Thrift::Struct.generate_accessors self
1574
+ end
1575
+
1576
+ class UpdateIsPublic_args
1577
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1578
+ UID = 1
1579
+ ALBUMID = 2
1580
+ ISPUBLIC = 3
1581
+
1582
+ FIELDS = {
1583
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
1584
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'},
1585
+ ISPUBLIC => {:type => ::Thrift::Types::BOOL, :name => 'isPublic'}
1586
+ }
1587
+
1588
+ def struct_fields; FIELDS; end
1589
+
1590
+ def validate
1591
+ end
1592
+
1593
+ ::Thrift::Struct.generate_accessors self
1594
+ end
1595
+
1596
+ class UpdateIsPublic_result
1597
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1598
+
1599
+ FIELDS = {
1600
+
1601
+ }
1602
+
1603
+ def struct_fields; FIELDS; end
1604
+
1605
+ def validate
1606
+ end
1607
+
1608
+ ::Thrift::Struct.generate_accessors self
1609
+ end
1610
+
1611
+ class DeleteAlbum_args
1612
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1613
+ ALBUM = 1
1614
+ EXTRAPARAMS = 2
1615
+
1616
+ FIELDS = {
1617
+ ALBUM => {:type => ::Thrift::Types::STRUCT, :name => 'album', :class => ::Service::Content::Thrift::DeletableAlbum},
1618
+ EXTRAPARAMS => {:type => ::Thrift::Types::MAP, :name => 'extraParams', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}}
1619
+ }
1620
+
1621
+ def struct_fields; FIELDS; end
1622
+
1623
+ def validate
1624
+ end
1625
+
1626
+ ::Thrift::Struct.generate_accessors self
1627
+ end
1628
+
1629
+ class DeleteAlbum_result
1630
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1631
+ E = 1
1632
+
1633
+ FIELDS = {
1634
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::Service::Album::Api::AlbumException}
1635
+ }
1636
+
1637
+ def struct_fields; FIELDS; end
1638
+
1639
+ def validate
1640
+ end
1641
+
1642
+ ::Thrift::Struct.generate_accessors self
1643
+ end
1644
+
1645
+ class QueryBasicAlbumsByIdAndUid_args
1646
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1647
+ IDS = 1
1648
+
1649
+ FIELDS = {
1650
+ IDS => {:type => ::Thrift::Types::LIST, :name => 'ids', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Service::Content::Thrift::DeletableAlbum}}
1651
+ }
1652
+
1653
+ def struct_fields; FIELDS; end
1654
+
1655
+ def validate
1656
+ end
1657
+
1658
+ ::Thrift::Struct.generate_accessors self
1659
+ end
1660
+
1661
+ class QueryBasicAlbumsByIdAndUid_result
1662
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1663
+ SUCCESS = 0
1664
+
1665
+ FIELDS = {
1666
+ SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::I64}, :value => {:type => ::Thrift::Types::STRUCT, :class => ::Service::Content::Thrift::BasicAlbum}}
1667
+ }
1668
+
1669
+ def struct_fields; FIELDS; end
1670
+
1671
+ def validate
1672
+ end
1673
+
1674
+ ::Thrift::Struct.generate_accessors self
1675
+ end
1676
+
1677
+ class QueryBasicAlbumsWithTrack_args
1678
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1679
+ IDS = 1
1680
+
1681
+ FIELDS = {
1682
+ IDS => {:type => ::Thrift::Types::LIST, :name => 'ids', :element => {:type => ::Thrift::Types::I64}}
1683
+ }
1684
+
1685
+ def struct_fields; FIELDS; end
1686
+
1687
+ def validate
1688
+ end
1689
+
1690
+ ::Thrift::Struct.generate_accessors self
1691
+ end
1692
+
1693
+ class QueryBasicAlbumsWithTrack_result
1694
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1695
+ SUCCESS = 0
1696
+
1697
+ FIELDS = {
1698
+ SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::I64}, :value => {:type => ::Thrift::Types::STRUCT, :class => ::Service::Album::Api::BasicAlbumWithTrack}}
1699
+ }
1700
+
1701
+ def struct_fields; FIELDS; end
1702
+
1703
+ def validate
1704
+ end
1705
+
1706
+ ::Thrift::Struct.generate_accessors self
1707
+ end
1708
+
1709
+ class QuerySimpleAlbumsByIdAndUid_args
1710
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1711
+ IDS = 1
1712
+
1713
+ FIELDS = {
1714
+ IDS => {:type => ::Thrift::Types::LIST, :name => 'ids', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Service::Content::Thrift::DeletableAlbum}}
1715
+ }
1716
+
1717
+ def struct_fields; FIELDS; end
1718
+
1719
+ def validate
1720
+ end
1721
+
1722
+ ::Thrift::Struct.generate_accessors self
1723
+ end
1724
+
1725
+ class QuerySimpleAlbumsByIdAndUid_result
1726
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1727
+ SUCCESS = 0
1728
+
1729
+ FIELDS = {
1730
+ SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::I64}, :value => {:type => ::Thrift::Types::STRUCT, :class => ::Service::Content::Thrift::SimpleAlbum}}
1731
+ }
1732
+
1733
+ def struct_fields; FIELDS; end
1734
+
1735
+ def validate
1736
+ end
1737
+
1738
+ ::Thrift::Struct.generate_accessors self
1739
+ end
1740
+
1741
+ class QuerySelfSimpleAlbums_args
1742
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1743
+ UID = 1
1744
+ PAGE = 2
1745
+ SIZE = 3
1746
+
1747
+ FIELDS = {
1748
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
1749
+ PAGE => {:type => ::Thrift::Types::I32, :name => 'page'},
1750
+ SIZE => {:type => ::Thrift::Types::I32, :name => 'size'}
1751
+ }
1752
+
1753
+ def struct_fields; FIELDS; end
1754
+
1755
+ def validate
1756
+ end
1757
+
1758
+ ::Thrift::Struct.generate_accessors self
1759
+ end
1760
+
1761
+ class QuerySelfSimpleAlbums_result
1762
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1763
+ SUCCESS = 0
1764
+
1765
+ FIELDS = {
1766
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Content::Thrift::SimpleAlbumPageResult}
1767
+ }
1768
+
1769
+ def struct_fields; FIELDS; end
1770
+
1771
+ def validate
1772
+ end
1773
+
1774
+ ::Thrift::Struct.generate_accessors self
1775
+ end
1776
+
1777
+ class QueryOtherSimpleAlbums_args
1778
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1779
+ UID = 1
1780
+ PAGE = 2
1781
+ SIZE = 3
1782
+
1783
+ FIELDS = {
1784
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
1785
+ PAGE => {:type => ::Thrift::Types::I32, :name => 'page'},
1786
+ SIZE => {:type => ::Thrift::Types::I32, :name => 'size'}
1787
+ }
1788
+
1789
+ def struct_fields; FIELDS; end
1790
+
1791
+ def validate
1792
+ end
1793
+
1794
+ ::Thrift::Struct.generate_accessors self
1795
+ end
1796
+
1797
+ class QueryOtherSimpleAlbums_result
1798
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1799
+ SUCCESS = 0
1800
+
1801
+ FIELDS = {
1802
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Content::Thrift::SimpleAlbumPageResult}
1803
+ }
1804
+
1805
+ def struct_fields; FIELDS; end
1806
+
1807
+ def validate
1808
+ end
1809
+
1810
+ ::Thrift::Struct.generate_accessors self
1811
+ end
1812
+
1813
+ class QuerySelfBasicAlbums_args
1814
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1815
+ UID = 1
1816
+ PAGE = 2
1817
+ SIZE = 3
1818
+ ORDER = 4
1819
+
1820
+ FIELDS = {
1821
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
1822
+ PAGE => {:type => ::Thrift::Types::I32, :name => 'page'},
1823
+ SIZE => {:type => ::Thrift::Types::I32, :name => 'size'},
1824
+ ORDER => {:type => ::Thrift::Types::STRING, :name => 'order'}
1825
+ }
1826
+
1827
+ def struct_fields; FIELDS; end
1828
+
1829
+ def validate
1830
+ end
1831
+
1832
+ ::Thrift::Struct.generate_accessors self
1833
+ end
1834
+
1835
+ class QuerySelfBasicAlbums_result
1836
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1837
+ SUCCESS = 0
1838
+
1839
+ FIELDS = {
1840
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Content::Thrift::BasicAlbumPageResult}
1841
+ }
1842
+
1843
+ def struct_fields; FIELDS; end
1844
+
1845
+ def validate
1846
+ end
1847
+
1848
+ ::Thrift::Struct.generate_accessors self
1849
+ end
1850
+
1851
+ class QueryOtherBasicAlbums_args
1852
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1853
+ UID = 1
1854
+ PAGE = 2
1855
+ SIZE = 3
1856
+ ORDER = 4
1857
+
1858
+ FIELDS = {
1859
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
1860
+ PAGE => {:type => ::Thrift::Types::I32, :name => 'page'},
1861
+ SIZE => {:type => ::Thrift::Types::I32, :name => 'size'},
1862
+ ORDER => {:type => ::Thrift::Types::STRING, :name => 'order'}
1863
+ }
1864
+
1865
+ def struct_fields; FIELDS; end
1866
+
1867
+ def validate
1868
+ end
1869
+
1870
+ ::Thrift::Struct.generate_accessors self
1871
+ end
1872
+
1873
+ class QueryOtherBasicAlbums_result
1874
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1875
+ SUCCESS = 0
1876
+
1877
+ FIELDS = {
1878
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Content::Thrift::BasicAlbumPageResult}
1879
+ }
1880
+
1881
+ def struct_fields; FIELDS; end
1882
+
1883
+ def validate
1884
+ end
1885
+
1886
+ ::Thrift::Struct.generate_accessors self
1887
+ end
1888
+
1889
+ class QueryUserAlbumCount_args
1890
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1891
+ UID = 1
1892
+ ISSELF = 2
1893
+
1894
+ FIELDS = {
1895
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
1896
+ ISSELF => {:type => ::Thrift::Types::BOOL, :name => 'isSelf'}
1897
+ }
1898
+
1899
+ def struct_fields; FIELDS; end
1900
+
1901
+ def validate
1902
+ end
1903
+
1904
+ ::Thrift::Struct.generate_accessors self
1905
+ end
1906
+
1907
+ class QueryUserAlbumCount_result
1908
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1909
+ SUCCESS = 0
1910
+
1911
+ FIELDS = {
1912
+ SUCCESS => {:type => ::Thrift::Types::I32, :name => 'success'}
1913
+ }
1914
+
1915
+ def struct_fields; FIELDS; end
1916
+
1917
+ def validate
1918
+ end
1919
+
1920
+ ::Thrift::Struct.generate_accessors self
1921
+ end
1922
+
1923
+ class QueryAlbumTrackIds_args
1924
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1925
+ ALBUMID = 1
1926
+ PAGE = 2
1927
+ PAGESIZE = 3
1928
+ ASC = 4
1929
+
1930
+ FIELDS = {
1931
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'},
1932
+ PAGE => {:type => ::Thrift::Types::I32, :name => 'page'},
1933
+ PAGESIZE => {:type => ::Thrift::Types::I32, :name => 'pageSize'},
1934
+ ASC => {:type => ::Thrift::Types::BOOL, :name => 'asc'}
1935
+ }
1936
+
1937
+ def struct_fields; FIELDS; end
1938
+
1939
+ def validate
1940
+ end
1941
+
1942
+ ::Thrift::Struct.generate_accessors self
1943
+ end
1944
+
1945
+ class QueryAlbumTrackIds_result
1946
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1947
+ SUCCESS = 0
1948
+
1949
+ FIELDS = {
1950
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Album::Api::AlbumTrackPageResult}
1951
+ }
1952
+
1953
+ def struct_fields; FIELDS; end
1954
+
1955
+ def validate
1956
+ end
1957
+
1958
+ ::Thrift::Struct.generate_accessors self
1959
+ end
1960
+
1961
+ class QueryTrackRecords_args
1962
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1963
+ UID = 1
1964
+ ALBUMID = 2
1965
+ OFFSET = 3
1966
+ COUNT = 4
1967
+ ASC = 5
1968
+
1969
+ FIELDS = {
1970
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
1971
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'},
1972
+ OFFSET => {:type => ::Thrift::Types::I32, :name => 'offset'},
1973
+ COUNT => {:type => ::Thrift::Types::I32, :name => 'count'},
1974
+ ASC => {:type => ::Thrift::Types::BOOL, :name => 'asc'}
1975
+ }
1976
+
1977
+ def struct_fields; FIELDS; end
1978
+
1979
+ def validate
1980
+ end
1981
+
1982
+ ::Thrift::Struct.generate_accessors self
1983
+ end
1984
+
1985
+ class QueryTrackRecords_result
1986
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1987
+ SUCCESS = 0
1988
+
1989
+ FIELDS = {
1990
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Content::Thrift::TrackRecordPageResult}
1991
+ }
1992
+
1993
+ def struct_fields; FIELDS; end
1994
+
1995
+ def validate
1996
+ end
1997
+
1998
+ ::Thrift::Struct.generate_accessors self
1999
+ end
2000
+
2001
+ class QueryMyTrackRecords_args
2002
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2003
+ CURRENTUID = 1
2004
+ ALBUMID = 2
2005
+ OFFSET = 3
2006
+ COUNT = 4
2007
+ ASC = 5
2008
+
2009
+ FIELDS = {
2010
+ CURRENTUID => {:type => ::Thrift::Types::I64, :name => 'currentUid'},
2011
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'},
2012
+ OFFSET => {:type => ::Thrift::Types::I32, :name => 'offset'},
2013
+ COUNT => {:type => ::Thrift::Types::I32, :name => 'count'},
2014
+ ASC => {:type => ::Thrift::Types::BOOL, :name => 'asc'}
2015
+ }
2016
+
2017
+ def struct_fields; FIELDS; end
2018
+
2019
+ def validate
2020
+ end
2021
+
2022
+ ::Thrift::Struct.generate_accessors self
2023
+ end
2024
+
2025
+ class QueryMyTrackRecords_result
2026
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2027
+ SUCCESS = 0
2028
+
2029
+ FIELDS = {
2030
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Content::Thrift::TrackRecordPageResult}
2031
+ }
2032
+
2033
+ def struct_fields; FIELDS; end
2034
+
2035
+ def validate
2036
+ end
2037
+
2038
+ ::Thrift::Struct.generate_accessors self
2039
+ end
2040
+
2041
+ class QueryAlbumPlayList_args
2042
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2043
+ UID = 1
2044
+ ALBUMID = 2
2045
+ OFFSET = 3
2046
+ COUNT = 4
2047
+ ASC = 5
2048
+
2049
+ FIELDS = {
2050
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
2051
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'},
2052
+ OFFSET => {:type => ::Thrift::Types::I32, :name => 'offset'},
2053
+ COUNT => {:type => ::Thrift::Types::I32, :name => 'count'},
2054
+ ASC => {:type => ::Thrift::Types::BOOL, :name => 'asc'}
2055
+ }
2056
+
2057
+ def struct_fields; FIELDS; end
2058
+
2059
+ def validate
2060
+ end
2061
+
2062
+ ::Thrift::Struct.generate_accessors self
2063
+ end
2064
+
2065
+ class QueryAlbumPlayList_result
2066
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2067
+ SUCCESS = 0
2068
+
2069
+ FIELDS = {
2070
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Content::Thrift::SimpleTrackRecordPageResult}
2071
+ }
2072
+
2073
+ def struct_fields; FIELDS; end
2074
+
2075
+ def validate
2076
+ end
2077
+
2078
+ ::Thrift::Struct.generate_accessors self
2079
+ end
2080
+
2081
+ class DeleteAlbumRecordsCache_args
2082
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2083
+ ALBUMID = 1
2084
+
2085
+ FIELDS = {
2086
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'}
2087
+ }
2088
+
2089
+ def struct_fields; FIELDS; end
2090
+
2091
+ def validate
2092
+ end
2093
+
2094
+ ::Thrift::Struct.generate_accessors self
2095
+ end
2096
+
2097
+ class DeleteAlbumRecordsCache_result
2098
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2099
+
2100
+ FIELDS = {
2101
+
2102
+ }
2103
+
2104
+ def struct_fields; FIELDS; end
2105
+
2106
+ def validate
2107
+ end
2108
+
2109
+ ::Thrift::Struct.generate_accessors self
2110
+ end
2111
+
2112
+ class UpdateRecordOrder_args
2113
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2114
+ UID = 1
2115
+ ALBUMID = 2
2116
+ RECORDID = 3
2117
+ POSITION = 4
2118
+
2119
+ FIELDS = {
2120
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
2121
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'},
2122
+ RECORDID => {:type => ::Thrift::Types::I64, :name => 'recordId'},
2123
+ POSITION => {:type => ::Thrift::Types::I32, :name => 'position'}
2124
+ }
2125
+
2126
+ def struct_fields; FIELDS; end
2127
+
2128
+ def validate
2129
+ end
2130
+
2131
+ ::Thrift::Struct.generate_accessors self
2132
+ end
2133
+
2134
+ class UpdateRecordOrder_result
2135
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2136
+ SUCCESS = 0
2137
+
2138
+ FIELDS = {
2139
+ SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'}
2140
+ }
2141
+
2142
+ def struct_fields; FIELDS; end
2143
+
2144
+ def validate
2145
+ end
2146
+
2147
+ ::Thrift::Struct.generate_accessors self
2148
+ end
2149
+
2150
+ class UpdateRecordsOrder_args
2151
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2152
+ ALBUMID = 1
2153
+ IDS = 2
2154
+
2155
+ FIELDS = {
2156
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'},
2157
+ IDS => {:type => ::Thrift::Types::LIST, :name => 'ids', :element => {:type => ::Thrift::Types::I64}}
2158
+ }
2159
+
2160
+ def struct_fields; FIELDS; end
2161
+
2162
+ def validate
2163
+ end
2164
+
2165
+ ::Thrift::Struct.generate_accessors self
2166
+ end
2167
+
2168
+ class UpdateRecordsOrder_result
2169
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2170
+
2171
+ FIELDS = {
2172
+
2173
+ }
2174
+
2175
+ def struct_fields; FIELDS; end
2176
+
2177
+ def validate
2178
+ end
2179
+
2180
+ ::Thrift::Struct.generate_accessors self
2181
+ end
2182
+
2183
+ class GetAlbumSize_args
2184
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2185
+ UID = 1
2186
+ ALBUMID = 2
2187
+
2188
+ FIELDS = {
2189
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
2190
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'}
2191
+ }
2192
+
2193
+ def struct_fields; FIELDS; end
2194
+
2195
+ def validate
2196
+ end
2197
+
2198
+ ::Thrift::Struct.generate_accessors self
2199
+ end
2200
+
2201
+ class GetAlbumSize_result
2202
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2203
+ SUCCESS = 0
2204
+
2205
+ FIELDS = {
2206
+ SUCCESS => {:type => ::Thrift::Types::I32, :name => 'success'}
2207
+ }
2208
+
2209
+ def struct_fields; FIELDS; end
2210
+
2211
+ def validate
2212
+ end
2213
+
2214
+ ::Thrift::Struct.generate_accessors self
2215
+ end
2216
+
2217
+ class RevertRecords_args
2218
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2219
+ ALBUMID = 1
2220
+ ORDER = 2
2221
+
2222
+ FIELDS = {
2223
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'},
2224
+ ORDER => {:type => ::Thrift::Types::BOOL, :name => 'order'}
2225
+ }
2226
+
2227
+ def struct_fields; FIELDS; end
2228
+
2229
+ def validate
2230
+ end
2231
+
2232
+ ::Thrift::Struct.generate_accessors self
2233
+ end
2234
+
2235
+ class RevertRecords_result
2236
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2237
+
2238
+ FIELDS = {
2239
+
2240
+ }
2241
+
2242
+ def struct_fields; FIELDS; end
2243
+
2244
+ def validate
2245
+ end
2246
+
2247
+ ::Thrift::Struct.generate_accessors self
2248
+ end
2249
+
2250
+ class GetPosition_args
2251
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2252
+ ALBUMID = 1
2253
+ RECORDID = 2
2254
+
2255
+ FIELDS = {
2256
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'},
2257
+ RECORDID => {:type => ::Thrift::Types::I64, :name => 'recordId'}
2258
+ }
2259
+
2260
+ def struct_fields; FIELDS; end
2261
+
2262
+ def validate
2263
+ end
2264
+
2265
+ ::Thrift::Struct.generate_accessors self
2266
+ end
2267
+
2268
+ class GetPosition_result
2269
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2270
+ SUCCESS = 0
2271
+
2272
+ FIELDS = {
2273
+ SUCCESS => {:type => ::Thrift::Types::I32, :name => 'success'}
2274
+ }
2275
+
2276
+ def struct_fields; FIELDS; end
2277
+
2278
+ def validate
2279
+ end
2280
+
2281
+ ::Thrift::Struct.generate_accessors self
2282
+ end
2283
+
2284
+ class QueryRecordsAfterId_args
2285
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2286
+ UID = 1
2287
+ ALBUMID = 2
2288
+ RECORDID = 3
2289
+ COUNT = 4
2290
+ ASC = 5
2291
+
2292
+ FIELDS = {
2293
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
2294
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'},
2295
+ RECORDID => {:type => ::Thrift::Types::I64, :name => 'recordId'},
2296
+ COUNT => {:type => ::Thrift::Types::I32, :name => 'count'},
2297
+ ASC => {:type => ::Thrift::Types::BOOL, :name => 'asc'}
2298
+ }
2299
+
2300
+ def struct_fields; FIELDS; end
2301
+
2302
+ def validate
2303
+ end
2304
+
2305
+ ::Thrift::Struct.generate_accessors self
2306
+ end
2307
+
2308
+ class QueryRecordsAfterId_result
2309
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2310
+ SUCCESS = 0
2311
+
2312
+ FIELDS = {
2313
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Content::Thrift::TrackRecordPageResult}
2314
+ }
2315
+
2316
+ def struct_fields; FIELDS; end
2317
+
2318
+ def validate
2319
+ end
2320
+
2321
+ ::Thrift::Struct.generate_accessors self
2322
+ end
2323
+
2324
+ class GetMyAlbumSize_args
2325
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2326
+ UID = 1
2327
+ ALBUMID = 2
2328
+
2329
+ FIELDS = {
2330
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
2331
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'}
2332
+ }
2333
+
2334
+ def struct_fields; FIELDS; end
2335
+
2336
+ def validate
2337
+ end
2338
+
2339
+ ::Thrift::Struct.generate_accessors self
2340
+ end
2341
+
2342
+ class GetMyAlbumSize_result
2343
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2344
+ SUCCESS = 0
2345
+
2346
+ FIELDS = {
2347
+ SUCCESS => {:type => ::Thrift::Types::I32, :name => 'success'}
2348
+ }
2349
+
2350
+ def struct_fields; FIELDS; end
2351
+
2352
+ def validate
2353
+ end
2354
+
2355
+ ::Thrift::Struct.generate_accessors self
2356
+ end
2357
+
2358
+ class OwnToAlbum_args
2359
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2360
+ UID = 1
2361
+ ALBUMID = 2
2362
+ RECORDID = 3
2363
+
2364
+ FIELDS = {
2365
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
2366
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'},
2367
+ RECORDID => {:type => ::Thrift::Types::I64, :name => 'recordId'}
2368
+ }
2369
+
2370
+ def struct_fields; FIELDS; end
2371
+
2372
+ def validate
2373
+ end
2374
+
2375
+ ::Thrift::Struct.generate_accessors self
2376
+ end
2377
+
2378
+ class OwnToAlbum_result
2379
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2380
+ SUCCESS = 0
2381
+
2382
+ FIELDS = {
2383
+ SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'}
2384
+ }
2385
+
2386
+ def struct_fields; FIELDS; end
2387
+
2388
+ def validate
2389
+ end
2390
+
2391
+ ::Thrift::Struct.generate_accessors self
2392
+ end
2393
+
2394
+ class QueryTrackRecordsByAlbumId_args
2395
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2396
+ ALBUMID = 1
2397
+ OFFSET = 2
2398
+ COUNT = 3
2399
+ ASC = 4
2400
+
2401
+ FIELDS = {
2402
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'},
2403
+ OFFSET => {:type => ::Thrift::Types::I32, :name => 'offset'},
2404
+ COUNT => {:type => ::Thrift::Types::I32, :name => 'count'},
2405
+ ASC => {:type => ::Thrift::Types::BOOL, :name => 'asc'}
2406
+ }
2407
+
2408
+ def struct_fields; FIELDS; end
2409
+
2410
+ def validate
2411
+ end
2412
+
2413
+ ::Thrift::Struct.generate_accessors self
2414
+ end
2415
+
2416
+ class QueryTrackRecordsByAlbumId_result
2417
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2418
+ SUCCESS = 0
2419
+
2420
+ FIELDS = {
2421
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Content::Thrift::TrackRecordPageResult}
2422
+ }
2423
+
2424
+ def struct_fields; FIELDS; end
2425
+
2426
+ def validate
2427
+ end
2428
+
2429
+ ::Thrift::Struct.generate_accessors self
2430
+ end
2431
+
2432
+ class AlbumOff_args
2433
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2434
+ ALBUMID = 1
2435
+ OFFTYPE = 2
2436
+
2437
+ FIELDS = {
2438
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'},
2439
+ OFFTYPE => {:type => ::Thrift::Types::I32, :name => 'offType'}
2440
+ }
2441
+
2442
+ def struct_fields; FIELDS; end
2443
+
2444
+ def validate
2445
+ end
2446
+
2447
+ ::Thrift::Struct.generate_accessors self
2448
+ end
2449
+
2450
+ class AlbumOff_result
2451
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2452
+
2453
+ FIELDS = {
2454
+
2455
+ }
2456
+
2457
+ def struct_fields; FIELDS; end
2458
+
2459
+ def validate
2460
+ end
2461
+
2462
+ ::Thrift::Struct.generate_accessors self
2463
+ end
2464
+
2465
+ class AlbumOn_args
2466
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2467
+ ALBUMID = 1
2468
+ DIGSTATUS = 2
2469
+
2470
+ FIELDS = {
2471
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'},
2472
+ DIGSTATUS => {:type => ::Thrift::Types::I32, :name => 'digStatus'}
2473
+ }
2474
+
2475
+ def struct_fields; FIELDS; end
2476
+
2477
+ def validate
2478
+ end
2479
+
2480
+ ::Thrift::Struct.generate_accessors self
2481
+ end
2482
+
2483
+ class AlbumOn_result
2484
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2485
+
2486
+ FIELDS = {
2487
+
2488
+ }
2489
+
2490
+ def struct_fields; FIELDS; end
2491
+
2492
+ def validate
2493
+ end
2494
+
2495
+ ::Thrift::Struct.generate_accessors self
2496
+ end
2497
+
2498
+ class LastTrackOfAlbum_args
2499
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2500
+ ALBUMID = 1
2501
+
2502
+ FIELDS = {
2503
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'}
2504
+ }
2505
+
2506
+ def struct_fields; FIELDS; end
2507
+
2508
+ def validate
2509
+ end
2510
+
2511
+ ::Thrift::Struct.generate_accessors self
2512
+ end
2513
+
2514
+ class LastTrackOfAlbum_result
2515
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2516
+ SUCCESS = 0
2517
+
2518
+ FIELDS = {
2519
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Content::Thrift::SimpleTrackRecord}
2520
+ }
2521
+
2522
+ def struct_fields; FIELDS; end
2523
+
2524
+ def validate
2525
+ end
2526
+
2527
+ ::Thrift::Struct.generate_accessors self
2528
+ end
2529
+
2530
+ class LastTrackOfAlbumByUid_args
2531
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2532
+ ALBUMID = 1
2533
+ UID = 2
2534
+
2535
+ FIELDS = {
2536
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'},
2537
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'}
2538
+ }
2539
+
2540
+ def struct_fields; FIELDS; end
2541
+
2542
+ def validate
2543
+ end
2544
+
2545
+ ::Thrift::Struct.generate_accessors self
2546
+ end
2547
+
2548
+ class LastTrackOfAlbumByUid_result
2549
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2550
+ SUCCESS = 0
2551
+
2552
+ FIELDS = {
2553
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Content::Thrift::SimpleTrackRecord}
2554
+ }
2555
+
2556
+ def struct_fields; FIELDS; end
2557
+
2558
+ def validate
2559
+ end
2560
+
2561
+ ::Thrift::Struct.generate_accessors self
2562
+ end
2563
+
2564
+ class QueryDefaultBasicAlbum_args
2565
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2566
+ UID = 1
2567
+ ISPUBLIC = 2
2568
+
2569
+ FIELDS = {
2570
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
2571
+ ISPUBLIC => {:type => ::Thrift::Types::BOOL, :name => 'isPublic'}
2572
+ }
2573
+
2574
+ def struct_fields; FIELDS; end
2575
+
2576
+ def validate
2577
+ end
2578
+
2579
+ ::Thrift::Struct.generate_accessors self
2580
+ end
2581
+
2582
+ class QueryDefaultBasicAlbum_result
2583
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2584
+ SUCCESS = 0
2585
+
2586
+ FIELDS = {
2587
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Content::Thrift::BasicAlbum}
2588
+ }
2589
+
2590
+ def struct_fields; FIELDS; end
2591
+
2592
+ def validate
2593
+ end
2594
+
2595
+ ::Thrift::Struct.generate_accessors self
2596
+ end
2597
+
2598
+ class QueryDefaultAlbumId_args
2599
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2600
+ UID = 1
2601
+ ISPUBLIC = 2
2602
+
2603
+ FIELDS = {
2604
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
2605
+ ISPUBLIC => {:type => ::Thrift::Types::BOOL, :name => 'isPublic'}
2606
+ }
2607
+
2608
+ def struct_fields; FIELDS; end
2609
+
2610
+ def validate
2611
+ end
2612
+
2613
+ ::Thrift::Struct.generate_accessors self
2614
+ end
2615
+
2616
+ class QueryDefaultAlbumId_result
2617
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2618
+ SUCCESS = 0
2619
+
2620
+ FIELDS = {
2621
+ SUCCESS => {:type => ::Thrift::Types::I64, :name => 'success'}
2622
+ }
2623
+
2624
+ def struct_fields; FIELDS; end
2625
+
2626
+ def validate
2627
+ end
2628
+
2629
+ ::Thrift::Struct.generate_accessors self
2630
+ end
2631
+
2632
+ class QueryBasicAlbumsWithOffline_args
2633
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2634
+ IDS = 1
2635
+
2636
+ FIELDS = {
2637
+ IDS => {:type => ::Thrift::Types::LIST, :name => 'ids', :element => {:type => ::Thrift::Types::I64}}
2638
+ }
2639
+
2640
+ def struct_fields; FIELDS; end
2641
+
2642
+ def validate
2643
+ end
2644
+
2645
+ ::Thrift::Struct.generate_accessors self
2646
+ end
2647
+
2648
+ class QueryBasicAlbumsWithOffline_result
2649
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2650
+ SUCCESS = 0
2651
+
2652
+ FIELDS = {
2653
+ SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::I64}, :value => {:type => ::Thrift::Types::STRUCT, :class => ::Service::Content::Thrift::BasicAlbum}}
2654
+ }
2655
+
2656
+ def struct_fields; FIELDS; end
2657
+
2658
+ def validate
2659
+ end
2660
+
2661
+ ::Thrift::Struct.generate_accessors self
2662
+ end
2663
+
2664
+ class QueryBasicAlbumsByUidWithOffline_args
2665
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2666
+ UID = 1
2667
+ PAGE = 2
2668
+ SIZE = 3
2669
+
2670
+ FIELDS = {
2671
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
2672
+ PAGE => {:type => ::Thrift::Types::I32, :name => 'page'},
2673
+ SIZE => {:type => ::Thrift::Types::I32, :name => 'size'}
2674
+ }
2675
+
2676
+ def struct_fields; FIELDS; end
2677
+
2678
+ def validate
2679
+ end
2680
+
2681
+ ::Thrift::Struct.generate_accessors self
2682
+ end
2683
+
2684
+ class QueryBasicAlbumsByUidWithOffline_result
2685
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2686
+ SUCCESS = 0
2687
+
2688
+ FIELDS = {
2689
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Content::Thrift::BasicAlbumPageResult}
2690
+ }
2691
+
2692
+ def struct_fields; FIELDS; end
2693
+
2694
+ def validate
2695
+ end
2696
+
2697
+ ::Thrift::Struct.generate_accessors self
2698
+ end
2699
+
2700
+ class QueryTrackRecordsWithUnPublish_args
2701
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2702
+ UID = 1
2703
+ ALBUMID = 2
2704
+ PAGE = 3
2705
+ SIZE = 4
2706
+ ASC = 5
2707
+
2708
+ FIELDS = {
2709
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
2710
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'},
2711
+ PAGE => {:type => ::Thrift::Types::I32, :name => 'page'},
2712
+ SIZE => {:type => ::Thrift::Types::I32, :name => 'size'},
2713
+ ASC => {:type => ::Thrift::Types::BOOL, :name => 'asc'}
2714
+ }
2715
+
2716
+ def struct_fields; FIELDS; end
2717
+
2718
+ def validate
2719
+ end
2720
+
2721
+ ::Thrift::Struct.generate_accessors self
2722
+ end
2723
+
2724
+ class QueryTrackRecordsWithUnPublish_result
2725
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2726
+ SUCCESS = 0
2727
+
2728
+ FIELDS = {
2729
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Content::Thrift::TrackRecordPageResult}
2730
+ }
2731
+
2732
+ def struct_fields; FIELDS; end
2733
+
2734
+ def validate
2735
+ end
2736
+
2737
+ ::Thrift::Struct.generate_accessors self
2738
+ end
2739
+
2740
+ class QueryLastUpTrack_args
2741
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2742
+ ALBUMID = 1
2743
+
2744
+ FIELDS = {
2745
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'}
2746
+ }
2747
+
2748
+ def struct_fields; FIELDS; end
2749
+
2750
+ def validate
2751
+ end
2752
+
2753
+ ::Thrift::Struct.generate_accessors self
2754
+ end
2755
+
2756
+ class QueryLastUpTrack_result
2757
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2758
+ SUCCESS = 0
2759
+
2760
+ FIELDS = {
2761
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Content::Thrift::Track}
2762
+ }
2763
+
2764
+ def struct_fields; FIELDS; end
2765
+
2766
+ def validate
2767
+ end
2768
+
2769
+ ::Thrift::Struct.generate_accessors self
2770
+ end
2771
+
2772
+ class QueryLastUpTracks_args
2773
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2774
+ ALBUMIDS = 1
2775
+
2776
+ FIELDS = {
2777
+ ALBUMIDS => {:type => ::Thrift::Types::LIST, :name => 'albumIds', :element => {:type => ::Thrift::Types::I64}}
2778
+ }
2779
+
2780
+ def struct_fields; FIELDS; end
2781
+
2782
+ def validate
2783
+ end
2784
+
2785
+ ::Thrift::Struct.generate_accessors self
2786
+ end
2787
+
2788
+ class QueryLastUpTracks_result
2789
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2790
+ SUCCESS = 0
2791
+
2792
+ FIELDS = {
2793
+ SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::I64}, :value => {:type => ::Thrift::Types::STRUCT, :class => ::Service::Content::Thrift::Track}}
2794
+ }
2795
+
2796
+ def struct_fields; FIELDS; end
2797
+
2798
+ def validate
2799
+ end
2800
+
2801
+ ::Thrift::Struct.generate_accessors self
2802
+ end
2803
+
2804
+ class QueryLastTrackRecord_args
2805
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2806
+ ALBUMID = 1
2807
+ UID = 2
2808
+
2809
+ FIELDS = {
2810
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'},
2811
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'}
2812
+ }
2813
+
2814
+ def struct_fields; FIELDS; end
2815
+
2816
+ def validate
2817
+ end
2818
+
2819
+ ::Thrift::Struct.generate_accessors self
2820
+ end
2821
+
2822
+ class QueryLastTrackRecord_result
2823
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2824
+ SUCCESS = 0
2825
+
2826
+ FIELDS = {
2827
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Content::Thrift::TrackRecord}
2828
+ }
2829
+
2830
+ def struct_fields; FIELDS; end
2831
+
2832
+ def validate
2833
+ end
2834
+
2835
+ ::Thrift::Struct.generate_accessors self
2836
+ end
2837
+
2838
+ class QueryTrackRecordsByCreateTimeDesc_args
2839
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2840
+ UID = 1
2841
+ ALBUMID = 2
2842
+ OFFSET = 3
2843
+ COUNT = 4
2844
+
2845
+ FIELDS = {
2846
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
2847
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'},
2848
+ OFFSET => {:type => ::Thrift::Types::I32, :name => 'offset'},
2849
+ COUNT => {:type => ::Thrift::Types::I32, :name => 'count'}
2850
+ }
2851
+
2852
+ def struct_fields; FIELDS; end
2853
+
2854
+ def validate
2855
+ end
2856
+
2857
+ ::Thrift::Struct.generate_accessors self
2858
+ end
2859
+
2860
+ class QueryTrackRecordsByCreateTimeDesc_result
2861
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2862
+ SUCCESS = 0
2863
+
2864
+ FIELDS = {
2865
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Content::Thrift::TrackRecordPageResult}
2866
+ }
2867
+
2868
+ def struct_fields; FIELDS; end
2869
+
2870
+ def validate
2871
+ end
2872
+
2873
+ ::Thrift::Struct.generate_accessors self
2874
+ end
2875
+
2876
+ class ChangePositionByCreateTime_args
2877
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2878
+ UID = 1
2879
+ ALBUMID = 2
2880
+ ASC = 3
2881
+
2882
+ FIELDS = {
2883
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
2884
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'},
2885
+ ASC => {:type => ::Thrift::Types::BOOL, :name => 'asc'}
2886
+ }
2887
+
2888
+ def struct_fields; FIELDS; end
2889
+
2890
+ def validate
2891
+ end
2892
+
2893
+ ::Thrift::Struct.generate_accessors self
2894
+ end
2895
+
2896
+ class ChangePositionByCreateTime_result
2897
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2898
+
2899
+ FIELDS = {
2900
+
2901
+ }
2902
+
2903
+ def struct_fields; FIELDS; end
2904
+
2905
+ def validate
2906
+ end
2907
+
2908
+ ::Thrift::Struct.generate_accessors self
2909
+ end
2910
+
2911
+ class SendAlbumCreatedMessage_args
2912
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2913
+ ALBUMID = 1
2914
+
2915
+ FIELDS = {
2916
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'}
2917
+ }
2918
+
2919
+ def struct_fields; FIELDS; end
2920
+
2921
+ def validate
2922
+ end
2923
+
2924
+ ::Thrift::Struct.generate_accessors self
2925
+ end
2926
+
2927
+ class SendAlbumCreatedMessage_result
2928
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2929
+
2930
+ FIELDS = {
2931
+
2932
+ }
2933
+
2934
+ def struct_fields; FIELDS; end
2935
+
2936
+ def validate
2937
+ end
2938
+
2939
+ ::Thrift::Struct.generate_accessors self
2940
+ end
2941
+
2942
+ class SendAlbumUpdatedMessage_args
2943
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2944
+ ALBUMID = 1
2945
+
2946
+ FIELDS = {
2947
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'}
2948
+ }
2949
+
2950
+ def struct_fields; FIELDS; end
2951
+
2952
+ def validate
2953
+ end
2954
+
2955
+ ::Thrift::Struct.generate_accessors self
2956
+ end
2957
+
2958
+ class SendAlbumUpdatedMessage_result
2959
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2960
+
2961
+ FIELDS = {
2962
+
2963
+ }
2964
+
2965
+ def struct_fields; FIELDS; end
2966
+
2967
+ def validate
2968
+ end
2969
+
2970
+ ::Thrift::Struct.generate_accessors self
2971
+ end
2972
+
2973
+ class SendAlbumDeletedMessage_args
2974
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2975
+ ALBUMID = 1
2976
+
2977
+ FIELDS = {
2978
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'}
2979
+ }
2980
+
2981
+ def struct_fields; FIELDS; end
2982
+
2983
+ def validate
2984
+ end
2985
+
2986
+ ::Thrift::Struct.generate_accessors self
2987
+ end
2988
+
2989
+ class SendAlbumDeletedMessage_result
2990
+ include ::Thrift::Struct, ::Thrift::Struct_Union
2991
+
2992
+ FIELDS = {
2993
+
2994
+ }
2995
+
2996
+ def struct_fields; FIELDS; end
2997
+
2998
+ def validate
2999
+ end
3000
+
3001
+ ::Thrift::Struct.generate_accessors self
3002
+ end
3003
+
3004
+ class QueryAlbumUid_args
3005
+ include ::Thrift::Struct, ::Thrift::Struct_Union
3006
+ ALBUMIDS = 1
3007
+
3008
+ FIELDS = {
3009
+ ALBUMIDS => {:type => ::Thrift::Types::LIST, :name => 'albumIds', :element => {:type => ::Thrift::Types::I64}}
3010
+ }
3011
+
3012
+ def struct_fields; FIELDS; end
3013
+
3014
+ def validate
3015
+ end
3016
+
3017
+ ::Thrift::Struct.generate_accessors self
3018
+ end
3019
+
3020
+ class QueryAlbumUid_result
3021
+ include ::Thrift::Struct, ::Thrift::Struct_Union
3022
+ SUCCESS = 0
3023
+
3024
+ FIELDS = {
3025
+ SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::I64}, :value => {:type => ::Thrift::Types::I64}}
3026
+ }
3027
+
3028
+ def struct_fields; FIELDS; end
3029
+
3030
+ def validate
3031
+ end
3032
+
3033
+ ::Thrift::Struct.generate_accessors self
3034
+ end
3035
+
3036
+ class QueryLastUpTrackInfos_args
3037
+ include ::Thrift::Struct, ::Thrift::Struct_Union
3038
+ IDS = 1
3039
+
3040
+ FIELDS = {
3041
+ IDS => {:type => ::Thrift::Types::LIST, :name => 'ids', :element => {:type => ::Thrift::Types::I64}}
3042
+ }
3043
+
3044
+ def struct_fields; FIELDS; end
3045
+
3046
+ def validate
3047
+ end
3048
+
3049
+ ::Thrift::Struct.generate_accessors self
3050
+ end
3051
+
3052
+ class QueryLastUpTrackInfos_result
3053
+ include ::Thrift::Struct, ::Thrift::Struct_Union
3054
+ SUCCESS = 0
3055
+
3056
+ FIELDS = {
3057
+ SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::I64}, :value => {:type => ::Thrift::Types::STRUCT, :class => ::Service::Content::Thrift::SimpleAlbum}}
3058
+ }
3059
+
3060
+ def struct_fields; FIELDS; end
3061
+
3062
+ def validate
3063
+ end
3064
+
3065
+ ::Thrift::Struct.generate_accessors self
3066
+ end
3067
+
3068
+ class QueryTrackRecordPageByRecordId_args
3069
+ include ::Thrift::Struct, ::Thrift::Struct_Union
3070
+ UID = 1
3071
+ ALBUMID = 2
3072
+ RECORDID = 3
3073
+ SIZE = 4
3074
+ ASC = 5
3075
+
3076
+ FIELDS = {
3077
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
3078
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'},
3079
+ RECORDID => {:type => ::Thrift::Types::I64, :name => 'recordId'},
3080
+ SIZE => {:type => ::Thrift::Types::I32, :name => 'size'},
3081
+ ASC => {:type => ::Thrift::Types::BOOL, :name => 'asc'}
3082
+ }
3083
+
3084
+ def struct_fields; FIELDS; end
3085
+
3086
+ def validate
3087
+ end
3088
+
3089
+ ::Thrift::Struct.generate_accessors self
3090
+ end
3091
+
3092
+ class QueryTrackRecordPageByRecordId_result
3093
+ include ::Thrift::Struct, ::Thrift::Struct_Union
3094
+ SUCCESS = 0
3095
+
3096
+ FIELDS = {
3097
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Content::Thrift::TrackRecordPageResult}
3098
+ }
3099
+
3100
+ def struct_fields; FIELDS; end
3101
+
3102
+ def validate
3103
+ end
3104
+
3105
+ ::Thrift::Struct.generate_accessors self
3106
+ end
3107
+
3108
+ class QueryTrackRecordPageByTrackId_args
3109
+ include ::Thrift::Struct, ::Thrift::Struct_Union
3110
+ ALBUMID = 1
3111
+ TRACKID = 2
3112
+ SIZE = 3
3113
+ ASC = 4
3114
+
3115
+ FIELDS = {
3116
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'},
3117
+ TRACKID => {:type => ::Thrift::Types::I64, :name => 'trackId'},
3118
+ SIZE => {:type => ::Thrift::Types::I32, :name => 'size'},
3119
+ ASC => {:type => ::Thrift::Types::BOOL, :name => 'asc'}
3120
+ }
3121
+
3122
+ def struct_fields; FIELDS; end
3123
+
3124
+ def validate
3125
+ end
3126
+
3127
+ ::Thrift::Struct.generate_accessors self
3128
+ end
3129
+
3130
+ class QueryTrackRecordPageByTrackId_result
3131
+ include ::Thrift::Struct, ::Thrift::Struct_Union
3132
+ SUCCESS = 0
3133
+
3134
+ FIELDS = {
3135
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Content::Thrift::TrackRecordPageResult}
3136
+ }
3137
+
3138
+ def struct_fields; FIELDS; end
3139
+
3140
+ def validate
3141
+ end
3142
+
3143
+ ::Thrift::Struct.generate_accessors self
3144
+ end
3145
+
3146
+ class QueryMyTrackRecordsOrderByCreatedAt_args
3147
+ include ::Thrift::Struct, ::Thrift::Struct_Union
3148
+ ALBUMID = 1
3149
+ UID = 2
3150
+ OFFSET = 3
3151
+ COUNT = 4
3152
+ ASC = 5
3153
+
3154
+ FIELDS = {
3155
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'},
3156
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
3157
+ OFFSET => {:type => ::Thrift::Types::I32, :name => 'offset'},
3158
+ COUNT => {:type => ::Thrift::Types::I32, :name => 'count'},
3159
+ ASC => {:type => ::Thrift::Types::BOOL, :name => 'asc'}
3160
+ }
3161
+
3162
+ def struct_fields; FIELDS; end
3163
+
3164
+ def validate
3165
+ end
3166
+
3167
+ ::Thrift::Struct.generate_accessors self
3168
+ end
3169
+
3170
+ class QueryMyTrackRecordsOrderByCreatedAt_result
3171
+ include ::Thrift::Struct, ::Thrift::Struct_Union
3172
+ SUCCESS = 0
3173
+
3174
+ FIELDS = {
3175
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Content::Thrift::TrackRecordPageResult}
3176
+ }
3177
+
3178
+ def struct_fields; FIELDS; end
3179
+
3180
+ def validate
3181
+ end
3182
+
3183
+ ::Thrift::Struct.generate_accessors self
3184
+ end
3185
+
3186
+ end
3187
+
3188
+ end
3189
+ end
3190
+ end