track_service_thrift_client 0.0.1 → 0.0.2

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