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,673 @@
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 TDiscoverService
13
+ class Client
14
+ include ::Thrift::Client
15
+
16
+ def reload()
17
+ send_reload()
18
+ end
19
+
20
+ def send_reload()
21
+ send_message('reload', Reload_args)
22
+ end
23
+ def selectWebTrackCategoryAndTag()
24
+ send_selectWebTrackCategoryAndTag()
25
+ return recv_selectWebTrackCategoryAndTag()
26
+ end
27
+
28
+ def send_selectWebTrackCategoryAndTag()
29
+ send_message('selectWebTrackCategoryAndTag', SelectWebTrackCategoryAndTag_args)
30
+ end
31
+
32
+ def recv_selectWebTrackCategoryAndTag()
33
+ result = receive_message(SelectWebTrackCategoryAndTag_result)
34
+ return result.success unless result.success.nil?
35
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'selectWebTrackCategoryAndTag failed: unknown result')
36
+ end
37
+
38
+ def selectWebAlbumCategoryAndTag()
39
+ send_selectWebAlbumCategoryAndTag()
40
+ return recv_selectWebAlbumCategoryAndTag()
41
+ end
42
+
43
+ def send_selectWebAlbumCategoryAndTag()
44
+ send_message('selectWebAlbumCategoryAndTag', SelectWebAlbumCategoryAndTag_args)
45
+ end
46
+
47
+ def recv_selectWebAlbumCategoryAndTag()
48
+ result = receive_message(SelectWebAlbumCategoryAndTag_result)
49
+ return result.success unless result.success.nil?
50
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'selectWebAlbumCategoryAndTag failed: unknown result')
51
+ end
52
+
53
+ def selectWebHumanCategory()
54
+ send_selectWebHumanCategory()
55
+ return recv_selectWebHumanCategory()
56
+ end
57
+
58
+ def send_selectWebHumanCategory()
59
+ send_message('selectWebHumanCategory', SelectWebHumanCategory_args)
60
+ end
61
+
62
+ def recv_selectWebHumanCategory()
63
+ result = receive_message(SelectWebHumanCategory_result)
64
+ return result.success unless result.success.nil?
65
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'selectWebHumanCategory failed: unknown result')
66
+ end
67
+
68
+ def selectWebCategory()
69
+ send_selectWebCategory()
70
+ return recv_selectWebCategory()
71
+ end
72
+
73
+ def send_selectWebCategory()
74
+ send_message('selectWebCategory', SelectWebCategory_args)
75
+ end
76
+
77
+ def recv_selectWebCategory()
78
+ result = receive_message(SelectWebCategory_result)
79
+ return result.success unless result.success.nil?
80
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'selectWebCategory failed: unknown result')
81
+ end
82
+
83
+ def selectWebAlbumTag(categoryId)
84
+ send_selectWebAlbumTag(categoryId)
85
+ return recv_selectWebAlbumTag()
86
+ end
87
+
88
+ def send_selectWebAlbumTag(categoryId)
89
+ send_message('selectWebAlbumTag', SelectWebAlbumTag_args, :categoryId => categoryId)
90
+ end
91
+
92
+ def recv_selectWebAlbumTag()
93
+ result = receive_message(SelectWebAlbumTag_result)
94
+ return result.success unless result.success.nil?
95
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'selectWebAlbumTag failed: unknown result')
96
+ end
97
+
98
+ def selectWebTrackTag(categoryId)
99
+ send_selectWebTrackTag(categoryId)
100
+ return recv_selectWebTrackTag()
101
+ end
102
+
103
+ def send_selectWebTrackTag(categoryId)
104
+ send_message('selectWebTrackTag', SelectWebTrackTag_args, :categoryId => categoryId)
105
+ end
106
+
107
+ def recv_selectWebTrackTag()
108
+ result = receive_message(SelectWebTrackTag_result)
109
+ return result.success unless result.success.nil?
110
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'selectWebTrackTag failed: unknown result')
111
+ end
112
+
113
+ def selectMobileCategory(version, device, scale)
114
+ send_selectMobileCategory(version, device, scale)
115
+ return recv_selectMobileCategory()
116
+ end
117
+
118
+ def send_selectMobileCategory(version, device, scale)
119
+ send_message('selectMobileCategory', SelectMobileCategory_args, :version => version, :device => device, :scale => scale)
120
+ end
121
+
122
+ def recv_selectMobileCategory()
123
+ result = receive_message(SelectMobileCategory_result)
124
+ return result.success unless result.success.nil?
125
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'selectMobileCategory failed: unknown result')
126
+ end
127
+
128
+ def selectMobileHumanCategory(version, device, scale)
129
+ send_selectMobileHumanCategory(version, device, scale)
130
+ return recv_selectMobileHumanCategory()
131
+ end
132
+
133
+ def send_selectMobileHumanCategory(version, device, scale)
134
+ send_message('selectMobileHumanCategory', SelectMobileHumanCategory_args, :version => version, :device => device, :scale => scale)
135
+ end
136
+
137
+ def recv_selectMobileHumanCategory()
138
+ result = receive_message(SelectMobileHumanCategory_result)
139
+ return result.success unless result.success.nil?
140
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'selectMobileHumanCategory failed: unknown result')
141
+ end
142
+
143
+ def selectMobileAlbumTag(categoryId)
144
+ send_selectMobileAlbumTag(categoryId)
145
+ return recv_selectMobileAlbumTag()
146
+ end
147
+
148
+ def send_selectMobileAlbumTag(categoryId)
149
+ send_message('selectMobileAlbumTag', SelectMobileAlbumTag_args, :categoryId => categoryId)
150
+ end
151
+
152
+ def recv_selectMobileAlbumTag()
153
+ result = receive_message(SelectMobileAlbumTag_result)
154
+ return result.success unless result.success.nil?
155
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'selectMobileAlbumTag failed: unknown result')
156
+ end
157
+
158
+ def selectMobileTrackTag(categoryId)
159
+ send_selectMobileTrackTag(categoryId)
160
+ return recv_selectMobileTrackTag()
161
+ end
162
+
163
+ def send_selectMobileTrackTag(categoryId)
164
+ send_message('selectMobileTrackTag', SelectMobileTrackTag_args, :categoryId => categoryId)
165
+ end
166
+
167
+ def recv_selectMobileTrackTag()
168
+ result = receive_message(SelectMobileTrackTag_result)
169
+ return result.success unless result.success.nil?
170
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'selectMobileTrackTag failed: unknown result')
171
+ end
172
+
173
+ def selectMobileMultiCategories(categoryIdAndVersions, device, scale)
174
+ send_selectMobileMultiCategories(categoryIdAndVersions, device, scale)
175
+ return recv_selectMobileMultiCategories()
176
+ end
177
+
178
+ def send_selectMobileMultiCategories(categoryIdAndVersions, device, scale)
179
+ send_message('selectMobileMultiCategories', SelectMobileMultiCategories_args, :categoryIdAndVersions => categoryIdAndVersions, :device => device, :scale => scale)
180
+ end
181
+
182
+ def recv_selectMobileMultiCategories()
183
+ result = receive_message(SelectMobileMultiCategories_result)
184
+ return result.success unless result.success.nil?
185
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'selectMobileMultiCategories failed: unknown result')
186
+ end
187
+
188
+ end
189
+
190
+ class Processor
191
+ include ::Thrift::Processor
192
+
193
+ def process_reload(seqid, iprot, oprot)
194
+ args = read_args(iprot, Reload_args)
195
+ @handler.reload()
196
+ return
197
+ end
198
+
199
+ def process_selectWebTrackCategoryAndTag(seqid, iprot, oprot)
200
+ args = read_args(iprot, SelectWebTrackCategoryAndTag_args)
201
+ result = SelectWebTrackCategoryAndTag_result.new()
202
+ result.success = @handler.selectWebTrackCategoryAndTag()
203
+ write_result(result, oprot, 'selectWebTrackCategoryAndTag', seqid)
204
+ end
205
+
206
+ def process_selectWebAlbumCategoryAndTag(seqid, iprot, oprot)
207
+ args = read_args(iprot, SelectWebAlbumCategoryAndTag_args)
208
+ result = SelectWebAlbumCategoryAndTag_result.new()
209
+ result.success = @handler.selectWebAlbumCategoryAndTag()
210
+ write_result(result, oprot, 'selectWebAlbumCategoryAndTag', seqid)
211
+ end
212
+
213
+ def process_selectWebHumanCategory(seqid, iprot, oprot)
214
+ args = read_args(iprot, SelectWebHumanCategory_args)
215
+ result = SelectWebHumanCategory_result.new()
216
+ result.success = @handler.selectWebHumanCategory()
217
+ write_result(result, oprot, 'selectWebHumanCategory', seqid)
218
+ end
219
+
220
+ def process_selectWebCategory(seqid, iprot, oprot)
221
+ args = read_args(iprot, SelectWebCategory_args)
222
+ result = SelectWebCategory_result.new()
223
+ result.success = @handler.selectWebCategory()
224
+ write_result(result, oprot, 'selectWebCategory', seqid)
225
+ end
226
+
227
+ def process_selectWebAlbumTag(seqid, iprot, oprot)
228
+ args = read_args(iprot, SelectWebAlbumTag_args)
229
+ result = SelectWebAlbumTag_result.new()
230
+ result.success = @handler.selectWebAlbumTag(args.categoryId)
231
+ write_result(result, oprot, 'selectWebAlbumTag', seqid)
232
+ end
233
+
234
+ def process_selectWebTrackTag(seqid, iprot, oprot)
235
+ args = read_args(iprot, SelectWebTrackTag_args)
236
+ result = SelectWebTrackTag_result.new()
237
+ result.success = @handler.selectWebTrackTag(args.categoryId)
238
+ write_result(result, oprot, 'selectWebTrackTag', seqid)
239
+ end
240
+
241
+ def process_selectMobileCategory(seqid, iprot, oprot)
242
+ args = read_args(iprot, SelectMobileCategory_args)
243
+ result = SelectMobileCategory_result.new()
244
+ result.success = @handler.selectMobileCategory(args.version, args.device, args.scale)
245
+ write_result(result, oprot, 'selectMobileCategory', seqid)
246
+ end
247
+
248
+ def process_selectMobileHumanCategory(seqid, iprot, oprot)
249
+ args = read_args(iprot, SelectMobileHumanCategory_args)
250
+ result = SelectMobileHumanCategory_result.new()
251
+ result.success = @handler.selectMobileHumanCategory(args.version, args.device, args.scale)
252
+ write_result(result, oprot, 'selectMobileHumanCategory', seqid)
253
+ end
254
+
255
+ def process_selectMobileAlbumTag(seqid, iprot, oprot)
256
+ args = read_args(iprot, SelectMobileAlbumTag_args)
257
+ result = SelectMobileAlbumTag_result.new()
258
+ result.success = @handler.selectMobileAlbumTag(args.categoryId)
259
+ write_result(result, oprot, 'selectMobileAlbumTag', seqid)
260
+ end
261
+
262
+ def process_selectMobileTrackTag(seqid, iprot, oprot)
263
+ args = read_args(iprot, SelectMobileTrackTag_args)
264
+ result = SelectMobileTrackTag_result.new()
265
+ result.success = @handler.selectMobileTrackTag(args.categoryId)
266
+ write_result(result, oprot, 'selectMobileTrackTag', seqid)
267
+ end
268
+
269
+ def process_selectMobileMultiCategories(seqid, iprot, oprot)
270
+ args = read_args(iprot, SelectMobileMultiCategories_args)
271
+ result = SelectMobileMultiCategories_result.new()
272
+ result.success = @handler.selectMobileMultiCategories(args.categoryIdAndVersions, args.device, args.scale)
273
+ write_result(result, oprot, 'selectMobileMultiCategories', seqid)
274
+ end
275
+
276
+ end
277
+
278
+ # HELPER FUNCTIONS AND STRUCTURES
279
+
280
+ class Reload_args
281
+ include ::Thrift::Struct, ::Thrift::Struct_Union
282
+
283
+ FIELDS = {
284
+
285
+ }
286
+
287
+ def struct_fields; FIELDS; end
288
+
289
+ def validate
290
+ end
291
+
292
+ ::Thrift::Struct.generate_accessors self
293
+ end
294
+
295
+ class Reload_result
296
+ include ::Thrift::Struct, ::Thrift::Struct_Union
297
+
298
+ FIELDS = {
299
+
300
+ }
301
+
302
+ def struct_fields; FIELDS; end
303
+
304
+ def validate
305
+ end
306
+
307
+ ::Thrift::Struct.generate_accessors self
308
+ end
309
+
310
+ class SelectWebTrackCategoryAndTag_args
311
+ include ::Thrift::Struct, ::Thrift::Struct_Union
312
+
313
+ FIELDS = {
314
+
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 SelectWebTrackCategoryAndTag_result
326
+ include ::Thrift::Struct, ::Thrift::Struct_Union
327
+ SUCCESS = 0
328
+
329
+ FIELDS = {
330
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Stat::Query::Category}}
331
+ }
332
+
333
+ def struct_fields; FIELDS; end
334
+
335
+ def validate
336
+ end
337
+
338
+ ::Thrift::Struct.generate_accessors self
339
+ end
340
+
341
+ class SelectWebAlbumCategoryAndTag_args
342
+ include ::Thrift::Struct, ::Thrift::Struct_Union
343
+
344
+ FIELDS = {
345
+
346
+ }
347
+
348
+ def struct_fields; FIELDS; end
349
+
350
+ def validate
351
+ end
352
+
353
+ ::Thrift::Struct.generate_accessors self
354
+ end
355
+
356
+ class SelectWebAlbumCategoryAndTag_result
357
+ include ::Thrift::Struct, ::Thrift::Struct_Union
358
+ SUCCESS = 0
359
+
360
+ FIELDS = {
361
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Stat::Query::Category}}
362
+ }
363
+
364
+ def struct_fields; FIELDS; end
365
+
366
+ def validate
367
+ end
368
+
369
+ ::Thrift::Struct.generate_accessors self
370
+ end
371
+
372
+ class SelectWebHumanCategory_args
373
+ include ::Thrift::Struct, ::Thrift::Struct_Union
374
+
375
+ FIELDS = {
376
+
377
+ }
378
+
379
+ def struct_fields; FIELDS; end
380
+
381
+ def validate
382
+ end
383
+
384
+ ::Thrift::Struct.generate_accessors self
385
+ end
386
+
387
+ class SelectWebHumanCategory_result
388
+ include ::Thrift::Struct, ::Thrift::Struct_Union
389
+ SUCCESS = 0
390
+
391
+ FIELDS = {
392
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Stat::Query::Category}}
393
+ }
394
+
395
+ def struct_fields; FIELDS; end
396
+
397
+ def validate
398
+ end
399
+
400
+ ::Thrift::Struct.generate_accessors self
401
+ end
402
+
403
+ class SelectWebCategory_args
404
+ include ::Thrift::Struct, ::Thrift::Struct_Union
405
+
406
+ FIELDS = {
407
+
408
+ }
409
+
410
+ def struct_fields; FIELDS; end
411
+
412
+ def validate
413
+ end
414
+
415
+ ::Thrift::Struct.generate_accessors self
416
+ end
417
+
418
+ class SelectWebCategory_result
419
+ include ::Thrift::Struct, ::Thrift::Struct_Union
420
+ SUCCESS = 0
421
+
422
+ FIELDS = {
423
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Stat::Query::Category}}
424
+ }
425
+
426
+ def struct_fields; FIELDS; end
427
+
428
+ def validate
429
+ end
430
+
431
+ ::Thrift::Struct.generate_accessors self
432
+ end
433
+
434
+ class SelectWebAlbumTag_args
435
+ include ::Thrift::Struct, ::Thrift::Struct_Union
436
+ CATEGORYID = 1
437
+
438
+ FIELDS = {
439
+ CATEGORYID => {:type => ::Thrift::Types::I32, :name => 'categoryId'}
440
+ }
441
+
442
+ def struct_fields; FIELDS; end
443
+
444
+ def validate
445
+ end
446
+
447
+ ::Thrift::Struct.generate_accessors self
448
+ end
449
+
450
+ class SelectWebAlbumTag_result
451
+ include ::Thrift::Struct, ::Thrift::Struct_Union
452
+ SUCCESS = 0
453
+
454
+ FIELDS = {
455
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Stat::Query::Tag}}
456
+ }
457
+
458
+ def struct_fields; FIELDS; end
459
+
460
+ def validate
461
+ end
462
+
463
+ ::Thrift::Struct.generate_accessors self
464
+ end
465
+
466
+ class SelectWebTrackTag_args
467
+ include ::Thrift::Struct, ::Thrift::Struct_Union
468
+ CATEGORYID = 1
469
+
470
+ FIELDS = {
471
+ CATEGORYID => {:type => ::Thrift::Types::I32, :name => 'categoryId'}
472
+ }
473
+
474
+ def struct_fields; FIELDS; end
475
+
476
+ def validate
477
+ end
478
+
479
+ ::Thrift::Struct.generate_accessors self
480
+ end
481
+
482
+ class SelectWebTrackTag_result
483
+ include ::Thrift::Struct, ::Thrift::Struct_Union
484
+ SUCCESS = 0
485
+
486
+ FIELDS = {
487
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Stat::Query::Tag}}
488
+ }
489
+
490
+ def struct_fields; FIELDS; end
491
+
492
+ def validate
493
+ end
494
+
495
+ ::Thrift::Struct.generate_accessors self
496
+ end
497
+
498
+ class SelectMobileCategory_args
499
+ include ::Thrift::Struct, ::Thrift::Struct_Union
500
+ VERSION = 1
501
+ DEVICE = 2
502
+ SCALE = 3
503
+
504
+ FIELDS = {
505
+ VERSION => {:type => ::Thrift::Types::I32, :name => 'version'},
506
+ DEVICE => {:type => ::Thrift::Types::STRING, :name => 'device'},
507
+ SCALE => {:type => ::Thrift::Types::I32, :name => 'scale'}
508
+ }
509
+
510
+ def struct_fields; FIELDS; end
511
+
512
+ def validate
513
+ end
514
+
515
+ ::Thrift::Struct.generate_accessors self
516
+ end
517
+
518
+ class SelectMobileCategory_result
519
+ include ::Thrift::Struct, ::Thrift::Struct_Union
520
+ SUCCESS = 0
521
+
522
+ FIELDS = {
523
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Stat::Query::Category}}
524
+ }
525
+
526
+ def struct_fields; FIELDS; end
527
+
528
+ def validate
529
+ end
530
+
531
+ ::Thrift::Struct.generate_accessors self
532
+ end
533
+
534
+ class SelectMobileHumanCategory_args
535
+ include ::Thrift::Struct, ::Thrift::Struct_Union
536
+ VERSION = 1
537
+ DEVICE = 2
538
+ SCALE = 3
539
+
540
+ FIELDS = {
541
+ VERSION => {:type => ::Thrift::Types::I32, :name => 'version'},
542
+ DEVICE => {:type => ::Thrift::Types::STRING, :name => 'device'},
543
+ SCALE => {:type => ::Thrift::Types::I32, :name => 'scale'}
544
+ }
545
+
546
+ def struct_fields; FIELDS; end
547
+
548
+ def validate
549
+ end
550
+
551
+ ::Thrift::Struct.generate_accessors self
552
+ end
553
+
554
+ class SelectMobileHumanCategory_result
555
+ include ::Thrift::Struct, ::Thrift::Struct_Union
556
+ SUCCESS = 0
557
+
558
+ FIELDS = {
559
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Stat::Query::Category}}
560
+ }
561
+
562
+ def struct_fields; FIELDS; end
563
+
564
+ def validate
565
+ end
566
+
567
+ ::Thrift::Struct.generate_accessors self
568
+ end
569
+
570
+ class SelectMobileAlbumTag_args
571
+ include ::Thrift::Struct, ::Thrift::Struct_Union
572
+ CATEGORYID = 1
573
+
574
+ FIELDS = {
575
+ CATEGORYID => {:type => ::Thrift::Types::I32, :name => 'categoryId'}
576
+ }
577
+
578
+ def struct_fields; FIELDS; end
579
+
580
+ def validate
581
+ end
582
+
583
+ ::Thrift::Struct.generate_accessors self
584
+ end
585
+
586
+ class SelectMobileAlbumTag_result
587
+ include ::Thrift::Struct, ::Thrift::Struct_Union
588
+ SUCCESS = 0
589
+
590
+ FIELDS = {
591
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Stat::Query::Tag}}
592
+ }
593
+
594
+ def struct_fields; FIELDS; end
595
+
596
+ def validate
597
+ end
598
+
599
+ ::Thrift::Struct.generate_accessors self
600
+ end
601
+
602
+ class SelectMobileTrackTag_args
603
+ include ::Thrift::Struct, ::Thrift::Struct_Union
604
+ CATEGORYID = 1
605
+
606
+ FIELDS = {
607
+ CATEGORYID => {:type => ::Thrift::Types::I32, :name => 'categoryId'}
608
+ }
609
+
610
+ def struct_fields; FIELDS; end
611
+
612
+ def validate
613
+ end
614
+
615
+ ::Thrift::Struct.generate_accessors self
616
+ end
617
+
618
+ class SelectMobileTrackTag_result
619
+ include ::Thrift::Struct, ::Thrift::Struct_Union
620
+ SUCCESS = 0
621
+
622
+ FIELDS = {
623
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Stat::Query::Tag}}
624
+ }
625
+
626
+ def struct_fields; FIELDS; end
627
+
628
+ def validate
629
+ end
630
+
631
+ ::Thrift::Struct.generate_accessors self
632
+ end
633
+
634
+ class SelectMobileMultiCategories_args
635
+ include ::Thrift::Struct, ::Thrift::Struct_Union
636
+ CATEGORYIDANDVERSIONS = 1
637
+ DEVICE = 2
638
+ SCALE = 3
639
+
640
+ FIELDS = {
641
+ CATEGORYIDANDVERSIONS => {:type => ::Thrift::Types::MAP, :name => 'categoryIdAndVersions', :key => {:type => ::Thrift::Types::I32}, :value => {:type => ::Thrift::Types::STRING}},
642
+ DEVICE => {:type => ::Thrift::Types::STRING, :name => 'device'},
643
+ SCALE => {:type => ::Thrift::Types::I32, :name => 'scale'}
644
+ }
645
+
646
+ def struct_fields; FIELDS; end
647
+
648
+ def validate
649
+ end
650
+
651
+ ::Thrift::Struct.generate_accessors self
652
+ end
653
+
654
+ class SelectMobileMultiCategories_result
655
+ include ::Thrift::Struct, ::Thrift::Struct_Union
656
+ SUCCESS = 0
657
+
658
+ FIELDS = {
659
+ SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::I32}, :value => {:type => ::Thrift::Types::STRUCT, :class => ::Stat::Query::Category}}
660
+ }
661
+
662
+ def struct_fields; FIELDS; end
663
+
664
+ def validate
665
+ end
666
+
667
+ ::Thrift::Struct.generate_accessors self
668
+ end
669
+
670
+ end
671
+
672
+ end
673
+ end