passport_thrift_client 0.0.1

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