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.
- checksums.yaml +4 -4
- data/lib/passport_thrift_client.rb +9 -178
- data/lib/remote_login_service.rb +196 -203
- data/lib/remote_passport_constants.rb +13 -13
- data/lib/remote_passport_service.rb +746 -632
- data/lib/remote_passport_types.rb +314 -567
- data/lib/remote_stat_user_track_service.rb +244 -244
- data/lib/remote_thirdparty_sync_set_service.rb +588 -588
- metadata +5 -6
- data/lib/remote_user_profile_service.rb +0 -878
@@ -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
|
-
|
26
|
-
|
27
|
-
USERAGENT = 15
|
28
|
-
CLIENTTYPEID = 16
|
29
|
-
LOGINTOPICTYPE = 17
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
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
|