service_album_api 1.1.16

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: b9951705368152c621214395737c27b244bd2633
4
+ data.tar.gz: de5296110bf01d4d9a8d6944c74fc911f681d8bc
5
+ SHA512:
6
+ metadata.gz: 13fef21e3a836c0ee77ef80811556160ed6fb10f7faaee95600bf7896eeac9785c6b54181f32483909fb0343fecc05426ac35d6b0c82b1274e2319b2754d07ba
7
+ data.tar.gz: e37b3d502452569f0e0234657ca31df5d3a2d63115e48eed84b8a01ca484eadaea6051e508180f3f6bacd84ca0a430a1602ef862612fe38ea7f38a4ad5120c55
@@ -0,0 +1,7 @@
1
+
2
+ require "thrift"
3
+ require "service_album_api/content_types"
4
+ require "service_album_api/album_facade_types"
5
+ require "service_album_api/content_constants"
6
+ require "service_album_api/album_facade_constants"
7
+ require "service_album_api/i_album_facade_handler"
@@ -0,0 +1,15 @@
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 'album_facade_types'
9
+
10
+ module Service
11
+ module Album
12
+ module Api
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,80 @@
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
+
10
+
11
+ module Service
12
+ module Album
13
+ module Api
14
+ class AlbumTrackPageResult
15
+ include ::Thrift::Struct, ::Thrift::Struct_Union
16
+ TOTALSIZE = 1
17
+ ALBUMTITLE = 2
18
+ ALBUMCOVERPATHSMALL = 3
19
+ ALBUMCOVERPATHMIDDLE = 4
20
+ ALBUMCOVERPATHLARGE = 5
21
+ ALBUMCATEGORYID = 6
22
+ IDS = 7
23
+
24
+ FIELDS = {
25
+ TOTALSIZE => {:type => ::Thrift::Types::I32, :name => 'totalSize', :optional => true},
26
+ ALBUMTITLE => {:type => ::Thrift::Types::STRING, :name => 'albumTitle', :optional => true},
27
+ ALBUMCOVERPATHSMALL => {:type => ::Thrift::Types::STRING, :name => 'albumCoverPathSmall', :optional => true},
28
+ ALBUMCOVERPATHMIDDLE => {:type => ::Thrift::Types::STRING, :name => 'albumCoverPathMiddle', :optional => true},
29
+ ALBUMCOVERPATHLARGE => {:type => ::Thrift::Types::STRING, :name => 'albumCoverPathLarge', :optional => true},
30
+ ALBUMCATEGORYID => {:type => ::Thrift::Types::I32, :name => 'albumCategoryId', :optional => true},
31
+ IDS => {:type => ::Thrift::Types::LIST, :name => 'ids', :element => {:type => ::Thrift::Types::I64}, :optional => true}
32
+ }
33
+
34
+ def struct_fields; FIELDS; end
35
+
36
+ def validate
37
+ end
38
+
39
+ ::Thrift::Struct.generate_accessors self
40
+ end
41
+
42
+ class BasicAlbumWithTrack
43
+ include ::Thrift::Struct, ::Thrift::Struct_Union
44
+ ALBUM = 1
45
+ TRACK = 2
46
+
47
+ FIELDS = {
48
+ ALBUM => {:type => ::Thrift::Types::STRUCT, :name => 'album', :class => ::Service::Content::Thrift::BasicAlbum, :optional => true},
49
+ TRACK => {:type => ::Thrift::Types::STRUCT, :name => 'track', :class => ::Service::Content::Thrift::Track, :optional => true}
50
+ }
51
+
52
+ def struct_fields; FIELDS; end
53
+
54
+ def validate
55
+ end
56
+
57
+ ::Thrift::Struct.generate_accessors self
58
+ end
59
+
60
+ class AlbumException < ::Thrift::Exception
61
+ include ::Thrift::Struct, ::Thrift::Struct_Union
62
+ ERRORCODE = 1
63
+ MESSAGE = 2
64
+
65
+ FIELDS = {
66
+ ERRORCODE => {:type => ::Thrift::Types::I32, :name => 'errorCode'},
67
+ MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}
68
+ }
69
+
70
+ def struct_fields; FIELDS; end
71
+
72
+ def validate
73
+ end
74
+
75
+ ::Thrift::Struct.generate_accessors self
76
+ end
77
+
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,15 @@
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
+
10
+ module Service
11
+ module Content
12
+ module Thrift
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,964 @@
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
+ module Service
10
+ module Content
11
+ module Thrift
12
+ class Track
13
+ include ::Thrift::Struct, ::Thrift::Struct_Union
14
+ ID = 1
15
+ UID = 2
16
+ ISPUBLIC = 3
17
+ USERSOURCE = 4
18
+ CATEGORYID = 5
19
+ TAGS = 6
20
+ TITLE = 7
21
+ INTRO = 8
22
+ COVERPATH = 9
23
+ DURATION = 10
24
+ DOWNLOADPATH = 11
25
+ PLAYPATH = 12
26
+ PLAYPATH128 = 13
27
+ PLAYPATH64 = 14
28
+ PLAYPATH32 = 15
29
+ SINGER = 16
30
+ SINGERCATEGORY = 17
31
+ AUTHOR = 18
32
+ COMPOSER = 19
33
+ ARRANGEMENT = 20
34
+ POSTPRODUCTION = 21
35
+ LYRICPATH = 22
36
+ LANGUAGE = 23
37
+ RESINGER = 24
38
+ ANNOUNCER = 25
39
+ ISCRAWLER = 26
40
+ ALBUMID = 27
41
+ TRANSCODESTATE = 28
42
+ CREATEDAT = 29
43
+ UPDATEDAT = 30
44
+ MUSICCATEGORY = 31
45
+ IGNORETAGS = 32
46
+ EXTRATAGS = 33
47
+ SHORTINTRO = 34
48
+ ISDELETED = 35
49
+ APPROVEDAT = 36
50
+ ORIGINSIZE = 37
51
+ MP3SIZE32 = 38
52
+ MP3SIZE64 = 39
53
+ WAVEFORM = 40
54
+ UPLOADID = 41
55
+ STATUS = 42
56
+ EXPLOREHEIGHT = 43
57
+ DOWNLOADSIZE = 44
58
+ MP3SIZE128 = 45
59
+ ACTIVITYID = 46
60
+ UPLOADSOURCE = 47
61
+ ALBUMTITLE = 48
62
+ ALBUMCOVERPATH = 49
63
+ DIGSTATUS = 50
64
+ PLAYPATHAACV164 = 51
65
+ PLAYPATHAACV224 = 52
66
+ AACV164SIZE = 53
67
+ AACV224SIZE = 54
68
+ RICHINTRO = 55
69
+ ISHOLDCOPYRIGHT = 56
70
+ PAIDAUDIOPATH = 57
71
+ PAIDAUDIOMETAPATH = 58
72
+ PAIDAUDIOANDMETAPATH = 59
73
+
74
+ FIELDS = {
75
+ ID => {:type => ::Thrift::Types::I64, :name => 'id', :optional => true},
76
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid', :optional => true},
77
+ ISPUBLIC => {:type => ::Thrift::Types::BOOL, :name => 'isPublic', :optional => true},
78
+ USERSOURCE => {:type => ::Thrift::Types::I32, :name => 'userSource', :optional => true},
79
+ CATEGORYID => {:type => ::Thrift::Types::I32, :name => 'categoryId', :optional => true},
80
+ TAGS => {:type => ::Thrift::Types::STRING, :name => 'tags', :optional => true},
81
+ TITLE => {:type => ::Thrift::Types::STRING, :name => 'title', :optional => true},
82
+ INTRO => {:type => ::Thrift::Types::STRING, :name => 'intro', :optional => true},
83
+ COVERPATH => {:type => ::Thrift::Types::STRING, :name => 'coverPath', :optional => true},
84
+ DURATION => {:type => ::Thrift::Types::DOUBLE, :name => 'duration', :optional => true},
85
+ DOWNLOADPATH => {:type => ::Thrift::Types::STRING, :name => 'downloadPath', :optional => true},
86
+ PLAYPATH => {:type => ::Thrift::Types::STRING, :name => 'playPath', :optional => true},
87
+ PLAYPATH128 => {:type => ::Thrift::Types::STRING, :name => 'playPath128', :optional => true},
88
+ PLAYPATH64 => {:type => ::Thrift::Types::STRING, :name => 'playPath64', :optional => true},
89
+ PLAYPATH32 => {:type => ::Thrift::Types::STRING, :name => 'playPath32', :optional => true},
90
+ SINGER => {:type => ::Thrift::Types::STRING, :name => 'singer', :optional => true},
91
+ SINGERCATEGORY => {:type => ::Thrift::Types::STRING, :name => 'singerCategory', :optional => true},
92
+ AUTHOR => {:type => ::Thrift::Types::STRING, :name => 'author', :optional => true},
93
+ COMPOSER => {:type => ::Thrift::Types::STRING, :name => 'composer', :optional => true},
94
+ ARRANGEMENT => {:type => ::Thrift::Types::STRING, :name => 'arrangement', :optional => true},
95
+ POSTPRODUCTION => {:type => ::Thrift::Types::STRING, :name => 'postProduction', :optional => true},
96
+ LYRICPATH => {:type => ::Thrift::Types::STRING, :name => 'lyricPath', :optional => true},
97
+ LANGUAGE => {:type => ::Thrift::Types::STRING, :name => 'language', :optional => true},
98
+ RESINGER => {:type => ::Thrift::Types::STRING, :name => 'resinger', :optional => true},
99
+ ANNOUNCER => {:type => ::Thrift::Types::STRING, :name => 'announcer', :optional => true},
100
+ ISCRAWLER => {:type => ::Thrift::Types::BOOL, :name => 'isCrawler', :optional => true},
101
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId', :optional => true},
102
+ TRANSCODESTATE => {:type => ::Thrift::Types::I32, :name => 'transcodeState', :optional => true},
103
+ CREATEDAT => {:type => ::Thrift::Types::I64, :name => 'createdAt', :optional => true},
104
+ UPDATEDAT => {:type => ::Thrift::Types::I64, :name => 'updatedAt', :optional => true},
105
+ MUSICCATEGORY => {:type => ::Thrift::Types::STRING, :name => 'musicCategory', :optional => true},
106
+ IGNORETAGS => {:type => ::Thrift::Types::STRING, :name => 'ignoreTags', :optional => true},
107
+ EXTRATAGS => {:type => ::Thrift::Types::STRING, :name => 'extraTags', :optional => true},
108
+ SHORTINTRO => {:type => ::Thrift::Types::STRING, :name => 'shortIntro', :optional => true},
109
+ ISDELETED => {:type => ::Thrift::Types::BOOL, :name => 'isDeleted', :optional => true},
110
+ APPROVEDAT => {:type => ::Thrift::Types::I64, :name => 'approvedAt', :optional => true},
111
+ ORIGINSIZE => {:type => ::Thrift::Types::I32, :name => 'originSize', :optional => true},
112
+ MP3SIZE32 => {:type => ::Thrift::Types::I32, :name => 'mp3size32', :optional => true},
113
+ MP3SIZE64 => {:type => ::Thrift::Types::I32, :name => 'mp3size64', :optional => true},
114
+ WAVEFORM => {:type => ::Thrift::Types::STRING, :name => 'waveform', :optional => true},
115
+ UPLOADID => {:type => ::Thrift::Types::STRING, :name => 'uploadId', :optional => true},
116
+ STATUS => {:type => ::Thrift::Types::I32, :name => 'status', :optional => true},
117
+ EXPLOREHEIGHT => {:type => ::Thrift::Types::I32, :name => 'exploreHeight', :optional => true},
118
+ DOWNLOADSIZE => {:type => ::Thrift::Types::I32, :name => 'downloadSize', :optional => true},
119
+ MP3SIZE128 => {:type => ::Thrift::Types::I32, :name => 'mp3size128', :optional => true},
120
+ ACTIVITYID => {:type => ::Thrift::Types::I32, :name => 'activityId', :optional => true},
121
+ UPLOADSOURCE => {:type => ::Thrift::Types::I32, :name => 'uploadSource', :optional => true},
122
+ ALBUMTITLE => {:type => ::Thrift::Types::STRING, :name => 'albumTitle', :optional => true},
123
+ ALBUMCOVERPATH => {:type => ::Thrift::Types::STRING, :name => 'albumCoverPath', :optional => true},
124
+ DIGSTATUS => {:type => ::Thrift::Types::I32, :name => 'digStatus', :optional => true},
125
+ PLAYPATHAACV164 => {:type => ::Thrift::Types::STRING, :name => 'playPathAacv164', :optional => true},
126
+ PLAYPATHAACV224 => {:type => ::Thrift::Types::STRING, :name => 'playPathAacv224', :optional => true},
127
+ AACV164SIZE => {:type => ::Thrift::Types::I32, :name => 'aacv164Size', :optional => true},
128
+ AACV224SIZE => {:type => ::Thrift::Types::I32, :name => 'aacv224Size', :optional => true},
129
+ RICHINTRO => {:type => ::Thrift::Types::STRING, :name => 'richIntro', :optional => true},
130
+ ISHOLDCOPYRIGHT => {:type => ::Thrift::Types::BOOL, :name => 'isHoldCopyright', :optional => true},
131
+ PAIDAUDIOPATH => {:type => ::Thrift::Types::STRING, :name => 'paidAudioPath', :optional => true},
132
+ PAIDAUDIOMETAPATH => {:type => ::Thrift::Types::STRING, :name => 'paidAudioMetaPath', :optional => true},
133
+ PAIDAUDIOANDMETAPATH => {:type => ::Thrift::Types::STRING, :name => 'paidAudioAndMetaPath', :optional => true}
134
+ }
135
+
136
+ def struct_fields; FIELDS; end
137
+
138
+ def validate
139
+ end
140
+
141
+ ::Thrift::Struct.generate_accessors self
142
+ end
143
+
144
+ class TrackRecord
145
+ include ::Thrift::Struct, ::Thrift::Struct_Union
146
+ ID = 1
147
+ TRACKID = 2
148
+ UID = 3
149
+ OPTYPE = 4
150
+ ISPUBLIC = 5
151
+ CREATEDAT = 6
152
+ UPDATEDAT = 7
153
+ COMMENTCONTENT = 8
154
+ COMMENTID = 9
155
+ ISDELETED = 10
156
+ STATUS = 11
157
+ ALBUMID = 12
158
+ ORDERNUM = 13
159
+ TRACKUID = 14
160
+ ALBUMTITLE = 15
161
+ ALBUMCOVERPATH = 16
162
+ TITLE = 17
163
+ INTRO = 18
164
+ USERSOURCE = 19
165
+ CATEGORYID = 20
166
+ DURATION = 21
167
+ DOWNLOADPATH = 22
168
+ PLAYPATH = 23
169
+ PLAYPATH32 = 24
170
+ PLAYPATH64 = 25
171
+ PLAYPATH128 = 26
172
+ TRANSCODESTATE = 27
173
+ COVERPATH = 28
174
+ MP3SIZE32 = 29
175
+ MP3SIZE64 = 30
176
+ WAVEFORM = 31
177
+ UPLOADID = 32
178
+ EXPLOREHEIGHT = 33
179
+ DOWNLOADSIZE = 34
180
+ ORIGINSIZE = 35
181
+ ACTIVITYID = 36
182
+ DIGSTATUS = 37
183
+ APPROVEDAT = 38
184
+ ACCESSPASSWORDDELETED = 39
185
+ PLAYPATHAACV164 = 40
186
+ PLAYPATHAACV224 = 41
187
+ AACV164SIZE = 42
188
+ AACV224SIZE = 43
189
+ COVERSMALL = 44
190
+ COVERMIDDLE = 45
191
+ COVERLARGE = 46
192
+ COVERLARGEPOP = 47
193
+ UPLOADSOURCE = 48
194
+ ISHOLDCOPYRIGHT = 49
195
+
196
+ FIELDS = {
197
+ ID => {:type => ::Thrift::Types::I64, :name => 'id', :optional => true},
198
+ TRACKID => {:type => ::Thrift::Types::I64, :name => 'trackId', :optional => true},
199
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid', :optional => true},
200
+ OPTYPE => {:type => ::Thrift::Types::I32, :name => 'opType', :optional => true},
201
+ ISPUBLIC => {:type => ::Thrift::Types::BOOL, :name => 'isPublic', :optional => true},
202
+ CREATEDAT => {:type => ::Thrift::Types::I64, :name => 'createdAt', :optional => true},
203
+ UPDATEDAT => {:type => ::Thrift::Types::I64, :name => 'updatedAt', :optional => true},
204
+ COMMENTCONTENT => {:type => ::Thrift::Types::STRING, :name => 'commentContent', :optional => true},
205
+ COMMENTID => {:type => ::Thrift::Types::I64, :name => 'commentId', :optional => true},
206
+ ISDELETED => {:type => ::Thrift::Types::BOOL, :name => 'isDeleted', :optional => true},
207
+ STATUS => {:type => ::Thrift::Types::I32, :name => 'status', :optional => true},
208
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId', :optional => true},
209
+ ORDERNUM => {:type => ::Thrift::Types::I32, :name => 'orderNum', :optional => true},
210
+ TRACKUID => {:type => ::Thrift::Types::I64, :name => 'trackUid', :optional => true},
211
+ ALBUMTITLE => {:type => ::Thrift::Types::STRING, :name => 'albumTitle', :optional => true},
212
+ ALBUMCOVERPATH => {:type => ::Thrift::Types::STRING, :name => 'albumCoverPath', :optional => true},
213
+ TITLE => {:type => ::Thrift::Types::STRING, :name => 'title', :optional => true},
214
+ INTRO => {:type => ::Thrift::Types::STRING, :name => 'intro', :optional => true},
215
+ USERSOURCE => {:type => ::Thrift::Types::I32, :name => 'userSource', :optional => true},
216
+ CATEGORYID => {:type => ::Thrift::Types::I32, :name => 'categoryId', :optional => true},
217
+ DURATION => {:type => ::Thrift::Types::DOUBLE, :name => 'duration', :optional => true},
218
+ DOWNLOADPATH => {:type => ::Thrift::Types::STRING, :name => 'downloadPath', :optional => true},
219
+ PLAYPATH => {:type => ::Thrift::Types::STRING, :name => 'playPath', :optional => true},
220
+ PLAYPATH32 => {:type => ::Thrift::Types::STRING, :name => 'playPath32', :optional => true},
221
+ PLAYPATH64 => {:type => ::Thrift::Types::STRING, :name => 'playPath64', :optional => true},
222
+ PLAYPATH128 => {:type => ::Thrift::Types::STRING, :name => 'playPath128', :optional => true},
223
+ TRANSCODESTATE => {:type => ::Thrift::Types::I32, :name => 'transcodeState', :optional => true},
224
+ COVERPATH => {:type => ::Thrift::Types::STRING, :name => 'coverPath', :optional => true},
225
+ MP3SIZE32 => {:type => ::Thrift::Types::I32, :name => 'mp3size32', :optional => true},
226
+ MP3SIZE64 => {:type => ::Thrift::Types::I32, :name => 'mp3size64', :optional => true},
227
+ WAVEFORM => {:type => ::Thrift::Types::STRING, :name => 'waveform', :optional => true},
228
+ UPLOADID => {:type => ::Thrift::Types::STRING, :name => 'uploadId', :optional => true},
229
+ EXPLOREHEIGHT => {:type => ::Thrift::Types::I32, :name => 'exploreHeight', :optional => true},
230
+ DOWNLOADSIZE => {:type => ::Thrift::Types::I32, :name => 'downloadSize', :optional => true},
231
+ ORIGINSIZE => {:type => ::Thrift::Types::I32, :name => 'originSize', :optional => true},
232
+ ACTIVITYID => {:type => ::Thrift::Types::I32, :name => 'activityId', :optional => true},
233
+ DIGSTATUS => {:type => ::Thrift::Types::I32, :name => 'digStatus', :optional => true},
234
+ APPROVEDAT => {:type => ::Thrift::Types::I64, :name => 'approvedAt', :optional => true},
235
+ ACCESSPASSWORDDELETED => {:type => ::Thrift::Types::STRING, :name => 'accessPasswordDeleted', :optional => true},
236
+ PLAYPATHAACV164 => {:type => ::Thrift::Types::STRING, :name => 'playPathAacv164', :optional => true},
237
+ PLAYPATHAACV224 => {:type => ::Thrift::Types::STRING, :name => 'playPathAacv224', :optional => true},
238
+ AACV164SIZE => {:type => ::Thrift::Types::I32, :name => 'aacv164Size', :optional => true},
239
+ AACV224SIZE => {:type => ::Thrift::Types::I32, :name => 'aacv224Size', :optional => true},
240
+ COVERSMALL => {:type => ::Thrift::Types::STRING, :name => 'coverSmall', :optional => true},
241
+ COVERMIDDLE => {:type => ::Thrift::Types::STRING, :name => 'coverMiddle', :optional => true},
242
+ COVERLARGE => {:type => ::Thrift::Types::STRING, :name => 'coverLarge', :optional => true},
243
+ COVERLARGEPOP => {:type => ::Thrift::Types::STRING, :name => 'coverLargePop', :optional => true},
244
+ UPLOADSOURCE => {:type => ::Thrift::Types::I32, :name => 'uploadSource', :optional => true},
245
+ ISHOLDCOPYRIGHT => {:type => ::Thrift::Types::BOOL, :name => 'isHoldCopyright', :optional => true}
246
+ }
247
+
248
+ def struct_fields; FIELDS; end
249
+
250
+ def validate
251
+ end
252
+
253
+ ::Thrift::Struct.generate_accessors self
254
+ end
255
+
256
+ class TrackRepost
257
+ include ::Thrift::Struct, ::Thrift::Struct_Union
258
+ ID = 1
259
+ TRACKID = 2
260
+ UID = 3
261
+ ISDELETED = 4
262
+ COMMENTID = 5
263
+ COMMENTCONTENT = 6
264
+ CREATEDAT = 7
265
+ UPDATEDAT = 8
266
+ ALBUMID = 9
267
+
268
+ FIELDS = {
269
+ ID => {:type => ::Thrift::Types::I64, :name => 'id'},
270
+ TRACKID => {:type => ::Thrift::Types::I64, :name => 'trackId'},
271
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
272
+ ISDELETED => {:type => ::Thrift::Types::BOOL, :name => 'isDeleted'},
273
+ COMMENTID => {:type => ::Thrift::Types::I64, :name => 'commentId'},
274
+ COMMENTCONTENT => {:type => ::Thrift::Types::STRING, :name => 'commentContent', :optional => true},
275
+ CREATEDAT => {:type => ::Thrift::Types::I64, :name => 'createdAt'},
276
+ UPDATEDAT => {:type => ::Thrift::Types::I64, :name => 'updatedAt'},
277
+ ALBUMID => {:type => ::Thrift::Types::I64, :name => 'albumId'}
278
+ }
279
+
280
+ def struct_fields; FIELDS; end
281
+
282
+ def validate
283
+ end
284
+
285
+ ::Thrift::Struct.generate_accessors self
286
+ end
287
+
288
+ class TrackPicture
289
+ include ::Thrift::Struct, ::Thrift::Struct_Union
290
+ ID = 1
291
+ TRACKID = 2
292
+ UID = 3
293
+ PICTUREPATH = 4
294
+ ORDERNUM = 5
295
+ EXPLOREHEIGHT = 6
296
+ CREATEDAT = 7
297
+ UPDATEDAT = 8
298
+
299
+ FIELDS = {
300
+ ID => {:type => ::Thrift::Types::I64, :name => 'id'},
301
+ TRACKID => {:type => ::Thrift::Types::I64, :name => 'trackId'},
302
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
303
+ PICTUREPATH => {:type => ::Thrift::Types::STRING, :name => 'picturePath', :optional => true},
304
+ ORDERNUM => {:type => ::Thrift::Types::I32, :name => 'orderNum'},
305
+ EXPLOREHEIGHT => {:type => ::Thrift::Types::I32, :name => 'exploreHeight'},
306
+ CREATEDAT => {:type => ::Thrift::Types::I64, :name => 'createdAt'},
307
+ UPDATEDAT => {:type => ::Thrift::Types::I64, :name => 'updatedAt'}
308
+ }
309
+
310
+ def struct_fields; FIELDS; end
311
+
312
+ def validate
313
+ end
314
+
315
+ ::Thrift::Struct.generate_accessors self
316
+ end
317
+
318
+ class TrackRich
319
+ include ::Thrift::Struct, ::Thrift::Struct_Union
320
+ ID = 1
321
+ TRACKID = 2
322
+ CREATEDAT = 3
323
+ UPDATEDAT = 4
324
+ LYRIC = 5
325
+ RICHINTRO = 6
326
+
327
+ FIELDS = {
328
+ ID => {:type => ::Thrift::Types::I64, :name => 'id'},
329
+ TRACKID => {:type => ::Thrift::Types::I64, :name => 'trackId'},
330
+ CREATEDAT => {:type => ::Thrift::Types::I64, :name => 'createdAt'},
331
+ UPDATEDAT => {:type => ::Thrift::Types::I64, :name => 'updatedAt'},
332
+ LYRIC => {:type => ::Thrift::Types::STRING, :name => 'lyric', :optional => true},
333
+ RICHINTRO => {:type => ::Thrift::Types::STRING, :name => 'richIntro', :optional => true}
334
+ }
335
+
336
+ def struct_fields; FIELDS; end
337
+
338
+ def validate
339
+ end
340
+
341
+ ::Thrift::Struct.generate_accessors self
342
+ end
343
+
344
+ class BriefAlbum
345
+ include ::Thrift::Struct, ::Thrift::Struct_Union
346
+ ID = 1
347
+ UID = 2
348
+ TITLE = 3
349
+ COVERPATH = 4
350
+ ISFINISHED = 5
351
+ SHORTINTRO = 6
352
+ CREATEDAT = 7
353
+ UPDATEDAT = 8
354
+ LASTUPTRACKAT = 9
355
+ CATEGORYID = 10
356
+ ISPUBLIC = 11
357
+ STATUS = 12
358
+ ISDELETED = 13
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
+ LASTUPTRACKAT => {:type => ::Thrift::Types::I64, :name => 'lastUptrackAt', :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
+ }
375
+
376
+ def struct_fields; FIELDS; end
377
+
378
+ def validate
379
+ end
380
+
381
+ ::Thrift::Struct.generate_accessors self
382
+ end
383
+
384
+ class SimpleAlbum
385
+ include ::Thrift::Struct, ::Thrift::Struct_Union
386
+ ID = 1
387
+ UID = 2
388
+ TITLE = 3
389
+ COVERPATH = 4
390
+ ISFINISHED = 5
391
+ SHORTINTRO = 6
392
+ CREATEDAT = 7
393
+ UPDATEDAT = 8
394
+ ISCRAWLER = 9
395
+ CATEGORYID = 10
396
+ ISPUBLIC = 11
397
+ STATUS = 12
398
+ ISDELETED = 13
399
+ LASTUPTRACKID = 14
400
+ LASTUPTRACKTITLE = 15
401
+ LASTUPTRACKCOVERPATH = 16
402
+ LASTUPTRACKAT = 17
403
+ DIGSTATUS = 18
404
+ TAGS = 19
405
+ RECOMMENDREASON = 20
406
+ SUBTITLE = 21
407
+
408
+ FIELDS = {
409
+ ID => {:type => ::Thrift::Types::I64, :name => 'id', :optional => true},
410
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid', :optional => true},
411
+ TITLE => {:type => ::Thrift::Types::STRING, :name => 'title', :optional => true},
412
+ COVERPATH => {:type => ::Thrift::Types::STRING, :name => 'coverPath', :optional => true},
413
+ ISFINISHED => {:type => ::Thrift::Types::I32, :name => 'isFinished', :optional => true},
414
+ SHORTINTRO => {:type => ::Thrift::Types::STRING, :name => 'shortIntro', :optional => true},
415
+ CREATEDAT => {:type => ::Thrift::Types::I64, :name => 'createdAt', :optional => true},
416
+ UPDATEDAT => {:type => ::Thrift::Types::I64, :name => 'updatedAt', :optional => true},
417
+ ISCRAWLER => {:type => ::Thrift::Types::BOOL, :name => 'isCrawler', :optional => true},
418
+ CATEGORYID => {:type => ::Thrift::Types::I32, :name => 'categoryId', :optional => true},
419
+ ISPUBLIC => {:type => ::Thrift::Types::BOOL, :name => 'isPublic', :optional => true},
420
+ STATUS => {:type => ::Thrift::Types::I32, :name => 'status', :optional => true},
421
+ ISDELETED => {:type => ::Thrift::Types::BOOL, :name => 'isDeleted', :optional => true},
422
+ LASTUPTRACKID => {:type => ::Thrift::Types::I64, :name => 'lastUptrackId', :optional => true},
423
+ LASTUPTRACKTITLE => {:type => ::Thrift::Types::STRING, :name => 'lastUptrackTitle', :optional => true},
424
+ LASTUPTRACKCOVERPATH => {:type => ::Thrift::Types::STRING, :name => 'lastUptrackCoverPath', :optional => true},
425
+ LASTUPTRACKAT => {:type => ::Thrift::Types::I64, :name => 'lastUptrackAt', :optional => true},
426
+ DIGSTATUS => {:type => ::Thrift::Types::I32, :name => 'digStatus', :optional => true},
427
+ TAGS => {:type => ::Thrift::Types::STRING, :name => 'tags', :optional => true},
428
+ RECOMMENDREASON => {:type => ::Thrift::Types::STRING, :name => 'recommendReason', :optional => true},
429
+ SUBTITLE => {:type => ::Thrift::Types::STRING, :name => 'subtitle', :optional => true}
430
+ }
431
+
432
+ def struct_fields; FIELDS; end
433
+
434
+ def validate
435
+ end
436
+
437
+ ::Thrift::Struct.generate_accessors self
438
+ end
439
+
440
+ class BasicAlbum
441
+ include ::Thrift::Struct, ::Thrift::Struct_Union
442
+ ID = 1
443
+ UID = 2
444
+ TITLE = 3
445
+ COVERPATH = 4
446
+ ISFINISHED = 5
447
+ SHORTINTRO = 6
448
+ CREATEDAT = 7
449
+ UPDATEDAT = 8
450
+ ISCRAWLER = 9
451
+ CATEGORYID = 10
452
+ ISPUBLIC = 11
453
+ STATUS = 12
454
+ ISDELETED = 13
455
+ LASTUPTRACKID = 14
456
+ LASTUPTRACKTITLE = 15
457
+ LASTUPTRACKCOVERPATH = 16
458
+ LASTUPTRACKAT = 17
459
+ DIGSTATUS = 18
460
+ TAGS = 19
461
+ MUSICCATEGORY = 20
462
+ INTRO = 21
463
+ RICHINTRO = 22
464
+ USERSOURCE = 23
465
+ ISRECORDSDESC = 24
466
+ ISDEFAULT = 25
467
+ TRACKCOVERHEIGHT = 26
468
+ TRACKCOVER = 27
469
+ RECOMMENDREASON = 28
470
+ UPLOADSOURCE = 29
471
+ FIRSTUPTRACKAT = 30
472
+ SUBTITLE = 31
473
+ ISPAID = 32
474
+ ISEXCLUSIVE = 33
475
+ FIRSTTRACKTITLE = 34
476
+ PLAYTRACKID = 35
477
+
478
+ FIELDS = {
479
+ ID => {:type => ::Thrift::Types::I64, :name => 'id', :optional => true},
480
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid', :optional => true},
481
+ TITLE => {:type => ::Thrift::Types::STRING, :name => 'title', :optional => true},
482
+ COVERPATH => {:type => ::Thrift::Types::STRING, :name => 'coverPath', :optional => true},
483
+ ISFINISHED => {:type => ::Thrift::Types::I32, :name => 'isFinished', :optional => true},
484
+ SHORTINTRO => {:type => ::Thrift::Types::STRING, :name => 'shortIntro', :optional => true},
485
+ CREATEDAT => {:type => ::Thrift::Types::I64, :name => 'createdAt', :optional => true},
486
+ UPDATEDAT => {:type => ::Thrift::Types::I64, :name => 'updatedAt', :optional => true},
487
+ ISCRAWLER => {:type => ::Thrift::Types::BOOL, :name => 'isCrawler', :optional => true},
488
+ CATEGORYID => {:type => ::Thrift::Types::I32, :name => 'categoryId', :optional => true},
489
+ ISPUBLIC => {:type => ::Thrift::Types::BOOL, :name => 'isPublic', :optional => true},
490
+ STATUS => {:type => ::Thrift::Types::I32, :name => 'status', :optional => true},
491
+ ISDELETED => {:type => ::Thrift::Types::BOOL, :name => 'isDeleted', :optional => true},
492
+ LASTUPTRACKID => {:type => ::Thrift::Types::I64, :name => 'lastUptrackId', :optional => true},
493
+ LASTUPTRACKTITLE => {:type => ::Thrift::Types::STRING, :name => 'lastUptrackTitle', :optional => true},
494
+ LASTUPTRACKCOVERPATH => {:type => ::Thrift::Types::STRING, :name => 'lastUptrackCoverPath', :optional => true},
495
+ LASTUPTRACKAT => {:type => ::Thrift::Types::I64, :name => 'lastUptrackAt', :optional => true},
496
+ DIGSTATUS => {:type => ::Thrift::Types::I32, :name => 'digStatus', :optional => true},
497
+ TAGS => {:type => ::Thrift::Types::STRING, :name => 'tags', :optional => true},
498
+ MUSICCATEGORY => {:type => ::Thrift::Types::STRING, :name => 'musicCategory', :optional => true},
499
+ INTRO => {:type => ::Thrift::Types::STRING, :name => 'intro', :optional => true},
500
+ RICHINTRO => {:type => ::Thrift::Types::STRING, :name => 'richIntro', :optional => true},
501
+ USERSOURCE => {:type => ::Thrift::Types::I32, :name => 'userSource', :optional => true},
502
+ ISRECORDSDESC => {:type => ::Thrift::Types::BOOL, :name => 'isRecordsDesc', :optional => true},
503
+ ISDEFAULT => {:type => ::Thrift::Types::BOOL, :name => 'isDefault', :optional => true},
504
+ TRACKCOVERHEIGHT => {:type => ::Thrift::Types::I32, :name => 'trackCoverHeight', :optional => true},
505
+ TRACKCOVER => {:type => ::Thrift::Types::STRING, :name => 'trackCover', :optional => true},
506
+ RECOMMENDREASON => {:type => ::Thrift::Types::STRING, :name => 'recommendReason', :optional => true},
507
+ UPLOADSOURCE => {:type => ::Thrift::Types::I32, :name => 'uploadSource', :optional => true},
508
+ FIRSTUPTRACKAT => {:type => ::Thrift::Types::I64, :name => 'firstUptrackAt', :optional => true},
509
+ SUBTITLE => {:type => ::Thrift::Types::STRING, :name => 'subtitle', :optional => true},
510
+ ISPAID => {:type => ::Thrift::Types::BOOL, :name => 'isPaid', :optional => true},
511
+ ISEXCLUSIVE => {:type => ::Thrift::Types::BOOL, :name => 'isExclusive', :optional => true},
512
+ FIRSTTRACKTITLE => {:type => ::Thrift::Types::STRING, :name => 'firstTrackTitle', :optional => true},
513
+ PLAYTRACKID => {:type => ::Thrift::Types::I64, :name => 'playTrackId', :optional => true}
514
+ }
515
+
516
+ def struct_fields; FIELDS; end
517
+
518
+ def validate
519
+ end
520
+
521
+ ::Thrift::Struct.generate_accessors self
522
+ end
523
+
524
+ class SimpleAlbumPageResult
525
+ include ::Thrift::Struct, ::Thrift::Struct_Union
526
+ TOTALSIZE = 1
527
+ CURRENTPAGE = 2
528
+ PAGESIZE = 3
529
+ ALBUMS = 4
530
+
531
+ FIELDS = {
532
+ TOTALSIZE => {:type => ::Thrift::Types::I32, :name => 'totalSize'},
533
+ CURRENTPAGE => {:type => ::Thrift::Types::I32, :name => 'currentPage'},
534
+ PAGESIZE => {:type => ::Thrift::Types::I32, :name => 'pageSize'},
535
+ ALBUMS => {:type => ::Thrift::Types::LIST, :name => 'albums', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Service::Content::Thrift::SimpleAlbum}, :optional => true}
536
+ }
537
+
538
+ def struct_fields; FIELDS; end
539
+
540
+ def validate
541
+ raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field totalSize is unset!') unless @totalSize
542
+ raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field currentPage is unset!') unless @currentPage
543
+ raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field pageSize is unset!') unless @pageSize
544
+ end
545
+
546
+ ::Thrift::Struct.generate_accessors self
547
+ end
548
+
549
+ class BasicAlbumPageResult
550
+ include ::Thrift::Struct, ::Thrift::Struct_Union
551
+ TOTALSIZE = 1
552
+ CURRENTPAGE = 2
553
+ PAGESIZE = 3
554
+ ALBUMS = 4
555
+
556
+ FIELDS = {
557
+ TOTALSIZE => {:type => ::Thrift::Types::I32, :name => 'totalSize'},
558
+ CURRENTPAGE => {:type => ::Thrift::Types::I32, :name => 'currentPage'},
559
+ PAGESIZE => {:type => ::Thrift::Types::I32, :name => 'pageSize'},
560
+ ALBUMS => {:type => ::Thrift::Types::LIST, :name => 'albums', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Service::Content::Thrift::BasicAlbum}, :optional => true}
561
+ }
562
+
563
+ def struct_fields; FIELDS; end
564
+
565
+ def validate
566
+ raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field totalSize is unset!') unless @totalSize
567
+ raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field currentPage is unset!') unless @currentPage
568
+ raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field pageSize is unset!') unless @pageSize
569
+ end
570
+
571
+ ::Thrift::Struct.generate_accessors self
572
+ end
573
+
574
+ class RichAlbum
575
+ include ::Thrift::Struct, ::Thrift::Struct_Union
576
+ ID = 1
577
+ RICHINTRO = 2
578
+
579
+ FIELDS = {
580
+ ID => {:type => ::Thrift::Types::I64, :name => 'id', :optional => true},
581
+ RICHINTRO => {:type => ::Thrift::Types::STRING, :name => 'richIntro', :optional => true}
582
+ }
583
+
584
+ def struct_fields; FIELDS; end
585
+
586
+ def validate
587
+ end
588
+
589
+ ::Thrift::Struct.generate_accessors self
590
+ end
591
+
592
+ class InsertableAlbum
593
+ include ::Thrift::Struct, ::Thrift::Struct_Union
594
+ ID = 1
595
+ UID = 2
596
+ ISPUBLIC = 3
597
+ ISCRAWLER = 4
598
+ ISFINISHED = 5
599
+ STATUS = 6
600
+ DIGSTATUS = 7
601
+ TITLE = 8
602
+ COVERPATH = 9
603
+ USERSOURCE = 10
604
+ CATEGORYID = 11
605
+ MUSICCATEGORY = 12
606
+ SHORTINTRO = 13
607
+ INTRO = 14
608
+ CUTRICHINTRO = 15
609
+ RICHINTRO = 16
610
+ TAGS = 17
611
+ ISRECORDSDESC = 18
612
+ LASTUPTRACKID = 19
613
+ LASTUPTRACKTITLE = 20
614
+ LASTUPTRACKCOVERPATH = 21
615
+ LASTUPTRACKAT = 22
616
+ RICHID = 23
617
+ ISDEFAULT = 24
618
+ TRACKCOVER = 25
619
+ TRACKCOVERHEIGHT = 26
620
+ UPLOADSOURCE = 27
621
+ ISPAID = 28
622
+ ISEXCLUSIVE = 29
623
+
624
+ FIELDS = {
625
+ ID => {:type => ::Thrift::Types::I64, :name => 'id'},
626
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
627
+ ISPUBLIC => {:type => ::Thrift::Types::BOOL, :name => 'isPublic', :optional => true},
628
+ ISCRAWLER => {:type => ::Thrift::Types::BOOL, :name => 'isCrawler', :optional => true},
629
+ ISFINISHED => {:type => ::Thrift::Types::I32, :name => 'isFinished', :optional => true},
630
+ STATUS => {:type => ::Thrift::Types::I32, :name => 'status', :optional => true},
631
+ DIGSTATUS => {:type => ::Thrift::Types::I32, :name => 'digStatus', :optional => true},
632
+ TITLE => {:type => ::Thrift::Types::STRING, :name => 'title', :optional => true},
633
+ COVERPATH => {:type => ::Thrift::Types::STRING, :name => 'coverPath', :optional => true},
634
+ USERSOURCE => {:type => ::Thrift::Types::I32, :name => 'userSource', :optional => true},
635
+ CATEGORYID => {:type => ::Thrift::Types::I32, :name => 'categoryId', :optional => true},
636
+ MUSICCATEGORY => {:type => ::Thrift::Types::STRING, :name => 'musicCategory', :optional => true},
637
+ SHORTINTRO => {:type => ::Thrift::Types::STRING, :name => 'shortIntro', :optional => true},
638
+ INTRO => {:type => ::Thrift::Types::STRING, :name => 'intro', :optional => true},
639
+ CUTRICHINTRO => {:type => ::Thrift::Types::STRING, :name => 'cutRichIntro', :optional => true},
640
+ RICHINTRO => {:type => ::Thrift::Types::STRING, :name => 'richIntro', :optional => true},
641
+ TAGS => {:type => ::Thrift::Types::STRING, :name => 'tags', :optional => true},
642
+ ISRECORDSDESC => {:type => ::Thrift::Types::BOOL, :name => 'isRecordsDesc', :optional => true},
643
+ LASTUPTRACKID => {:type => ::Thrift::Types::I64, :name => 'lastUptrackId', :optional => true},
644
+ LASTUPTRACKTITLE => {:type => ::Thrift::Types::STRING, :name => 'lastUptrackTitle', :optional => true},
645
+ LASTUPTRACKCOVERPATH => {:type => ::Thrift::Types::STRING, :name => 'lastUptrackCoverPath', :optional => true},
646
+ LASTUPTRACKAT => {:type => ::Thrift::Types::I64, :name => 'lastUptrackAt', :optional => true},
647
+ RICHID => {:type => ::Thrift::Types::I64, :name => 'richId', :optional => true},
648
+ ISDEFAULT => {:type => ::Thrift::Types::BOOL, :name => 'isDefault', :optional => true},
649
+ TRACKCOVER => {:type => ::Thrift::Types::STRING, :name => 'trackCover', :optional => true},
650
+ TRACKCOVERHEIGHT => {:type => ::Thrift::Types::I32, :name => 'trackCoverHeight', :optional => true},
651
+ UPLOADSOURCE => {:type => ::Thrift::Types::I32, :name => 'uploadSource', :optional => true},
652
+ ISPAID => {:type => ::Thrift::Types::BOOL, :name => 'isPaid', :optional => true},
653
+ ISEXCLUSIVE => {:type => ::Thrift::Types::BOOL, :name => 'isExclusive', :optional => true}
654
+ }
655
+
656
+ def struct_fields; FIELDS; end
657
+
658
+ def validate
659
+ end
660
+
661
+ ::Thrift::Struct.generate_accessors self
662
+ end
663
+
664
+ class AlterableAlbum
665
+ include ::Thrift::Struct, ::Thrift::Struct_Union
666
+ ID = 1
667
+ UID = 2
668
+ TITLE = 3
669
+ COVERPATH = 4
670
+ SHORTINTRO = 5
671
+ INTRO = 6
672
+ CUTRICHINTRO = 7
673
+ RICHINTRO = 8
674
+ CATEGORYID = 9
675
+ MUSICCATEGORY = 10
676
+ ISFINISHED = 11
677
+ ISRECORDSDESC = 12
678
+ LASTUPTRACKID = 13
679
+ LASTUPTRACKTITLE = 14
680
+ LASTUPTRACKCOVERPATH = 15
681
+ LASTUPTRACKAT = 16
682
+ TRACKCOVER = 17
683
+ TRACKCOVERHEIGHT = 18
684
+ ISPUBLIC = 19
685
+ UPLOADSOURCE = 20
686
+ ISDEFAULT = 21
687
+ TAGS = 22
688
+ OPTTAGS = 23
689
+ FIRSTUPTRACKAT = 24
690
+ SUBTITLE = 25
691
+ FIRSTTRACKTITLE = 26
692
+ PLAYTRACKID = 27
693
+ RECOMMENDREASON = 28
694
+ STATUS = 29
695
+ DIGSTATUS = 30
696
+ BACKENDUPDATE = 31
697
+ LISTITEMSRELATIONSHIP = 32
698
+
699
+ FIELDS = {
700
+ ID => {:type => ::Thrift::Types::I64, :name => 'id'},
701
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid', :optional => true},
702
+ TITLE => {:type => ::Thrift::Types::STRING, :name => 'title', :optional => true},
703
+ COVERPATH => {:type => ::Thrift::Types::STRING, :name => 'coverPath', :optional => true},
704
+ SHORTINTRO => {:type => ::Thrift::Types::STRING, :name => 'shortIntro', :optional => true},
705
+ INTRO => {:type => ::Thrift::Types::STRING, :name => 'intro', :optional => true},
706
+ CUTRICHINTRO => {:type => ::Thrift::Types::STRING, :name => 'cutRichIntro', :optional => true},
707
+ RICHINTRO => {:type => ::Thrift::Types::STRING, :name => 'richIntro', :optional => true},
708
+ CATEGORYID => {:type => ::Thrift::Types::I32, :name => 'categoryId', :optional => true},
709
+ MUSICCATEGORY => {:type => ::Thrift::Types::STRING, :name => 'musicCategory', :optional => true},
710
+ ISFINISHED => {:type => ::Thrift::Types::I32, :name => 'isFinished', :optional => true},
711
+ ISRECORDSDESC => {:type => ::Thrift::Types::BOOL, :name => 'isRecordsDesc', :optional => true},
712
+ LASTUPTRACKID => {:type => ::Thrift::Types::I64, :name => 'lastUptrackId', :optional => true},
713
+ LASTUPTRACKTITLE => {:type => ::Thrift::Types::STRING, :name => 'lastUptrackTitle', :optional => true},
714
+ LASTUPTRACKCOVERPATH => {:type => ::Thrift::Types::STRING, :name => 'lastUptrackCoverPath', :optional => true},
715
+ LASTUPTRACKAT => {:type => ::Thrift::Types::I64, :name => 'lastUptrackAt', :optional => true},
716
+ TRACKCOVER => {:type => ::Thrift::Types::STRING, :name => 'trackCover', :optional => true},
717
+ TRACKCOVERHEIGHT => {:type => ::Thrift::Types::I32, :name => 'trackCoverHeight', :optional => true},
718
+ ISPUBLIC => {:type => ::Thrift::Types::BOOL, :name => 'isPublic', :optional => true},
719
+ UPLOADSOURCE => {:type => ::Thrift::Types::I32, :name => 'uploadSource', :optional => true},
720
+ ISDEFAULT => {:type => ::Thrift::Types::BOOL, :name => 'isDefault', :optional => true},
721
+ TAGS => {:type => ::Thrift::Types::STRING, :name => 'tags', :optional => true},
722
+ OPTTAGS => {:type => ::Thrift::Types::STRING, :name => 'optTags', :optional => true},
723
+ FIRSTUPTRACKAT => {:type => ::Thrift::Types::I64, :name => 'firstUptrackAt', :optional => true},
724
+ SUBTITLE => {:type => ::Thrift::Types::STRING, :name => 'subtitle', :optional => true},
725
+ FIRSTTRACKTITLE => {:type => ::Thrift::Types::STRING, :name => 'firstTrackTitle', :optional => true},
726
+ PLAYTRACKID => {:type => ::Thrift::Types::I64, :name => 'playTrackId', :optional => true},
727
+ RECOMMENDREASON => {:type => ::Thrift::Types::STRING, :name => 'recommendReason', :optional => true},
728
+ STATUS => {:type => ::Thrift::Types::I32, :name => 'status', :optional => true},
729
+ DIGSTATUS => {:type => ::Thrift::Types::I32, :name => 'digStatus', :optional => true},
730
+ BACKENDUPDATE => {:type => ::Thrift::Types::BOOL, :name => 'backendUpdate', :optional => true},
731
+ LISTITEMSRELATIONSHIP => {:type => ::Thrift::Types::I32, :name => 'listItemsRelationship', :optional => true}
732
+ }
733
+
734
+ def struct_fields; FIELDS; end
735
+
736
+ def validate
737
+ end
738
+
739
+ ::Thrift::Struct.generate_accessors self
740
+ end
741
+
742
+ class DeletableAlbum
743
+ include ::Thrift::Struct, ::Thrift::Struct_Union
744
+ ID = 1
745
+ UID = 2
746
+
747
+ FIELDS = {
748
+ ID => {:type => ::Thrift::Types::I64, :name => 'id', :optional => true},
749
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid', :optional => true}
750
+ }
751
+
752
+ def struct_fields; FIELDS; end
753
+
754
+ def validate
755
+ end
756
+
757
+ ::Thrift::Struct.generate_accessors self
758
+ end
759
+
760
+ class SimpleTrackRecord
761
+ include ::Thrift::Struct, ::Thrift::Struct_Union
762
+ TRACKID = 1
763
+ UID = 2
764
+ PLAYURL64 = 3
765
+ PLAYURL32 = 4
766
+ DOWLOADURL = 5
767
+ TITLE = 6
768
+ DURATION = 7
769
+
770
+ FIELDS = {
771
+ TRACKID => {:type => ::Thrift::Types::I64, :name => 'trackId'},
772
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
773
+ PLAYURL64 => {:type => ::Thrift::Types::STRING, :name => 'playUrl64', :optional => true},
774
+ PLAYURL32 => {:type => ::Thrift::Types::STRING, :name => 'playUrl32', :optional => true},
775
+ DOWLOADURL => {:type => ::Thrift::Types::STRING, :name => 'dowloadUrl', :optional => true},
776
+ TITLE => {:type => ::Thrift::Types::STRING, :name => 'title', :optional => true},
777
+ DURATION => {:type => ::Thrift::Types::DOUBLE, :name => 'duration', :optional => true}
778
+ }
779
+
780
+ def struct_fields; FIELDS; end
781
+
782
+ def validate
783
+ end
784
+
785
+ ::Thrift::Struct.generate_accessors self
786
+ end
787
+
788
+ class TrackRecordPageResult
789
+ include ::Thrift::Struct, ::Thrift::Struct_Union
790
+ TOTALSIZE = 1
791
+ CURRENTPAGE = 2
792
+ PAGESIZE = 3
793
+ TRACKRECORDS = 4
794
+
795
+ FIELDS = {
796
+ TOTALSIZE => {:type => ::Thrift::Types::I32, :name => 'totalSize'},
797
+ CURRENTPAGE => {:type => ::Thrift::Types::I32, :name => 'currentPage'},
798
+ PAGESIZE => {:type => ::Thrift::Types::I32, :name => 'pageSize'},
799
+ TRACKRECORDS => {:type => ::Thrift::Types::LIST, :name => 'trackRecords', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Service::Content::Thrift::TrackRecord}, :optional => true}
800
+ }
801
+
802
+ def struct_fields; FIELDS; end
803
+
804
+ def validate
805
+ raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field totalSize is unset!') unless @totalSize
806
+ raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field currentPage is unset!') unless @currentPage
807
+ raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field pageSize is unset!') unless @pageSize
808
+ end
809
+
810
+ ::Thrift::Struct.generate_accessors self
811
+ end
812
+
813
+ class SimpleTrackRecordPageResult
814
+ include ::Thrift::Struct, ::Thrift::Struct_Union
815
+ TOTALSIZE = 1
816
+ CURRENTPAGE = 2
817
+ PAGESIZE = 3
818
+ SIMPLETRACKRECORDS = 4
819
+
820
+ FIELDS = {
821
+ TOTALSIZE => {:type => ::Thrift::Types::I32, :name => 'totalSize'},
822
+ CURRENTPAGE => {:type => ::Thrift::Types::I32, :name => 'currentPage'},
823
+ PAGESIZE => {:type => ::Thrift::Types::I32, :name => 'pageSize'},
824
+ SIMPLETRACKRECORDS => {:type => ::Thrift::Types::LIST, :name => 'simpleTrackRecords', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Service::Content::Thrift::SimpleTrackRecord}, :optional => true}
825
+ }
826
+
827
+ def struct_fields; FIELDS; end
828
+
829
+ def validate
830
+ raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field totalSize is unset!') unless @totalSize
831
+ raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field currentPage is unset!') unless @currentPage
832
+ raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field pageSize is unset!') unless @pageSize
833
+ end
834
+
835
+ ::Thrift::Struct.generate_accessors self
836
+ end
837
+
838
+ class TrackBlock
839
+ include ::Thrift::Struct, ::Thrift::Struct_Union
840
+ ID = 1
841
+ TRACKID = 2
842
+ DURATION = 3
843
+ BLOCKS = 4
844
+ FLAGS = 5
845
+ B0 = 6
846
+ B1 = 7
847
+ B2 = 8
848
+ B3 = 9
849
+ B4 = 10
850
+ B5 = 11
851
+ B6 = 12
852
+ B7 = 13
853
+ B8 = 14
854
+ B9 = 15
855
+ B10 = 16
856
+ B11 = 17
857
+ B12 = 18
858
+ B13 = 19
859
+ B14 = 20
860
+ B15 = 21
861
+ B16 = 22
862
+ B17 = 23
863
+ B18 = 24
864
+ B19 = 25
865
+ B20 = 26
866
+ B21 = 27
867
+ B22 = 28
868
+ B23 = 29
869
+ B24 = 30
870
+ B25 = 31
871
+ B26 = 32
872
+ B27 = 33
873
+ B28 = 34
874
+ B29 = 35
875
+ CREATEDAT = 36
876
+ UPDATEDAT = 37
877
+
878
+ FIELDS = {
879
+ ID => {:type => ::Thrift::Types::I64, :name => 'id'},
880
+ TRACKID => {:type => ::Thrift::Types::I64, :name => 'trackId'},
881
+ DURATION => {:type => ::Thrift::Types::DOUBLE, :name => 'duration'},
882
+ BLOCKS => {:type => ::Thrift::Types::I32, :name => 'blocks'},
883
+ FLAGS => {:type => ::Thrift::Types::STRING, :name => 'flags', :optional => true},
884
+ B0 => {:type => ::Thrift::Types::I32, :name => 'b0'},
885
+ B1 => {:type => ::Thrift::Types::I32, :name => 'b1'},
886
+ B2 => {:type => ::Thrift::Types::I32, :name => 'b2'},
887
+ B3 => {:type => ::Thrift::Types::I32, :name => 'b3'},
888
+ B4 => {:type => ::Thrift::Types::I32, :name => 'b4'},
889
+ B5 => {:type => ::Thrift::Types::I32, :name => 'b5'},
890
+ B6 => {:type => ::Thrift::Types::I32, :name => 'b6'},
891
+ B7 => {:type => ::Thrift::Types::I32, :name => 'b7'},
892
+ B8 => {:type => ::Thrift::Types::I32, :name => 'b8'},
893
+ B9 => {:type => ::Thrift::Types::I32, :name => 'b9'},
894
+ B10 => {:type => ::Thrift::Types::I32, :name => 'b10'},
895
+ B11 => {:type => ::Thrift::Types::I32, :name => 'b11'},
896
+ B12 => {:type => ::Thrift::Types::I32, :name => 'b12'},
897
+ B13 => {:type => ::Thrift::Types::I32, :name => 'b13'},
898
+ B14 => {:type => ::Thrift::Types::I32, :name => 'b14'},
899
+ B15 => {:type => ::Thrift::Types::I32, :name => 'b15'},
900
+ B16 => {:type => ::Thrift::Types::I32, :name => 'b16'},
901
+ B17 => {:type => ::Thrift::Types::I32, :name => 'b17'},
902
+ B18 => {:type => ::Thrift::Types::I32, :name => 'b18'},
903
+ B19 => {:type => ::Thrift::Types::I32, :name => 'b19'},
904
+ B20 => {:type => ::Thrift::Types::I32, :name => 'b20'},
905
+ B21 => {:type => ::Thrift::Types::I32, :name => 'b21'},
906
+ B22 => {:type => ::Thrift::Types::I32, :name => 'b22'},
907
+ B23 => {:type => ::Thrift::Types::I32, :name => 'b23'},
908
+ B24 => {:type => ::Thrift::Types::I32, :name => 'b24'},
909
+ B25 => {:type => ::Thrift::Types::I32, :name => 'b25'},
910
+ B26 => {:type => ::Thrift::Types::I32, :name => 'b26'},
911
+ B27 => {:type => ::Thrift::Types::I32, :name => 'b27'},
912
+ B28 => {:type => ::Thrift::Types::I32, :name => 'b28'},
913
+ B29 => {:type => ::Thrift::Types::I32, :name => 'b29'},
914
+ CREATEDAT => {:type => ::Thrift::Types::I64, :name => 'createdAt'},
915
+ UPDATEDAT => {:type => ::Thrift::Types::I64, :name => 'updatedAt'}
916
+ }
917
+
918
+ def struct_fields; FIELDS; end
919
+
920
+ def validate
921
+ end
922
+
923
+ ::Thrift::Struct.generate_accessors self
924
+ end
925
+
926
+ class ClientInfo
927
+ include ::Thrift::Struct, ::Thrift::Struct_Union
928
+ CLIENTTYPE = 1
929
+ DEVICE = 2
930
+ VERSION = 3
931
+ USERAGENT = 4
932
+ CHANNEL = 5
933
+ DEVICEID = 6
934
+ MAC = 7
935
+ IP = 8
936
+ LONGITUDE = 9
937
+ LATITUDE = 10
938
+ BUNDLEID = 11
939
+
940
+ FIELDS = {
941
+ CLIENTTYPE => {:type => ::Thrift::Types::STRING, :name => 'clientType'},
942
+ DEVICE => {:type => ::Thrift::Types::STRING, :name => 'device'},
943
+ VERSION => {:type => ::Thrift::Types::STRING, :name => 'version'},
944
+ USERAGENT => {:type => ::Thrift::Types::STRING, :name => 'userAgent'},
945
+ CHANNEL => {:type => ::Thrift::Types::STRING, :name => 'channel'},
946
+ DEVICEID => {:type => ::Thrift::Types::STRING, :name => 'deviceId'},
947
+ MAC => {:type => ::Thrift::Types::STRING, :name => 'mac'},
948
+ IP => {:type => ::Thrift::Types::STRING, :name => 'ip'},
949
+ LONGITUDE => {:type => ::Thrift::Types::STRING, :name => 'longitude'},
950
+ LATITUDE => {:type => ::Thrift::Types::STRING, :name => 'latitude'},
951
+ BUNDLEID => {:type => ::Thrift::Types::STRING, :name => 'bundleId'}
952
+ }
953
+
954
+ def struct_fields; FIELDS; end
955
+
956
+ def validate
957
+ end
958
+
959
+ ::Thrift::Struct.generate_accessors self
960
+ end
961
+
962
+ end
963
+ end
964
+ end