passport_thrift_client 0.1.1 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,567 +1,314 @@
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 Passport
10
- module Thrift
11
- class LoginHelpInfo
12
- include ::Thrift::Struct, ::Thrift::Struct_Union
13
- ISCHECKFLAG = 1
14
- LOGINFLAGTOKEN = 2
15
- LOGINACCOUNT = 3
16
- UID = 4
17
- NICKNAME = 5
18
- ISREMEMBERME = 6
19
- THIRDPARTYID = 7
20
- THIRDPARTYNAME = 8
21
- JOINTYPE = 9
22
- THIRDPARTYIDENTITY = 10
23
- TPUID = 11
24
- IP = 12
25
- LONGITUDE = 13
26
- LATITUDE = 14
27
- USERAGENT = 15
28
- CLIENTTYPEID = 16
29
- LOGINTOPICTYPE = 17
30
-
31
- FIELDS = {
32
- ISCHECKFLAG => {:type => ::Thrift::Types::BOOL, :name => 'isCheckFlag'},
33
- LOGINFLAGTOKEN => {:type => ::Thrift::Types::STRING, :name => 'loginFlagToken', :optional => true},
34
- LOGINACCOUNT => {:type => ::Thrift::Types::STRING, :name => 'loginAccount', :optional => true},
35
- UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
36
- NICKNAME => {:type => ::Thrift::Types::STRING, :name => 'nickname', :optional => true},
37
- ISREMEMBERME => {:type => ::Thrift::Types::BOOL, :name => 'isRememberMe'},
38
- THIRDPARTYID => {:type => ::Thrift::Types::I64, :name => 'thirdpartyId'},
39
- THIRDPARTYNAME => {:type => ::Thrift::Types::STRING, :name => 'thirdpartyName', :optional => true},
40
- JOINTYPE => {:type => ::Thrift::Types::STRING, :name => 'joinType', :optional => true},
41
- THIRDPARTYIDENTITY => {:type => ::Thrift::Types::STRING, :name => 'thirdpartyIdentity', :optional => true},
42
- TPUID => {:type => ::Thrift::Types::I64, :name => 'tpUid'},
43
- IP => {:type => ::Thrift::Types::STRING, :name => 'ip', :optional => true},
44
- LONGITUDE => {:type => ::Thrift::Types::STRING, :name => 'longitude', :optional => true},
45
- LATITUDE => {:type => ::Thrift::Types::STRING, :name => 'latitude', :optional => true},
46
- USERAGENT => {:type => ::Thrift::Types::STRING, :name => 'userAgent', :optional => true},
47
- CLIENTTYPEID => {:type => ::Thrift::Types::I32, :name => 'clientTypeId'},
48
- LOGINTOPICTYPE => {:type => ::Thrift::Types::STRING, :name => 'loginTopicType', :optional => true}
49
- }
50
-
51
- def struct_fields; FIELDS; end
52
-
53
- def validate
54
- end
55
-
56
- ::Thrift::Struct.generate_accessors self
57
- end
58
-
59
- class LoginInfo
60
- include ::Thrift::Struct, ::Thrift::Struct_Union
61
- ACCOUNT = 1
62
- PASSWORD = 2
63
- CHECKCODE = 3
64
- REMEMBERME = 4
65
- FROMURI = 5
66
- PROXYURL = 6
67
- DOMAIN = 7
68
- PRODUCTID = 8
69
- CHECKUUID = 9
70
- CHECKCODEURL = 10
71
- IP = 11
72
- LONGITUDE = 12
73
- LATITUDE = 13
74
-
75
- FIELDS = {
76
- ACCOUNT => {:type => ::Thrift::Types::STRING, :name => 'account', :optional => true},
77
- PASSWORD => {:type => ::Thrift::Types::STRING, :name => 'password', :optional => true},
78
- CHECKCODE => {:type => ::Thrift::Types::STRING, :name => 'checkCode', :optional => true},
79
- REMEMBERME => {:type => ::Thrift::Types::STRING, :name => 'rememberMe', :optional => true},
80
- FROMURI => {:type => ::Thrift::Types::STRING, :name => 'fromUri', :optional => true},
81
- PROXYURL => {:type => ::Thrift::Types::STRING, :name => 'proxyUrl', :optional => true},
82
- DOMAIN => {:type => ::Thrift::Types::STRING, :name => 'domain', :optional => true},
83
- PRODUCTID => {:type => ::Thrift::Types::I64, :name => 'productId'},
84
- CHECKUUID => {:type => ::Thrift::Types::STRING, :name => 'checkUUID', :optional => true},
85
- CHECKCODEURL => {:type => ::Thrift::Types::STRING, :name => 'checkCodeUrl', :optional => true},
86
- IP => {:type => ::Thrift::Types::STRING, :name => 'ip', :optional => true},
87
- LONGITUDE => {:type => ::Thrift::Types::STRING, :name => 'longitude', :optional => true},
88
- LATITUDE => {:type => ::Thrift::Types::STRING, :name => 'latitude', :optional => true}
89
- }
90
-
91
- def struct_fields; FIELDS; end
92
-
93
- def validate
94
- end
95
-
96
- ::Thrift::Struct.generate_accessors self
97
- end
98
-
99
- class MobileLoginInfo
100
- include ::Thrift::Struct, ::Thrift::Struct_Union
101
- UID = 1
102
- TOKEN = 2
103
-
104
- FIELDS = {
105
- UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
106
- TOKEN => {:type => ::Thrift::Types::STRING, :name => 'token', :optional => true}
107
- }
108
-
109
- def struct_fields; FIELDS; end
110
-
111
- def validate
112
- end
113
-
114
- ::Thrift::Struct.generate_accessors self
115
- end
116
-
117
- class Passport
118
- include ::Thrift::Struct, ::Thrift::Struct_Union
119
- UID = 1
120
- EMAIL = 2
121
- ACCOUNT = 3
122
- MPHONE = 4
123
- PASSWORD = 5
124
- ACTIVED = 6
125
- CREATETIME = 7
126
- ISROBOT = 8
127
- ISBLACKLISTED = 9
128
- ISDELETED = 10
129
- ISNULL = 11
130
-
131
- FIELDS = {
132
- UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
133
- EMAIL => {:type => ::Thrift::Types::STRING, :name => 'email', :optional => true},
134
- ACCOUNT => {:type => ::Thrift::Types::STRING, :name => 'account', :optional => true},
135
- MPHONE => {:type => ::Thrift::Types::STRING, :name => 'mPhone', :optional => true},
136
- PASSWORD => {:type => ::Thrift::Types::STRING, :name => 'password', :optional => true},
137
- ACTIVED => {:type => ::Thrift::Types::BOOL, :name => 'actived'},
138
- CREATETIME => {:type => ::Thrift::Types::I64, :name => 'createTime'},
139
- ISROBOT => {:type => ::Thrift::Types::BOOL, :name => 'isRobot'},
140
- ISBLACKLISTED => {:type => ::Thrift::Types::BOOL, :name => 'isBlacklisted'},
141
- ISDELETED => {:type => ::Thrift::Types::BOOL, :name => 'isDeleted'},
142
- ISNULL => {:type => ::Thrift::Types::BOOL, :name => 'isNull'}
143
- }
144
-
145
- def struct_fields; FIELDS; end
146
-
147
- def validate
148
- end
149
-
150
- ::Thrift::Struct.generate_accessors self
151
- end
152
-
153
- class PassportException < ::Thrift::Exception
154
- include ::Thrift::Struct, ::Thrift::Struct_Union
155
- ERRORCODE = 1
156
- CODE = 2
157
-
158
- FIELDS = {
159
- ERRORCODE => {:type => ::Thrift::Types::STRING, :name => 'errorCode', :optional => true},
160
- CODE => {:type => ::Thrift::Types::STRING, :name => 'code', :optional => true}
161
- }
162
-
163
- def struct_fields; FIELDS; end
164
-
165
- def validate
166
- end
167
-
168
- ::Thrift::Struct.generate_accessors self
169
- end
170
-
171
- class StatUserTrackModel
172
- include ::Thrift::Struct, ::Thrift::Struct_Union
173
- UID = 1
174
- TID = 2
175
- TNAME = 3
176
- TIME = 4
177
- ISNULL = 5
178
-
179
- FIELDS = {
180
- UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
181
- TID => {:type => ::Thrift::Types::I64, :name => 'tid'},
182
- TNAME => {:type => ::Thrift::Types::STRING, :name => 'tname', :optional => true},
183
- TIME => {:type => ::Thrift::Types::DOUBLE, :name => 'time'},
184
- ISNULL => {:type => ::Thrift::Types::BOOL, :name => 'isNull'}
185
- }
186
-
187
- def struct_fields; FIELDS; end
188
-
189
- def validate
190
- end
191
-
192
- ::Thrift::Struct.generate_accessors self
193
- end
194
-
195
- class ThirdpartySyncSet
196
- include ::Thrift::Struct, ::Thrift::Struct_Union
197
- ID = 1
198
- MOBILEALL = 2
199
- WEBCOMMENT = 3
200
- WEBTRACK = 4
201
- WEBALBUM = 5
202
- WEBFAVORITE = 6
203
- RELAY = 7
204
- THIRDPARTYNAME = 8
205
- THIRDPARTYUSERID = 9
206
- ISNULL = 10
207
-
208
- FIELDS = {
209
- ID => {:type => ::Thrift::Types::I64, :name => 'id'},
210
- MOBILEALL => {:type => ::Thrift::Types::BOOL, :name => 'mobileAll'},
211
- WEBCOMMENT => {:type => ::Thrift::Types::BOOL, :name => 'webComment'},
212
- WEBTRACK => {:type => ::Thrift::Types::BOOL, :name => 'webTrack'},
213
- WEBALBUM => {:type => ::Thrift::Types::BOOL, :name => 'webAlbum'},
214
- WEBFAVORITE => {:type => ::Thrift::Types::BOOL, :name => 'webFavorite'},
215
- RELAY => {:type => ::Thrift::Types::BOOL, :name => 'relay'},
216
- THIRDPARTYNAME => {:type => ::Thrift::Types::STRING, :name => 'thirdpartyName', :optional => true},
217
- THIRDPARTYUSERID => {:type => ::Thrift::Types::I64, :name => 'thirdpartyUserId'},
218
- ISNULL => {:type => ::Thrift::Types::BOOL, :name => 'isNull'}
219
- }
220
-
221
- def struct_fields; FIELDS; end
222
-
223
- def validate
224
- end
225
-
226
- ::Thrift::Struct.generate_accessors self
227
- end
228
-
229
- class BindStatus
230
- include ::Thrift::Struct, ::Thrift::Struct_Union
231
- THIRDPARTYID = 1
232
- THIRDPARTYNAME = 2
233
- THIRDPARTYNICKNAME = 3
234
- ISEXPIRED = 4
235
- HOMEPAGE = 5
236
- THIRDPARTYUID = 6
237
-
238
- FIELDS = {
239
- THIRDPARTYID => {:type => ::Thrift::Types::I64, :name => 'thirdpartyId'},
240
- THIRDPARTYNAME => {:type => ::Thrift::Types::STRING, :name => 'thirdpartyName', :optional => true},
241
- THIRDPARTYNICKNAME => {:type => ::Thrift::Types::STRING, :name => 'thirdpartyNickname', :optional => true},
242
- ISEXPIRED => {:type => ::Thrift::Types::BOOL, :name => 'isExpired'},
243
- HOMEPAGE => {:type => ::Thrift::Types::STRING, :name => 'homePage', :optional => true},
244
- THIRDPARTYUID => {:type => ::Thrift::Types::I64, :name => 'thirdpartyUid'}
245
- }
246
-
247
- def struct_fields; FIELDS; end
248
-
249
- def validate
250
- end
251
-
252
- ::Thrift::Struct.generate_accessors self
253
- end
254
-
255
- class Profile
256
- include ::Thrift::Struct, ::Thrift::Struct_Union
257
- UID = 1
258
- NICKNAME = 2
259
- GENDER = 3
260
- BIRTHYEAR = 4
261
- BIRTHMONTH = 5
262
- BIRTHDAY = 6
263
- ISSECRETYEAR = 7
264
- BLOODTYPE = 8
265
- CONSTELLATION = 9
266
- HOMECOUNTRY = 10
267
- HOMEPROVINCE = 11
268
- HOMECITY = 12
269
- HOMETOWN = 13
270
- COUNTRY = 14
271
- PROVINCE = 15
272
- CITY = 16
273
- TOWN = 17
274
- MOBILE = 18
275
- TELEPHONE = 19
276
- PROFESSION = 20
277
- FINISHSCHOOL = 21
278
- PERSONALHOMEPAGE = 22
279
- PERSONALCOMMENT = 23
280
- PERSONALSIGNATURE = 24
281
- LOGOPIC = 25
282
- EMAIL = 26
283
- CREATETIME = 27
284
- LASTMODIFYTIME = 28
285
- CONTACTADDRESS = 29
286
- CONTACTEMAIL = 30
287
- QQ = 31
288
- MSN = 32
289
- STATUS = 33
290
- SUBEMAIL = 34
291
- SUITID = 35
292
- THIRDPARTYUSERID = 36
293
- WEIBONAME = 37
294
- LARGEPIC = 38
295
- MIDDLEPIC = 39
296
- SMALLPIC = 40
297
- ISCOMPLETED = 41
298
- ISROBOT = 42
299
- ISVERIFIED = 43
300
- ISBLACKLISTED = 44
301
- ISDELETED = 45
302
- REGISTEREDIP = 46
303
- ISVEMAIL = 47
304
- ISVMOBILE = 48
305
- LASTTRACKID = 49
306
- REALNAME = 50
307
- IDENTIFICATION = 51
308
- IDENTIFICATIONTYPE = 52
309
- ISLOGINBAN = 53
310
- LOGINBANSTART = 54
311
- LOGINBANEND = 55
312
- PTITLE = 56
313
- TASKCOMPLETEPROFILE = 57
314
- TASKFOLLOW = 58
315
- TASKDOWNLOADAPP = 59
316
- TASKEMAIL = 60
317
- ISGUIDECOMPLETED = 61
318
- VCOMPANY = 62
319
- VTAGS = 63
320
- VCATEGORYID = 64
321
- REGISTERCATEGORY = 65
322
- REGISTERCLIENTTYPE = 66
323
- THIRDPARTYID = 67
324
- PERSONDESCRIBE = 68
325
- GUIDEPLAYPANEL = 69
326
- GUIDEVOICEPANEL = 70
327
- GUIDESHAREPANEL = 71
328
- BACKGROUNDPIC = 72
329
- WEBBACKGROUNDPIC = 73
330
- WEBBACKGROUNDPICPOSITIONY = 74
331
- WEBBACKGROUNDPICPOSITIONX = 75
332
- ISNULL = 76
333
-
334
- FIELDS = {
335
- UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
336
- NICKNAME => {:type => ::Thrift::Types::STRING, :name => 'nickname', :optional => true},
337
- GENDER => {:type => ::Thrift::Types::STRING, :name => 'gender', :optional => true},
338
- BIRTHYEAR => {:type => ::Thrift::Types::I32, :name => 'birthYear'},
339
- BIRTHMONTH => {:type => ::Thrift::Types::I32, :name => 'birthMonth'},
340
- BIRTHDAY => {:type => ::Thrift::Types::I32, :name => 'birthDay'},
341
- ISSECRETYEAR => {:type => ::Thrift::Types::I32, :name => 'isSecretYear'},
342
- BLOODTYPE => {:type => ::Thrift::Types::STRING, :name => 'bloodType', :optional => true},
343
- CONSTELLATION => {:type => ::Thrift::Types::STRING, :name => 'constellation', :optional => true},
344
- HOMECOUNTRY => {:type => ::Thrift::Types::STRING, :name => 'homeCountry', :optional => true},
345
- HOMEPROVINCE => {:type => ::Thrift::Types::STRING, :name => 'homeProvince', :optional => true},
346
- HOMECITY => {:type => ::Thrift::Types::STRING, :name => 'homeCity', :optional => true},
347
- HOMETOWN => {:type => ::Thrift::Types::STRING, :name => 'homeTown', :optional => true},
348
- COUNTRY => {:type => ::Thrift::Types::STRING, :name => 'country', :optional => true},
349
- PROVINCE => {:type => ::Thrift::Types::STRING, :name => 'province', :optional => true},
350
- CITY => {:type => ::Thrift::Types::STRING, :name => 'city', :optional => true},
351
- TOWN => {:type => ::Thrift::Types::STRING, :name => 'town', :optional => true},
352
- MOBILE => {:type => ::Thrift::Types::STRING, :name => 'mobile', :optional => true},
353
- TELEPHONE => {:type => ::Thrift::Types::STRING, :name => 'telephone', :optional => true},
354
- PROFESSION => {:type => ::Thrift::Types::STRING, :name => 'profession', :optional => true},
355
- FINISHSCHOOL => {:type => ::Thrift::Types::STRING, :name => 'finishSchool', :optional => true},
356
- PERSONALHOMEPAGE => {:type => ::Thrift::Types::STRING, :name => 'personalHomepage', :optional => true},
357
- PERSONALCOMMENT => {:type => ::Thrift::Types::STRING, :name => 'personalComment', :optional => true},
358
- PERSONALSIGNATURE => {:type => ::Thrift::Types::STRING, :name => 'personalSignature', :optional => true},
359
- LOGOPIC => {:type => ::Thrift::Types::STRING, :name => 'logoPic', :optional => true},
360
- EMAIL => {:type => ::Thrift::Types::STRING, :name => 'email', :optional => true},
361
- CREATETIME => {:type => ::Thrift::Types::I64, :name => 'createTime'},
362
- LASTMODIFYTIME => {:type => ::Thrift::Types::I64, :name => 'lastModifyTime'},
363
- CONTACTADDRESS => {:type => ::Thrift::Types::STRING, :name => 'contactAddress', :optional => true},
364
- CONTACTEMAIL => {:type => ::Thrift::Types::STRING, :name => 'contactEmail', :optional => true},
365
- QQ => {:type => ::Thrift::Types::STRING, :name => 'qq', :optional => true},
366
- MSN => {:type => ::Thrift::Types::STRING, :name => 'msn', :optional => true},
367
- STATUS => {:type => ::Thrift::Types::STRING, :name => 'status', :optional => true},
368
- SUBEMAIL => {:type => ::Thrift::Types::BOOL, :name => 'subEmail'},
369
- SUITID => {:type => ::Thrift::Types::I32, :name => 'suitId'},
370
- THIRDPARTYUSERID => {:type => ::Thrift::Types::I64, :name => 'thirdpartyUserId'},
371
- WEIBONAME => {:type => ::Thrift::Types::STRING, :name => 'weiboName', :optional => true},
372
- LARGEPIC => {:type => ::Thrift::Types::STRING, :name => 'largePic', :optional => true},
373
- MIDDLEPIC => {:type => ::Thrift::Types::STRING, :name => 'middlePic', :optional => true},
374
- SMALLPIC => {:type => ::Thrift::Types::STRING, :name => 'smallPic', :optional => true},
375
- ISCOMPLETED => {:type => ::Thrift::Types::BOOL, :name => 'isCompleted'},
376
- ISROBOT => {:type => ::Thrift::Types::BOOL, :name => 'isRobot'},
377
- ISVERIFIED => {:type => ::Thrift::Types::BOOL, :name => 'isVerified'},
378
- ISBLACKLISTED => {:type => ::Thrift::Types::BOOL, :name => 'isBlacklisted'},
379
- ISDELETED => {:type => ::Thrift::Types::BOOL, :name => 'isDeleted'},
380
- REGISTEREDIP => {:type => ::Thrift::Types::STRING, :name => 'registeredIp', :optional => true},
381
- ISVEMAIL => {:type => ::Thrift::Types::BOOL, :name => 'isVEmail'},
382
- ISVMOBILE => {:type => ::Thrift::Types::BOOL, :name => 'isVMobile'},
383
- LASTTRACKID => {:type => ::Thrift::Types::I64, :name => 'lastTrackId'},
384
- REALNAME => {:type => ::Thrift::Types::STRING, :name => 'realName', :optional => true},
385
- IDENTIFICATION => {:type => ::Thrift::Types::STRING, :name => 'identification', :optional => true},
386
- IDENTIFICATIONTYPE => {:type => ::Thrift::Types::I16, :name => 'identificationType'},
387
- ISLOGINBAN => {:type => ::Thrift::Types::BOOL, :name => 'isLoginBan'},
388
- LOGINBANSTART => {:type => ::Thrift::Types::I64, :name => 'loginBanStart'},
389
- LOGINBANEND => {:type => ::Thrift::Types::I64, :name => 'loginBanEnd'},
390
- PTITLE => {:type => ::Thrift::Types::STRING, :name => 'ptitle', :optional => true},
391
- TASKCOMPLETEPROFILE => {:type => ::Thrift::Types::BOOL, :name => 'taskCompleteProfile'},
392
- TASKFOLLOW => {:type => ::Thrift::Types::BOOL, :name => 'taskFollow'},
393
- TASKDOWNLOADAPP => {:type => ::Thrift::Types::BOOL, :name => 'taskDownloadApp'},
394
- TASKEMAIL => {:type => ::Thrift::Types::BOOL, :name => 'taskEmail'},
395
- ISGUIDECOMPLETED => {:type => ::Thrift::Types::BOOL, :name => 'isGuideCompleted'},
396
- VCOMPANY => {:type => ::Thrift::Types::STRING, :name => 'vCompany', :optional => true},
397
- VTAGS => {:type => ::Thrift::Types::STRING, :name => 'vTags', :optional => true},
398
- VCATEGORYID => {:type => ::Thrift::Types::I32, :name => 'vCategoryId'},
399
- REGISTERCATEGORY => {:type => ::Thrift::Types::STRING, :name => 'registerCategory', :optional => true},
400
- REGISTERCLIENTTYPE => {:type => ::Thrift::Types::I16, :name => 'registerClientType'},
401
- THIRDPARTYID => {:type => ::Thrift::Types::I64, :name => 'thirdpartyId'},
402
- PERSONDESCRIBE => {:type => ::Thrift::Types::STRING, :name => 'personDescribe', :optional => true},
403
- GUIDEPLAYPANEL => {:type => ::Thrift::Types::BOOL, :name => 'guidePlayPanel'},
404
- GUIDEVOICEPANEL => {:type => ::Thrift::Types::BOOL, :name => 'guideVoicePanel'},
405
- GUIDESHAREPANEL => {:type => ::Thrift::Types::BOOL, :name => 'guideSharePanel'},
406
- BACKGROUNDPIC => {:type => ::Thrift::Types::STRING, :name => 'backgroundPic', :optional => true},
407
- WEBBACKGROUNDPIC => {:type => ::Thrift::Types::STRING, :name => 'webBackgroundPic', :optional => true},
408
- WEBBACKGROUNDPICPOSITIONY => {:type => ::Thrift::Types::DOUBLE, :name => 'webBackgroundPicPositionY'},
409
- WEBBACKGROUNDPICPOSITIONX => {:type => ::Thrift::Types::DOUBLE, :name => 'webBackgroundPicPositionX'},
410
- ISNULL => {:type => ::Thrift::Types::BOOL, :name => 'isNull'}
411
- }
412
-
413
- def struct_fields; FIELDS; end
414
-
415
- def validate
416
- end
417
-
418
- ::Thrift::Struct.generate_accessors self
419
- end
420
-
421
- class UserBasicInfo
422
- include ::Thrift::Struct, ::Thrift::Struct_Union
423
- UID = 1
424
- NICKNAME = 2
425
- LOGOPIC = 3
426
- BACKGROUNDPIC = 4
427
- WEBBACKGROUNDPIC = 5
428
- WEBBACKGROUNDPICPOSITIONX = 6
429
- WEBBACKGROUNDPICPOSITIONY = 7
430
- EMAIL = 8
431
- ACCOUNT = 9
432
- MOBILE = 10
433
- THIRDPARTYNAME = 11
434
- ISVERIFIED = 12
435
- ISCOMPLETED = 13
436
- ISVEMAIL = 14
437
- ISVMOBILE = 15
438
- ISROBOT = 16
439
- PROVINCE = 17
440
- CITY = 18
441
- TOWN = 19
442
- COUNTRY = 20
443
- PERSONALSIGNATURE = 21
444
- PTITLE = 22
445
- ISGUIDECOMPLETED = 23
446
- TASKCOMPLETEPROFILE = 24
447
- TASKFOLLOW = 25
448
- TASKDOWNLOADAPP = 26
449
- TASKEMAIL = 27
450
- VCOMPANY = 28
451
- VTAGS = 29
452
- VCATEGORYID = 30
453
- CREATEDTIME = 31
454
- ISLOGINBAN = 32
455
- LOGINBANSTART = 33
456
- LOGINBANEND = 34
457
- ISDELETED = 35
458
- REGISTERCATEGORY = 36
459
- PERSONDESCRIBE = 37
460
- GUIDEPLAYPANEL = 38
461
- GUIDEVOICEPANEL = 39
462
- GUIDESHAREPANEL = 40
463
- ISINBLACKLIST = 41
464
- ISNULL = 42
465
-
466
- FIELDS = {
467
- UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
468
- NICKNAME => {:type => ::Thrift::Types::STRING, :name => 'nickname', :optional => true},
469
- LOGOPIC => {:type => ::Thrift::Types::STRING, :name => 'logoPic', :optional => true},
470
- BACKGROUNDPIC => {:type => ::Thrift::Types::STRING, :name => 'backgroundPic', :optional => true},
471
- WEBBACKGROUNDPIC => {:type => ::Thrift::Types::STRING, :name => 'webBackgroundPic', :optional => true},
472
- WEBBACKGROUNDPICPOSITIONX => {:type => ::Thrift::Types::DOUBLE, :name => 'webBackgroundPicPositionX'},
473
- WEBBACKGROUNDPICPOSITIONY => {:type => ::Thrift::Types::DOUBLE, :name => 'webBackgroundPicPositionY'},
474
- EMAIL => {:type => ::Thrift::Types::STRING, :name => 'email', :optional => true},
475
- ACCOUNT => {:type => ::Thrift::Types::STRING, :name => 'account', :optional => true},
476
- MOBILE => {:type => ::Thrift::Types::STRING, :name => 'mobile', :optional => true},
477
- THIRDPARTYNAME => {:type => ::Thrift::Types::STRING, :name => 'thirdpartyName', :optional => true},
478
- ISVERIFIED => {:type => ::Thrift::Types::BOOL, :name => 'isVerified'},
479
- ISCOMPLETED => {:type => ::Thrift::Types::BOOL, :name => 'isCompleted'},
480
- ISVEMAIL => {:type => ::Thrift::Types::BOOL, :name => 'isVEmail'},
481
- ISVMOBILE => {:type => ::Thrift::Types::BOOL, :name => 'isVMobile'},
482
- ISROBOT => {:type => ::Thrift::Types::BOOL, :name => 'isRobot'},
483
- PROVINCE => {:type => ::Thrift::Types::STRING, :name => 'province', :optional => true},
484
- CITY => {:type => ::Thrift::Types::STRING, :name => 'city', :optional => true},
485
- TOWN => {:type => ::Thrift::Types::STRING, :name => 'town', :optional => true},
486
- COUNTRY => {:type => ::Thrift::Types::STRING, :name => 'country', :optional => true},
487
- PERSONALSIGNATURE => {:type => ::Thrift::Types::STRING, :name => 'personalSignature', :optional => true},
488
- PTITLE => {:type => ::Thrift::Types::STRING, :name => 'ptitle', :optional => true},
489
- ISGUIDECOMPLETED => {:type => ::Thrift::Types::BOOL, :name => 'isGuideCompleted'},
490
- TASKCOMPLETEPROFILE => {:type => ::Thrift::Types::BOOL, :name => 'taskCompleteProfile'},
491
- TASKFOLLOW => {:type => ::Thrift::Types::BOOL, :name => 'taskFollow'},
492
- TASKDOWNLOADAPP => {:type => ::Thrift::Types::BOOL, :name => 'taskDownloadApp'},
493
- TASKEMAIL => {:type => ::Thrift::Types::BOOL, :name => 'taskEmail'},
494
- VCOMPANY => {:type => ::Thrift::Types::STRING, :name => 'vCompany', :optional => true},
495
- VTAGS => {:type => ::Thrift::Types::STRING, :name => 'vTags', :optional => true},
496
- VCATEGORYID => {:type => ::Thrift::Types::I32, :name => 'vCategoryId'},
497
- CREATEDTIME => {:type => ::Thrift::Types::I64, :name => 'createdTime'},
498
- ISLOGINBAN => {:type => ::Thrift::Types::BOOL, :name => 'isLoginBan'},
499
- LOGINBANSTART => {:type => ::Thrift::Types::I64, :name => 'loginBanStart'},
500
- LOGINBANEND => {:type => ::Thrift::Types::I64, :name => 'loginBanEnd'},
501
- ISDELETED => {:type => ::Thrift::Types::BOOL, :name => 'isDeleted'},
502
- REGISTERCATEGORY => {:type => ::Thrift::Types::STRING, :name => 'registerCategory', :optional => true},
503
- PERSONDESCRIBE => {:type => ::Thrift::Types::STRING, :name => 'personDescribe', :optional => true},
504
- GUIDEPLAYPANEL => {:type => ::Thrift::Types::BOOL, :name => 'guidePlayPanel'},
505
- GUIDEVOICEPANEL => {:type => ::Thrift::Types::BOOL, :name => 'guideVoicePanel'},
506
- GUIDESHAREPANEL => {:type => ::Thrift::Types::BOOL, :name => 'guideSharePanel'},
507
- ISINBLACKLIST => {:type => ::Thrift::Types::BOOL, :name => 'isInBlackList'},
508
- ISNULL => {:type => ::Thrift::Types::BOOL, :name => 'isNull'}
509
- }
510
-
511
- def struct_fields; FIELDS; end
512
-
513
- def validate
514
- end
515
-
516
- ::Thrift::Struct.generate_accessors self
517
- end
518
-
519
- class PageUid
520
- include ::Thrift::Struct, ::Thrift::Struct_Union
521
- PAGEID = 1
522
- PAGESIZE = 2
523
- MAXPAGEID = 3
524
- TOTALCOUNT = 4
525
- DATA = 5
526
-
527
- FIELDS = {
528
- PAGEID => {:type => ::Thrift::Types::I32, :name => 'pageId'},
529
- PAGESIZE => {:type => ::Thrift::Types::I32, :name => 'pageSize'},
530
- MAXPAGEID => {:type => ::Thrift::Types::I32, :name => 'maxPageId'},
531
- TOTALCOUNT => {:type => ::Thrift::Types::I32, :name => 'totalCount'},
532
- DATA => {:type => ::Thrift::Types::LIST, :name => 'data', :element => {:type => ::Thrift::Types::I64}}
533
- }
534
-
535
- def struct_fields; FIELDS; end
536
-
537
- def validate
538
- end
539
-
540
- ::Thrift::Struct.generate_accessors self
541
- end
542
-
543
- class ProfileException < ::Thrift::Exception
544
- include ::Thrift::Struct, ::Thrift::Struct_Union
545
- def initialize(message=nil)
546
- super()
547
- self.errorCode = message
548
- end
549
-
550
- def message; errorCode end
551
-
552
- ERRORCODE = 1
553
-
554
- FIELDS = {
555
- ERRORCODE => {:type => ::Thrift::Types::STRING, :name => 'errorCode', :optional => true}
556
- }
557
-
558
- def struct_fields; FIELDS; end
559
-
560
- def validate
561
- end
562
-
563
- ::Thrift::Struct.generate_accessors self
564
- end
565
-
566
- end
567
- end
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 Passport
10
+ module Thrift
11
+ class LoginHelpInfo
12
+ include ::Thrift::Struct, ::Thrift::Struct_Union
13
+ ISCHECKFLAG = 1
14
+ LOGINFLAGTOKEN = 2
15
+ LOGINACCOUNT = 3
16
+ UID = 4
17
+ NICKNAME = 5
18
+ ISREMEMBERME = 6
19
+ THIRDPARTYID = 7
20
+ THIRDPARTYNAME = 8
21
+ JOINTYPE = 9
22
+ THIRDPARTYIDENTITY = 10
23
+ TPUID = 11
24
+ IP = 12
25
+ POSITIONX = 13
26
+ POSITIONY = 14
27
+ USERAGENT = 15
28
+ CLIENTTYPEID = 16
29
+ LOGINTOPICTYPE = 17
30
+ MAC = 18
31
+ DEVICEID = 19
32
+
33
+ FIELDS = {
34
+ ISCHECKFLAG => {:type => ::Thrift::Types::BOOL, :name => 'isCheckFlag'},
35
+ LOGINFLAGTOKEN => {:type => ::Thrift::Types::STRING, :name => 'loginFlagToken', :optional => true},
36
+ LOGINACCOUNT => {:type => ::Thrift::Types::STRING, :name => 'loginAccount', :optional => true},
37
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
38
+ NICKNAME => {:type => ::Thrift::Types::STRING, :name => 'nickname', :optional => true},
39
+ ISREMEMBERME => {:type => ::Thrift::Types::BOOL, :name => 'isRememberMe'},
40
+ THIRDPARTYID => {:type => ::Thrift::Types::I64, :name => 'thirdpartyId'},
41
+ THIRDPARTYNAME => {:type => ::Thrift::Types::STRING, :name => 'thirdpartyName', :optional => true},
42
+ JOINTYPE => {:type => ::Thrift::Types::STRING, :name => 'joinType', :optional => true},
43
+ THIRDPARTYIDENTITY => {:type => ::Thrift::Types::STRING, :name => 'thirdpartyIdentity', :optional => true},
44
+ TPUID => {:type => ::Thrift::Types::I64, :name => 'tpUid'},
45
+ IP => {:type => ::Thrift::Types::STRING, :name => 'ip', :optional => true},
46
+ POSITIONX => {:type => ::Thrift::Types::STRING, :name => 'positionx', :optional => true},
47
+ POSITIONY => {:type => ::Thrift::Types::STRING, :name => 'positiony', :optional => true},
48
+ USERAGENT => {:type => ::Thrift::Types::STRING, :name => 'userAgent', :optional => true},
49
+ CLIENTTYPEID => {:type => ::Thrift::Types::I32, :name => 'clientTypeId'},
50
+ LOGINTOPICTYPE => {:type => ::Thrift::Types::STRING, :name => 'loginTopicType', :optional => true},
51
+ MAC => {:type => ::Thrift::Types::STRING, :name => 'mac', :optional => true},
52
+ DEVICEID => {:type => ::Thrift::Types::STRING, :name => 'deviceId', :optional => true}
53
+ }
54
+
55
+ def struct_fields; FIELDS; end
56
+
57
+ def validate
58
+ end
59
+
60
+ ::Thrift::Struct.generate_accessors self
61
+ end
62
+
63
+ class LoginInfo
64
+ include ::Thrift::Struct, ::Thrift::Struct_Union
65
+ ACCOUNT = 1
66
+ PASSWORD = 2
67
+ CHECKCODE = 3
68
+ REMEMBERME = 4
69
+ FROMURI = 5
70
+ PROXYURL = 6
71
+ DOMAIN = 7
72
+ PRODUCTID = 8
73
+ CHECKUUID = 9
74
+ CHECKCODEURL = 10
75
+ IP = 11
76
+ POSITIONX = 12
77
+ POSITIONY = 13
78
+ MAC = 14
79
+ DEVICEID = 15
80
+
81
+ FIELDS = {
82
+ ACCOUNT => {:type => ::Thrift::Types::STRING, :name => 'account', :optional => true},
83
+ PASSWORD => {:type => ::Thrift::Types::STRING, :name => 'password', :optional => true},
84
+ CHECKCODE => {:type => ::Thrift::Types::STRING, :name => 'checkCode', :optional => true},
85
+ REMEMBERME => {:type => ::Thrift::Types::STRING, :name => 'rememberMe', :optional => true},
86
+ FROMURI => {:type => ::Thrift::Types::STRING, :name => 'fromUri', :optional => true},
87
+ PROXYURL => {:type => ::Thrift::Types::STRING, :name => 'proxyUrl', :optional => true},
88
+ DOMAIN => {:type => ::Thrift::Types::STRING, :name => 'domain', :optional => true},
89
+ PRODUCTID => {:type => ::Thrift::Types::I64, :name => 'productId'},
90
+ CHECKUUID => {:type => ::Thrift::Types::STRING, :name => 'checkUUID', :optional => true},
91
+ CHECKCODEURL => {:type => ::Thrift::Types::STRING, :name => 'checkCodeUrl', :optional => true},
92
+ IP => {:type => ::Thrift::Types::STRING, :name => 'ip', :optional => true},
93
+ POSITIONX => {:type => ::Thrift::Types::STRING, :name => 'positionx', :optional => true},
94
+ POSITIONY => {:type => ::Thrift::Types::STRING, :name => 'positiony', :optional => true},
95
+ MAC => {:type => ::Thrift::Types::STRING, :name => 'mac', :optional => true},
96
+ DEVICEID => {:type => ::Thrift::Types::STRING, :name => 'deviceId', :optional => true}
97
+ }
98
+
99
+ def struct_fields; FIELDS; end
100
+
101
+ def validate
102
+ end
103
+
104
+ ::Thrift::Struct.generate_accessors self
105
+ end
106
+
107
+ class MobileLoginInfo
108
+ include ::Thrift::Struct, ::Thrift::Struct_Union
109
+ UID = 1
110
+ TOKEN = 2
111
+ SUCCESS = 3
112
+ ERRORMSG = 4
113
+
114
+ FIELDS = {
115
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
116
+ TOKEN => {:type => ::Thrift::Types::STRING, :name => 'token', :optional => true},
117
+ SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
118
+ ERRORMSG => {:type => ::Thrift::Types::STRING, :name => 'errorMsg', :optional => true}
119
+ }
120
+
121
+ def struct_fields; FIELDS; end
122
+
123
+ def validate
124
+ end
125
+
126
+ ::Thrift::Struct.generate_accessors self
127
+ end
128
+
129
+ class Passport
130
+ include ::Thrift::Struct, ::Thrift::Struct_Union
131
+ UID = 1
132
+ EMAIL = 2
133
+ ACCOUNT = 3
134
+ MPHONE = 4
135
+ PASSWORD = 5
136
+ ACTIVED = 6
137
+ CREATETIME = 7
138
+ ISROBOT = 8
139
+ ISBLACKLISTED = 9
140
+ ISDELETED = 10
141
+ ISNULL = 11
142
+
143
+ FIELDS = {
144
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
145
+ EMAIL => {:type => ::Thrift::Types::STRING, :name => 'email', :optional => true},
146
+ ACCOUNT => {:type => ::Thrift::Types::STRING, :name => 'account', :optional => true},
147
+ MPHONE => {:type => ::Thrift::Types::STRING, :name => 'mPhone', :optional => true},
148
+ PASSWORD => {:type => ::Thrift::Types::STRING, :name => 'password', :optional => true},
149
+ ACTIVED => {:type => ::Thrift::Types::BOOL, :name => 'actived'},
150
+ CREATETIME => {:type => ::Thrift::Types::I64, :name => 'createTime'},
151
+ ISROBOT => {:type => ::Thrift::Types::BOOL, :name => 'isRobot'},
152
+ ISBLACKLISTED => {:type => ::Thrift::Types::BOOL, :name => 'isBlacklisted'},
153
+ ISDELETED => {:type => ::Thrift::Types::BOOL, :name => 'isDeleted'},
154
+ ISNULL => {:type => ::Thrift::Types::BOOL, :name => 'isNull'}
155
+ }
156
+
157
+ def struct_fields; FIELDS; end
158
+
159
+ def validate
160
+ end
161
+
162
+ ::Thrift::Struct.generate_accessors self
163
+ end
164
+
165
+ class PassportException < ::Thrift::Exception
166
+ include ::Thrift::Struct, ::Thrift::Struct_Union
167
+ ERRORCODE = 1
168
+ CODE = 2
169
+
170
+ FIELDS = {
171
+ ERRORCODE => {:type => ::Thrift::Types::STRING, :name => 'errorCode', :optional => true},
172
+ CODE => {:type => ::Thrift::Types::STRING, :name => 'code', :optional => true}
173
+ }
174
+
175
+ def struct_fields; FIELDS; end
176
+
177
+ def validate
178
+ end
179
+
180
+ ::Thrift::Struct.generate_accessors self
181
+ end
182
+
183
+ class StatUserTrackModel
184
+ include ::Thrift::Struct, ::Thrift::Struct_Union
185
+ UID = 1
186
+ TID = 2
187
+ TNAME = 3
188
+ TIME = 4
189
+ ISNULL = 5
190
+
191
+ FIELDS = {
192
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
193
+ TID => {:type => ::Thrift::Types::I64, :name => 'tid'},
194
+ TNAME => {:type => ::Thrift::Types::STRING, :name => 'tname', :optional => true},
195
+ TIME => {:type => ::Thrift::Types::DOUBLE, :name => 'time'},
196
+ ISNULL => {:type => ::Thrift::Types::BOOL, :name => 'isNull'}
197
+ }
198
+
199
+ def struct_fields; FIELDS; end
200
+
201
+ def validate
202
+ end
203
+
204
+ ::Thrift::Struct.generate_accessors self
205
+ end
206
+
207
+ class ThirdpartySyncSet
208
+ include ::Thrift::Struct, ::Thrift::Struct_Union
209
+ ID = 1
210
+ MOBILEALL = 2
211
+ WEBCOMMENT = 3
212
+ WEBTRACK = 4
213
+ WEBALBUM = 5
214
+ WEBFAVORITE = 6
215
+ RELAY = 7
216
+ THIRDPARTYNAME = 8
217
+ THIRDPARTYUSERID = 9
218
+ ISNULL = 10
219
+
220
+ FIELDS = {
221
+ ID => {:type => ::Thrift::Types::I64, :name => 'id'},
222
+ MOBILEALL => {:type => ::Thrift::Types::BOOL, :name => 'mobileAll'},
223
+ WEBCOMMENT => {:type => ::Thrift::Types::BOOL, :name => 'webComment'},
224
+ WEBTRACK => {:type => ::Thrift::Types::BOOL, :name => 'webTrack'},
225
+ WEBALBUM => {:type => ::Thrift::Types::BOOL, :name => 'webAlbum'},
226
+ WEBFAVORITE => {:type => ::Thrift::Types::BOOL, :name => 'webFavorite'},
227
+ RELAY => {:type => ::Thrift::Types::BOOL, :name => 'relay'},
228
+ THIRDPARTYNAME => {:type => ::Thrift::Types::STRING, :name => 'thirdpartyName', :optional => true},
229
+ THIRDPARTYUSERID => {:type => ::Thrift::Types::I64, :name => 'thirdpartyUserId'},
230
+ ISNULL => {:type => ::Thrift::Types::BOOL, :name => 'isNull'}
231
+ }
232
+
233
+ def struct_fields; FIELDS; end
234
+
235
+ def validate
236
+ end
237
+
238
+ ::Thrift::Struct.generate_accessors self
239
+ end
240
+
241
+ class BindStatus
242
+ include ::Thrift::Struct, ::Thrift::Struct_Union
243
+ THIRDPARTYID = 1
244
+ THIRDPARTYNAME = 2
245
+ THIRDPARTYNICKNAME = 3
246
+ ISEXPIRED = 4
247
+ HOMEPAGE = 5
248
+ THIRDPARTYUID = 6
249
+
250
+ FIELDS = {
251
+ THIRDPARTYID => {:type => ::Thrift::Types::I64, :name => 'thirdpartyId'},
252
+ THIRDPARTYNAME => {:type => ::Thrift::Types::STRING, :name => 'thirdpartyName', :optional => true},
253
+ THIRDPARTYNICKNAME => {:type => ::Thrift::Types::STRING, :name => 'thirdpartyNickname', :optional => true},
254
+ ISEXPIRED => {:type => ::Thrift::Types::BOOL, :name => 'isExpired'},
255
+ HOMEPAGE => {:type => ::Thrift::Types::STRING, :name => 'homePage', :optional => true},
256
+ THIRDPARTYUID => {:type => ::Thrift::Types::I64, :name => 'thirdpartyUid'}
257
+ }
258
+
259
+ def struct_fields; FIELDS; end
260
+
261
+ def validate
262
+ end
263
+
264
+ ::Thrift::Struct.generate_accessors self
265
+ end
266
+
267
+ class StatisticParameters
268
+ include ::Thrift::Struct, ::Thrift::Struct_Union
269
+ IP = 1
270
+ POSITIONX = 2
271
+ POSITIONY = 3
272
+ MAC = 4
273
+ DEVICEID = 5
274
+
275
+ FIELDS = {
276
+ IP => {:type => ::Thrift::Types::STRING, :name => 'ip', :optional => true},
277
+ POSITIONX => {:type => ::Thrift::Types::STRING, :name => 'positionx', :optional => true},
278
+ POSITIONY => {:type => ::Thrift::Types::STRING, :name => 'positiony', :optional => true},
279
+ MAC => {:type => ::Thrift::Types::STRING, :name => 'mac', :optional => true},
280
+ DEVICEID => {:type => ::Thrift::Types::STRING, :name => 'deviceId', :optional => true}
281
+ }
282
+
283
+ def struct_fields; FIELDS; end
284
+
285
+ def validate
286
+ end
287
+
288
+ ::Thrift::Struct.generate_accessors self
289
+ end
290
+
291
+ class ThriftCommonResponse
292
+ include ::Thrift::Struct, ::Thrift::Struct_Union
293
+ SUCCESS = 1
294
+ ERRORCODE = 2
295
+ ERRORMSG = 3
296
+ DATA = 4
297
+
298
+ FIELDS = {
299
+ SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
300
+ ERRORCODE => {:type => ::Thrift::Types::STRING, :name => 'errorCode', :optional => true},
301
+ ERRORMSG => {:type => ::Thrift::Types::STRING, :name => 'errorMsg', :optional => true},
302
+ DATA => {:type => ::Thrift::Types::STRING, :name => 'data', :optional => true}
303
+ }
304
+
305
+ def struct_fields; FIELDS; end
306
+
307
+ def validate
308
+ end
309
+
310
+ ::Thrift::Struct.generate_accessors self
311
+ end
312
+
313
+ end
314
+ end