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,632 +1,746 @@
|
|
1
|
-
#
|
2
|
-
# Autogenerated by Thrift Compiler (0.9.1)
|
3
|
-
#
|
4
|
-
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
5
|
-
#
|
6
|
-
|
7
|
-
require 'thrift'
|
8
|
-
require 'remote_passport_types'
|
9
|
-
|
10
|
-
module Passport
|
11
|
-
module Thrift
|
12
|
-
module RemotePassportService
|
13
|
-
class Client
|
14
|
-
include ::Thrift::Client
|
15
|
-
|
16
|
-
def
|
17
|
-
|
18
|
-
return
|
19
|
-
end
|
20
|
-
|
21
|
-
def
|
22
|
-
send_message('
|
23
|
-
end
|
24
|
-
|
25
|
-
def
|
26
|
-
result = receive_message(
|
27
|
-
return result.success unless result.success.nil?
|
28
|
-
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, '
|
29
|
-
end
|
30
|
-
|
31
|
-
def
|
32
|
-
|
33
|
-
return
|
34
|
-
end
|
35
|
-
|
36
|
-
def
|
37
|
-
send_message('
|
38
|
-
end
|
39
|
-
|
40
|
-
def
|
41
|
-
result = receive_message(
|
42
|
-
return result.success unless result.success.nil?
|
43
|
-
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, '
|
44
|
-
end
|
45
|
-
|
46
|
-
def
|
47
|
-
|
48
|
-
return
|
49
|
-
end
|
50
|
-
|
51
|
-
def
|
52
|
-
send_message('
|
53
|
-
end
|
54
|
-
|
55
|
-
def
|
56
|
-
result = receive_message(
|
57
|
-
return result.success unless result.success.nil?
|
58
|
-
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, '
|
59
|
-
end
|
60
|
-
|
61
|
-
def
|
62
|
-
|
63
|
-
return
|
64
|
-
end
|
65
|
-
|
66
|
-
def
|
67
|
-
send_message('
|
68
|
-
end
|
69
|
-
|
70
|
-
def
|
71
|
-
result = receive_message(
|
72
|
-
return result.success unless result.success.nil?
|
73
|
-
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, '
|
74
|
-
end
|
75
|
-
|
76
|
-
def
|
77
|
-
|
78
|
-
return
|
79
|
-
end
|
80
|
-
|
81
|
-
def
|
82
|
-
send_message('
|
83
|
-
end
|
84
|
-
|
85
|
-
def
|
86
|
-
result = receive_message(
|
87
|
-
return result.success unless result.success.nil?
|
88
|
-
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, '
|
89
|
-
end
|
90
|
-
|
91
|
-
def
|
92
|
-
|
93
|
-
return
|
94
|
-
end
|
95
|
-
|
96
|
-
def
|
97
|
-
send_message('
|
98
|
-
end
|
99
|
-
|
100
|
-
def
|
101
|
-
result = receive_message(
|
102
|
-
return result.success unless result.success.nil?
|
103
|
-
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, '
|
104
|
-
end
|
105
|
-
|
106
|
-
def
|
107
|
-
|
108
|
-
return
|
109
|
-
end
|
110
|
-
|
111
|
-
def
|
112
|
-
send_message('
|
113
|
-
end
|
114
|
-
|
115
|
-
def
|
116
|
-
result = receive_message(
|
117
|
-
return result.success unless result.success.nil?
|
118
|
-
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, '
|
119
|
-
end
|
120
|
-
|
121
|
-
def
|
122
|
-
|
123
|
-
|
124
|
-
end
|
125
|
-
|
126
|
-
def
|
127
|
-
send_message('
|
128
|
-
end
|
129
|
-
|
130
|
-
def
|
131
|
-
result = receive_message(
|
132
|
-
|
133
|
-
|
134
|
-
end
|
135
|
-
|
136
|
-
def
|
137
|
-
|
138
|
-
return
|
139
|
-
end
|
140
|
-
|
141
|
-
def
|
142
|
-
send_message('
|
143
|
-
end
|
144
|
-
|
145
|
-
def
|
146
|
-
result = receive_message(
|
147
|
-
return result.success unless result.success.nil?
|
148
|
-
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, '
|
149
|
-
end
|
150
|
-
|
151
|
-
def
|
152
|
-
|
153
|
-
return
|
154
|
-
end
|
155
|
-
|
156
|
-
def
|
157
|
-
send_message('
|
158
|
-
end
|
159
|
-
|
160
|
-
def
|
161
|
-
result = receive_message(
|
162
|
-
return result.success unless result.success.nil?
|
163
|
-
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, '
|
164
|
-
end
|
165
|
-
|
166
|
-
def
|
167
|
-
|
168
|
-
return
|
169
|
-
end
|
170
|
-
|
171
|
-
def
|
172
|
-
send_message('
|
173
|
-
end
|
174
|
-
|
175
|
-
def
|
176
|
-
result = receive_message(
|
177
|
-
return result.success unless result.success.nil?
|
178
|
-
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, '
|
179
|
-
end
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
def
|
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
|
-
result
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
result
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
result
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
def
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
end
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
def
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
::Thrift::Struct
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
}
|
360
|
-
|
361
|
-
def struct_fields; FIELDS; end
|
362
|
-
|
363
|
-
def validate
|
364
|
-
end
|
365
|
-
|
366
|
-
::Thrift::Struct.generate_accessors self
|
367
|
-
end
|
368
|
-
|
369
|
-
class
|
370
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
371
|
-
|
372
|
-
|
373
|
-
FIELDS = {
|
374
|
-
|
375
|
-
}
|
376
|
-
|
377
|
-
def struct_fields; FIELDS; end
|
378
|
-
|
379
|
-
def validate
|
380
|
-
end
|
381
|
-
|
382
|
-
::Thrift::Struct.generate_accessors self
|
383
|
-
end
|
384
|
-
|
385
|
-
class
|
386
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
387
|
-
|
388
|
-
|
389
|
-
FIELDS = {
|
390
|
-
|
391
|
-
}
|
392
|
-
|
393
|
-
def struct_fields; FIELDS; end
|
394
|
-
|
395
|
-
def validate
|
396
|
-
end
|
397
|
-
|
398
|
-
::Thrift::Struct.generate_accessors self
|
399
|
-
end
|
400
|
-
|
401
|
-
class
|
402
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
403
|
-
|
404
|
-
|
405
|
-
FIELDS = {
|
406
|
-
|
407
|
-
}
|
408
|
-
|
409
|
-
def struct_fields; FIELDS; end
|
410
|
-
|
411
|
-
def validate
|
412
|
-
end
|
413
|
-
|
414
|
-
::Thrift::Struct.generate_accessors self
|
415
|
-
end
|
416
|
-
|
417
|
-
class
|
418
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
419
|
-
|
420
|
-
|
421
|
-
FIELDS = {
|
422
|
-
|
423
|
-
}
|
424
|
-
|
425
|
-
def struct_fields; FIELDS; end
|
426
|
-
|
427
|
-
def validate
|
428
|
-
end
|
429
|
-
|
430
|
-
::Thrift::Struct.generate_accessors self
|
431
|
-
end
|
432
|
-
|
433
|
-
class
|
434
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
435
|
-
|
436
|
-
|
437
|
-
FIELDS = {
|
438
|
-
|
439
|
-
}
|
440
|
-
|
441
|
-
def struct_fields; FIELDS; end
|
442
|
-
|
443
|
-
def validate
|
444
|
-
end
|
445
|
-
|
446
|
-
::Thrift::Struct.generate_accessors self
|
447
|
-
end
|
448
|
-
|
449
|
-
class
|
450
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
def
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
def
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
def
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
}
|
506
|
-
|
507
|
-
def struct_fields; FIELDS; end
|
508
|
-
|
509
|
-
def validate
|
510
|
-
end
|
511
|
-
|
512
|
-
::Thrift::Struct.generate_accessors self
|
513
|
-
end
|
514
|
-
|
515
|
-
class
|
516
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
517
|
-
|
518
|
-
|
519
|
-
FIELDS = {
|
520
|
-
|
521
|
-
}
|
522
|
-
|
523
|
-
def struct_fields; FIELDS; end
|
524
|
-
|
525
|
-
def validate
|
526
|
-
end
|
527
|
-
|
528
|
-
::Thrift::Struct.generate_accessors self
|
529
|
-
end
|
530
|
-
|
531
|
-
class
|
532
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
def
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
def
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
def
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
def
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
def
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
}
|
620
|
-
|
621
|
-
def struct_fields; FIELDS; end
|
622
|
-
|
623
|
-
def validate
|
624
|
-
end
|
625
|
-
|
626
|
-
::Thrift::Struct.generate_accessors self
|
627
|
-
end
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
1
|
+
#
|
2
|
+
# Autogenerated by Thrift Compiler (0.9.1)
|
3
|
+
#
|
4
|
+
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
5
|
+
#
|
6
|
+
|
7
|
+
require 'thrift'
|
8
|
+
require 'remote_passport_types'
|
9
|
+
|
10
|
+
module Passport
|
11
|
+
module Thrift
|
12
|
+
module RemotePassportService
|
13
|
+
class Client
|
14
|
+
include ::Thrift::Client
|
15
|
+
|
16
|
+
def modifyPassword(uid, oldPwd, newPwd, confirmPwd)
|
17
|
+
send_modifyPassword(uid, oldPwd, newPwd, confirmPwd)
|
18
|
+
return recv_modifyPassword()
|
19
|
+
end
|
20
|
+
|
21
|
+
def send_modifyPassword(uid, oldPwd, newPwd, confirmPwd)
|
22
|
+
send_message('modifyPassword', ModifyPassword_args, :uid => uid, :oldPwd => oldPwd, :newPwd => newPwd, :confirmPwd => confirmPwd)
|
23
|
+
end
|
24
|
+
|
25
|
+
def recv_modifyPassword()
|
26
|
+
result = receive_message(ModifyPassword_result)
|
27
|
+
return result.success unless result.success.nil?
|
28
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'modifyPassword failed: unknown result')
|
29
|
+
end
|
30
|
+
|
31
|
+
def setPassword(uid, newPwd, confirmPwd)
|
32
|
+
send_setPassword(uid, newPwd, confirmPwd)
|
33
|
+
return recv_setPassword()
|
34
|
+
end
|
35
|
+
|
36
|
+
def send_setPassword(uid, newPwd, confirmPwd)
|
37
|
+
send_message('setPassword', SetPassword_args, :uid => uid, :newPwd => newPwd, :confirmPwd => confirmPwd)
|
38
|
+
end
|
39
|
+
|
40
|
+
def recv_setPassword()
|
41
|
+
result = receive_message(SetPassword_result)
|
42
|
+
return result.success unless result.success.nil?
|
43
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'setPassword failed: unknown result')
|
44
|
+
end
|
45
|
+
|
46
|
+
def queryPassportByEmail(email)
|
47
|
+
send_queryPassportByEmail(email)
|
48
|
+
return recv_queryPassportByEmail()
|
49
|
+
end
|
50
|
+
|
51
|
+
def send_queryPassportByEmail(email)
|
52
|
+
send_message('queryPassportByEmail', QueryPassportByEmail_args, :email => email)
|
53
|
+
end
|
54
|
+
|
55
|
+
def recv_queryPassportByEmail()
|
56
|
+
result = receive_message(QueryPassportByEmail_result)
|
57
|
+
return result.success unless result.success.nil?
|
58
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryPassportByEmail failed: unknown result')
|
59
|
+
end
|
60
|
+
|
61
|
+
def queryPassportByUid(uid)
|
62
|
+
send_queryPassportByUid(uid)
|
63
|
+
return recv_queryPassportByUid()
|
64
|
+
end
|
65
|
+
|
66
|
+
def send_queryPassportByUid(uid)
|
67
|
+
send_message('queryPassportByUid', QueryPassportByUid_args, :uid => uid)
|
68
|
+
end
|
69
|
+
|
70
|
+
def recv_queryPassportByUid()
|
71
|
+
result = receive_message(QueryPassportByUid_result)
|
72
|
+
return result.success unless result.success.nil?
|
73
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryPassportByUid failed: unknown result')
|
74
|
+
end
|
75
|
+
|
76
|
+
def validatePassword(uid, password)
|
77
|
+
send_validatePassword(uid, password)
|
78
|
+
return recv_validatePassword()
|
79
|
+
end
|
80
|
+
|
81
|
+
def send_validatePassword(uid, password)
|
82
|
+
send_message('validatePassword', ValidatePassword_args, :uid => uid, :password => password)
|
83
|
+
end
|
84
|
+
|
85
|
+
def recv_validatePassword()
|
86
|
+
result = receive_message(ValidatePassword_result)
|
87
|
+
return result.success unless result.success.nil?
|
88
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'validatePassword failed: unknown result')
|
89
|
+
end
|
90
|
+
|
91
|
+
def getNickNameByUid(uid)
|
92
|
+
send_getNickNameByUid(uid)
|
93
|
+
return recv_getNickNameByUid()
|
94
|
+
end
|
95
|
+
|
96
|
+
def send_getNickNameByUid(uid)
|
97
|
+
send_message('getNickNameByUid', GetNickNameByUid_args, :uid => uid)
|
98
|
+
end
|
99
|
+
|
100
|
+
def recv_getNickNameByUid()
|
101
|
+
result = receive_message(GetNickNameByUid_result)
|
102
|
+
return result.success unless result.success.nil?
|
103
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getNickNameByUid failed: unknown result')
|
104
|
+
end
|
105
|
+
|
106
|
+
def getMultiNickNameByUids(uidList)
|
107
|
+
send_getMultiNickNameByUids(uidList)
|
108
|
+
return recv_getMultiNickNameByUids()
|
109
|
+
end
|
110
|
+
|
111
|
+
def send_getMultiNickNameByUids(uidList)
|
112
|
+
send_message('getMultiNickNameByUids', GetMultiNickNameByUids_args, :uidList => uidList)
|
113
|
+
end
|
114
|
+
|
115
|
+
def recv_getMultiNickNameByUids()
|
116
|
+
result = receive_message(GetMultiNickNameByUids_result)
|
117
|
+
return result.success unless result.success.nil?
|
118
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getMultiNickNameByUids failed: unknown result')
|
119
|
+
end
|
120
|
+
|
121
|
+
def queryPassportUidMap(uidList)
|
122
|
+
send_queryPassportUidMap(uidList)
|
123
|
+
return recv_queryPassportUidMap()
|
124
|
+
end
|
125
|
+
|
126
|
+
def send_queryPassportUidMap(uidList)
|
127
|
+
send_message('queryPassportUidMap', QueryPassportUidMap_args, :uidList => uidList)
|
128
|
+
end
|
129
|
+
|
130
|
+
def recv_queryPassportUidMap()
|
131
|
+
result = receive_message(QueryPassportUidMap_result)
|
132
|
+
return result.success unless result.success.nil?
|
133
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryPassportUidMap failed: unknown result')
|
134
|
+
end
|
135
|
+
|
136
|
+
def getPassportByLoginName(loginName)
|
137
|
+
send_getPassportByLoginName(loginName)
|
138
|
+
return recv_getPassportByLoginName()
|
139
|
+
end
|
140
|
+
|
141
|
+
def send_getPassportByLoginName(loginName)
|
142
|
+
send_message('getPassportByLoginName', GetPassportByLoginName_args, :loginName => loginName)
|
143
|
+
end
|
144
|
+
|
145
|
+
def recv_getPassportByLoginName()
|
146
|
+
result = receive_message(GetPassportByLoginName_result)
|
147
|
+
return result.success unless result.success.nil?
|
148
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getPassportByLoginName failed: unknown result')
|
149
|
+
end
|
150
|
+
|
151
|
+
def modifyPasswordDirectly(uid, password)
|
152
|
+
send_modifyPasswordDirectly(uid, password)
|
153
|
+
return recv_modifyPasswordDirectly()
|
154
|
+
end
|
155
|
+
|
156
|
+
def send_modifyPasswordDirectly(uid, password)
|
157
|
+
send_message('modifyPasswordDirectly', ModifyPasswordDirectly_args, :uid => uid, :password => password)
|
158
|
+
end
|
159
|
+
|
160
|
+
def recv_modifyPasswordDirectly()
|
161
|
+
result = receive_message(ModifyPasswordDirectly_result)
|
162
|
+
return result.success unless result.success.nil?
|
163
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'modifyPasswordDirectly failed: unknown result')
|
164
|
+
end
|
165
|
+
|
166
|
+
def queryNewRegistUsers(endTime, usersCount)
|
167
|
+
send_queryNewRegistUsers(endTime, usersCount)
|
168
|
+
return recv_queryNewRegistUsers()
|
169
|
+
end
|
170
|
+
|
171
|
+
def send_queryNewRegistUsers(endTime, usersCount)
|
172
|
+
send_message('queryNewRegistUsers', QueryNewRegistUsers_args, :endTime => endTime, :usersCount => usersCount)
|
173
|
+
end
|
174
|
+
|
175
|
+
def recv_queryNewRegistUsers()
|
176
|
+
result = receive_message(QueryNewRegistUsers_result)
|
177
|
+
return result.success unless result.success.nil?
|
178
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryNewRegistUsers failed: unknown result')
|
179
|
+
end
|
180
|
+
|
181
|
+
def queryByMobile(mobile)
|
182
|
+
send_queryByMobile(mobile)
|
183
|
+
return recv_queryByMobile()
|
184
|
+
end
|
185
|
+
|
186
|
+
def send_queryByMobile(mobile)
|
187
|
+
send_message('queryByMobile', QueryByMobile_args, :mobile => mobile)
|
188
|
+
end
|
189
|
+
|
190
|
+
def recv_queryByMobile()
|
191
|
+
result = receive_message(QueryByMobile_result)
|
192
|
+
return result.success unless result.success.nil?
|
193
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryByMobile failed: unknown result')
|
194
|
+
end
|
195
|
+
|
196
|
+
def getMultiPassportByMobiles(mobiles)
|
197
|
+
send_getMultiPassportByMobiles(mobiles)
|
198
|
+
return recv_getMultiPassportByMobiles()
|
199
|
+
end
|
200
|
+
|
201
|
+
def send_getMultiPassportByMobiles(mobiles)
|
202
|
+
send_message('getMultiPassportByMobiles', GetMultiPassportByMobiles_args, :mobiles => mobiles)
|
203
|
+
end
|
204
|
+
|
205
|
+
def recv_getMultiPassportByMobiles()
|
206
|
+
result = receive_message(GetMultiPassportByMobiles_result)
|
207
|
+
return result.success unless result.success.nil?
|
208
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getMultiPassportByMobiles failed: unknown result')
|
209
|
+
end
|
210
|
+
|
211
|
+
end
|
212
|
+
|
213
|
+
class Processor
|
214
|
+
include ::Thrift::Processor
|
215
|
+
|
216
|
+
def process_modifyPassword(seqid, iprot, oprot)
|
217
|
+
args = read_args(iprot, ModifyPassword_args)
|
218
|
+
result = ModifyPassword_result.new()
|
219
|
+
result.success = @handler.modifyPassword(args.uid, args.oldPwd, args.newPwd, args.confirmPwd)
|
220
|
+
write_result(result, oprot, 'modifyPassword', seqid)
|
221
|
+
end
|
222
|
+
|
223
|
+
def process_setPassword(seqid, iprot, oprot)
|
224
|
+
args = read_args(iprot, SetPassword_args)
|
225
|
+
result = SetPassword_result.new()
|
226
|
+
result.success = @handler.setPassword(args.uid, args.newPwd, args.confirmPwd)
|
227
|
+
write_result(result, oprot, 'setPassword', seqid)
|
228
|
+
end
|
229
|
+
|
230
|
+
def process_queryPassportByEmail(seqid, iprot, oprot)
|
231
|
+
args = read_args(iprot, QueryPassportByEmail_args)
|
232
|
+
result = QueryPassportByEmail_result.new()
|
233
|
+
result.success = @handler.queryPassportByEmail(args.email)
|
234
|
+
write_result(result, oprot, 'queryPassportByEmail', seqid)
|
235
|
+
end
|
236
|
+
|
237
|
+
def process_queryPassportByUid(seqid, iprot, oprot)
|
238
|
+
args = read_args(iprot, QueryPassportByUid_args)
|
239
|
+
result = QueryPassportByUid_result.new()
|
240
|
+
result.success = @handler.queryPassportByUid(args.uid)
|
241
|
+
write_result(result, oprot, 'queryPassportByUid', seqid)
|
242
|
+
end
|
243
|
+
|
244
|
+
def process_validatePassword(seqid, iprot, oprot)
|
245
|
+
args = read_args(iprot, ValidatePassword_args)
|
246
|
+
result = ValidatePassword_result.new()
|
247
|
+
result.success = @handler.validatePassword(args.uid, args.password)
|
248
|
+
write_result(result, oprot, 'validatePassword', seqid)
|
249
|
+
end
|
250
|
+
|
251
|
+
def process_getNickNameByUid(seqid, iprot, oprot)
|
252
|
+
args = read_args(iprot, GetNickNameByUid_args)
|
253
|
+
result = GetNickNameByUid_result.new()
|
254
|
+
result.success = @handler.getNickNameByUid(args.uid)
|
255
|
+
write_result(result, oprot, 'getNickNameByUid', seqid)
|
256
|
+
end
|
257
|
+
|
258
|
+
def process_getMultiNickNameByUids(seqid, iprot, oprot)
|
259
|
+
args = read_args(iprot, GetMultiNickNameByUids_args)
|
260
|
+
result = GetMultiNickNameByUids_result.new()
|
261
|
+
result.success = @handler.getMultiNickNameByUids(args.uidList)
|
262
|
+
write_result(result, oprot, 'getMultiNickNameByUids', seqid)
|
263
|
+
end
|
264
|
+
|
265
|
+
def process_queryPassportUidMap(seqid, iprot, oprot)
|
266
|
+
args = read_args(iprot, QueryPassportUidMap_args)
|
267
|
+
result = QueryPassportUidMap_result.new()
|
268
|
+
result.success = @handler.queryPassportUidMap(args.uidList)
|
269
|
+
write_result(result, oprot, 'queryPassportUidMap', seqid)
|
270
|
+
end
|
271
|
+
|
272
|
+
def process_getPassportByLoginName(seqid, iprot, oprot)
|
273
|
+
args = read_args(iprot, GetPassportByLoginName_args)
|
274
|
+
result = GetPassportByLoginName_result.new()
|
275
|
+
result.success = @handler.getPassportByLoginName(args.loginName)
|
276
|
+
write_result(result, oprot, 'getPassportByLoginName', seqid)
|
277
|
+
end
|
278
|
+
|
279
|
+
def process_modifyPasswordDirectly(seqid, iprot, oprot)
|
280
|
+
args = read_args(iprot, ModifyPasswordDirectly_args)
|
281
|
+
result = ModifyPasswordDirectly_result.new()
|
282
|
+
result.success = @handler.modifyPasswordDirectly(args.uid, args.password)
|
283
|
+
write_result(result, oprot, 'modifyPasswordDirectly', seqid)
|
284
|
+
end
|
285
|
+
|
286
|
+
def process_queryNewRegistUsers(seqid, iprot, oprot)
|
287
|
+
args = read_args(iprot, QueryNewRegistUsers_args)
|
288
|
+
result = QueryNewRegistUsers_result.new()
|
289
|
+
result.success = @handler.queryNewRegistUsers(args.endTime, args.usersCount)
|
290
|
+
write_result(result, oprot, 'queryNewRegistUsers', seqid)
|
291
|
+
end
|
292
|
+
|
293
|
+
def process_queryByMobile(seqid, iprot, oprot)
|
294
|
+
args = read_args(iprot, QueryByMobile_args)
|
295
|
+
result = QueryByMobile_result.new()
|
296
|
+
result.success = @handler.queryByMobile(args.mobile)
|
297
|
+
write_result(result, oprot, 'queryByMobile', seqid)
|
298
|
+
end
|
299
|
+
|
300
|
+
def process_getMultiPassportByMobiles(seqid, iprot, oprot)
|
301
|
+
args = read_args(iprot, GetMultiPassportByMobiles_args)
|
302
|
+
result = GetMultiPassportByMobiles_result.new()
|
303
|
+
result.success = @handler.getMultiPassportByMobiles(args.mobiles)
|
304
|
+
write_result(result, oprot, 'getMultiPassportByMobiles', seqid)
|
305
|
+
end
|
306
|
+
|
307
|
+
end
|
308
|
+
|
309
|
+
# HELPER FUNCTIONS AND STRUCTURES
|
310
|
+
|
311
|
+
class ModifyPassword_args
|
312
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
313
|
+
UID = 1
|
314
|
+
OLDPWD = 2
|
315
|
+
NEWPWD = 3
|
316
|
+
CONFIRMPWD = 4
|
317
|
+
|
318
|
+
FIELDS = {
|
319
|
+
UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
|
320
|
+
OLDPWD => {:type => ::Thrift::Types::STRING, :name => 'oldPwd'},
|
321
|
+
NEWPWD => {:type => ::Thrift::Types::STRING, :name => 'newPwd'},
|
322
|
+
CONFIRMPWD => {:type => ::Thrift::Types::STRING, :name => 'confirmPwd'}
|
323
|
+
}
|
324
|
+
|
325
|
+
def struct_fields; FIELDS; end
|
326
|
+
|
327
|
+
def validate
|
328
|
+
end
|
329
|
+
|
330
|
+
::Thrift::Struct.generate_accessors self
|
331
|
+
end
|
332
|
+
|
333
|
+
class ModifyPassword_result
|
334
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
335
|
+
SUCCESS = 0
|
336
|
+
|
337
|
+
FIELDS = {
|
338
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Passport::Thrift::ThriftCommonResponse}
|
339
|
+
}
|
340
|
+
|
341
|
+
def struct_fields; FIELDS; end
|
342
|
+
|
343
|
+
def validate
|
344
|
+
end
|
345
|
+
|
346
|
+
::Thrift::Struct.generate_accessors self
|
347
|
+
end
|
348
|
+
|
349
|
+
class SetPassword_args
|
350
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
351
|
+
UID = 1
|
352
|
+
NEWPWD = 2
|
353
|
+
CONFIRMPWD = 3
|
354
|
+
|
355
|
+
FIELDS = {
|
356
|
+
UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
|
357
|
+
NEWPWD => {:type => ::Thrift::Types::STRING, :name => 'newPwd'},
|
358
|
+
CONFIRMPWD => {:type => ::Thrift::Types::STRING, :name => 'confirmPwd'}
|
359
|
+
}
|
360
|
+
|
361
|
+
def struct_fields; FIELDS; end
|
362
|
+
|
363
|
+
def validate
|
364
|
+
end
|
365
|
+
|
366
|
+
::Thrift::Struct.generate_accessors self
|
367
|
+
end
|
368
|
+
|
369
|
+
class SetPassword_result
|
370
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
371
|
+
SUCCESS = 0
|
372
|
+
|
373
|
+
FIELDS = {
|
374
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Passport::Thrift::ThriftCommonResponse}
|
375
|
+
}
|
376
|
+
|
377
|
+
def struct_fields; FIELDS; end
|
378
|
+
|
379
|
+
def validate
|
380
|
+
end
|
381
|
+
|
382
|
+
::Thrift::Struct.generate_accessors self
|
383
|
+
end
|
384
|
+
|
385
|
+
class QueryPassportByEmail_args
|
386
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
387
|
+
EMAIL = 1
|
388
|
+
|
389
|
+
FIELDS = {
|
390
|
+
EMAIL => {:type => ::Thrift::Types::STRING, :name => 'email'}
|
391
|
+
}
|
392
|
+
|
393
|
+
def struct_fields; FIELDS; end
|
394
|
+
|
395
|
+
def validate
|
396
|
+
end
|
397
|
+
|
398
|
+
::Thrift::Struct.generate_accessors self
|
399
|
+
end
|
400
|
+
|
401
|
+
class QueryPassportByEmail_result
|
402
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
403
|
+
SUCCESS = 0
|
404
|
+
|
405
|
+
FIELDS = {
|
406
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Passport::Thrift::Passport}
|
407
|
+
}
|
408
|
+
|
409
|
+
def struct_fields; FIELDS; end
|
410
|
+
|
411
|
+
def validate
|
412
|
+
end
|
413
|
+
|
414
|
+
::Thrift::Struct.generate_accessors self
|
415
|
+
end
|
416
|
+
|
417
|
+
class QueryPassportByUid_args
|
418
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
419
|
+
UID = 1
|
420
|
+
|
421
|
+
FIELDS = {
|
422
|
+
UID => {:type => ::Thrift::Types::I64, :name => 'uid'}
|
423
|
+
}
|
424
|
+
|
425
|
+
def struct_fields; FIELDS; end
|
426
|
+
|
427
|
+
def validate
|
428
|
+
end
|
429
|
+
|
430
|
+
::Thrift::Struct.generate_accessors self
|
431
|
+
end
|
432
|
+
|
433
|
+
class QueryPassportByUid_result
|
434
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
435
|
+
SUCCESS = 0
|
436
|
+
|
437
|
+
FIELDS = {
|
438
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Passport::Thrift::Passport}
|
439
|
+
}
|
440
|
+
|
441
|
+
def struct_fields; FIELDS; end
|
442
|
+
|
443
|
+
def validate
|
444
|
+
end
|
445
|
+
|
446
|
+
::Thrift::Struct.generate_accessors self
|
447
|
+
end
|
448
|
+
|
449
|
+
class ValidatePassword_args
|
450
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
451
|
+
UID = 1
|
452
|
+
PASSWORD = 2
|
453
|
+
|
454
|
+
FIELDS = {
|
455
|
+
UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
|
456
|
+
PASSWORD => {:type => ::Thrift::Types::STRING, :name => 'password'}
|
457
|
+
}
|
458
|
+
|
459
|
+
def struct_fields; FIELDS; end
|
460
|
+
|
461
|
+
def validate
|
462
|
+
end
|
463
|
+
|
464
|
+
::Thrift::Struct.generate_accessors self
|
465
|
+
end
|
466
|
+
|
467
|
+
class ValidatePassword_result
|
468
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
469
|
+
SUCCESS = 0
|
470
|
+
|
471
|
+
FIELDS = {
|
472
|
+
SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'}
|
473
|
+
}
|
474
|
+
|
475
|
+
def struct_fields; FIELDS; end
|
476
|
+
|
477
|
+
def validate
|
478
|
+
end
|
479
|
+
|
480
|
+
::Thrift::Struct.generate_accessors self
|
481
|
+
end
|
482
|
+
|
483
|
+
class GetNickNameByUid_args
|
484
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
485
|
+
UID = 1
|
486
|
+
|
487
|
+
FIELDS = {
|
488
|
+
UID => {:type => ::Thrift::Types::I64, :name => 'uid'}
|
489
|
+
}
|
490
|
+
|
491
|
+
def struct_fields; FIELDS; end
|
492
|
+
|
493
|
+
def validate
|
494
|
+
end
|
495
|
+
|
496
|
+
::Thrift::Struct.generate_accessors self
|
497
|
+
end
|
498
|
+
|
499
|
+
class GetNickNameByUid_result
|
500
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
501
|
+
SUCCESS = 0
|
502
|
+
|
503
|
+
FIELDS = {
|
504
|
+
SUCCESS => {:type => ::Thrift::Types::STRING, :name => 'success'}
|
505
|
+
}
|
506
|
+
|
507
|
+
def struct_fields; FIELDS; end
|
508
|
+
|
509
|
+
def validate
|
510
|
+
end
|
511
|
+
|
512
|
+
::Thrift::Struct.generate_accessors self
|
513
|
+
end
|
514
|
+
|
515
|
+
class GetMultiNickNameByUids_args
|
516
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
517
|
+
UIDLIST = 1
|
518
|
+
|
519
|
+
FIELDS = {
|
520
|
+
UIDLIST => {:type => ::Thrift::Types::LIST, :name => 'uidList', :element => {:type => ::Thrift::Types::I64}}
|
521
|
+
}
|
522
|
+
|
523
|
+
def struct_fields; FIELDS; end
|
524
|
+
|
525
|
+
def validate
|
526
|
+
end
|
527
|
+
|
528
|
+
::Thrift::Struct.generate_accessors self
|
529
|
+
end
|
530
|
+
|
531
|
+
class GetMultiNickNameByUids_result
|
532
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
533
|
+
SUCCESS = 0
|
534
|
+
|
535
|
+
FIELDS = {
|
536
|
+
SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::I64}, :value => {:type => ::Thrift::Types::STRING}}
|
537
|
+
}
|
538
|
+
|
539
|
+
def struct_fields; FIELDS; end
|
540
|
+
|
541
|
+
def validate
|
542
|
+
end
|
543
|
+
|
544
|
+
::Thrift::Struct.generate_accessors self
|
545
|
+
end
|
546
|
+
|
547
|
+
class QueryPassportUidMap_args
|
548
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
549
|
+
UIDLIST = 1
|
550
|
+
|
551
|
+
FIELDS = {
|
552
|
+
UIDLIST => {:type => ::Thrift::Types::LIST, :name => 'uidList', :element => {:type => ::Thrift::Types::I64}}
|
553
|
+
}
|
554
|
+
|
555
|
+
def struct_fields; FIELDS; end
|
556
|
+
|
557
|
+
def validate
|
558
|
+
end
|
559
|
+
|
560
|
+
::Thrift::Struct.generate_accessors self
|
561
|
+
end
|
562
|
+
|
563
|
+
class QueryPassportUidMap_result
|
564
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
565
|
+
SUCCESS = 0
|
566
|
+
|
567
|
+
FIELDS = {
|
568
|
+
SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::I64}, :value => {:type => ::Thrift::Types::STRUCT, :class => ::Passport::Thrift::Passport}}
|
569
|
+
}
|
570
|
+
|
571
|
+
def struct_fields; FIELDS; end
|
572
|
+
|
573
|
+
def validate
|
574
|
+
end
|
575
|
+
|
576
|
+
::Thrift::Struct.generate_accessors self
|
577
|
+
end
|
578
|
+
|
579
|
+
class GetPassportByLoginName_args
|
580
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
581
|
+
LOGINNAME = 1
|
582
|
+
|
583
|
+
FIELDS = {
|
584
|
+
LOGINNAME => {:type => ::Thrift::Types::STRING, :name => 'loginName'}
|
585
|
+
}
|
586
|
+
|
587
|
+
def struct_fields; FIELDS; end
|
588
|
+
|
589
|
+
def validate
|
590
|
+
end
|
591
|
+
|
592
|
+
::Thrift::Struct.generate_accessors self
|
593
|
+
end
|
594
|
+
|
595
|
+
class GetPassportByLoginName_result
|
596
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
597
|
+
SUCCESS = 0
|
598
|
+
|
599
|
+
FIELDS = {
|
600
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Passport::Thrift::Passport}
|
601
|
+
}
|
602
|
+
|
603
|
+
def struct_fields; FIELDS; end
|
604
|
+
|
605
|
+
def validate
|
606
|
+
end
|
607
|
+
|
608
|
+
::Thrift::Struct.generate_accessors self
|
609
|
+
end
|
610
|
+
|
611
|
+
class ModifyPasswordDirectly_args
|
612
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
613
|
+
UID = 1
|
614
|
+
PASSWORD = 2
|
615
|
+
|
616
|
+
FIELDS = {
|
617
|
+
UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
|
618
|
+
PASSWORD => {:type => ::Thrift::Types::STRING, :name => 'password'}
|
619
|
+
}
|
620
|
+
|
621
|
+
def struct_fields; FIELDS; end
|
622
|
+
|
623
|
+
def validate
|
624
|
+
end
|
625
|
+
|
626
|
+
::Thrift::Struct.generate_accessors self
|
627
|
+
end
|
628
|
+
|
629
|
+
class ModifyPasswordDirectly_result
|
630
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
631
|
+
SUCCESS = 0
|
632
|
+
|
633
|
+
FIELDS = {
|
634
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Passport::Thrift::ThriftCommonResponse}
|
635
|
+
}
|
636
|
+
|
637
|
+
def struct_fields; FIELDS; end
|
638
|
+
|
639
|
+
def validate
|
640
|
+
end
|
641
|
+
|
642
|
+
::Thrift::Struct.generate_accessors self
|
643
|
+
end
|
644
|
+
|
645
|
+
class QueryNewRegistUsers_args
|
646
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
647
|
+
ENDTIME = 1
|
648
|
+
USERSCOUNT = 2
|
649
|
+
|
650
|
+
FIELDS = {
|
651
|
+
ENDTIME => {:type => ::Thrift::Types::I64, :name => 'endTime'},
|
652
|
+
USERSCOUNT => {:type => ::Thrift::Types::I32, :name => 'usersCount'}
|
653
|
+
}
|
654
|
+
|
655
|
+
def struct_fields; FIELDS; end
|
656
|
+
|
657
|
+
def validate
|
658
|
+
end
|
659
|
+
|
660
|
+
::Thrift::Struct.generate_accessors self
|
661
|
+
end
|
662
|
+
|
663
|
+
class QueryNewRegistUsers_result
|
664
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
665
|
+
SUCCESS = 0
|
666
|
+
|
667
|
+
FIELDS = {
|
668
|
+
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Passport::Thrift::Passport}}
|
669
|
+
}
|
670
|
+
|
671
|
+
def struct_fields; FIELDS; end
|
672
|
+
|
673
|
+
def validate
|
674
|
+
end
|
675
|
+
|
676
|
+
::Thrift::Struct.generate_accessors self
|
677
|
+
end
|
678
|
+
|
679
|
+
class QueryByMobile_args
|
680
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
681
|
+
MOBILE = 1
|
682
|
+
|
683
|
+
FIELDS = {
|
684
|
+
MOBILE => {:type => ::Thrift::Types::STRING, :name => 'mobile'}
|
685
|
+
}
|
686
|
+
|
687
|
+
def struct_fields; FIELDS; end
|
688
|
+
|
689
|
+
def validate
|
690
|
+
end
|
691
|
+
|
692
|
+
::Thrift::Struct.generate_accessors self
|
693
|
+
end
|
694
|
+
|
695
|
+
class QueryByMobile_result
|
696
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
697
|
+
SUCCESS = 0
|
698
|
+
|
699
|
+
FIELDS = {
|
700
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Passport::Thrift::Passport}
|
701
|
+
}
|
702
|
+
|
703
|
+
def struct_fields; FIELDS; end
|
704
|
+
|
705
|
+
def validate
|
706
|
+
end
|
707
|
+
|
708
|
+
::Thrift::Struct.generate_accessors self
|
709
|
+
end
|
710
|
+
|
711
|
+
class GetMultiPassportByMobiles_args
|
712
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
713
|
+
MOBILES = 1
|
714
|
+
|
715
|
+
FIELDS = {
|
716
|
+
MOBILES => {:type => ::Thrift::Types::LIST, :name => 'mobiles', :element => {:type => ::Thrift::Types::STRING}}
|
717
|
+
}
|
718
|
+
|
719
|
+
def struct_fields; FIELDS; end
|
720
|
+
|
721
|
+
def validate
|
722
|
+
end
|
723
|
+
|
724
|
+
::Thrift::Struct.generate_accessors self
|
725
|
+
end
|
726
|
+
|
727
|
+
class GetMultiPassportByMobiles_result
|
728
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
729
|
+
SUCCESS = 0
|
730
|
+
|
731
|
+
FIELDS = {
|
732
|
+
SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRUCT, :class => ::Passport::Thrift::Passport}}
|
733
|
+
}
|
734
|
+
|
735
|
+
def struct_fields; FIELDS; end
|
736
|
+
|
737
|
+
def validate
|
738
|
+
end
|
739
|
+
|
740
|
+
::Thrift::Struct.generate_accessors self
|
741
|
+
end
|
742
|
+
|
743
|
+
end
|
744
|
+
|
745
|
+
end
|
746
|
+
end
|