stat-analysis-query 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,725 @@
1
+ #
2
+ # Autogenerated by Thrift Compiler (0.9.0)
3
+ #
4
+ # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
+ #
6
+
7
+ require 'thrift'
8
+ require 'query_types'
9
+
10
+ module Stat
11
+ module Query
12
+ module THotService
13
+ class Client
14
+ include ::Thrift::Client
15
+
16
+ def hotRadio(id, pageNo, pageSize)
17
+ send_hotRadio(id, pageNo, pageSize)
18
+ return recv_hotRadio()
19
+ end
20
+
21
+ def send_hotRadio(id, pageNo, pageSize)
22
+ send_message('hotRadio', HotRadio_args, :id => id, :pageNo => pageNo, :pageSize => pageSize)
23
+ end
24
+
25
+ def recv_hotRadio()
26
+ result = receive_message(HotRadio_result)
27
+ return result.success unless result.success.nil?
28
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'hotRadio failed: unknown result')
29
+ end
30
+
31
+ def hotSound(id, tagName, pageNo, pageSize)
32
+ send_hotSound(id, tagName, pageNo, pageSize)
33
+ return recv_hotSound()
34
+ end
35
+
36
+ def send_hotSound(id, tagName, pageNo, pageSize)
37
+ send_message('hotSound', HotSound_args, :id => id, :tagName => tagName, :pageNo => pageNo, :pageSize => pageSize)
38
+ end
39
+
40
+ def recv_hotSound()
41
+ result = receive_message(HotSound_result)
42
+ return result.success unless result.success.nil?
43
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'hotSound failed: unknown result')
44
+ end
45
+
46
+ def newV(id, pageNo, pageSize)
47
+ send_newV(id, pageNo, pageSize)
48
+ return recv_newV()
49
+ end
50
+
51
+ def send_newV(id, pageNo, pageSize)
52
+ send_message('newV', NewV_args, :id => id, :pageNo => pageNo, :pageSize => pageSize)
53
+ end
54
+
55
+ def recv_newV()
56
+ result = receive_message(NewV_result)
57
+ return result.success unless result.success.nil?
58
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'newV failed: unknown result')
59
+ end
60
+
61
+ def mostFollowedUser(id, pageNo, pageSize)
62
+ send_mostFollowedUser(id, pageNo, pageSize)
63
+ return recv_mostFollowedUser()
64
+ end
65
+
66
+ def send_mostFollowedUser(id, pageNo, pageSize)
67
+ send_message('mostFollowedUser', MostFollowedUser_args, :id => id, :pageNo => pageNo, :pageSize => pageSize)
68
+ end
69
+
70
+ def recv_mostFollowedUser()
71
+ result = receive_message(MostFollowedUser_result)
72
+ return result.success unless result.success.nil?
73
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'mostFollowedUser failed: unknown result')
74
+ end
75
+
76
+ def mostFavoritSound(id, tagName, pageNo, pageSize)
77
+ send_mostFavoritSound(id, tagName, pageNo, pageSize)
78
+ return recv_mostFavoritSound()
79
+ end
80
+
81
+ def send_mostFavoritSound(id, tagName, pageNo, pageSize)
82
+ send_message('mostFavoritSound', MostFavoritSound_args, :id => id, :tagName => tagName, :pageNo => pageNo, :pageSize => pageSize)
83
+ end
84
+
85
+ def recv_mostFavoritSound()
86
+ result = receive_message(MostFavoritSound_result)
87
+ return result.success unless result.success.nil?
88
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'mostFavoritSound failed: unknown result')
89
+ end
90
+
91
+ def recentVTrack(id, tagName, pageNo, pageSize)
92
+ send_recentVTrack(id, tagName, pageNo, pageSize)
93
+ return recv_recentVTrack()
94
+ end
95
+
96
+ def send_recentVTrack(id, tagName, pageNo, pageSize)
97
+ send_message('recentVTrack', RecentVTrack_args, :id => id, :tagName => tagName, :pageNo => pageNo, :pageSize => pageSize)
98
+ end
99
+
100
+ def recv_recentVTrack()
101
+ result = receive_message(RecentVTrack_result)
102
+ return result.success unless result.success.nil?
103
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'recentVTrack failed: unknown result')
104
+ end
105
+
106
+ def hotRadioDay(id, pageNo, pageSize)
107
+ send_hotRadioDay(id, pageNo, pageSize)
108
+ return recv_hotRadioDay()
109
+ end
110
+
111
+ def send_hotRadioDay(id, pageNo, pageSize)
112
+ send_message('hotRadioDay', HotRadioDay_args, :id => id, :pageNo => pageNo, :pageSize => pageSize)
113
+ end
114
+
115
+ def recv_hotRadioDay()
116
+ result = receive_message(HotRadioDay_result)
117
+ return result.success unless result.success.nil?
118
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'hotRadioDay failed: unknown result')
119
+ end
120
+
121
+ def hotSoundDay(id, tagName, pageNo, pageSize)
122
+ send_hotSoundDay(id, tagName, pageNo, pageSize)
123
+ return recv_hotSoundDay()
124
+ end
125
+
126
+ def send_hotSoundDay(id, tagName, pageNo, pageSize)
127
+ send_message('hotSoundDay', HotSoundDay_args, :id => id, :tagName => tagName, :pageNo => pageNo, :pageSize => pageSize)
128
+ end
129
+
130
+ def recv_hotSoundDay()
131
+ result = receive_message(HotSoundDay_result)
132
+ return result.success unless result.success.nil?
133
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'hotSoundDay failed: unknown result')
134
+ end
135
+
136
+ def hotAlbum(id, tagName, pageNo, pageSize)
137
+ send_hotAlbum(id, tagName, pageNo, pageSize)
138
+ return recv_hotAlbum()
139
+ end
140
+
141
+ def send_hotAlbum(id, tagName, pageNo, pageSize)
142
+ send_message('hotAlbum', HotAlbum_args, :id => id, :tagName => tagName, :pageNo => pageNo, :pageSize => pageSize)
143
+ end
144
+
145
+ def recv_hotAlbum()
146
+ result = receive_message(HotAlbum_result)
147
+ return result.success unless result.success.nil?
148
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'hotAlbum failed: unknown result')
149
+ end
150
+
151
+ def hotRadioAndSound(categoryIds)
152
+ send_hotRadioAndSound(categoryIds)
153
+ return recv_hotRadioAndSound()
154
+ end
155
+
156
+ def send_hotRadioAndSound(categoryIds)
157
+ send_message('hotRadioAndSound', HotRadioAndSound_args, :categoryIds => categoryIds)
158
+ end
159
+
160
+ def recv_hotRadioAndSound()
161
+ result = receive_message(HotRadioAndSound_result)
162
+ return result.success unless result.success.nil?
163
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'hotRadioAndSound failed: unknown result')
164
+ end
165
+
166
+ def hotCategoryAlbum(id, tagNames, size)
167
+ send_hotCategoryAlbum(id, tagNames, size)
168
+ return recv_hotCategoryAlbum()
169
+ end
170
+
171
+ def send_hotCategoryAlbum(id, tagNames, size)
172
+ send_message('hotCategoryAlbum', HotCategoryAlbum_args, :id => id, :tagNames => tagNames, :size => size)
173
+ end
174
+
175
+ def recv_hotCategoryAlbum()
176
+ result = receive_message(HotCategoryAlbum_result)
177
+ return result.success unless result.success.nil?
178
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'hotCategoryAlbum failed: unknown result')
179
+ end
180
+
181
+ def hotRadioRandom()
182
+ send_hotRadioRandom()
183
+ return recv_hotRadioRandom()
184
+ end
185
+
186
+ def send_hotRadioRandom()
187
+ send_message('hotRadioRandom', HotRadioRandom_args)
188
+ end
189
+
190
+ def recv_hotRadioRandom()
191
+ result = receive_message(HotRadioRandom_result)
192
+ return result.success unless result.success.nil?
193
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'hotRadioRandom failed: unknown result')
194
+ end
195
+
196
+ end
197
+
198
+ class Processor
199
+ include ::Thrift::Processor
200
+
201
+ def process_hotRadio(seqid, iprot, oprot)
202
+ args = read_args(iprot, HotRadio_args)
203
+ result = HotRadio_result.new()
204
+ result.success = @handler.hotRadio(args.id, args.pageNo, args.pageSize)
205
+ write_result(result, oprot, 'hotRadio', seqid)
206
+ end
207
+
208
+ def process_hotSound(seqid, iprot, oprot)
209
+ args = read_args(iprot, HotSound_args)
210
+ result = HotSound_result.new()
211
+ result.success = @handler.hotSound(args.id, args.tagName, args.pageNo, args.pageSize)
212
+ write_result(result, oprot, 'hotSound', seqid)
213
+ end
214
+
215
+ def process_newV(seqid, iprot, oprot)
216
+ args = read_args(iprot, NewV_args)
217
+ result = NewV_result.new()
218
+ result.success = @handler.newV(args.id, args.pageNo, args.pageSize)
219
+ write_result(result, oprot, 'newV', seqid)
220
+ end
221
+
222
+ def process_mostFollowedUser(seqid, iprot, oprot)
223
+ args = read_args(iprot, MostFollowedUser_args)
224
+ result = MostFollowedUser_result.new()
225
+ result.success = @handler.mostFollowedUser(args.id, args.pageNo, args.pageSize)
226
+ write_result(result, oprot, 'mostFollowedUser', seqid)
227
+ end
228
+
229
+ def process_mostFavoritSound(seqid, iprot, oprot)
230
+ args = read_args(iprot, MostFavoritSound_args)
231
+ result = MostFavoritSound_result.new()
232
+ result.success = @handler.mostFavoritSound(args.id, args.tagName, args.pageNo, args.pageSize)
233
+ write_result(result, oprot, 'mostFavoritSound', seqid)
234
+ end
235
+
236
+ def process_recentVTrack(seqid, iprot, oprot)
237
+ args = read_args(iprot, RecentVTrack_args)
238
+ result = RecentVTrack_result.new()
239
+ result.success = @handler.recentVTrack(args.id, args.tagName, args.pageNo, args.pageSize)
240
+ write_result(result, oprot, 'recentVTrack', seqid)
241
+ end
242
+
243
+ def process_hotRadioDay(seqid, iprot, oprot)
244
+ args = read_args(iprot, HotRadioDay_args)
245
+ result = HotRadioDay_result.new()
246
+ result.success = @handler.hotRadioDay(args.id, args.pageNo, args.pageSize)
247
+ write_result(result, oprot, 'hotRadioDay', seqid)
248
+ end
249
+
250
+ def process_hotSoundDay(seqid, iprot, oprot)
251
+ args = read_args(iprot, HotSoundDay_args)
252
+ result = HotSoundDay_result.new()
253
+ result.success = @handler.hotSoundDay(args.id, args.tagName, args.pageNo, args.pageSize)
254
+ write_result(result, oprot, 'hotSoundDay', seqid)
255
+ end
256
+
257
+ def process_hotAlbum(seqid, iprot, oprot)
258
+ args = read_args(iprot, HotAlbum_args)
259
+ result = HotAlbum_result.new()
260
+ result.success = @handler.hotAlbum(args.id, args.tagName, args.pageNo, args.pageSize)
261
+ write_result(result, oprot, 'hotAlbum', seqid)
262
+ end
263
+
264
+ def process_hotRadioAndSound(seqid, iprot, oprot)
265
+ args = read_args(iprot, HotRadioAndSound_args)
266
+ result = HotRadioAndSound_result.new()
267
+ result.success = @handler.hotRadioAndSound(args.categoryIds)
268
+ write_result(result, oprot, 'hotRadioAndSound', seqid)
269
+ end
270
+
271
+ def process_hotCategoryAlbum(seqid, iprot, oprot)
272
+ args = read_args(iprot, HotCategoryAlbum_args)
273
+ result = HotCategoryAlbum_result.new()
274
+ result.success = @handler.hotCategoryAlbum(args.id, args.tagNames, args.size)
275
+ write_result(result, oprot, 'hotCategoryAlbum', seqid)
276
+ end
277
+
278
+ def process_hotRadioRandom(seqid, iprot, oprot)
279
+ args = read_args(iprot, HotRadioRandom_args)
280
+ result = HotRadioRandom_result.new()
281
+ result.success = @handler.hotRadioRandom()
282
+ write_result(result, oprot, 'hotRadioRandom', seqid)
283
+ end
284
+
285
+ end
286
+
287
+ # HELPER FUNCTIONS AND STRUCTURES
288
+
289
+ class HotRadio_args
290
+ include ::Thrift::Struct, ::Thrift::Struct_Union
291
+ ID = 1
292
+ PAGENO = 2
293
+ PAGESIZE = 3
294
+
295
+ FIELDS = {
296
+ ID => {:type => ::Thrift::Types::I32, :name => 'id'},
297
+ PAGENO => {:type => ::Thrift::Types::I32, :name => 'pageNo'},
298
+ PAGESIZE => {:type => ::Thrift::Types::I32, :name => 'pageSize'}
299
+ }
300
+
301
+ def struct_fields; FIELDS; end
302
+
303
+ def validate
304
+ end
305
+
306
+ ::Thrift::Struct.generate_accessors self
307
+ end
308
+
309
+ class HotRadio_result
310
+ include ::Thrift::Struct, ::Thrift::Struct_Union
311
+ SUCCESS = 0
312
+
313
+ FIELDS = {
314
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Stat::Query::HotResult}
315
+ }
316
+
317
+ def struct_fields; FIELDS; end
318
+
319
+ def validate
320
+ end
321
+
322
+ ::Thrift::Struct.generate_accessors self
323
+ end
324
+
325
+ class HotSound_args
326
+ include ::Thrift::Struct, ::Thrift::Struct_Union
327
+ ID = 1
328
+ TAGNAME = 2
329
+ PAGENO = 3
330
+ PAGESIZE = 4
331
+
332
+ FIELDS = {
333
+ ID => {:type => ::Thrift::Types::I32, :name => 'id'},
334
+ TAGNAME => {:type => ::Thrift::Types::STRING, :name => 'tagName'},
335
+ PAGENO => {:type => ::Thrift::Types::I32, :name => 'pageNo'},
336
+ PAGESIZE => {:type => ::Thrift::Types::I32, :name => 'pageSize'}
337
+ }
338
+
339
+ def struct_fields; FIELDS; end
340
+
341
+ def validate
342
+ end
343
+
344
+ ::Thrift::Struct.generate_accessors self
345
+ end
346
+
347
+ class HotSound_result
348
+ include ::Thrift::Struct, ::Thrift::Struct_Union
349
+ SUCCESS = 0
350
+
351
+ FIELDS = {
352
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Stat::Query::HotResult}
353
+ }
354
+
355
+ def struct_fields; FIELDS; end
356
+
357
+ def validate
358
+ end
359
+
360
+ ::Thrift::Struct.generate_accessors self
361
+ end
362
+
363
+ class NewV_args
364
+ include ::Thrift::Struct, ::Thrift::Struct_Union
365
+ ID = 1
366
+ PAGENO = 2
367
+ PAGESIZE = 3
368
+
369
+ FIELDS = {
370
+ ID => {:type => ::Thrift::Types::I32, :name => 'id'},
371
+ PAGENO => {:type => ::Thrift::Types::I32, :name => 'pageNo'},
372
+ PAGESIZE => {:type => ::Thrift::Types::I32, :name => 'pageSize'}
373
+ }
374
+
375
+ def struct_fields; FIELDS; end
376
+
377
+ def validate
378
+ end
379
+
380
+ ::Thrift::Struct.generate_accessors self
381
+ end
382
+
383
+ class NewV_result
384
+ include ::Thrift::Struct, ::Thrift::Struct_Union
385
+ SUCCESS = 0
386
+
387
+ FIELDS = {
388
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Stat::Query::HotResult}
389
+ }
390
+
391
+ def struct_fields; FIELDS; end
392
+
393
+ def validate
394
+ end
395
+
396
+ ::Thrift::Struct.generate_accessors self
397
+ end
398
+
399
+ class MostFollowedUser_args
400
+ include ::Thrift::Struct, ::Thrift::Struct_Union
401
+ ID = 1
402
+ PAGENO = 2
403
+ PAGESIZE = 3
404
+
405
+ FIELDS = {
406
+ ID => {:type => ::Thrift::Types::I32, :name => 'id'},
407
+ PAGENO => {:type => ::Thrift::Types::I32, :name => 'pageNo'},
408
+ PAGESIZE => {:type => ::Thrift::Types::I32, :name => 'pageSize'}
409
+ }
410
+
411
+ def struct_fields; FIELDS; end
412
+
413
+ def validate
414
+ end
415
+
416
+ ::Thrift::Struct.generate_accessors self
417
+ end
418
+
419
+ class MostFollowedUser_result
420
+ include ::Thrift::Struct, ::Thrift::Struct_Union
421
+ SUCCESS = 0
422
+
423
+ FIELDS = {
424
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Stat::Query::HotResult}
425
+ }
426
+
427
+ def struct_fields; FIELDS; end
428
+
429
+ def validate
430
+ end
431
+
432
+ ::Thrift::Struct.generate_accessors self
433
+ end
434
+
435
+ class MostFavoritSound_args
436
+ include ::Thrift::Struct, ::Thrift::Struct_Union
437
+ ID = 1
438
+ TAGNAME = 2
439
+ PAGENO = 3
440
+ PAGESIZE = 4
441
+
442
+ FIELDS = {
443
+ ID => {:type => ::Thrift::Types::I32, :name => 'id'},
444
+ TAGNAME => {:type => ::Thrift::Types::STRING, :name => 'tagName'},
445
+ PAGENO => {:type => ::Thrift::Types::I32, :name => 'pageNo'},
446
+ PAGESIZE => {:type => ::Thrift::Types::I32, :name => 'pageSize'}
447
+ }
448
+
449
+ def struct_fields; FIELDS; end
450
+
451
+ def validate
452
+ end
453
+
454
+ ::Thrift::Struct.generate_accessors self
455
+ end
456
+
457
+ class MostFavoritSound_result
458
+ include ::Thrift::Struct, ::Thrift::Struct_Union
459
+ SUCCESS = 0
460
+
461
+ FIELDS = {
462
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Stat::Query::HotResult}
463
+ }
464
+
465
+ def struct_fields; FIELDS; end
466
+
467
+ def validate
468
+ end
469
+
470
+ ::Thrift::Struct.generate_accessors self
471
+ end
472
+
473
+ class RecentVTrack_args
474
+ include ::Thrift::Struct, ::Thrift::Struct_Union
475
+ ID = 1
476
+ TAGNAME = 2
477
+ PAGENO = 3
478
+ PAGESIZE = 4
479
+
480
+ FIELDS = {
481
+ ID => {:type => ::Thrift::Types::I32, :name => 'id'},
482
+ TAGNAME => {:type => ::Thrift::Types::STRING, :name => 'tagName'},
483
+ PAGENO => {:type => ::Thrift::Types::I32, :name => 'pageNo'},
484
+ PAGESIZE => {:type => ::Thrift::Types::I32, :name => 'pageSize'}
485
+ }
486
+
487
+ def struct_fields; FIELDS; end
488
+
489
+ def validate
490
+ end
491
+
492
+ ::Thrift::Struct.generate_accessors self
493
+ end
494
+
495
+ class RecentVTrack_result
496
+ include ::Thrift::Struct, ::Thrift::Struct_Union
497
+ SUCCESS = 0
498
+
499
+ FIELDS = {
500
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Stat::Query::HotResult}
501
+ }
502
+
503
+ def struct_fields; FIELDS; end
504
+
505
+ def validate
506
+ end
507
+
508
+ ::Thrift::Struct.generate_accessors self
509
+ end
510
+
511
+ class HotRadioDay_args
512
+ include ::Thrift::Struct, ::Thrift::Struct_Union
513
+ ID = 1
514
+ PAGENO = 2
515
+ PAGESIZE = 3
516
+
517
+ FIELDS = {
518
+ ID => {:type => ::Thrift::Types::I32, :name => 'id'},
519
+ PAGENO => {:type => ::Thrift::Types::I32, :name => 'pageNo'},
520
+ PAGESIZE => {:type => ::Thrift::Types::I32, :name => 'pageSize'}
521
+ }
522
+
523
+ def struct_fields; FIELDS; end
524
+
525
+ def validate
526
+ end
527
+
528
+ ::Thrift::Struct.generate_accessors self
529
+ end
530
+
531
+ class HotRadioDay_result
532
+ include ::Thrift::Struct, ::Thrift::Struct_Union
533
+ SUCCESS = 0
534
+
535
+ FIELDS = {
536
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Stat::Query::HotResult}
537
+ }
538
+
539
+ def struct_fields; FIELDS; end
540
+
541
+ def validate
542
+ end
543
+
544
+ ::Thrift::Struct.generate_accessors self
545
+ end
546
+
547
+ class HotSoundDay_args
548
+ include ::Thrift::Struct, ::Thrift::Struct_Union
549
+ ID = 1
550
+ TAGNAME = 2
551
+ PAGENO = 3
552
+ PAGESIZE = 4
553
+
554
+ FIELDS = {
555
+ ID => {:type => ::Thrift::Types::I32, :name => 'id'},
556
+ TAGNAME => {:type => ::Thrift::Types::STRING, :name => 'tagName'},
557
+ PAGENO => {:type => ::Thrift::Types::I32, :name => 'pageNo'},
558
+ PAGESIZE => {:type => ::Thrift::Types::I32, :name => 'pageSize'}
559
+ }
560
+
561
+ def struct_fields; FIELDS; end
562
+
563
+ def validate
564
+ end
565
+
566
+ ::Thrift::Struct.generate_accessors self
567
+ end
568
+
569
+ class HotSoundDay_result
570
+ include ::Thrift::Struct, ::Thrift::Struct_Union
571
+ SUCCESS = 0
572
+
573
+ FIELDS = {
574
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Stat::Query::HotResult}
575
+ }
576
+
577
+ def struct_fields; FIELDS; end
578
+
579
+ def validate
580
+ end
581
+
582
+ ::Thrift::Struct.generate_accessors self
583
+ end
584
+
585
+ class HotAlbum_args
586
+ include ::Thrift::Struct, ::Thrift::Struct_Union
587
+ ID = 1
588
+ TAGNAME = 2
589
+ PAGENO = 3
590
+ PAGESIZE = 4
591
+
592
+ FIELDS = {
593
+ ID => {:type => ::Thrift::Types::I32, :name => 'id'},
594
+ TAGNAME => {:type => ::Thrift::Types::STRING, :name => 'tagName'},
595
+ PAGENO => {:type => ::Thrift::Types::I32, :name => 'pageNo'},
596
+ PAGESIZE => {:type => ::Thrift::Types::I32, :name => 'pageSize'}
597
+ }
598
+
599
+ def struct_fields; FIELDS; end
600
+
601
+ def validate
602
+ end
603
+
604
+ ::Thrift::Struct.generate_accessors self
605
+ end
606
+
607
+ class HotAlbum_result
608
+ include ::Thrift::Struct, ::Thrift::Struct_Union
609
+ SUCCESS = 0
610
+
611
+ FIELDS = {
612
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Stat::Query::HotResult}
613
+ }
614
+
615
+ def struct_fields; FIELDS; end
616
+
617
+ def validate
618
+ end
619
+
620
+ ::Thrift::Struct.generate_accessors self
621
+ end
622
+
623
+ class HotRadioAndSound_args
624
+ include ::Thrift::Struct, ::Thrift::Struct_Union
625
+ CATEGORYIDS = 1
626
+
627
+ FIELDS = {
628
+ CATEGORYIDS => {:type => ::Thrift::Types::LIST, :name => 'categoryIds', :element => {:type => ::Thrift::Types::I32}}
629
+ }
630
+
631
+ def struct_fields; FIELDS; end
632
+
633
+ def validate
634
+ end
635
+
636
+ ::Thrift::Struct.generate_accessors self
637
+ end
638
+
639
+ class HotRadioAndSound_result
640
+ include ::Thrift::Struct, ::Thrift::Struct_Union
641
+ SUCCESS = 0
642
+
643
+ FIELDS = {
644
+ SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::MAP, :key => {:type => ::Thrift::Types::I32}, :value => {:type => ::Thrift::Types::LIST, :element => {:type => ::Thrift::Types::I64}}}}
645
+ }
646
+
647
+ def struct_fields; FIELDS; end
648
+
649
+ def validate
650
+ end
651
+
652
+ ::Thrift::Struct.generate_accessors self
653
+ end
654
+
655
+ class HotCategoryAlbum_args
656
+ include ::Thrift::Struct, ::Thrift::Struct_Union
657
+ ID = 1
658
+ TAGNAMES = 2
659
+ SIZE = 3
660
+
661
+ FIELDS = {
662
+ ID => {:type => ::Thrift::Types::I64, :name => 'id'},
663
+ TAGNAMES => {:type => ::Thrift::Types::LIST, :name => 'tagNames', :element => {:type => ::Thrift::Types::STRING}},
664
+ SIZE => {:type => ::Thrift::Types::I32, :name => 'size'}
665
+ }
666
+
667
+ def struct_fields; FIELDS; end
668
+
669
+ def validate
670
+ end
671
+
672
+ ::Thrift::Struct.generate_accessors self
673
+ end
674
+
675
+ class HotCategoryAlbum_result
676
+ include ::Thrift::Struct, ::Thrift::Struct_Union
677
+ SUCCESS = 0
678
+
679
+ FIELDS = {
680
+ SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::LIST, :element => {:type => ::Thrift::Types::I64}}}
681
+ }
682
+
683
+ def struct_fields; FIELDS; end
684
+
685
+ def validate
686
+ end
687
+
688
+ ::Thrift::Struct.generate_accessors self
689
+ end
690
+
691
+ class HotRadioRandom_args
692
+ include ::Thrift::Struct, ::Thrift::Struct_Union
693
+
694
+ FIELDS = {
695
+
696
+ }
697
+
698
+ def struct_fields; FIELDS; end
699
+
700
+ def validate
701
+ end
702
+
703
+ ::Thrift::Struct.generate_accessors self
704
+ end
705
+
706
+ class HotRadioRandom_result
707
+ include ::Thrift::Struct, ::Thrift::Struct_Union
708
+ SUCCESS = 0
709
+
710
+ FIELDS = {
711
+ SUCCESS => {:type => ::Thrift::Types::SET, :name => 'success', :element => {:type => ::Thrift::Types::I64}}
712
+ }
713
+
714
+ def struct_fields; FIELDS; end
715
+
716
+ def validate
717
+ end
718
+
719
+ ::Thrift::Struct.generate_accessors self
720
+ end
721
+
722
+ end
723
+
724
+ end
725
+ end