track_service_thrift_client 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a6c553e75e33086478319b186f8adfd875f0abe5
4
+ data.tar.gz: 519798489276fff3c9457a34dc12848c03c6b2da
5
+ SHA512:
6
+ metadata.gz: 1eac6b1d0638200e5bb92c28c7aa491519a4963d63ca2f99e4ec934f12feeb10e05b4cb72b9640e6f0b6993692945df01b7151c7c22d9131670c6715b0911d5f
7
+ data.tar.gz: d12350369933bc73f9b95bcff53b89bf1803708564c29dc12a1d49dcc6e5cd5d51841a3830d48491c34290347771706c1f0cc7a1c5c7f49ea24c60819c3d0249
@@ -0,0 +1,9 @@
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 'content_types'
9
+
@@ -0,0 +1,682 @@
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
+
9
+ class Track
10
+ include ::Thrift::Struct, ::Thrift::Struct_Union
11
+ ID = 1
12
+ UID = 2
13
+ ISPUBLIC = 3
14
+ USERSOURCE = 4
15
+ CATEGORYID = 5
16
+ TAGS = 6
17
+ TITLE = 7
18
+ INTRO = 8
19
+ COVERPATH = 9
20
+ DURATION = 10
21
+ DOWNLOADPATH = 11
22
+ PLAYPATH = 12
23
+ PLAYPATH128 = 13
24
+ PLAYPATH64 = 14
25
+ PLAYPATH32 = 15
26
+ SINGER = 16
27
+ SINGERCATEGORY = 17
28
+ AUTHOR = 18
29
+ COMPOSER = 19
30
+ ARRANGEMENT = 20
31
+ POSTPRODUCTION = 21
32
+ LYRICPATH = 22
33
+ LANGUAGE = 23
34
+ RESINGER = 24
35
+ ANNOUNCER = 25
36
+ ISCRAWLER = 26
37
+ ALBUMID = 27
38
+ TRANSCODESTATE = 28
39
+ CREATEDAT = 29
40
+ UPDATEDAT = 30
41
+ MUSICCATEGORY = 31
42
+ IGNORETAGS = 32
43
+ EXTRATAGS = 33
44
+ SHORTINTRO = 34
45
+ ISDELETED = 35
46
+ APPROVEDAT = 36
47
+ ORIGINSIZE = 37
48
+ MP3SIZE32 = 38
49
+ MP3SIZE64 = 39
50
+ WAVEFORM = 40
51
+ UPLOADID = 41
52
+ STATUS = 42
53
+ EXPLOREHEIGHT = 43
54
+ DOWNLOADSIZE = 44
55
+ MP3SIZE128 = 45
56
+ ACTIVITYID = 46
57
+ UPLOADSOURCE = 47
58
+ ALBUMTITLE = 48
59
+ ALBUMCOVERPATH = 49
60
+ DIGSTATUS = 50
61
+ RICHINTRO = 51
62
+
63
+ FIELDS = {
64
+ ID => {:type => ::Thrift::Types::I64, :name => 'id'},
65
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
66
+ ISPUBLIC => {:type => ::Thrift::Types::BOOL, :name => 'isPublic'},
67
+ USERSOURCE => {:type => ::Thrift::Types::I32, :name => 'userSource'},
68
+ CATEGORYID => {:type => ::Thrift::Types::I32, :name => 'categoryId'},
69
+ TAGS => {:type => ::Thrift::Types::STRING, :name => 'tags', :optional => true},
70
+ TITLE => {:type => ::Thrift::Types::STRING, :name => 'title', :optional => true},
71
+ INTRO => {:type => ::Thrift::Types::STRING, :name => 'intro', :optional => true},
72
+ COVERPATH => {:type => ::Thrift::Types::STRING, :name => 'coverPath', :optional => true},
73
+ DURATION => {:type => ::Thrift::Types::DOUBLE, :name => 'duration'},
74
+ DOWNLOADPATH => {:type => ::Thrift::Types::STRING, :name => 'downloadPath', :optional => true},
75
+ PLAYPATH => {:type => ::Thrift::Types::STRING, :name => 'playPath', :optional => true},
76
+ PLAYPATH128 => {:type => ::Thrift::Types::STRING, :name => 'playPath128', :optional => true},
77
+ PLAYPATH64 => {:type => ::Thrift::Types::STRING, :name => 'playPath64', :optional => true},
78
+ PLAYPATH32 => {:type => ::Thrift::Types::STRING, :name => 'playPath32', :optional => true},
79
+ SINGER => {:type => ::Thrift::Types::STRING, :name => 'singer', :optional => true},
80
+ SINGERCATEGORY => {:type => ::Thrift::Types::STRING, :name => 'singerCategory', :optional => true},
81
+ AUTHOR => {:type => ::Thrift::Types::STRING, :name => 'author', :optional => true},
82
+ COMPOSER => {:type => ::Thrift::Types::STRING, :name => 'composer', :optional => true},
83
+ ARRANGEMENT => {:type => ::Thrift::Types::STRING, :name => 'arrangement', :optional => true},
84
+ POSTPRODUCTION => {:type => ::Thrift::Types::STRING, :name => 'postProduction', :optional => true},
85
+ LYRICPATH => {:type => ::Thrift::Types::STRING, :name => 'lyricPath', :optional => true},
86
+ LANGUAGE => {:type => ::Thrift::Types::STRING, :name => 'language', :optional => true},
87
+ RESINGER => {:type => ::Thrift::Types::STRING, :name => 'resinger', :optional => true},
88
+ ANNOUNCER => {:type => ::Thrift::Types::STRING, :name => 'announcer', :optional => true},
89
+ ISCRAWLER => {:type => ::Thrift::Types::BOOL, :name => 'isCrawler'},
90
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'},
91
+ TRANSCODESTATE => {:type => ::Thrift::Types::I32, :name => 'transcodeState'},
92
+ CREATEDAT => {:type => ::Thrift::Types::I64, :name => 'createdAt'},
93
+ UPDATEDAT => {:type => ::Thrift::Types::I64, :name => 'updatedAt'},
94
+ MUSICCATEGORY => {:type => ::Thrift::Types::STRING, :name => 'musicCategory', :optional => true},
95
+ IGNORETAGS => {:type => ::Thrift::Types::STRING, :name => 'ignoreTags', :optional => true},
96
+ EXTRATAGS => {:type => ::Thrift::Types::STRING, :name => 'extraTags', :optional => true},
97
+ SHORTINTRO => {:type => ::Thrift::Types::STRING, :name => 'shortIntro', :optional => true},
98
+ ISDELETED => {:type => ::Thrift::Types::BOOL, :name => 'isDeleted'},
99
+ APPROVEDAT => {:type => ::Thrift::Types::I64, :name => 'approvedAt'},
100
+ ORIGINSIZE => {:type => ::Thrift::Types::I32, :name => 'originSize'},
101
+ MP3SIZE32 => {:type => ::Thrift::Types::I32, :name => 'mp3size32'},
102
+ MP3SIZE64 => {:type => ::Thrift::Types::I32, :name => 'mp3size64'},
103
+ WAVEFORM => {:type => ::Thrift::Types::STRING, :name => 'waveform', :optional => true},
104
+ UPLOADID => {:type => ::Thrift::Types::STRING, :name => 'uploadId', :optional => true},
105
+ STATUS => {:type => ::Thrift::Types::I32, :name => 'status'},
106
+ EXPLOREHEIGHT => {:type => ::Thrift::Types::I32, :name => 'exploreHeight'},
107
+ DOWNLOADSIZE => {:type => ::Thrift::Types::I32, :name => 'downloadSize'},
108
+ MP3SIZE128 => {:type => ::Thrift::Types::I32, :name => 'mp3size128'},
109
+ ACTIVITYID => {:type => ::Thrift::Types::I32, :name => 'activityId'},
110
+ UPLOADSOURCE => {:type => ::Thrift::Types::I32, :name => 'uploadSource'},
111
+ ALBUMTITLE => {:type => ::Thrift::Types::STRING, :name => 'albumTitle', :optional => true},
112
+ ALBUMCOVERPATH => {:type => ::Thrift::Types::STRING, :name => 'albumCoverPath', :optional => true},
113
+ DIGSTATUS => {:type => ::Thrift::Types::I32, :name => 'digStatus'},
114
+ RICHINTRO => {:type => ::Thrift::Types::STRING, :name => 'richIntro', :optional => true}
115
+ }
116
+
117
+ def struct_fields; FIELDS; end
118
+
119
+ def validate
120
+ end
121
+
122
+ ::Thrift::Struct.generate_accessors self
123
+ end
124
+
125
+ class TrackRecord
126
+ include ::Thrift::Struct, ::Thrift::Struct_Union
127
+ ID = 1
128
+ TRACKID = 2
129
+ UID = 3
130
+ OPTYPE = 4
131
+ ISPUBLIC = 5
132
+ CREATEDAT = 6
133
+ UPDATEDAT = 7
134
+ COMMENTCONTENT = 8
135
+ COMMENTID = 9
136
+ ISDELETED = 10
137
+ STATUS = 11
138
+ ALBUMID = 12
139
+ ORDERNUM = 13
140
+ TRACKUID = 14
141
+ ALBUMTITLE = 15
142
+ ALBUMCOVERPATH = 16
143
+ TITLE = 17
144
+ INTRO = 18
145
+ USERSOURCE = 19
146
+ CATEGORYID = 20
147
+ DURATION = 21
148
+ DOWNLOADPATH = 22
149
+ PLAYPATH = 23
150
+ PLAYPATH32 = 24
151
+ PLAYPATH64 = 25
152
+ PLAYPATH128 = 26
153
+ TRANSCODESTATE = 27
154
+ COVERPATH = 28
155
+ MP3SIZE32 = 29
156
+ MP3SIZE64 = 30
157
+ WAVEFORM = 31
158
+ UPLOADID = 32
159
+ EXPLOREHEIGHT = 33
160
+ DOWNLOADSIZE = 34
161
+ ORIGINSIZE = 35
162
+ ACTIVITYID = 36
163
+
164
+ FIELDS = {
165
+ ID => {:type => ::Thrift::Types::I64, :name => 'id'},
166
+ TRACKID => {:type => ::Thrift::Types::I64, :name => 'trackId'},
167
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
168
+ OPTYPE => {:type => ::Thrift::Types::I32, :name => 'opType'},
169
+ ISPUBLIC => {:type => ::Thrift::Types::BOOL, :name => 'isPublic'},
170
+ CREATEDAT => {:type => ::Thrift::Types::I64, :name => 'createdAt'},
171
+ UPDATEDAT => {:type => ::Thrift::Types::I64, :name => 'updatedAt'},
172
+ COMMENTCONTENT => {:type => ::Thrift::Types::STRING, :name => 'commentContent', :optional => true},
173
+ COMMENTID => {:type => ::Thrift::Types::I64, :name => 'commentId'},
174
+ ISDELETED => {:type => ::Thrift::Types::BOOL, :name => 'isDeleted'},
175
+ STATUS => {:type => ::Thrift::Types::I32, :name => 'status'},
176
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'},
177
+ ORDERNUM => {:type => ::Thrift::Types::I32, :name => 'orderNum'},
178
+ TRACKUID => {:type => ::Thrift::Types::I64, :name => 'trackUid'},
179
+ ALBUMTITLE => {:type => ::Thrift::Types::STRING, :name => 'albumTitle', :optional => true},
180
+ ALBUMCOVERPATH => {:type => ::Thrift::Types::STRING, :name => 'albumCoverPath', :optional => true},
181
+ TITLE => {:type => ::Thrift::Types::STRING, :name => 'title', :optional => true},
182
+ INTRO => {:type => ::Thrift::Types::STRING, :name => 'intro', :optional => true},
183
+ USERSOURCE => {:type => ::Thrift::Types::I32, :name => 'userSource'},
184
+ CATEGORYID => {:type => ::Thrift::Types::I32, :name => 'categoryId'},
185
+ DURATION => {:type => ::Thrift::Types::DOUBLE, :name => 'duration'},
186
+ DOWNLOADPATH => {:type => ::Thrift::Types::STRING, :name => 'downloadPath', :optional => true},
187
+ PLAYPATH => {:type => ::Thrift::Types::STRING, :name => 'playPath', :optional => true},
188
+ PLAYPATH32 => {:type => ::Thrift::Types::STRING, :name => 'playPath32', :optional => true},
189
+ PLAYPATH64 => {:type => ::Thrift::Types::STRING, :name => 'playPath64', :optional => true},
190
+ PLAYPATH128 => {:type => ::Thrift::Types::STRING, :name => 'playPath128', :optional => true},
191
+ TRANSCODESTATE => {:type => ::Thrift::Types::I32, :name => 'transcodeState'},
192
+ COVERPATH => {:type => ::Thrift::Types::STRING, :name => 'coverPath', :optional => true},
193
+ MP3SIZE32 => {:type => ::Thrift::Types::I32, :name => 'mp3size32'},
194
+ MP3SIZE64 => {:type => ::Thrift::Types::I32, :name => 'mp3size64'},
195
+ WAVEFORM => {:type => ::Thrift::Types::STRING, :name => 'waveform', :optional => true},
196
+ UPLOADID => {:type => ::Thrift::Types::STRING, :name => 'uploadId', :optional => true},
197
+ EXPLOREHEIGHT => {:type => ::Thrift::Types::I32, :name => 'exploreHeight'},
198
+ DOWNLOADSIZE => {:type => ::Thrift::Types::I32, :name => 'downloadSize'},
199
+ ORIGINSIZE => {:type => ::Thrift::Types::I32, :name => 'originSize'},
200
+ ACTIVITYID => {:type => ::Thrift::Types::I32, :name => 'activityId'}
201
+ }
202
+
203
+ def struct_fields; FIELDS; end
204
+
205
+ def validate
206
+ end
207
+
208
+ ::Thrift::Struct.generate_accessors self
209
+ end
210
+
211
+ class TrackRepost
212
+ include ::Thrift::Struct, ::Thrift::Struct_Union
213
+ ID = 1
214
+ TRACKID = 2
215
+ UID = 3
216
+ ISDELETED = 4
217
+ COMMENTID = 5
218
+ COMMENTCONTENT = 6
219
+ CREATEDAT = 7
220
+ UPDATEDAT = 8
221
+ ALBUMID = 9
222
+
223
+ FIELDS = {
224
+ ID => {:type => ::Thrift::Types::I64, :name => 'id'},
225
+ TRACKID => {:type => ::Thrift::Types::I64, :name => 'trackId'},
226
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
227
+ ISDELETED => {:type => ::Thrift::Types::BOOL, :name => 'isDeleted'},
228
+ COMMENTID => {:type => ::Thrift::Types::I64, :name => 'commentId'},
229
+ COMMENTCONTENT => {:type => ::Thrift::Types::STRING, :name => 'commentContent', :optional => true},
230
+ CREATEDAT => {:type => ::Thrift::Types::I64, :name => 'createdAt'},
231
+ UPDATEDAT => {:type => ::Thrift::Types::I64, :name => 'updatedAt'},
232
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'}
233
+ }
234
+
235
+ def struct_fields; FIELDS; end
236
+
237
+ def validate
238
+ end
239
+
240
+ ::Thrift::Struct.generate_accessors self
241
+ end
242
+
243
+ class TrackPicture
244
+ include ::Thrift::Struct, ::Thrift::Struct_Union
245
+ ID = 1
246
+ TRACKID = 2
247
+ UID = 3
248
+ PICTUREPATH = 4
249
+ ORDERNUM = 5
250
+ EXPLOREHEIGHT = 6
251
+ CREATEDAT = 7
252
+ UPDATEDAT = 8
253
+
254
+ FIELDS = {
255
+ ID => {:type => ::Thrift::Types::I64, :name => 'id'},
256
+ TRACKID => {:type => ::Thrift::Types::I64, :name => 'trackId'},
257
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
258
+ PICTUREPATH => {:type => ::Thrift::Types::STRING, :name => 'picturePath', :optional => true},
259
+ ORDERNUM => {:type => ::Thrift::Types::I32, :name => 'orderNum'},
260
+ EXPLOREHEIGHT => {:type => ::Thrift::Types::I32, :name => 'exploreHeight'},
261
+ CREATEDAT => {:type => ::Thrift::Types::I64, :name => 'createdAt'},
262
+ UPDATEDAT => {:type => ::Thrift::Types::I64, :name => 'updatedAt'}
263
+ }
264
+
265
+ def struct_fields; FIELDS; end
266
+
267
+ def validate
268
+ end
269
+
270
+ ::Thrift::Struct.generate_accessors self
271
+ end
272
+
273
+ class TrackRich
274
+ include ::Thrift::Struct, ::Thrift::Struct_Union
275
+ ID = 1
276
+ TRACKID = 2
277
+ CREATEDAT = 3
278
+ UPDATEDAT = 4
279
+ LYRIC = 5
280
+ RICHINTRO = 6
281
+
282
+ FIELDS = {
283
+ ID => {:type => ::Thrift::Types::I64, :name => 'id'},
284
+ TRACKID => {:type => ::Thrift::Types::I64, :name => 'trackId'},
285
+ CREATEDAT => {:type => ::Thrift::Types::I64, :name => 'createdAt'},
286
+ UPDATEDAT => {:type => ::Thrift::Types::I64, :name => 'updatedAt'},
287
+ LYRIC => {:type => ::Thrift::Types::STRING, :name => 'lyric', :optional => true},
288
+ RICHINTRO => {:type => ::Thrift::Types::STRING, :name => 'richIntro', :optional => true}
289
+ }
290
+
291
+ def struct_fields; FIELDS; end
292
+
293
+ def validate
294
+ end
295
+
296
+ ::Thrift::Struct.generate_accessors self
297
+ end
298
+
299
+ class BriefAlbum
300
+ include ::Thrift::Struct, ::Thrift::Struct_Union
301
+ ID = 1
302
+ UID = 2
303
+ TITLE = 3
304
+ COVERPATH = 4
305
+ ISFINISHED = 5
306
+ SHORTINTRO = 6
307
+ CREATEDAT = 7
308
+ UPDATEDAT = 8
309
+ LASTUPTRACKAT = 9
310
+ CATEGORYID = 10
311
+ ISPUBLIC = 11
312
+ STATUS = 12
313
+ ISDELETED = 13
314
+
315
+ FIELDS = {
316
+ ID => {:type => ::Thrift::Types::I64, :name => 'id', :optional => true},
317
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid', :optional => true},
318
+ TITLE => {:type => ::Thrift::Types::STRING, :name => 'title', :optional => true},
319
+ COVERPATH => {:type => ::Thrift::Types::STRING, :name => 'coverPath', :optional => true},
320
+ ISFINISHED => {:type => ::Thrift::Types::I32, :name => 'isFinished', :optional => true},
321
+ SHORTINTRO => {:type => ::Thrift::Types::STRING, :name => 'shortIntro', :optional => true},
322
+ CREATEDAT => {:type => ::Thrift::Types::I64, :name => 'createdAt', :optional => true},
323
+ UPDATEDAT => {:type => ::Thrift::Types::I64, :name => 'updatedAt', :optional => true},
324
+ LASTUPTRACKAT => {:type => ::Thrift::Types::I64, :name => 'lastUptrackAt', :optional => true},
325
+ CATEGORYID => {:type => ::Thrift::Types::I32, :name => 'categoryId', :optional => true},
326
+ ISPUBLIC => {:type => ::Thrift::Types::BOOL, :name => 'isPublic', :optional => true},
327
+ STATUS => {:type => ::Thrift::Types::I32, :name => 'status', :optional => true},
328
+ ISDELETED => {:type => ::Thrift::Types::BOOL, :name => 'isDeleted', :optional => true}
329
+ }
330
+
331
+ def struct_fields; FIELDS; end
332
+
333
+ def validate
334
+ end
335
+
336
+ ::Thrift::Struct.generate_accessors self
337
+ end
338
+
339
+ class SimpleAlbum
340
+ include ::Thrift::Struct, ::Thrift::Struct_Union
341
+ ID = 1
342
+ UID = 2
343
+ TITLE = 3
344
+ COVERPATH = 4
345
+ ISFINISHED = 5
346
+ SHORTINTRO = 6
347
+ CREATEDAT = 7
348
+ UPDATEDAT = 8
349
+ ISCRAWLER = 9
350
+ CATEGORYID = 10
351
+ ISPUBLIC = 11
352
+ STATUS = 12
353
+ ISDELETED = 13
354
+ LASTUPTRACKID = 14
355
+ LASTUPTRACKTITLE = 15
356
+ LASTUPTRACKCOVERPATH = 16
357
+ LASTUPTRACKAT = 17
358
+ DIGSTATUS = 18
359
+
360
+ FIELDS = {
361
+ ID => {:type => ::Thrift::Types::I64, :name => 'id', :optional => true},
362
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid', :optional => true},
363
+ TITLE => {:type => ::Thrift::Types::STRING, :name => 'title', :optional => true},
364
+ COVERPATH => {:type => ::Thrift::Types::STRING, :name => 'coverPath', :optional => true},
365
+ ISFINISHED => {:type => ::Thrift::Types::I32, :name => 'isFinished', :optional => true},
366
+ SHORTINTRO => {:type => ::Thrift::Types::STRING, :name => 'shortIntro', :optional => true},
367
+ CREATEDAT => {:type => ::Thrift::Types::I64, :name => 'createdAt', :optional => true},
368
+ UPDATEDAT => {:type => ::Thrift::Types::I64, :name => 'updatedAt', :optional => true},
369
+ ISCRAWLER => {:type => ::Thrift::Types::BOOL, :name => 'isCrawler', :optional => true},
370
+ CATEGORYID => {:type => ::Thrift::Types::I32, :name => 'categoryId', :optional => true},
371
+ ISPUBLIC => {:type => ::Thrift::Types::BOOL, :name => 'isPublic', :optional => true},
372
+ STATUS => {:type => ::Thrift::Types::I32, :name => 'status', :optional => true},
373
+ ISDELETED => {:type => ::Thrift::Types::BOOL, :name => 'isDeleted', :optional => true},
374
+ LASTUPTRACKID => {:type => ::Thrift::Types::I64, :name => 'lastUptrackId', :optional => true},
375
+ LASTUPTRACKTITLE => {:type => ::Thrift::Types::STRING, :name => 'lastUptrackTitle', :optional => true},
376
+ LASTUPTRACKCOVERPATH => {:type => ::Thrift::Types::STRING, :name => 'lastUptrackCoverPath', :optional => true},
377
+ LASTUPTRACKAT => {:type => ::Thrift::Types::I64, :name => 'lastUptrackAt', :optional => true},
378
+ DIGSTATUS => {:type => ::Thrift::Types::I32, :name => 'digStatus', :optional => true}
379
+ }
380
+
381
+ def struct_fields; FIELDS; end
382
+
383
+ def validate
384
+ end
385
+
386
+ ::Thrift::Struct.generate_accessors self
387
+ end
388
+
389
+ class BasicAlbum
390
+ include ::Thrift::Struct, ::Thrift::Struct_Union
391
+ ID = 1
392
+ UID = 2
393
+ TITLE = 3
394
+ COVERPATH = 4
395
+ ISFINISHED = 5
396
+ SHORTINTRO = 6
397
+ CREATEDAT = 7
398
+ UPDATEDAT = 8
399
+ ISCRAWLER = 9
400
+ CATEGORYID = 10
401
+ ISPUBLIC = 11
402
+ STATUS = 12
403
+ ISDELETED = 13
404
+ LASTUPTRACKID = 14
405
+ LASTUPTRACKTITLE = 15
406
+ LASTUPTRACKCOVERPATH = 16
407
+ LASTUPTRACKAT = 17
408
+ DIGSTATUS = 18
409
+ TAGS = 19
410
+ MUSICCATEGORY = 20
411
+ INTRO = 21
412
+ RICHINTRO = 22
413
+ USERSOURCE = 23
414
+ ISRECORDSDESC = 24
415
+ RECORDSORDER = 25
416
+
417
+ FIELDS = {
418
+ ID => {:type => ::Thrift::Types::I64, :name => 'id', :optional => true},
419
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid', :optional => true},
420
+ TITLE => {:type => ::Thrift::Types::STRING, :name => 'title', :optional => true},
421
+ COVERPATH => {:type => ::Thrift::Types::STRING, :name => 'coverPath', :optional => true},
422
+ ISFINISHED => {:type => ::Thrift::Types::I32, :name => 'isFinished', :optional => true},
423
+ SHORTINTRO => {:type => ::Thrift::Types::STRING, :name => 'shortIntro', :optional => true},
424
+ CREATEDAT => {:type => ::Thrift::Types::I64, :name => 'createdAt', :optional => true},
425
+ UPDATEDAT => {:type => ::Thrift::Types::I64, :name => 'updatedAt', :optional => true},
426
+ ISCRAWLER => {:type => ::Thrift::Types::BOOL, :name => 'isCrawler', :optional => true},
427
+ CATEGORYID => {:type => ::Thrift::Types::I32, :name => 'categoryId', :optional => true},
428
+ ISPUBLIC => {:type => ::Thrift::Types::BOOL, :name => 'isPublic', :optional => true},
429
+ STATUS => {:type => ::Thrift::Types::I32, :name => 'status', :optional => true},
430
+ ISDELETED => {:type => ::Thrift::Types::BOOL, :name => 'isDeleted', :optional => true},
431
+ LASTUPTRACKID => {:type => ::Thrift::Types::I64, :name => 'lastUptrackId', :optional => true},
432
+ LASTUPTRACKTITLE => {:type => ::Thrift::Types::STRING, :name => 'lastUptrackTitle', :optional => true},
433
+ LASTUPTRACKCOVERPATH => {:type => ::Thrift::Types::STRING, :name => 'lastUptrackCoverPath', :optional => true},
434
+ LASTUPTRACKAT => {:type => ::Thrift::Types::I64, :name => 'lastUptrackAt', :optional => true},
435
+ DIGSTATUS => {:type => ::Thrift::Types::I32, :name => 'digStatus', :optional => true},
436
+ TAGS => {:type => ::Thrift::Types::STRING, :name => 'tags', :optional => true},
437
+ MUSICCATEGORY => {:type => ::Thrift::Types::STRING, :name => 'musicCategory', :optional => true},
438
+ INTRO => {:type => ::Thrift::Types::STRING, :name => 'intro', :optional => true},
439
+ RICHINTRO => {:type => ::Thrift::Types::STRING, :name => 'richIntro', :optional => true},
440
+ USERSOURCE => {:type => ::Thrift::Types::I32, :name => 'userSource', :optional => true},
441
+ ISRECORDSDESC => {:type => ::Thrift::Types::BOOL, :name => 'isRecordsDesc', :optional => true},
442
+ RECORDSORDER => {:type => ::Thrift::Types::STRING, :name => 'recordsOrder', :optional => true}
443
+ }
444
+
445
+ def struct_fields; FIELDS; end
446
+
447
+ def validate
448
+ end
449
+
450
+ ::Thrift::Struct.generate_accessors self
451
+ end
452
+
453
+ class SimpleAlbumPageResult
454
+ include ::Thrift::Struct, ::Thrift::Struct_Union
455
+ TOTALSIZE = 1
456
+ CURRENTPAGE = 2
457
+ PAGESIZE = 3
458
+ ALBUMS = 4
459
+
460
+ FIELDS = {
461
+ TOTALSIZE => {:type => ::Thrift::Types::I32, :name => 'totalSize'},
462
+ CURRENTPAGE => {:type => ::Thrift::Types::I32, :name => 'currentPage'},
463
+ PAGESIZE => {:type => ::Thrift::Types::I32, :name => 'pageSize'},
464
+ ALBUMS => {:type => ::Thrift::Types::LIST, :name => 'albums', :element => {:type => ::Thrift::Types::STRUCT, :class => ::SimpleAlbum}, :optional => true}
465
+ }
466
+
467
+ def struct_fields; FIELDS; end
468
+
469
+ def validate
470
+ raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field totalSize is unset!') unless @totalSize
471
+ raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field currentPage is unset!') unless @currentPage
472
+ raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field pageSize is unset!') unless @pageSize
473
+ end
474
+
475
+ ::Thrift::Struct.generate_accessors self
476
+ end
477
+
478
+ class BasicAlbumPageResult
479
+ include ::Thrift::Struct, ::Thrift::Struct_Union
480
+ TOTALSIZE = 1
481
+ CURRENTPAGE = 2
482
+ PAGESIZE = 3
483
+ ALBUMS = 4
484
+
485
+ FIELDS = {
486
+ TOTALSIZE => {:type => ::Thrift::Types::I32, :name => 'totalSize'},
487
+ CURRENTPAGE => {:type => ::Thrift::Types::I32, :name => 'currentPage'},
488
+ PAGESIZE => {:type => ::Thrift::Types::I32, :name => 'pageSize'},
489
+ ALBUMS => {:type => ::Thrift::Types::LIST, :name => 'albums', :element => {:type => ::Thrift::Types::STRUCT, :class => ::BasicAlbum}, :optional => true}
490
+ }
491
+
492
+ def struct_fields; FIELDS; end
493
+
494
+ def validate
495
+ raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field totalSize is unset!') unless @totalSize
496
+ raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field currentPage is unset!') unless @currentPage
497
+ raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field pageSize is unset!') unless @pageSize
498
+ end
499
+
500
+ ::Thrift::Struct.generate_accessors self
501
+ end
502
+
503
+ class RichAlbum
504
+ include ::Thrift::Struct, ::Thrift::Struct_Union
505
+ ID = 1
506
+ RICHINTRO = 2
507
+
508
+ FIELDS = {
509
+ ID => {:type => ::Thrift::Types::I64, :name => 'id', :optional => true},
510
+ RICHINTRO => {:type => ::Thrift::Types::STRING, :name => 'richIntro', :optional => true}
511
+ }
512
+
513
+ def struct_fields; FIELDS; end
514
+
515
+ def validate
516
+ end
517
+
518
+ ::Thrift::Struct.generate_accessors self
519
+ end
520
+
521
+ class InsertableAlbum
522
+ include ::Thrift::Struct, ::Thrift::Struct_Union
523
+ ID = 1
524
+ UID = 2
525
+ ISPUBLIC = 3
526
+ ISCRAWLER = 4
527
+ ISFINISHED = 5
528
+ STATUS = 6
529
+ DIGSTATUS = 7
530
+ TITLE = 8
531
+ COVERPATH = 9
532
+ USERSOURCE = 10
533
+ CATEGORYID = 11
534
+ MUSICCATEGORY = 12
535
+ SHORTINTRO = 13
536
+ INTRO = 14
537
+ CUTRICHINTRO = 15
538
+ RICHINTRO = 16
539
+ TAGS = 17
540
+ RECORDSORDER = 18
541
+ ISRECORDSDESC = 19
542
+ LASTUPTRACKID = 20
543
+ LASTUPTRACKTITLE = 21
544
+ LASTUPTRACKCOVERPATH = 22
545
+ LASTUPTRACKAT = 23
546
+ RICHID = 24
547
+
548
+ FIELDS = {
549
+ ID => {:type => ::Thrift::Types::I64, :name => 'id', :optional => true},
550
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid', :optional => true},
551
+ ISPUBLIC => {:type => ::Thrift::Types::BOOL, :name => 'isPublic', :optional => true},
552
+ ISCRAWLER => {:type => ::Thrift::Types::BOOL, :name => 'isCrawler', :optional => true},
553
+ ISFINISHED => {:type => ::Thrift::Types::I32, :name => 'isFinished', :optional => true},
554
+ STATUS => {:type => ::Thrift::Types::I32, :name => 'status', :optional => true},
555
+ DIGSTATUS => {:type => ::Thrift::Types::I32, :name => 'digStatus', :optional => true},
556
+ TITLE => {:type => ::Thrift::Types::STRING, :name => 'title', :optional => true},
557
+ COVERPATH => {:type => ::Thrift::Types::STRING, :name => 'coverPath', :optional => true},
558
+ USERSOURCE => {:type => ::Thrift::Types::I32, :name => 'userSource', :optional => true},
559
+ CATEGORYID => {:type => ::Thrift::Types::I32, :name => 'categoryId', :optional => true},
560
+ MUSICCATEGORY => {:type => ::Thrift::Types::STRING, :name => 'musicCategory', :optional => true},
561
+ SHORTINTRO => {:type => ::Thrift::Types::STRING, :name => 'shortIntro', :optional => true},
562
+ INTRO => {:type => ::Thrift::Types::STRING, :name => 'intro', :optional => true},
563
+ CUTRICHINTRO => {:type => ::Thrift::Types::STRING, :name => 'cutRichIntro', :optional => true},
564
+ RICHINTRO => {:type => ::Thrift::Types::STRING, :name => 'richIntro', :optional => true},
565
+ TAGS => {:type => ::Thrift::Types::STRING, :name => 'tags', :optional => true},
566
+ RECORDSORDER => {:type => ::Thrift::Types::STRING, :name => 'recordsOrder', :optional => true},
567
+ ISRECORDSDESC => {:type => ::Thrift::Types::BOOL, :name => 'isRecordsDesc', :optional => true},
568
+ LASTUPTRACKID => {:type => ::Thrift::Types::I64, :name => 'lastUptrackId', :optional => true},
569
+ LASTUPTRACKTITLE => {:type => ::Thrift::Types::STRING, :name => 'lastUptrackTitle', :optional => true},
570
+ LASTUPTRACKCOVERPATH => {:type => ::Thrift::Types::STRING, :name => 'lastUptrackCoverPath', :optional => true},
571
+ LASTUPTRACKAT => {:type => ::Thrift::Types::I64, :name => 'lastUptrackAt', :optional => true},
572
+ RICHID => {:type => ::Thrift::Types::I64, :name => 'richId', :optional => true}
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 AlterableAlbum
584
+ include ::Thrift::Struct, ::Thrift::Struct_Union
585
+ ID = 1
586
+ UID = 2
587
+ TITLE = 3
588
+ COVERPATH = 4
589
+ SHORTINTRO = 5
590
+ INTRO = 6
591
+ CUTRICHINTRO = 7
592
+ RICHINTRO = 8
593
+ CATEGORYID = 9
594
+ MUSICCATEGORY = 10
595
+ ISFINISHED = 11
596
+ ISRECORDSDESC = 12
597
+ RECORDSORDER = 13
598
+ LASTUPTRACKID = 14
599
+ LASTUPTRACKTITLE = 15
600
+ LASTUPTRACKCOVERPATH = 16
601
+ LASTUPTRACKAT = 17
602
+
603
+ FIELDS = {
604
+ ID => {:type => ::Thrift::Types::I64, :name => 'id', :optional => true},
605
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid', :optional => true},
606
+ TITLE => {:type => ::Thrift::Types::STRING, :name => 'title', :optional => true},
607
+ COVERPATH => {:type => ::Thrift::Types::STRING, :name => 'coverPath', :optional => true},
608
+ SHORTINTRO => {:type => ::Thrift::Types::STRING, :name => 'shortIntro', :optional => true},
609
+ INTRO => {:type => ::Thrift::Types::STRING, :name => 'intro', :optional => true},
610
+ CUTRICHINTRO => {:type => ::Thrift::Types::STRING, :name => 'cutRichIntro', :optional => true},
611
+ RICHINTRO => {:type => ::Thrift::Types::STRING, :name => 'richIntro', :optional => true},
612
+ CATEGORYID => {:type => ::Thrift::Types::I32, :name => 'categoryId', :optional => true},
613
+ MUSICCATEGORY => {:type => ::Thrift::Types::STRING, :name => 'musicCategory', :optional => true},
614
+ ISFINISHED => {:type => ::Thrift::Types::I32, :name => 'isFinished', :optional => true},
615
+ ISRECORDSDESC => {:type => ::Thrift::Types::BOOL, :name => 'isRecordsDesc', :optional => true},
616
+ RECORDSORDER => {:type => ::Thrift::Types::STRING, :name => 'recordsOrder', :optional => true},
617
+ LASTUPTRACKID => {:type => ::Thrift::Types::I64, :name => 'lastUptrackId', :optional => true},
618
+ LASTUPTRACKTITLE => {:type => ::Thrift::Types::STRING, :name => 'lastUptrackTitle', :optional => true},
619
+ LASTUPTRACKCOVERPATH => {:type => ::Thrift::Types::STRING, :name => 'lastUptrackCoverPath', :optional => true},
620
+ LASTUPTRACKAT => {:type => ::Thrift::Types::I64, :name => 'lastUptrackAt', :optional => true}
621
+ }
622
+
623
+ def struct_fields; FIELDS; end
624
+
625
+ def validate
626
+ end
627
+
628
+ ::Thrift::Struct.generate_accessors self
629
+ end
630
+
631
+ class DeletableAlbum
632
+ include ::Thrift::Struct, ::Thrift::Struct_Union
633
+ ID = 1
634
+ UID = 2
635
+
636
+ FIELDS = {
637
+ ID => {:type => ::Thrift::Types::I64, :name => 'id', :optional => true},
638
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid', :optional => true}
639
+ }
640
+
641
+ def struct_fields; FIELDS; end
642
+
643
+ def validate
644
+ end
645
+
646
+ ::Thrift::Struct.generate_accessors self
647
+ end
648
+
649
+ class ClientInfo
650
+ include ::Thrift::Struct, ::Thrift::Struct_Union
651
+ CLIENTTYPE = 1
652
+ DEVICE = 2
653
+ VERSION = 3
654
+ USERAGENT = 4
655
+ CHANNEL = 5
656
+ DEVICEID = 6
657
+ MAC = 7
658
+ IP = 8
659
+ LONGITUDE = 9
660
+ LATITUDE = 10
661
+
662
+ FIELDS = {
663
+ CLIENTTYPE => {:type => ::Thrift::Types::STRING, :name => 'clientType', :optional => true},
664
+ DEVICE => {:type => ::Thrift::Types::STRING, :name => 'device', :optional => true},
665
+ VERSION => {:type => ::Thrift::Types::STRING, :name => 'version', :optional => true},
666
+ USERAGENT => {:type => ::Thrift::Types::STRING, :name => 'userAgent', :optional => true},
667
+ CHANNEL => {:type => ::Thrift::Types::STRING, :name => 'channel', :optional => true},
668
+ DEVICEID => {:type => ::Thrift::Types::STRING, :name => 'deviceId', :optional => true},
669
+ MAC => {:type => ::Thrift::Types::STRING, :name => 'mac', :optional => true},
670
+ IP => {:type => ::Thrift::Types::STRING, :name => 'ip', :optional => true},
671
+ LONGITUDE => {:type => ::Thrift::Types::STRING, :name => 'longitude', :optional => true},
672
+ LATITUDE => {:type => ::Thrift::Types::STRING, :name => 'latitude', :optional => true}
673
+ }
674
+
675
+ def struct_fields; FIELDS; end
676
+
677
+ def validate
678
+ end
679
+
680
+ ::Thrift::Struct.generate_accessors self
681
+ end
682
+