profile_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,1072 @@
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_profile_types'
9
+
10
+ module Profile
11
+ module Thrift
12
+ module RemoteUserProfileService
13
+ class Client
14
+ include ::Thrift::Client
15
+
16
+ def save(profile)
17
+ send_save(profile)
18
+ return recv_save()
19
+ end
20
+
21
+ def send_save(profile)
22
+ send_message('save', Save_args, :profile => profile)
23
+ end
24
+
25
+ def recv_save()
26
+ result = receive_message(Save_result)
27
+ return result.success unless result.success.nil?
28
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'save failed: unknown result')
29
+ end
30
+
31
+ def saveWithStatisticParameters(profile, statisticParameters)
32
+ send_saveWithStatisticParameters(profile, statisticParameters)
33
+ return recv_saveWithStatisticParameters()
34
+ end
35
+
36
+ def send_saveWithStatisticParameters(profile, statisticParameters)
37
+ send_message('saveWithStatisticParameters', SaveWithStatisticParameters_args, :profile => profile, :statisticParameters => statisticParameters)
38
+ end
39
+
40
+ def recv_saveWithStatisticParameters()
41
+ result = receive_message(SaveWithStatisticParameters_result)
42
+ return result.success unless result.success.nil?
43
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'saveWithStatisticParameters failed: unknown result')
44
+ end
45
+
46
+ def updatePrifileLogo(uid, picLogo, statisticParameters)
47
+ send_updatePrifileLogo(uid, picLogo, statisticParameters)
48
+ recv_updatePrifileLogo()
49
+ end
50
+
51
+ def send_updatePrifileLogo(uid, picLogo, statisticParameters)
52
+ send_message('updatePrifileLogo', UpdatePrifileLogo_args, :uid => uid, :picLogo => picLogo, :statisticParameters => statisticParameters)
53
+ end
54
+
55
+ def recv_updatePrifileLogo()
56
+ result = receive_message(UpdatePrifileLogo_result)
57
+ return
58
+ end
59
+
60
+ def updateWebBackground(uid, filePath, picPositionx, picPositiony, statisticParams)
61
+ send_updateWebBackground(uid, filePath, picPositionx, picPositiony, statisticParams)
62
+ recv_updateWebBackground()
63
+ end
64
+
65
+ def send_updateWebBackground(uid, filePath, picPositionx, picPositiony, statisticParams)
66
+ send_message('updateWebBackground', UpdateWebBackground_args, :uid => uid, :filePath => filePath, :picPositionx => picPositionx, :picPositiony => picPositiony, :statisticParams => statisticParams)
67
+ end
68
+
69
+ def recv_updateWebBackground()
70
+ result = receive_message(UpdateWebBackground_result)
71
+ return
72
+ end
73
+
74
+ def updateMobileBackground(uid, filePath, statisticParams)
75
+ send_updateMobileBackground(uid, filePath, statisticParams)
76
+ recv_updateMobileBackground()
77
+ end
78
+
79
+ def send_updateMobileBackground(uid, filePath, statisticParams)
80
+ send_message('updateMobileBackground', UpdateMobileBackground_args, :uid => uid, :filePath => filePath, :statisticParams => statisticParams)
81
+ end
82
+
83
+ def recv_updateMobileBackground()
84
+ result = receive_message(UpdateMobileBackground_result)
85
+ return
86
+ end
87
+
88
+ def getProfileByUid(uid)
89
+ send_getProfileByUid(uid)
90
+ return recv_getProfileByUid()
91
+ end
92
+
93
+ def send_getProfileByUid(uid)
94
+ send_message('getProfileByUid', GetProfileByUid_args, :uid => uid)
95
+ end
96
+
97
+ def recv_getProfileByUid()
98
+ result = receive_message(GetProfileByUid_result)
99
+ return result.success unless result.success.nil?
100
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getProfileByUid failed: unknown result')
101
+ end
102
+
103
+ def getProfileByUids(uids)
104
+ send_getProfileByUids(uids)
105
+ return recv_getProfileByUids()
106
+ end
107
+
108
+ def send_getProfileByUids(uids)
109
+ send_message('getProfileByUids', GetProfileByUids_args, :uids => uids)
110
+ end
111
+
112
+ def recv_getProfileByUids()
113
+ result = receive_message(GetProfileByUids_result)
114
+ return result.success unless result.success.nil?
115
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getProfileByUids failed: unknown result')
116
+ end
117
+
118
+ def getNicknameByUid(uid)
119
+ send_getNicknameByUid(uid)
120
+ return recv_getNicknameByUid()
121
+ end
122
+
123
+ def send_getNicknameByUid(uid)
124
+ send_message('getNicknameByUid', GetNicknameByUid_args, :uid => uid)
125
+ end
126
+
127
+ def recv_getNicknameByUid()
128
+ result = receive_message(GetNicknameByUid_result)
129
+ return result.success unless result.success.nil?
130
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getNicknameByUid failed: unknown result')
131
+ end
132
+
133
+ def getMultiNickNameByUids(uidList)
134
+ send_getMultiNickNameByUids(uidList)
135
+ return recv_getMultiNickNameByUids()
136
+ end
137
+
138
+ def send_getMultiNickNameByUids(uidList)
139
+ send_message('getMultiNickNameByUids', GetMultiNickNameByUids_args, :uidList => uidList)
140
+ end
141
+
142
+ def recv_getMultiNickNameByUids()
143
+ result = receive_message(GetMultiNickNameByUids_result)
144
+ return result.success unless result.success.nil?
145
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getMultiNickNameByUids failed: unknown result')
146
+ end
147
+
148
+ def queryUserBasicInfo(uid)
149
+ send_queryUserBasicInfo(uid)
150
+ return recv_queryUserBasicInfo()
151
+ end
152
+
153
+ def send_queryUserBasicInfo(uid)
154
+ send_message('queryUserBasicInfo', QueryUserBasicInfo_args, :uid => uid)
155
+ end
156
+
157
+ def recv_queryUserBasicInfo()
158
+ result = receive_message(QueryUserBasicInfo_result)
159
+ return result.success unless result.success.nil?
160
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryUserBasicInfo failed: unknown result')
161
+ end
162
+
163
+ def getMultiUserBasicInfos(uids)
164
+ send_getMultiUserBasicInfos(uids)
165
+ return recv_getMultiUserBasicInfos()
166
+ end
167
+
168
+ def send_getMultiUserBasicInfos(uids)
169
+ send_message('getMultiUserBasicInfos', GetMultiUserBasicInfos_args, :uids => uids)
170
+ end
171
+
172
+ def recv_getMultiUserBasicInfos()
173
+ result = receive_message(GetMultiUserBasicInfos_result)
174
+ return result.success unless result.success.nil?
175
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getMultiUserBasicInfos failed: unknown result')
176
+ end
177
+
178
+ def queryUserSimpleInfo(uid)
179
+ send_queryUserSimpleInfo(uid)
180
+ return recv_queryUserSimpleInfo()
181
+ end
182
+
183
+ def send_queryUserSimpleInfo(uid)
184
+ send_message('queryUserSimpleInfo', QueryUserSimpleInfo_args, :uid => uid)
185
+ end
186
+
187
+ def recv_queryUserSimpleInfo()
188
+ result = receive_message(QueryUserSimpleInfo_result)
189
+ return result.success unless result.success.nil?
190
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryUserSimpleInfo failed: unknown result')
191
+ end
192
+
193
+ def getMultiUserSimpleInfos(uids)
194
+ send_getMultiUserSimpleInfos(uids)
195
+ return recv_getMultiUserSimpleInfos()
196
+ end
197
+
198
+ def send_getMultiUserSimpleInfos(uids)
199
+ send_message('getMultiUserSimpleInfos', GetMultiUserSimpleInfos_args, :uids => uids)
200
+ end
201
+
202
+ def recv_getMultiUserSimpleInfos()
203
+ result = receive_message(GetMultiUserSimpleInfos_result)
204
+ return result.success unless result.success.nil?
205
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getMultiUserSimpleInfos failed: unknown result')
206
+ end
207
+
208
+ def getProfileByNickname(nickname)
209
+ send_getProfileByNickname(nickname)
210
+ return recv_getProfileByNickname()
211
+ end
212
+
213
+ def send_getProfileByNickname(nickname)
214
+ send_message('getProfileByNickname', GetProfileByNickname_args, :nickname => nickname)
215
+ end
216
+
217
+ def recv_getProfileByNickname()
218
+ result = receive_message(GetProfileByNickname_result)
219
+ return result.success unless result.success.nil?
220
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getProfileByNickname failed: unknown result')
221
+ end
222
+
223
+ def checkNickname(oldNickname, nickname)
224
+ send_checkNickname(oldNickname, nickname)
225
+ return recv_checkNickname()
226
+ end
227
+
228
+ def send_checkNickname(oldNickname, nickname)
229
+ send_message('checkNickname', CheckNickname_args, :oldNickname => oldNickname, :nickname => nickname)
230
+ end
231
+
232
+ def recv_checkNickname()
233
+ result = receive_message(CheckNickname_result)
234
+ return result.success unless result.success.nil?
235
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'checkNickname failed: unknown result')
236
+ end
237
+
238
+ def checkNicknameFormat(nickname)
239
+ send_checkNicknameFormat(nickname)
240
+ return recv_checkNicknameFormat()
241
+ end
242
+
243
+ def send_checkNicknameFormat(nickname)
244
+ send_message('checkNicknameFormat', CheckNicknameFormat_args, :nickname => nickname)
245
+ end
246
+
247
+ def recv_checkNicknameFormat()
248
+ result = receive_message(CheckNicknameFormat_result)
249
+ return result.success unless result.success.nil?
250
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'checkNicknameFormat failed: unknown result')
251
+ end
252
+
253
+ def checkNicknameDuplicate(oldNickname, nickname)
254
+ send_checkNicknameDuplicate(oldNickname, nickname)
255
+ return recv_checkNicknameDuplicate()
256
+ end
257
+
258
+ def send_checkNicknameDuplicate(oldNickname, nickname)
259
+ send_message('checkNicknameDuplicate', CheckNicknameDuplicate_args, :oldNickname => oldNickname, :nickname => nickname)
260
+ end
261
+
262
+ def recv_checkNicknameDuplicate()
263
+ result = receive_message(CheckNicknameDuplicate_result)
264
+ return result.success unless result.success.nil?
265
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'checkNicknameDuplicate failed: unknown result')
266
+ end
267
+
268
+ def getProfielByEmail(email)
269
+ send_getProfielByEmail(email)
270
+ return recv_getProfielByEmail()
271
+ end
272
+
273
+ def send_getProfielByEmail(email)
274
+ send_message('getProfielByEmail', GetProfielByEmail_args, :email => email)
275
+ end
276
+
277
+ def recv_getProfielByEmail()
278
+ result = receive_message(GetProfielByEmail_result)
279
+ return result.success unless result.success.nil?
280
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getProfielByEmail failed: unknown result')
281
+ end
282
+
283
+ def getVerifiedUid(pageId, pageSize)
284
+ send_getVerifiedUid(pageId, pageSize)
285
+ return recv_getVerifiedUid()
286
+ end
287
+
288
+ def send_getVerifiedUid(pageId, pageSize)
289
+ send_message('getVerifiedUid', GetVerifiedUid_args, :pageId => pageId, :pageSize => pageSize)
290
+ end
291
+
292
+ def recv_getVerifiedUid()
293
+ result = receive_message(GetVerifiedUid_result)
294
+ return result.success unless result.success.nil?
295
+ raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getVerifiedUid failed: unknown result')
296
+ end
297
+
298
+ end
299
+
300
+ class Processor
301
+ include ::Thrift::Processor
302
+
303
+ def process_save(seqid, iprot, oprot)
304
+ args = read_args(iprot, Save_args)
305
+ result = Save_result.new()
306
+ result.success = @handler.save(args.profile)
307
+ write_result(result, oprot, 'save', seqid)
308
+ end
309
+
310
+ def process_saveWithStatisticParameters(seqid, iprot, oprot)
311
+ args = read_args(iprot, SaveWithStatisticParameters_args)
312
+ result = SaveWithStatisticParameters_result.new()
313
+ result.success = @handler.saveWithStatisticParameters(args.profile, args.statisticParameters)
314
+ write_result(result, oprot, 'saveWithStatisticParameters', seqid)
315
+ end
316
+
317
+ def process_updatePrifileLogo(seqid, iprot, oprot)
318
+ args = read_args(iprot, UpdatePrifileLogo_args)
319
+ result = UpdatePrifileLogo_result.new()
320
+ @handler.updatePrifileLogo(args.uid, args.picLogo, args.statisticParameters)
321
+ write_result(result, oprot, 'updatePrifileLogo', seqid)
322
+ end
323
+
324
+ def process_updateWebBackground(seqid, iprot, oprot)
325
+ args = read_args(iprot, UpdateWebBackground_args)
326
+ result = UpdateWebBackground_result.new()
327
+ @handler.updateWebBackground(args.uid, args.filePath, args.picPositionx, args.picPositiony, args.statisticParams)
328
+ write_result(result, oprot, 'updateWebBackground', seqid)
329
+ end
330
+
331
+ def process_updateMobileBackground(seqid, iprot, oprot)
332
+ args = read_args(iprot, UpdateMobileBackground_args)
333
+ result = UpdateMobileBackground_result.new()
334
+ @handler.updateMobileBackground(args.uid, args.filePath, args.statisticParams)
335
+ write_result(result, oprot, 'updateMobileBackground', seqid)
336
+ end
337
+
338
+ def process_getProfileByUid(seqid, iprot, oprot)
339
+ args = read_args(iprot, GetProfileByUid_args)
340
+ result = GetProfileByUid_result.new()
341
+ result.success = @handler.getProfileByUid(args.uid)
342
+ write_result(result, oprot, 'getProfileByUid', seqid)
343
+ end
344
+
345
+ def process_getProfileByUids(seqid, iprot, oprot)
346
+ args = read_args(iprot, GetProfileByUids_args)
347
+ result = GetProfileByUids_result.new()
348
+ result.success = @handler.getProfileByUids(args.uids)
349
+ write_result(result, oprot, 'getProfileByUids', seqid)
350
+ end
351
+
352
+ def process_getNicknameByUid(seqid, iprot, oprot)
353
+ args = read_args(iprot, GetNicknameByUid_args)
354
+ result = GetNicknameByUid_result.new()
355
+ result.success = @handler.getNicknameByUid(args.uid)
356
+ write_result(result, oprot, 'getNicknameByUid', seqid)
357
+ end
358
+
359
+ def process_getMultiNickNameByUids(seqid, iprot, oprot)
360
+ args = read_args(iprot, GetMultiNickNameByUids_args)
361
+ result = GetMultiNickNameByUids_result.new()
362
+ result.success = @handler.getMultiNickNameByUids(args.uidList)
363
+ write_result(result, oprot, 'getMultiNickNameByUids', seqid)
364
+ end
365
+
366
+ def process_queryUserBasicInfo(seqid, iprot, oprot)
367
+ args = read_args(iprot, QueryUserBasicInfo_args)
368
+ result = QueryUserBasicInfo_result.new()
369
+ result.success = @handler.queryUserBasicInfo(args.uid)
370
+ write_result(result, oprot, 'queryUserBasicInfo', seqid)
371
+ end
372
+
373
+ def process_getMultiUserBasicInfos(seqid, iprot, oprot)
374
+ args = read_args(iprot, GetMultiUserBasicInfos_args)
375
+ result = GetMultiUserBasicInfos_result.new()
376
+ result.success = @handler.getMultiUserBasicInfos(args.uids)
377
+ write_result(result, oprot, 'getMultiUserBasicInfos', seqid)
378
+ end
379
+
380
+ def process_queryUserSimpleInfo(seqid, iprot, oprot)
381
+ args = read_args(iprot, QueryUserSimpleInfo_args)
382
+ result = QueryUserSimpleInfo_result.new()
383
+ result.success = @handler.queryUserSimpleInfo(args.uid)
384
+ write_result(result, oprot, 'queryUserSimpleInfo', seqid)
385
+ end
386
+
387
+ def process_getMultiUserSimpleInfos(seqid, iprot, oprot)
388
+ args = read_args(iprot, GetMultiUserSimpleInfos_args)
389
+ result = GetMultiUserSimpleInfos_result.new()
390
+ result.success = @handler.getMultiUserSimpleInfos(args.uids)
391
+ write_result(result, oprot, 'getMultiUserSimpleInfos', seqid)
392
+ end
393
+
394
+ def process_getProfileByNickname(seqid, iprot, oprot)
395
+ args = read_args(iprot, GetProfileByNickname_args)
396
+ result = GetProfileByNickname_result.new()
397
+ result.success = @handler.getProfileByNickname(args.nickname)
398
+ write_result(result, oprot, 'getProfileByNickname', seqid)
399
+ end
400
+
401
+ def process_checkNickname(seqid, iprot, oprot)
402
+ args = read_args(iprot, CheckNickname_args)
403
+ result = CheckNickname_result.new()
404
+ result.success = @handler.checkNickname(args.oldNickname, args.nickname)
405
+ write_result(result, oprot, 'checkNickname', seqid)
406
+ end
407
+
408
+ def process_checkNicknameFormat(seqid, iprot, oprot)
409
+ args = read_args(iprot, CheckNicknameFormat_args)
410
+ result = CheckNicknameFormat_result.new()
411
+ result.success = @handler.checkNicknameFormat(args.nickname)
412
+ write_result(result, oprot, 'checkNicknameFormat', seqid)
413
+ end
414
+
415
+ def process_checkNicknameDuplicate(seqid, iprot, oprot)
416
+ args = read_args(iprot, CheckNicknameDuplicate_args)
417
+ result = CheckNicknameDuplicate_result.new()
418
+ result.success = @handler.checkNicknameDuplicate(args.oldNickname, args.nickname)
419
+ write_result(result, oprot, 'checkNicknameDuplicate', seqid)
420
+ end
421
+
422
+ def process_getProfielByEmail(seqid, iprot, oprot)
423
+ args = read_args(iprot, GetProfielByEmail_args)
424
+ result = GetProfielByEmail_result.new()
425
+ result.success = @handler.getProfielByEmail(args.email)
426
+ write_result(result, oprot, 'getProfielByEmail', seqid)
427
+ end
428
+
429
+ def process_getVerifiedUid(seqid, iprot, oprot)
430
+ args = read_args(iprot, GetVerifiedUid_args)
431
+ result = GetVerifiedUid_result.new()
432
+ result.success = @handler.getVerifiedUid(args.pageId, args.pageSize)
433
+ write_result(result, oprot, 'getVerifiedUid', seqid)
434
+ end
435
+
436
+ end
437
+
438
+ # HELPER FUNCTIONS AND STRUCTURES
439
+
440
+ class Save_args
441
+ include ::Thrift::Struct, ::Thrift::Struct_Union
442
+ PROFILE = 1
443
+
444
+ FIELDS = {
445
+ PROFILE => {:type => ::Thrift::Types::STRUCT, :name => 'profile', :class => ::Profile::Thrift::Profile}
446
+ }
447
+
448
+ def struct_fields; FIELDS; end
449
+
450
+ def validate
451
+ end
452
+
453
+ ::Thrift::Struct.generate_accessors self
454
+ end
455
+
456
+ class Save_result
457
+ include ::Thrift::Struct, ::Thrift::Struct_Union
458
+ SUCCESS = 0
459
+
460
+ FIELDS = {
461
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Profile::Thrift::ThriftCommonResponse}
462
+ }
463
+
464
+ def struct_fields; FIELDS; end
465
+
466
+ def validate
467
+ end
468
+
469
+ ::Thrift::Struct.generate_accessors self
470
+ end
471
+
472
+ class SaveWithStatisticParameters_args
473
+ include ::Thrift::Struct, ::Thrift::Struct_Union
474
+ PROFILE = 1
475
+ STATISTICPARAMETERS = 2
476
+
477
+ FIELDS = {
478
+ PROFILE => {:type => ::Thrift::Types::STRUCT, :name => 'profile', :class => ::Profile::Thrift::Profile},
479
+ STATISTICPARAMETERS => {:type => ::Thrift::Types::STRUCT, :name => 'statisticParameters', :class => ::Profile::Thrift::StatisticParameters}
480
+ }
481
+
482
+ def struct_fields; FIELDS; end
483
+
484
+ def validate
485
+ end
486
+
487
+ ::Thrift::Struct.generate_accessors self
488
+ end
489
+
490
+ class SaveWithStatisticParameters_result
491
+ include ::Thrift::Struct, ::Thrift::Struct_Union
492
+ SUCCESS = 0
493
+
494
+ FIELDS = {
495
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Profile::Thrift::ThriftCommonResponse}
496
+ }
497
+
498
+ def struct_fields; FIELDS; end
499
+
500
+ def validate
501
+ end
502
+
503
+ ::Thrift::Struct.generate_accessors self
504
+ end
505
+
506
+ class UpdatePrifileLogo_args
507
+ include ::Thrift::Struct, ::Thrift::Struct_Union
508
+ UID = 1
509
+ PICLOGO = 2
510
+ STATISTICPARAMETERS = 3
511
+
512
+ FIELDS = {
513
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
514
+ PICLOGO => {:type => ::Thrift::Types::STRING, :name => 'picLogo'},
515
+ STATISTICPARAMETERS => {:type => ::Thrift::Types::STRUCT, :name => 'statisticParameters', :class => ::Profile::Thrift::StatisticParameters}
516
+ }
517
+
518
+ def struct_fields; FIELDS; end
519
+
520
+ def validate
521
+ end
522
+
523
+ ::Thrift::Struct.generate_accessors self
524
+ end
525
+
526
+ class UpdatePrifileLogo_result
527
+ include ::Thrift::Struct, ::Thrift::Struct_Union
528
+
529
+ FIELDS = {
530
+
531
+ }
532
+
533
+ def struct_fields; FIELDS; end
534
+
535
+ def validate
536
+ end
537
+
538
+ ::Thrift::Struct.generate_accessors self
539
+ end
540
+
541
+ class UpdateWebBackground_args
542
+ include ::Thrift::Struct, ::Thrift::Struct_Union
543
+ UID = 1
544
+ FILEPATH = 2
545
+ PICPOSITIONX = 3
546
+ PICPOSITIONY = 4
547
+ STATISTICPARAMS = 5
548
+
549
+ FIELDS = {
550
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
551
+ FILEPATH => {:type => ::Thrift::Types::STRING, :name => 'filePath'},
552
+ PICPOSITIONX => {:type => ::Thrift::Types::I32, :name => 'picPositionx'},
553
+ PICPOSITIONY => {:type => ::Thrift::Types::I32, :name => 'picPositiony'},
554
+ STATISTICPARAMS => {:type => ::Thrift::Types::STRUCT, :name => 'statisticParams', :class => ::Profile::Thrift::StatisticParameters}
555
+ }
556
+
557
+ def struct_fields; FIELDS; end
558
+
559
+ def validate
560
+ end
561
+
562
+ ::Thrift::Struct.generate_accessors self
563
+ end
564
+
565
+ class UpdateWebBackground_result
566
+ include ::Thrift::Struct, ::Thrift::Struct_Union
567
+
568
+ FIELDS = {
569
+
570
+ }
571
+
572
+ def struct_fields; FIELDS; end
573
+
574
+ def validate
575
+ end
576
+
577
+ ::Thrift::Struct.generate_accessors self
578
+ end
579
+
580
+ class UpdateMobileBackground_args
581
+ include ::Thrift::Struct, ::Thrift::Struct_Union
582
+ UID = 1
583
+ FILEPATH = 2
584
+ STATISTICPARAMS = 3
585
+
586
+ FIELDS = {
587
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
588
+ FILEPATH => {:type => ::Thrift::Types::STRING, :name => 'filePath'},
589
+ STATISTICPARAMS => {:type => ::Thrift::Types::STRUCT, :name => 'statisticParams', :class => ::Profile::Thrift::StatisticParameters}
590
+ }
591
+
592
+ def struct_fields; FIELDS; end
593
+
594
+ def validate
595
+ end
596
+
597
+ ::Thrift::Struct.generate_accessors self
598
+ end
599
+
600
+ class UpdateMobileBackground_result
601
+ include ::Thrift::Struct, ::Thrift::Struct_Union
602
+
603
+ FIELDS = {
604
+
605
+ }
606
+
607
+ def struct_fields; FIELDS; end
608
+
609
+ def validate
610
+ end
611
+
612
+ ::Thrift::Struct.generate_accessors self
613
+ end
614
+
615
+ class GetProfileByUid_args
616
+ include ::Thrift::Struct, ::Thrift::Struct_Union
617
+ UID = 1
618
+
619
+ FIELDS = {
620
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'}
621
+ }
622
+
623
+ def struct_fields; FIELDS; end
624
+
625
+ def validate
626
+ end
627
+
628
+ ::Thrift::Struct.generate_accessors self
629
+ end
630
+
631
+ class GetProfileByUid_result
632
+ include ::Thrift::Struct, ::Thrift::Struct_Union
633
+ SUCCESS = 0
634
+
635
+ FIELDS = {
636
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Profile::Thrift::Profile}
637
+ }
638
+
639
+ def struct_fields; FIELDS; end
640
+
641
+ def validate
642
+ end
643
+
644
+ ::Thrift::Struct.generate_accessors self
645
+ end
646
+
647
+ class GetProfileByUids_args
648
+ include ::Thrift::Struct, ::Thrift::Struct_Union
649
+ UIDS = 1
650
+
651
+ FIELDS = {
652
+ UIDS => {:type => ::Thrift::Types::LIST, :name => 'uids', :element => {:type => ::Thrift::Types::I64}}
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 GetProfileByUids_result
664
+ include ::Thrift::Struct, ::Thrift::Struct_Union
665
+ SUCCESS = 0
666
+
667
+ FIELDS = {
668
+ SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::I64}, :value => {:type => ::Thrift::Types::STRUCT, :class => ::Profile::Thrift::Profile}}
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 GetNicknameByUid_args
680
+ include ::Thrift::Struct, ::Thrift::Struct_Union
681
+ UID = 1
682
+
683
+ FIELDS = {
684
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'}
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 GetNicknameByUid_result
696
+ include ::Thrift::Struct, ::Thrift::Struct_Union
697
+ SUCCESS = 0
698
+
699
+ FIELDS = {
700
+ SUCCESS => {:type => ::Thrift::Types::STRING, :name => 'success'}
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 GetMultiNickNameByUids_args
712
+ include ::Thrift::Struct, ::Thrift::Struct_Union
713
+ UIDLIST = 1
714
+
715
+ FIELDS = {
716
+ UIDLIST => {:type => ::Thrift::Types::LIST, :name => 'uidList', :element => {:type => ::Thrift::Types::I64}}
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 GetMultiNickNameByUids_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::I64}, :value => {:type => ::Thrift::Types::STRING}}
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
+ class QueryUserBasicInfo_args
744
+ include ::Thrift::Struct, ::Thrift::Struct_Union
745
+ UID = 1
746
+
747
+ FIELDS = {
748
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'}
749
+ }
750
+
751
+ def struct_fields; FIELDS; end
752
+
753
+ def validate
754
+ end
755
+
756
+ ::Thrift::Struct.generate_accessors self
757
+ end
758
+
759
+ class QueryUserBasicInfo_result
760
+ include ::Thrift::Struct, ::Thrift::Struct_Union
761
+ SUCCESS = 0
762
+
763
+ FIELDS = {
764
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Profile::Thrift::UserBasicInfo}
765
+ }
766
+
767
+ def struct_fields; FIELDS; end
768
+
769
+ def validate
770
+ end
771
+
772
+ ::Thrift::Struct.generate_accessors self
773
+ end
774
+
775
+ class GetMultiUserBasicInfos_args
776
+ include ::Thrift::Struct, ::Thrift::Struct_Union
777
+ UIDS = 1
778
+
779
+ FIELDS = {
780
+ UIDS => {:type => ::Thrift::Types::LIST, :name => 'uids', :element => {:type => ::Thrift::Types::I64}}
781
+ }
782
+
783
+ def struct_fields; FIELDS; end
784
+
785
+ def validate
786
+ end
787
+
788
+ ::Thrift::Struct.generate_accessors self
789
+ end
790
+
791
+ class GetMultiUserBasicInfos_result
792
+ include ::Thrift::Struct, ::Thrift::Struct_Union
793
+ SUCCESS = 0
794
+
795
+ FIELDS = {
796
+ SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::I64}, :value => {:type => ::Thrift::Types::STRUCT, :class => ::Profile::Thrift::UserBasicInfo}}
797
+ }
798
+
799
+ def struct_fields; FIELDS; end
800
+
801
+ def validate
802
+ end
803
+
804
+ ::Thrift::Struct.generate_accessors self
805
+ end
806
+
807
+ class QueryUserSimpleInfo_args
808
+ include ::Thrift::Struct, ::Thrift::Struct_Union
809
+ UID = 1
810
+
811
+ FIELDS = {
812
+ UID => {:type => ::Thrift::Types::I64, :name => 'uid'}
813
+ }
814
+
815
+ def struct_fields; FIELDS; end
816
+
817
+ def validate
818
+ end
819
+
820
+ ::Thrift::Struct.generate_accessors self
821
+ end
822
+
823
+ class QueryUserSimpleInfo_result
824
+ include ::Thrift::Struct, ::Thrift::Struct_Union
825
+ SUCCESS = 0
826
+
827
+ FIELDS = {
828
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Profile::Thrift::UserSimpleInfo}
829
+ }
830
+
831
+ def struct_fields; FIELDS; end
832
+
833
+ def validate
834
+ end
835
+
836
+ ::Thrift::Struct.generate_accessors self
837
+ end
838
+
839
+ class GetMultiUserSimpleInfos_args
840
+ include ::Thrift::Struct, ::Thrift::Struct_Union
841
+ UIDS = 1
842
+
843
+ FIELDS = {
844
+ UIDS => {:type => ::Thrift::Types::LIST, :name => 'uids', :element => {:type => ::Thrift::Types::I64}}
845
+ }
846
+
847
+ def struct_fields; FIELDS; end
848
+
849
+ def validate
850
+ end
851
+
852
+ ::Thrift::Struct.generate_accessors self
853
+ end
854
+
855
+ class GetMultiUserSimpleInfos_result
856
+ include ::Thrift::Struct, ::Thrift::Struct_Union
857
+ SUCCESS = 0
858
+
859
+ FIELDS = {
860
+ SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::I64}, :value => {:type => ::Thrift::Types::STRUCT, :class => ::Profile::Thrift::UserSimpleInfo}}
861
+ }
862
+
863
+ def struct_fields; FIELDS; end
864
+
865
+ def validate
866
+ end
867
+
868
+ ::Thrift::Struct.generate_accessors self
869
+ end
870
+
871
+ class GetProfileByNickname_args
872
+ include ::Thrift::Struct, ::Thrift::Struct_Union
873
+ NICKNAME = 1
874
+
875
+ FIELDS = {
876
+ NICKNAME => {:type => ::Thrift::Types::STRING, :name => 'nickname'}
877
+ }
878
+
879
+ def struct_fields; FIELDS; end
880
+
881
+ def validate
882
+ end
883
+
884
+ ::Thrift::Struct.generate_accessors self
885
+ end
886
+
887
+ class GetProfileByNickname_result
888
+ include ::Thrift::Struct, ::Thrift::Struct_Union
889
+ SUCCESS = 0
890
+
891
+ FIELDS = {
892
+ SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Profile::Thrift::Profile}}
893
+ }
894
+
895
+ def struct_fields; FIELDS; end
896
+
897
+ def validate
898
+ end
899
+
900
+ ::Thrift::Struct.generate_accessors self
901
+ end
902
+
903
+ class CheckNickname_args
904
+ include ::Thrift::Struct, ::Thrift::Struct_Union
905
+ OLDNICKNAME = 1
906
+ NICKNAME = 2
907
+
908
+ FIELDS = {
909
+ OLDNICKNAME => {:type => ::Thrift::Types::STRING, :name => 'oldNickname'},
910
+ NICKNAME => {:type => ::Thrift::Types::STRING, :name => 'nickname'}
911
+ }
912
+
913
+ def struct_fields; FIELDS; end
914
+
915
+ def validate
916
+ end
917
+
918
+ ::Thrift::Struct.generate_accessors self
919
+ end
920
+
921
+ class CheckNickname_result
922
+ include ::Thrift::Struct, ::Thrift::Struct_Union
923
+ SUCCESS = 0
924
+
925
+ FIELDS = {
926
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Profile::Thrift::ThriftCommonResponse}
927
+ }
928
+
929
+ def struct_fields; FIELDS; end
930
+
931
+ def validate
932
+ end
933
+
934
+ ::Thrift::Struct.generate_accessors self
935
+ end
936
+
937
+ class CheckNicknameFormat_args
938
+ include ::Thrift::Struct, ::Thrift::Struct_Union
939
+ NICKNAME = 1
940
+
941
+ FIELDS = {
942
+ NICKNAME => {:type => ::Thrift::Types::STRING, :name => 'nickname'}
943
+ }
944
+
945
+ def struct_fields; FIELDS; end
946
+
947
+ def validate
948
+ end
949
+
950
+ ::Thrift::Struct.generate_accessors self
951
+ end
952
+
953
+ class CheckNicknameFormat_result
954
+ include ::Thrift::Struct, ::Thrift::Struct_Union
955
+ SUCCESS = 0
956
+
957
+ FIELDS = {
958
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Profile::Thrift::ThriftCommonResponse}
959
+ }
960
+
961
+ def struct_fields; FIELDS; end
962
+
963
+ def validate
964
+ end
965
+
966
+ ::Thrift::Struct.generate_accessors self
967
+ end
968
+
969
+ class CheckNicknameDuplicate_args
970
+ include ::Thrift::Struct, ::Thrift::Struct_Union
971
+ OLDNICKNAME = 1
972
+ NICKNAME = 2
973
+
974
+ FIELDS = {
975
+ OLDNICKNAME => {:type => ::Thrift::Types::STRING, :name => 'oldNickname'},
976
+ NICKNAME => {:type => ::Thrift::Types::STRING, :name => 'nickname'}
977
+ }
978
+
979
+ def struct_fields; FIELDS; end
980
+
981
+ def validate
982
+ end
983
+
984
+ ::Thrift::Struct.generate_accessors self
985
+ end
986
+
987
+ class CheckNicknameDuplicate_result
988
+ include ::Thrift::Struct, ::Thrift::Struct_Union
989
+ SUCCESS = 0
990
+
991
+ FIELDS = {
992
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Profile::Thrift::ThriftCommonResponse}
993
+ }
994
+
995
+ def struct_fields; FIELDS; end
996
+
997
+ def validate
998
+ end
999
+
1000
+ ::Thrift::Struct.generate_accessors self
1001
+ end
1002
+
1003
+ class GetProfielByEmail_args
1004
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1005
+ EMAIL = 1
1006
+
1007
+ FIELDS = {
1008
+ EMAIL => {:type => ::Thrift::Types::STRING, :name => 'email'}
1009
+ }
1010
+
1011
+ def struct_fields; FIELDS; end
1012
+
1013
+ def validate
1014
+ end
1015
+
1016
+ ::Thrift::Struct.generate_accessors self
1017
+ end
1018
+
1019
+ class GetProfielByEmail_result
1020
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1021
+ SUCCESS = 0
1022
+
1023
+ FIELDS = {
1024
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Profile::Thrift::Profile}
1025
+ }
1026
+
1027
+ def struct_fields; FIELDS; end
1028
+
1029
+ def validate
1030
+ end
1031
+
1032
+ ::Thrift::Struct.generate_accessors self
1033
+ end
1034
+
1035
+ class GetVerifiedUid_args
1036
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1037
+ PAGEID = 1
1038
+ PAGESIZE = 2
1039
+
1040
+ FIELDS = {
1041
+ PAGEID => {:type => ::Thrift::Types::I32, :name => 'pageId'},
1042
+ PAGESIZE => {:type => ::Thrift::Types::I32, :name => 'pageSize'}
1043
+ }
1044
+
1045
+ def struct_fields; FIELDS; end
1046
+
1047
+ def validate
1048
+ end
1049
+
1050
+ ::Thrift::Struct.generate_accessors self
1051
+ end
1052
+
1053
+ class GetVerifiedUid_result
1054
+ include ::Thrift::Struct, ::Thrift::Struct_Union
1055
+ SUCCESS = 0
1056
+
1057
+ FIELDS = {
1058
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Profile::Thrift::PageUid}
1059
+ }
1060
+
1061
+ def struct_fields; FIELDS; end
1062
+
1063
+ def validate
1064
+ end
1065
+
1066
+ ::Thrift::Struct.generate_accessors self
1067
+ end
1068
+
1069
+ end
1070
+
1071
+ end
1072
+ end