track_service_thrift_client 0.0.1 → 0.0.2

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