track_service_thrift_client 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/lib/content_constants.rb +9 -0
- data/lib/content_types.rb +682 -0
- data/lib/remote_track_facade_service.rb +792 -0
- data/lib/remote_track_query_service.rb +240 -0
- data/lib/track_constants.rb +9 -0
- data/lib/track_service.rb +8 -0
- data/lib/track_types.rb +339 -0
- data/lib/uts_model_constants.rb +9 -0
- data/lib/uts_model_types.rb +184 -0
- metadata +51 -0
@@ -0,0 +1,792 @@
|
|
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 'track_types'
|
9
|
+
|
10
|
+
module RemoteTrackFacadeService
|
11
|
+
class Client
|
12
|
+
include ::Thrift::Client
|
13
|
+
|
14
|
+
def createTrack(trackForm)
|
15
|
+
send_createTrack(trackForm)
|
16
|
+
return recv_createTrack()
|
17
|
+
end
|
18
|
+
|
19
|
+
def send_createTrack(trackForm)
|
20
|
+
send_message('createTrack', CreateTrack_args, :trackForm => trackForm)
|
21
|
+
end
|
22
|
+
|
23
|
+
def recv_createTrack()
|
24
|
+
result = receive_message(CreateTrack_result)
|
25
|
+
return result.success unless result.success.nil?
|
26
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'createTrack failed: unknown result')
|
27
|
+
end
|
28
|
+
|
29
|
+
def updateTrack(trackForm)
|
30
|
+
send_updateTrack(trackForm)
|
31
|
+
recv_updateTrack()
|
32
|
+
end
|
33
|
+
|
34
|
+
def send_updateTrack(trackForm)
|
35
|
+
send_message('updateTrack', UpdateTrack_args, :trackForm => trackForm)
|
36
|
+
end
|
37
|
+
|
38
|
+
def recv_updateTrack()
|
39
|
+
result = receive_message(UpdateTrack_result)
|
40
|
+
return
|
41
|
+
end
|
42
|
+
|
43
|
+
def deleteTrack(trackDeleteForm)
|
44
|
+
send_deleteTrack(trackDeleteForm)
|
45
|
+
recv_deleteTrack()
|
46
|
+
end
|
47
|
+
|
48
|
+
def send_deleteTrack(trackDeleteForm)
|
49
|
+
send_message('deleteTrack', DeleteTrack_args, :trackDeleteForm => trackDeleteForm)
|
50
|
+
end
|
51
|
+
|
52
|
+
def recv_deleteTrack()
|
53
|
+
result = receive_message(DeleteTrack_result)
|
54
|
+
return
|
55
|
+
end
|
56
|
+
|
57
|
+
def repostTrack(trackRepostForm)
|
58
|
+
send_repostTrack(trackRepostForm)
|
59
|
+
return recv_repostTrack()
|
60
|
+
end
|
61
|
+
|
62
|
+
def send_repostTrack(trackRepostForm)
|
63
|
+
send_message('repostTrack', RepostTrack_args, :trackRepostForm => trackRepostForm)
|
64
|
+
end
|
65
|
+
|
66
|
+
def recv_repostTrack()
|
67
|
+
result = receive_message(RepostTrack_result)
|
68
|
+
return result.success unless result.success.nil?
|
69
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'repostTrack failed: unknown result')
|
70
|
+
end
|
71
|
+
|
72
|
+
def queryBaseTrackInfo(trackId)
|
73
|
+
send_queryBaseTrackInfo(trackId)
|
74
|
+
return recv_queryBaseTrackInfo()
|
75
|
+
end
|
76
|
+
|
77
|
+
def send_queryBaseTrackInfo(trackId)
|
78
|
+
send_message('queryBaseTrackInfo', QueryBaseTrackInfo_args, :trackId => trackId)
|
79
|
+
end
|
80
|
+
|
81
|
+
def recv_queryBaseTrackInfo()
|
82
|
+
result = receive_message(QueryBaseTrackInfo_result)
|
83
|
+
return result.success unless result.success.nil?
|
84
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryBaseTrackInfo failed: unknown result')
|
85
|
+
end
|
86
|
+
|
87
|
+
def multiQueryBaseTrackInfos(trackIds)
|
88
|
+
send_multiQueryBaseTrackInfos(trackIds)
|
89
|
+
return recv_multiQueryBaseTrackInfos()
|
90
|
+
end
|
91
|
+
|
92
|
+
def send_multiQueryBaseTrackInfos(trackIds)
|
93
|
+
send_message('multiQueryBaseTrackInfos', MultiQueryBaseTrackInfos_args, :trackIds => trackIds)
|
94
|
+
end
|
95
|
+
|
96
|
+
def recv_multiQueryBaseTrackInfos()
|
97
|
+
result = receive_message(MultiQueryBaseTrackInfos_result)
|
98
|
+
return result.success unless result.success.nil?
|
99
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'multiQueryBaseTrackInfos failed: unknown result')
|
100
|
+
end
|
101
|
+
|
102
|
+
def queryDetailTrackInfo(trackId)
|
103
|
+
send_queryDetailTrackInfo(trackId)
|
104
|
+
return recv_queryDetailTrackInfo()
|
105
|
+
end
|
106
|
+
|
107
|
+
def send_queryDetailTrackInfo(trackId)
|
108
|
+
send_message('queryDetailTrackInfo', QueryDetailTrackInfo_args, :trackId => trackId)
|
109
|
+
end
|
110
|
+
|
111
|
+
def recv_queryDetailTrackInfo()
|
112
|
+
result = receive_message(QueryDetailTrackInfo_result)
|
113
|
+
return result.success unless result.success.nil?
|
114
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryDetailTrackInfo failed: unknown result')
|
115
|
+
end
|
116
|
+
|
117
|
+
def multiQueryDetailTrackInfos(trackIds)
|
118
|
+
send_multiQueryDetailTrackInfos(trackIds)
|
119
|
+
return recv_multiQueryDetailTrackInfos()
|
120
|
+
end
|
121
|
+
|
122
|
+
def send_multiQueryDetailTrackInfos(trackIds)
|
123
|
+
send_message('multiQueryDetailTrackInfos', MultiQueryDetailTrackInfos_args, :trackIds => trackIds)
|
124
|
+
end
|
125
|
+
|
126
|
+
def recv_multiQueryDetailTrackInfos()
|
127
|
+
result = receive_message(MultiQueryDetailTrackInfos_result)
|
128
|
+
return result.success unless result.success.nil?
|
129
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'multiQueryDetailTrackInfos failed: unknown result')
|
130
|
+
end
|
131
|
+
|
132
|
+
def querySelfSimpleTrackRecords(uid, page, size)
|
133
|
+
send_querySelfSimpleTrackRecords(uid, page, size)
|
134
|
+
return recv_querySelfSimpleTrackRecords()
|
135
|
+
end
|
136
|
+
|
137
|
+
def send_querySelfSimpleTrackRecords(uid, page, size)
|
138
|
+
send_message('querySelfSimpleTrackRecords', QuerySelfSimpleTrackRecords_args, :uid => uid, :page => page, :size => size)
|
139
|
+
end
|
140
|
+
|
141
|
+
def recv_querySelfSimpleTrackRecords()
|
142
|
+
result = receive_message(QuerySelfSimpleTrackRecords_result)
|
143
|
+
return result.success unless result.success.nil?
|
144
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'querySelfSimpleTrackRecords failed: unknown result')
|
145
|
+
end
|
146
|
+
|
147
|
+
def queryOtherSimpleTrackRecords(uid, page, size)
|
148
|
+
send_queryOtherSimpleTrackRecords(uid, page, size)
|
149
|
+
return recv_queryOtherSimpleTrackRecords()
|
150
|
+
end
|
151
|
+
|
152
|
+
def send_queryOtherSimpleTrackRecords(uid, page, size)
|
153
|
+
send_message('queryOtherSimpleTrackRecords', QueryOtherSimpleTrackRecords_args, :uid => uid, :page => page, :size => size)
|
154
|
+
end
|
155
|
+
|
156
|
+
def recv_queryOtherSimpleTrackRecords()
|
157
|
+
result = receive_message(QueryOtherSimpleTrackRecords_result)
|
158
|
+
return result.success unless result.success.nil?
|
159
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryOtherSimpleTrackRecords failed: unknown result')
|
160
|
+
end
|
161
|
+
|
162
|
+
def querySelfBasicTrackRecords(uid, page, size)
|
163
|
+
send_querySelfBasicTrackRecords(uid, page, size)
|
164
|
+
return recv_querySelfBasicTrackRecords()
|
165
|
+
end
|
166
|
+
|
167
|
+
def send_querySelfBasicTrackRecords(uid, page, size)
|
168
|
+
send_message('querySelfBasicTrackRecords', QuerySelfBasicTrackRecords_args, :uid => uid, :page => page, :size => size)
|
169
|
+
end
|
170
|
+
|
171
|
+
def recv_querySelfBasicTrackRecords()
|
172
|
+
result = receive_message(QuerySelfBasicTrackRecords_result)
|
173
|
+
return result.success unless result.success.nil?
|
174
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'querySelfBasicTrackRecords failed: unknown result')
|
175
|
+
end
|
176
|
+
|
177
|
+
def queryOtherBasicTrackRecords(uid, page, size)
|
178
|
+
send_queryOtherBasicTrackRecords(uid, page, size)
|
179
|
+
return recv_queryOtherBasicTrackRecords()
|
180
|
+
end
|
181
|
+
|
182
|
+
def send_queryOtherBasicTrackRecords(uid, page, size)
|
183
|
+
send_message('queryOtherBasicTrackRecords', QueryOtherBasicTrackRecords_args, :uid => uid, :page => page, :size => size)
|
184
|
+
end
|
185
|
+
|
186
|
+
def recv_queryOtherBasicTrackRecords()
|
187
|
+
result = receive_message(QueryOtherBasicTrackRecords_result)
|
188
|
+
return result.success unless result.success.nil?
|
189
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryOtherBasicTrackRecords failed: unknown result')
|
190
|
+
end
|
191
|
+
|
192
|
+
def querySelfTrackRecordCount(uid)
|
193
|
+
send_querySelfTrackRecordCount(uid)
|
194
|
+
return recv_querySelfTrackRecordCount()
|
195
|
+
end
|
196
|
+
|
197
|
+
def send_querySelfTrackRecordCount(uid)
|
198
|
+
send_message('querySelfTrackRecordCount', QuerySelfTrackRecordCount_args, :uid => uid)
|
199
|
+
end
|
200
|
+
|
201
|
+
def recv_querySelfTrackRecordCount()
|
202
|
+
result = receive_message(QuerySelfTrackRecordCount_result)
|
203
|
+
return result.success unless result.success.nil?
|
204
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'querySelfTrackRecordCount failed: unknown result')
|
205
|
+
end
|
206
|
+
|
207
|
+
def queryOtherTrackRecordCount(uid)
|
208
|
+
send_queryOtherTrackRecordCount(uid)
|
209
|
+
return recv_queryOtherTrackRecordCount()
|
210
|
+
end
|
211
|
+
|
212
|
+
def send_queryOtherTrackRecordCount(uid)
|
213
|
+
send_message('queryOtherTrackRecordCount', QueryOtherTrackRecordCount_args, :uid => uid)
|
214
|
+
end
|
215
|
+
|
216
|
+
def recv_queryOtherTrackRecordCount()
|
217
|
+
result = receive_message(QueryOtherTrackRecordCount_result)
|
218
|
+
return result.success unless result.success.nil?
|
219
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryOtherTrackRecordCount failed: unknown result')
|
220
|
+
end
|
221
|
+
|
222
|
+
end
|
223
|
+
|
224
|
+
class Processor
|
225
|
+
include ::Thrift::Processor
|
226
|
+
|
227
|
+
def process_createTrack(seqid, iprot, oprot)
|
228
|
+
args = read_args(iprot, CreateTrack_args)
|
229
|
+
result = CreateTrack_result.new()
|
230
|
+
result.success = @handler.createTrack(args.trackForm)
|
231
|
+
write_result(result, oprot, 'createTrack', seqid)
|
232
|
+
end
|
233
|
+
|
234
|
+
def process_updateTrack(seqid, iprot, oprot)
|
235
|
+
args = read_args(iprot, UpdateTrack_args)
|
236
|
+
result = UpdateTrack_result.new()
|
237
|
+
@handler.updateTrack(args.trackForm)
|
238
|
+
write_result(result, oprot, 'updateTrack', seqid)
|
239
|
+
end
|
240
|
+
|
241
|
+
def process_deleteTrack(seqid, iprot, oprot)
|
242
|
+
args = read_args(iprot, DeleteTrack_args)
|
243
|
+
result = DeleteTrack_result.new()
|
244
|
+
@handler.deleteTrack(args.trackDeleteForm)
|
245
|
+
write_result(result, oprot, 'deleteTrack', seqid)
|
246
|
+
end
|
247
|
+
|
248
|
+
def process_repostTrack(seqid, iprot, oprot)
|
249
|
+
args = read_args(iprot, RepostTrack_args)
|
250
|
+
result = RepostTrack_result.new()
|
251
|
+
result.success = @handler.repostTrack(args.trackRepostForm)
|
252
|
+
write_result(result, oprot, 'repostTrack', seqid)
|
253
|
+
end
|
254
|
+
|
255
|
+
def process_queryBaseTrackInfo(seqid, iprot, oprot)
|
256
|
+
args = read_args(iprot, QueryBaseTrackInfo_args)
|
257
|
+
result = QueryBaseTrackInfo_result.new()
|
258
|
+
result.success = @handler.queryBaseTrackInfo(args.trackId)
|
259
|
+
write_result(result, oprot, 'queryBaseTrackInfo', seqid)
|
260
|
+
end
|
261
|
+
|
262
|
+
def process_multiQueryBaseTrackInfos(seqid, iprot, oprot)
|
263
|
+
args = read_args(iprot, MultiQueryBaseTrackInfos_args)
|
264
|
+
result = MultiQueryBaseTrackInfos_result.new()
|
265
|
+
result.success = @handler.multiQueryBaseTrackInfos(args.trackIds)
|
266
|
+
write_result(result, oprot, 'multiQueryBaseTrackInfos', seqid)
|
267
|
+
end
|
268
|
+
|
269
|
+
def process_queryDetailTrackInfo(seqid, iprot, oprot)
|
270
|
+
args = read_args(iprot, QueryDetailTrackInfo_args)
|
271
|
+
result = QueryDetailTrackInfo_result.new()
|
272
|
+
result.success = @handler.queryDetailTrackInfo(args.trackId)
|
273
|
+
write_result(result, oprot, 'queryDetailTrackInfo', seqid)
|
274
|
+
end
|
275
|
+
|
276
|
+
def process_multiQueryDetailTrackInfos(seqid, iprot, oprot)
|
277
|
+
args = read_args(iprot, MultiQueryDetailTrackInfos_args)
|
278
|
+
result = MultiQueryDetailTrackInfos_result.new()
|
279
|
+
result.success = @handler.multiQueryDetailTrackInfos(args.trackIds)
|
280
|
+
write_result(result, oprot, 'multiQueryDetailTrackInfos', seqid)
|
281
|
+
end
|
282
|
+
|
283
|
+
def process_querySelfSimpleTrackRecords(seqid, iprot, oprot)
|
284
|
+
args = read_args(iprot, QuerySelfSimpleTrackRecords_args)
|
285
|
+
result = QuerySelfSimpleTrackRecords_result.new()
|
286
|
+
result.success = @handler.querySelfSimpleTrackRecords(args.uid, args.page, args.size)
|
287
|
+
write_result(result, oprot, 'querySelfSimpleTrackRecords', seqid)
|
288
|
+
end
|
289
|
+
|
290
|
+
def process_queryOtherSimpleTrackRecords(seqid, iprot, oprot)
|
291
|
+
args = read_args(iprot, QueryOtherSimpleTrackRecords_args)
|
292
|
+
result = QueryOtherSimpleTrackRecords_result.new()
|
293
|
+
result.success = @handler.queryOtherSimpleTrackRecords(args.uid, args.page, args.size)
|
294
|
+
write_result(result, oprot, 'queryOtherSimpleTrackRecords', seqid)
|
295
|
+
end
|
296
|
+
|
297
|
+
def process_querySelfBasicTrackRecords(seqid, iprot, oprot)
|
298
|
+
args = read_args(iprot, QuerySelfBasicTrackRecords_args)
|
299
|
+
result = QuerySelfBasicTrackRecords_result.new()
|
300
|
+
result.success = @handler.querySelfBasicTrackRecords(args.uid, args.page, args.size)
|
301
|
+
write_result(result, oprot, 'querySelfBasicTrackRecords', seqid)
|
302
|
+
end
|
303
|
+
|
304
|
+
def process_queryOtherBasicTrackRecords(seqid, iprot, oprot)
|
305
|
+
args = read_args(iprot, QueryOtherBasicTrackRecords_args)
|
306
|
+
result = QueryOtherBasicTrackRecords_result.new()
|
307
|
+
result.success = @handler.queryOtherBasicTrackRecords(args.uid, args.page, args.size)
|
308
|
+
write_result(result, oprot, 'queryOtherBasicTrackRecords', seqid)
|
309
|
+
end
|
310
|
+
|
311
|
+
def process_querySelfTrackRecordCount(seqid, iprot, oprot)
|
312
|
+
args = read_args(iprot, QuerySelfTrackRecordCount_args)
|
313
|
+
result = QuerySelfTrackRecordCount_result.new()
|
314
|
+
result.success = @handler.querySelfTrackRecordCount(args.uid)
|
315
|
+
write_result(result, oprot, 'querySelfTrackRecordCount', seqid)
|
316
|
+
end
|
317
|
+
|
318
|
+
def process_queryOtherTrackRecordCount(seqid, iprot, oprot)
|
319
|
+
args = read_args(iprot, QueryOtherTrackRecordCount_args)
|
320
|
+
result = QueryOtherTrackRecordCount_result.new()
|
321
|
+
result.success = @handler.queryOtherTrackRecordCount(args.uid)
|
322
|
+
write_result(result, oprot, 'queryOtherTrackRecordCount', seqid)
|
323
|
+
end
|
324
|
+
|
325
|
+
end
|
326
|
+
|
327
|
+
# HELPER FUNCTIONS AND STRUCTURES
|
328
|
+
|
329
|
+
class CreateTrack_args
|
330
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
331
|
+
TRACKFORM = 1
|
332
|
+
|
333
|
+
FIELDS = {
|
334
|
+
TRACKFORM => {:type => ::Thrift::Types::STRUCT, :name => 'trackForm', :class => ::TrackForm}
|
335
|
+
}
|
336
|
+
|
337
|
+
def struct_fields; FIELDS; end
|
338
|
+
|
339
|
+
def validate
|
340
|
+
end
|
341
|
+
|
342
|
+
::Thrift::Struct.generate_accessors self
|
343
|
+
end
|
344
|
+
|
345
|
+
class CreateTrack_result
|
346
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
347
|
+
SUCCESS = 0
|
348
|
+
|
349
|
+
FIELDS = {
|
350
|
+
SUCCESS => {:type => ::Thrift::Types::I64, :name => 'success'}
|
351
|
+
}
|
352
|
+
|
353
|
+
def struct_fields; FIELDS; end
|
354
|
+
|
355
|
+
def validate
|
356
|
+
end
|
357
|
+
|
358
|
+
::Thrift::Struct.generate_accessors self
|
359
|
+
end
|
360
|
+
|
361
|
+
class UpdateTrack_args
|
362
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
363
|
+
TRACKFORM = 1
|
364
|
+
|
365
|
+
FIELDS = {
|
366
|
+
TRACKFORM => {:type => ::Thrift::Types::STRUCT, :name => 'trackForm', :class => ::TrackForm}
|
367
|
+
}
|
368
|
+
|
369
|
+
def struct_fields; FIELDS; end
|
370
|
+
|
371
|
+
def validate
|
372
|
+
end
|
373
|
+
|
374
|
+
::Thrift::Struct.generate_accessors self
|
375
|
+
end
|
376
|
+
|
377
|
+
class UpdateTrack_result
|
378
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
379
|
+
|
380
|
+
FIELDS = {
|
381
|
+
|
382
|
+
}
|
383
|
+
|
384
|
+
def struct_fields; FIELDS; end
|
385
|
+
|
386
|
+
def validate
|
387
|
+
end
|
388
|
+
|
389
|
+
::Thrift::Struct.generate_accessors self
|
390
|
+
end
|
391
|
+
|
392
|
+
class DeleteTrack_args
|
393
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
394
|
+
TRACKDELETEFORM = 1
|
395
|
+
|
396
|
+
FIELDS = {
|
397
|
+
TRACKDELETEFORM => {:type => ::Thrift::Types::STRUCT, :name => 'trackDeleteForm', :class => ::TrackDeleteForm}
|
398
|
+
}
|
399
|
+
|
400
|
+
def struct_fields; FIELDS; end
|
401
|
+
|
402
|
+
def validate
|
403
|
+
end
|
404
|
+
|
405
|
+
::Thrift::Struct.generate_accessors self
|
406
|
+
end
|
407
|
+
|
408
|
+
class DeleteTrack_result
|
409
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
410
|
+
|
411
|
+
FIELDS = {
|
412
|
+
|
413
|
+
}
|
414
|
+
|
415
|
+
def struct_fields; FIELDS; end
|
416
|
+
|
417
|
+
def validate
|
418
|
+
end
|
419
|
+
|
420
|
+
::Thrift::Struct.generate_accessors self
|
421
|
+
end
|
422
|
+
|
423
|
+
class RepostTrack_args
|
424
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
425
|
+
TRACKREPOSTFORM = 1
|
426
|
+
|
427
|
+
FIELDS = {
|
428
|
+
TRACKREPOSTFORM => {:type => ::Thrift::Types::STRUCT, :name => 'trackRepostForm', :class => ::TrackRepostForm}
|
429
|
+
}
|
430
|
+
|
431
|
+
def struct_fields; FIELDS; end
|
432
|
+
|
433
|
+
def validate
|
434
|
+
end
|
435
|
+
|
436
|
+
::Thrift::Struct.generate_accessors self
|
437
|
+
end
|
438
|
+
|
439
|
+
class RepostTrack_result
|
440
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
441
|
+
SUCCESS = 0
|
442
|
+
|
443
|
+
FIELDS = {
|
444
|
+
SUCCESS => {:type => ::Thrift::Types::I64, :name => 'success'}
|
445
|
+
}
|
446
|
+
|
447
|
+
def struct_fields; FIELDS; end
|
448
|
+
|
449
|
+
def validate
|
450
|
+
end
|
451
|
+
|
452
|
+
::Thrift::Struct.generate_accessors self
|
453
|
+
end
|
454
|
+
|
455
|
+
class QueryBaseTrackInfo_args
|
456
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
457
|
+
TRACKID = 1
|
458
|
+
|
459
|
+
FIELDS = {
|
460
|
+
TRACKID => {:type => ::Thrift::Types::I64, :name => 'trackId'}
|
461
|
+
}
|
462
|
+
|
463
|
+
def struct_fields; FIELDS; end
|
464
|
+
|
465
|
+
def validate
|
466
|
+
end
|
467
|
+
|
468
|
+
::Thrift::Struct.generate_accessors self
|
469
|
+
end
|
470
|
+
|
471
|
+
class QueryBaseTrackInfo_result
|
472
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
473
|
+
SUCCESS = 0
|
474
|
+
|
475
|
+
FIELDS = {
|
476
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::BaseTrackInfo}
|
477
|
+
}
|
478
|
+
|
479
|
+
def struct_fields; FIELDS; end
|
480
|
+
|
481
|
+
def validate
|
482
|
+
end
|
483
|
+
|
484
|
+
::Thrift::Struct.generate_accessors self
|
485
|
+
end
|
486
|
+
|
487
|
+
class MultiQueryBaseTrackInfos_args
|
488
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
489
|
+
TRACKIDS = 1
|
490
|
+
|
491
|
+
FIELDS = {
|
492
|
+
TRACKIDS => {:type => ::Thrift::Types::LIST, :name => 'trackIds', :element => {:type => ::Thrift::Types::I64}}
|
493
|
+
}
|
494
|
+
|
495
|
+
def struct_fields; FIELDS; end
|
496
|
+
|
497
|
+
def validate
|
498
|
+
end
|
499
|
+
|
500
|
+
::Thrift::Struct.generate_accessors self
|
501
|
+
end
|
502
|
+
|
503
|
+
class MultiQueryBaseTrackInfos_result
|
504
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
505
|
+
SUCCESS = 0
|
506
|
+
|
507
|
+
FIELDS = {
|
508
|
+
SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::I64}, :value => {:type => ::Thrift::Types::STRUCT, :class => ::BaseTrackInfo}}
|
509
|
+
}
|
510
|
+
|
511
|
+
def struct_fields; FIELDS; end
|
512
|
+
|
513
|
+
def validate
|
514
|
+
end
|
515
|
+
|
516
|
+
::Thrift::Struct.generate_accessors self
|
517
|
+
end
|
518
|
+
|
519
|
+
class QueryDetailTrackInfo_args
|
520
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
521
|
+
TRACKID = 1
|
522
|
+
|
523
|
+
FIELDS = {
|
524
|
+
TRACKID => {:type => ::Thrift::Types::I64, :name => 'trackId'}
|
525
|
+
}
|
526
|
+
|
527
|
+
def struct_fields; FIELDS; end
|
528
|
+
|
529
|
+
def validate
|
530
|
+
end
|
531
|
+
|
532
|
+
::Thrift::Struct.generate_accessors self
|
533
|
+
end
|
534
|
+
|
535
|
+
class QueryDetailTrackInfo_result
|
536
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
537
|
+
SUCCESS = 0
|
538
|
+
|
539
|
+
FIELDS = {
|
540
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::DetailTrackInfo}
|
541
|
+
}
|
542
|
+
|
543
|
+
def struct_fields; FIELDS; end
|
544
|
+
|
545
|
+
def validate
|
546
|
+
end
|
547
|
+
|
548
|
+
::Thrift::Struct.generate_accessors self
|
549
|
+
end
|
550
|
+
|
551
|
+
class MultiQueryDetailTrackInfos_args
|
552
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
553
|
+
TRACKIDS = 1
|
554
|
+
|
555
|
+
FIELDS = {
|
556
|
+
TRACKIDS => {:type => ::Thrift::Types::LIST, :name => 'trackIds', :element => {:type => ::Thrift::Types::I64}}
|
557
|
+
}
|
558
|
+
|
559
|
+
def struct_fields; FIELDS; end
|
560
|
+
|
561
|
+
def validate
|
562
|
+
end
|
563
|
+
|
564
|
+
::Thrift::Struct.generate_accessors self
|
565
|
+
end
|
566
|
+
|
567
|
+
class MultiQueryDetailTrackInfos_result
|
568
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
569
|
+
SUCCESS = 0
|
570
|
+
|
571
|
+
FIELDS = {
|
572
|
+
SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::I64}, :value => {:type => ::Thrift::Types::STRUCT, :class => ::DetailTrackInfo}}
|
573
|
+
}
|
574
|
+
|
575
|
+
def struct_fields; FIELDS; end
|
576
|
+
|
577
|
+
def validate
|
578
|
+
end
|
579
|
+
|
580
|
+
::Thrift::Struct.generate_accessors self
|
581
|
+
end
|
582
|
+
|
583
|
+
class QuerySelfSimpleTrackRecords_args
|
584
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
585
|
+
UID = 1
|
586
|
+
PAGE = 2
|
587
|
+
SIZE = 3
|
588
|
+
|
589
|
+
FIELDS = {
|
590
|
+
UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
|
591
|
+
PAGE => {:type => ::Thrift::Types::I32, :name => 'page'},
|
592
|
+
SIZE => {:type => ::Thrift::Types::I32, :name => 'size'}
|
593
|
+
}
|
594
|
+
|
595
|
+
def struct_fields; FIELDS; end
|
596
|
+
|
597
|
+
def validate
|
598
|
+
end
|
599
|
+
|
600
|
+
::Thrift::Struct.generate_accessors self
|
601
|
+
end
|
602
|
+
|
603
|
+
class QuerySelfSimpleTrackRecords_result
|
604
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
605
|
+
SUCCESS = 0
|
606
|
+
|
607
|
+
FIELDS = {
|
608
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::SimpleTrackRecordPageResult}
|
609
|
+
}
|
610
|
+
|
611
|
+
def struct_fields; FIELDS; end
|
612
|
+
|
613
|
+
def validate
|
614
|
+
end
|
615
|
+
|
616
|
+
::Thrift::Struct.generate_accessors self
|
617
|
+
end
|
618
|
+
|
619
|
+
class QueryOtherSimpleTrackRecords_args
|
620
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
621
|
+
UID = 1
|
622
|
+
PAGE = 2
|
623
|
+
SIZE = 3
|
624
|
+
|
625
|
+
FIELDS = {
|
626
|
+
UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
|
627
|
+
PAGE => {:type => ::Thrift::Types::I32, :name => 'page'},
|
628
|
+
SIZE => {:type => ::Thrift::Types::I32, :name => 'size'}
|
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 QueryOtherSimpleTrackRecords_result
|
640
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
641
|
+
SUCCESS = 0
|
642
|
+
|
643
|
+
FIELDS = {
|
644
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::SimpleTrackRecordPageResult}
|
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 QuerySelfBasicTrackRecords_args
|
656
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
657
|
+
UID = 1
|
658
|
+
PAGE = 2
|
659
|
+
SIZE = 3
|
660
|
+
|
661
|
+
FIELDS = {
|
662
|
+
UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
|
663
|
+
PAGE => {:type => ::Thrift::Types::I32, :name => 'page'},
|
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 QuerySelfBasicTrackRecords_result
|
676
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
677
|
+
SUCCESS = 0
|
678
|
+
|
679
|
+
FIELDS = {
|
680
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::BasicTrackRecordPageResult}
|
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 QueryOtherBasicTrackRecords_args
|
692
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
693
|
+
UID = 1
|
694
|
+
PAGE = 2
|
695
|
+
SIZE = 3
|
696
|
+
|
697
|
+
FIELDS = {
|
698
|
+
UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
|
699
|
+
PAGE => {:type => ::Thrift::Types::I32, :name => 'page'},
|
700
|
+
SIZE => {:type => ::Thrift::Types::I32, :name => 'size'}
|
701
|
+
}
|
702
|
+
|
703
|
+
def struct_fields; FIELDS; end
|
704
|
+
|
705
|
+
def validate
|
706
|
+
end
|
707
|
+
|
708
|
+
::Thrift::Struct.generate_accessors self
|
709
|
+
end
|
710
|
+
|
711
|
+
class QueryOtherBasicTrackRecords_result
|
712
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
713
|
+
SUCCESS = 0
|
714
|
+
|
715
|
+
FIELDS = {
|
716
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::BasicTrackRecordPageResult}
|
717
|
+
}
|
718
|
+
|
719
|
+
def struct_fields; FIELDS; end
|
720
|
+
|
721
|
+
def validate
|
722
|
+
end
|
723
|
+
|
724
|
+
::Thrift::Struct.generate_accessors self
|
725
|
+
end
|
726
|
+
|
727
|
+
class QuerySelfTrackRecordCount_args
|
728
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
729
|
+
UID = 1
|
730
|
+
|
731
|
+
FIELDS = {
|
732
|
+
UID => {:type => ::Thrift::Types::I64, :name => 'uid'}
|
733
|
+
}
|
734
|
+
|
735
|
+
def struct_fields; FIELDS; end
|
736
|
+
|
737
|
+
def validate
|
738
|
+
end
|
739
|
+
|
740
|
+
::Thrift::Struct.generate_accessors self
|
741
|
+
end
|
742
|
+
|
743
|
+
class QuerySelfTrackRecordCount_result
|
744
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
745
|
+
SUCCESS = 0
|
746
|
+
|
747
|
+
FIELDS = {
|
748
|
+
SUCCESS => {:type => ::Thrift::Types::I32, :name => 'success'}
|
749
|
+
}
|
750
|
+
|
751
|
+
def struct_fields; FIELDS; end
|
752
|
+
|
753
|
+
def validate
|
754
|
+
end
|
755
|
+
|
756
|
+
::Thrift::Struct.generate_accessors self
|
757
|
+
end
|
758
|
+
|
759
|
+
class QueryOtherTrackRecordCount_args
|
760
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
761
|
+
UID = 1
|
762
|
+
|
763
|
+
FIELDS = {
|
764
|
+
UID => {:type => ::Thrift::Types::I64, :name => 'uid'}
|
765
|
+
}
|
766
|
+
|
767
|
+
def struct_fields; FIELDS; end
|
768
|
+
|
769
|
+
def validate
|
770
|
+
end
|
771
|
+
|
772
|
+
::Thrift::Struct.generate_accessors self
|
773
|
+
end
|
774
|
+
|
775
|
+
class QueryOtherTrackRecordCount_result
|
776
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
777
|
+
SUCCESS = 0
|
778
|
+
|
779
|
+
FIELDS = {
|
780
|
+
SUCCESS => {:type => ::Thrift::Types::I32, :name => 'success'}
|
781
|
+
}
|
782
|
+
|
783
|
+
def struct_fields; FIELDS; end
|
784
|
+
|
785
|
+
def validate
|
786
|
+
end
|
787
|
+
|
788
|
+
::Thrift::Struct.generate_accessors self
|
789
|
+
end
|
790
|
+
|
791
|
+
end
|
792
|
+
|