profile_service_thrift_client 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/profile_constants.rb +15 -0
- data/lib/profile_types.rb +338 -0
- data/lib/remote_backend_profile_service.rb +482 -0
- data/lib/remote_nickname_service.rb +352 -0
- data/lib/remote_profile_modify_service.rb +784 -0
- data/lib/remote_user_info_query_service.rb +356 -0
- data/lib/remote_user_track_service.rb +360 -0
- metadata +49 -0
@@ -0,0 +1,784 @@
|
|
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 'profile_types'
|
9
|
+
|
10
|
+
module Service
|
11
|
+
module Profile
|
12
|
+
module Thrift
|
13
|
+
module RemoteProfileModifyService
|
14
|
+
class Client
|
15
|
+
include ::Thrift::Client
|
16
|
+
|
17
|
+
def createProfile(uid, registerationProfile)
|
18
|
+
send_createProfile(uid, registerationProfile)
|
19
|
+
return recv_createProfile()
|
20
|
+
end
|
21
|
+
|
22
|
+
def send_createProfile(uid, registerationProfile)
|
23
|
+
send_message('createProfile', CreateProfile_args, :uid => uid, :registerationProfile => registerationProfile)
|
24
|
+
end
|
25
|
+
|
26
|
+
def recv_createProfile()
|
27
|
+
result = receive_message(CreateProfile_result)
|
28
|
+
return result.success unless result.success.nil?
|
29
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'createProfile failed: unknown result')
|
30
|
+
end
|
31
|
+
|
32
|
+
def settingProfile(uid, profile)
|
33
|
+
send_settingProfile(uid, profile)
|
34
|
+
return recv_settingProfile()
|
35
|
+
end
|
36
|
+
|
37
|
+
def send_settingProfile(uid, profile)
|
38
|
+
send_message('settingProfile', SettingProfile_args, :uid => uid, :profile => profile)
|
39
|
+
end
|
40
|
+
|
41
|
+
def recv_settingProfile()
|
42
|
+
result = receive_message(SettingProfile_result)
|
43
|
+
return result.success unless result.success.nil?
|
44
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'settingProfile failed: unknown result')
|
45
|
+
end
|
46
|
+
|
47
|
+
def updateNickName(uid, oldNickname, newNickname, clientInfo)
|
48
|
+
send_updateNickName(uid, oldNickname, newNickname, clientInfo)
|
49
|
+
return recv_updateNickName()
|
50
|
+
end
|
51
|
+
|
52
|
+
def send_updateNickName(uid, oldNickname, newNickname, clientInfo)
|
53
|
+
send_message('updateNickName', UpdateNickName_args, :uid => uid, :oldNickname => oldNickname, :newNickname => newNickname, :clientInfo => clientInfo)
|
54
|
+
end
|
55
|
+
|
56
|
+
def recv_updateNickName()
|
57
|
+
result = receive_message(UpdateNickName_result)
|
58
|
+
return result.success unless result.success.nil?
|
59
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'updateNickName failed: unknown result')
|
60
|
+
end
|
61
|
+
|
62
|
+
def updateSignature(uid, signature, clientInfo)
|
63
|
+
send_updateSignature(uid, signature, clientInfo)
|
64
|
+
return recv_updateSignature()
|
65
|
+
end
|
66
|
+
|
67
|
+
def send_updateSignature(uid, signature, clientInfo)
|
68
|
+
send_message('updateSignature', UpdateSignature_args, :uid => uid, :signature => signature, :clientInfo => clientInfo)
|
69
|
+
end
|
70
|
+
|
71
|
+
def recv_updateSignature()
|
72
|
+
result = receive_message(UpdateSignature_result)
|
73
|
+
return result.success unless result.success.nil?
|
74
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'updateSignature failed: unknown result')
|
75
|
+
end
|
76
|
+
|
77
|
+
def updateHeader(uid, logoPicUri, clientInfo)
|
78
|
+
send_updateHeader(uid, logoPicUri, clientInfo)
|
79
|
+
return recv_updateHeader()
|
80
|
+
end
|
81
|
+
|
82
|
+
def send_updateHeader(uid, logoPicUri, clientInfo)
|
83
|
+
send_message('updateHeader', UpdateHeader_args, :uid => uid, :logoPicUri => logoPicUri, :clientInfo => clientInfo)
|
84
|
+
end
|
85
|
+
|
86
|
+
def recv_updateHeader()
|
87
|
+
result = receive_message(UpdateHeader_result)
|
88
|
+
return result.success unless result.success.nil?
|
89
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'updateHeader failed: unknown result')
|
90
|
+
end
|
91
|
+
|
92
|
+
def updateWebBackGroundPic(uid, backgroundUri, positionx, positiony, clientInfo)
|
93
|
+
send_updateWebBackGroundPic(uid, backgroundUri, positionx, positiony, clientInfo)
|
94
|
+
return recv_updateWebBackGroundPic()
|
95
|
+
end
|
96
|
+
|
97
|
+
def send_updateWebBackGroundPic(uid, backgroundUri, positionx, positiony, clientInfo)
|
98
|
+
send_message('updateWebBackGroundPic', UpdateWebBackGroundPic_args, :uid => uid, :backgroundUri => backgroundUri, :positionx => positionx, :positiony => positiony, :clientInfo => clientInfo)
|
99
|
+
end
|
100
|
+
|
101
|
+
def recv_updateWebBackGroundPic()
|
102
|
+
result = receive_message(UpdateWebBackGroundPic_result)
|
103
|
+
return result.success unless result.success.nil?
|
104
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'updateWebBackGroundPic failed: unknown result')
|
105
|
+
end
|
106
|
+
|
107
|
+
def updateMobileBackGroundPic(uid, backgroundUri, clientInfo)
|
108
|
+
send_updateMobileBackGroundPic(uid, backgroundUri, clientInfo)
|
109
|
+
return recv_updateMobileBackGroundPic()
|
110
|
+
end
|
111
|
+
|
112
|
+
def send_updateMobileBackGroundPic(uid, backgroundUri, clientInfo)
|
113
|
+
send_message('updateMobileBackGroundPic', UpdateMobileBackGroundPic_args, :uid => uid, :backgroundUri => backgroundUri, :clientInfo => clientInfo)
|
114
|
+
end
|
115
|
+
|
116
|
+
def recv_updateMobileBackGroundPic()
|
117
|
+
result = receive_message(UpdateMobileBackGroundPic_result)
|
118
|
+
return result.success unless result.success.nil?
|
119
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'updateMobileBackGroundPic failed: unknown result')
|
120
|
+
end
|
121
|
+
|
122
|
+
def verifyEmailStatus(uid, clientInfo)
|
123
|
+
send_verifyEmailStatus(uid, clientInfo)
|
124
|
+
return recv_verifyEmailStatus()
|
125
|
+
end
|
126
|
+
|
127
|
+
def send_verifyEmailStatus(uid, clientInfo)
|
128
|
+
send_message('verifyEmailStatus', VerifyEmailStatus_args, :uid => uid, :clientInfo => clientInfo)
|
129
|
+
end
|
130
|
+
|
131
|
+
def recv_verifyEmailStatus()
|
132
|
+
result = receive_message(VerifyEmailStatus_result)
|
133
|
+
return result.success unless result.success.nil?
|
134
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'verifyEmailStatus failed: unknown result')
|
135
|
+
end
|
136
|
+
|
137
|
+
def updateResiteredGuideStep(uid, step)
|
138
|
+
send_updateResiteredGuideStep(uid, step)
|
139
|
+
return recv_updateResiteredGuideStep()
|
140
|
+
end
|
141
|
+
|
142
|
+
def send_updateResiteredGuideStep(uid, step)
|
143
|
+
send_message('updateResiteredGuideStep', UpdateResiteredGuideStep_args, :uid => uid, :step => step)
|
144
|
+
end
|
145
|
+
|
146
|
+
def recv_updateResiteredGuideStep()
|
147
|
+
result = receive_message(UpdateResiteredGuideStep_result)
|
148
|
+
return result.success unless result.success.nil?
|
149
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'updateResiteredGuideStep failed: unknown result')
|
150
|
+
end
|
151
|
+
|
152
|
+
def updateRegisteredCategoryIds(uid, categoryIds)
|
153
|
+
send_updateRegisteredCategoryIds(uid, categoryIds)
|
154
|
+
return recv_updateRegisteredCategoryIds()
|
155
|
+
end
|
156
|
+
|
157
|
+
def send_updateRegisteredCategoryIds(uid, categoryIds)
|
158
|
+
send_message('updateRegisteredCategoryIds', UpdateRegisteredCategoryIds_args, :uid => uid, :categoryIds => categoryIds)
|
159
|
+
end
|
160
|
+
|
161
|
+
def recv_updateRegisteredCategoryIds()
|
162
|
+
result = receive_message(UpdateRegisteredCategoryIds_result)
|
163
|
+
return result.success unless result.success.nil?
|
164
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'updateRegisteredCategoryIds failed: unknown result')
|
165
|
+
end
|
166
|
+
|
167
|
+
def updateLocation(uid, country, province, city, clientInfo)
|
168
|
+
send_updateLocation(uid, country, province, city, clientInfo)
|
169
|
+
return recv_updateLocation()
|
170
|
+
end
|
171
|
+
|
172
|
+
def send_updateLocation(uid, country, province, city, clientInfo)
|
173
|
+
send_message('updateLocation', UpdateLocation_args, :uid => uid, :country => country, :province => province, :city => city, :clientInfo => clientInfo)
|
174
|
+
end
|
175
|
+
|
176
|
+
def recv_updateLocation()
|
177
|
+
result = receive_message(UpdateLocation_result)
|
178
|
+
return result.success unless result.success.nil?
|
179
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'updateLocation failed: unknown result')
|
180
|
+
end
|
181
|
+
|
182
|
+
def updateEmail(uid, newEmail, clientInfo)
|
183
|
+
send_updateEmail(uid, newEmail, clientInfo)
|
184
|
+
return recv_updateEmail()
|
185
|
+
end
|
186
|
+
|
187
|
+
def send_updateEmail(uid, newEmail, clientInfo)
|
188
|
+
send_message('updateEmail', UpdateEmail_args, :uid => uid, :newEmail => newEmail, :clientInfo => clientInfo)
|
189
|
+
end
|
190
|
+
|
191
|
+
def recv_updateEmail()
|
192
|
+
result = receive_message(UpdateEmail_result)
|
193
|
+
return result.success unless result.success.nil?
|
194
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'updateEmail failed: unknown result')
|
195
|
+
end
|
196
|
+
|
197
|
+
def updateMobile(uid, newMobile, clientInfo)
|
198
|
+
send_updateMobile(uid, newMobile, clientInfo)
|
199
|
+
return recv_updateMobile()
|
200
|
+
end
|
201
|
+
|
202
|
+
def send_updateMobile(uid, newMobile, clientInfo)
|
203
|
+
send_message('updateMobile', UpdateMobile_args, :uid => uid, :newMobile => newMobile, :clientInfo => clientInfo)
|
204
|
+
end
|
205
|
+
|
206
|
+
def recv_updateMobile()
|
207
|
+
result = receive_message(UpdateMobile_result)
|
208
|
+
return result.success unless result.success.nil?
|
209
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'updateMobile failed: unknown result')
|
210
|
+
end
|
211
|
+
|
212
|
+
end
|
213
|
+
|
214
|
+
class Processor
|
215
|
+
include ::Thrift::Processor
|
216
|
+
|
217
|
+
def process_createProfile(seqid, iprot, oprot)
|
218
|
+
args = read_args(iprot, CreateProfile_args)
|
219
|
+
result = CreateProfile_result.new()
|
220
|
+
result.success = @handler.createProfile(args.uid, args.registerationProfile)
|
221
|
+
write_result(result, oprot, 'createProfile', seqid)
|
222
|
+
end
|
223
|
+
|
224
|
+
def process_settingProfile(seqid, iprot, oprot)
|
225
|
+
args = read_args(iprot, SettingProfile_args)
|
226
|
+
result = SettingProfile_result.new()
|
227
|
+
result.success = @handler.settingProfile(args.uid, args.profile)
|
228
|
+
write_result(result, oprot, 'settingProfile', seqid)
|
229
|
+
end
|
230
|
+
|
231
|
+
def process_updateNickName(seqid, iprot, oprot)
|
232
|
+
args = read_args(iprot, UpdateNickName_args)
|
233
|
+
result = UpdateNickName_result.new()
|
234
|
+
result.success = @handler.updateNickName(args.uid, args.oldNickname, args.newNickname, args.clientInfo)
|
235
|
+
write_result(result, oprot, 'updateNickName', seqid)
|
236
|
+
end
|
237
|
+
|
238
|
+
def process_updateSignature(seqid, iprot, oprot)
|
239
|
+
args = read_args(iprot, UpdateSignature_args)
|
240
|
+
result = UpdateSignature_result.new()
|
241
|
+
result.success = @handler.updateSignature(args.uid, args.signature, args.clientInfo)
|
242
|
+
write_result(result, oprot, 'updateSignature', seqid)
|
243
|
+
end
|
244
|
+
|
245
|
+
def process_updateHeader(seqid, iprot, oprot)
|
246
|
+
args = read_args(iprot, UpdateHeader_args)
|
247
|
+
result = UpdateHeader_result.new()
|
248
|
+
result.success = @handler.updateHeader(args.uid, args.logoPicUri, args.clientInfo)
|
249
|
+
write_result(result, oprot, 'updateHeader', seqid)
|
250
|
+
end
|
251
|
+
|
252
|
+
def process_updateWebBackGroundPic(seqid, iprot, oprot)
|
253
|
+
args = read_args(iprot, UpdateWebBackGroundPic_args)
|
254
|
+
result = UpdateWebBackGroundPic_result.new()
|
255
|
+
result.success = @handler.updateWebBackGroundPic(args.uid, args.backgroundUri, args.positionx, args.positiony, args.clientInfo)
|
256
|
+
write_result(result, oprot, 'updateWebBackGroundPic', seqid)
|
257
|
+
end
|
258
|
+
|
259
|
+
def process_updateMobileBackGroundPic(seqid, iprot, oprot)
|
260
|
+
args = read_args(iprot, UpdateMobileBackGroundPic_args)
|
261
|
+
result = UpdateMobileBackGroundPic_result.new()
|
262
|
+
result.success = @handler.updateMobileBackGroundPic(args.uid, args.backgroundUri, args.clientInfo)
|
263
|
+
write_result(result, oprot, 'updateMobileBackGroundPic', seqid)
|
264
|
+
end
|
265
|
+
|
266
|
+
def process_verifyEmailStatus(seqid, iprot, oprot)
|
267
|
+
args = read_args(iprot, VerifyEmailStatus_args)
|
268
|
+
result = VerifyEmailStatus_result.new()
|
269
|
+
result.success = @handler.verifyEmailStatus(args.uid, args.clientInfo)
|
270
|
+
write_result(result, oprot, 'verifyEmailStatus', seqid)
|
271
|
+
end
|
272
|
+
|
273
|
+
def process_updateResiteredGuideStep(seqid, iprot, oprot)
|
274
|
+
args = read_args(iprot, UpdateResiteredGuideStep_args)
|
275
|
+
result = UpdateResiteredGuideStep_result.new()
|
276
|
+
result.success = @handler.updateResiteredGuideStep(args.uid, args.step)
|
277
|
+
write_result(result, oprot, 'updateResiteredGuideStep', seqid)
|
278
|
+
end
|
279
|
+
|
280
|
+
def process_updateRegisteredCategoryIds(seqid, iprot, oprot)
|
281
|
+
args = read_args(iprot, UpdateRegisteredCategoryIds_args)
|
282
|
+
result = UpdateRegisteredCategoryIds_result.new()
|
283
|
+
result.success = @handler.updateRegisteredCategoryIds(args.uid, args.categoryIds)
|
284
|
+
write_result(result, oprot, 'updateRegisteredCategoryIds', seqid)
|
285
|
+
end
|
286
|
+
|
287
|
+
def process_updateLocation(seqid, iprot, oprot)
|
288
|
+
args = read_args(iprot, UpdateLocation_args)
|
289
|
+
result = UpdateLocation_result.new()
|
290
|
+
result.success = @handler.updateLocation(args.uid, args.country, args.province, args.city, args.clientInfo)
|
291
|
+
write_result(result, oprot, 'updateLocation', seqid)
|
292
|
+
end
|
293
|
+
|
294
|
+
def process_updateEmail(seqid, iprot, oprot)
|
295
|
+
args = read_args(iprot, UpdateEmail_args)
|
296
|
+
result = UpdateEmail_result.new()
|
297
|
+
result.success = @handler.updateEmail(args.uid, args.newEmail, args.clientInfo)
|
298
|
+
write_result(result, oprot, 'updateEmail', seqid)
|
299
|
+
end
|
300
|
+
|
301
|
+
def process_updateMobile(seqid, iprot, oprot)
|
302
|
+
args = read_args(iprot, UpdateMobile_args)
|
303
|
+
result = UpdateMobile_result.new()
|
304
|
+
result.success = @handler.updateMobile(args.uid, args.newMobile, args.clientInfo)
|
305
|
+
write_result(result, oprot, 'updateMobile', seqid)
|
306
|
+
end
|
307
|
+
|
308
|
+
end
|
309
|
+
|
310
|
+
# HELPER FUNCTIONS AND STRUCTURES
|
311
|
+
|
312
|
+
class CreateProfile_args
|
313
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
314
|
+
UID = 1
|
315
|
+
REGISTERATIONPROFILE = 2
|
316
|
+
|
317
|
+
FIELDS = {
|
318
|
+
UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
|
319
|
+
REGISTERATIONPROFILE => {:type => ::Thrift::Types::STRUCT, :name => 'registerationProfile', :class => ::Service::Profile::Thrift::RegisterationProfile}
|
320
|
+
}
|
321
|
+
|
322
|
+
def struct_fields; FIELDS; end
|
323
|
+
|
324
|
+
def validate
|
325
|
+
end
|
326
|
+
|
327
|
+
::Thrift::Struct.generate_accessors self
|
328
|
+
end
|
329
|
+
|
330
|
+
class CreateProfile_result
|
331
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
332
|
+
SUCCESS = 0
|
333
|
+
|
334
|
+
FIELDS = {
|
335
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Profile::Thrift::VoidResponse}
|
336
|
+
}
|
337
|
+
|
338
|
+
def struct_fields; FIELDS; end
|
339
|
+
|
340
|
+
def validate
|
341
|
+
end
|
342
|
+
|
343
|
+
::Thrift::Struct.generate_accessors self
|
344
|
+
end
|
345
|
+
|
346
|
+
class SettingProfile_args
|
347
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
348
|
+
UID = 1
|
349
|
+
PROFILE = 2
|
350
|
+
|
351
|
+
FIELDS = {
|
352
|
+
UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
|
353
|
+
PROFILE => {:type => ::Thrift::Types::STRUCT, :name => 'profile', :class => ::Service::Profile::Thrift::UpdatingProfile}
|
354
|
+
}
|
355
|
+
|
356
|
+
def struct_fields; FIELDS; end
|
357
|
+
|
358
|
+
def validate
|
359
|
+
end
|
360
|
+
|
361
|
+
::Thrift::Struct.generate_accessors self
|
362
|
+
end
|
363
|
+
|
364
|
+
class SettingProfile_result
|
365
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
366
|
+
SUCCESS = 0
|
367
|
+
|
368
|
+
FIELDS = {
|
369
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Profile::Thrift::VoidResponse}
|
370
|
+
}
|
371
|
+
|
372
|
+
def struct_fields; FIELDS; end
|
373
|
+
|
374
|
+
def validate
|
375
|
+
end
|
376
|
+
|
377
|
+
::Thrift::Struct.generate_accessors self
|
378
|
+
end
|
379
|
+
|
380
|
+
class UpdateNickName_args
|
381
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
382
|
+
UID = 1
|
383
|
+
OLDNICKNAME = 2
|
384
|
+
NEWNICKNAME = 3
|
385
|
+
CLIENTINFO = 4
|
386
|
+
|
387
|
+
FIELDS = {
|
388
|
+
UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
|
389
|
+
OLDNICKNAME => {:type => ::Thrift::Types::STRING, :name => 'oldNickname'},
|
390
|
+
NEWNICKNAME => {:type => ::Thrift::Types::STRING, :name => 'newNickname'},
|
391
|
+
CLIENTINFO => {:type => ::Thrift::Types::STRUCT, :name => 'clientInfo', :class => ::Service::Profile::Thrift::ClientInfo}
|
392
|
+
}
|
393
|
+
|
394
|
+
def struct_fields; FIELDS; end
|
395
|
+
|
396
|
+
def validate
|
397
|
+
end
|
398
|
+
|
399
|
+
::Thrift::Struct.generate_accessors self
|
400
|
+
end
|
401
|
+
|
402
|
+
class UpdateNickName_result
|
403
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
404
|
+
SUCCESS = 0
|
405
|
+
|
406
|
+
FIELDS = {
|
407
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Profile::Thrift::VoidResponse}
|
408
|
+
}
|
409
|
+
|
410
|
+
def struct_fields; FIELDS; end
|
411
|
+
|
412
|
+
def validate
|
413
|
+
end
|
414
|
+
|
415
|
+
::Thrift::Struct.generate_accessors self
|
416
|
+
end
|
417
|
+
|
418
|
+
class UpdateSignature_args
|
419
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
420
|
+
UID = 1
|
421
|
+
SIGNATURE = 2
|
422
|
+
CLIENTINFO = 3
|
423
|
+
|
424
|
+
FIELDS = {
|
425
|
+
UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
|
426
|
+
SIGNATURE => {:type => ::Thrift::Types::STRING, :name => 'signature'},
|
427
|
+
CLIENTINFO => {:type => ::Thrift::Types::STRUCT, :name => 'clientInfo', :class => ::Service::Profile::Thrift::ClientInfo}
|
428
|
+
}
|
429
|
+
|
430
|
+
def struct_fields; FIELDS; end
|
431
|
+
|
432
|
+
def validate
|
433
|
+
end
|
434
|
+
|
435
|
+
::Thrift::Struct.generate_accessors self
|
436
|
+
end
|
437
|
+
|
438
|
+
class UpdateSignature_result
|
439
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
440
|
+
SUCCESS = 0
|
441
|
+
|
442
|
+
FIELDS = {
|
443
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Profile::Thrift::VoidResponse}
|
444
|
+
}
|
445
|
+
|
446
|
+
def struct_fields; FIELDS; end
|
447
|
+
|
448
|
+
def validate
|
449
|
+
end
|
450
|
+
|
451
|
+
::Thrift::Struct.generate_accessors self
|
452
|
+
end
|
453
|
+
|
454
|
+
class UpdateHeader_args
|
455
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
456
|
+
UID = 1
|
457
|
+
LOGOPICURI = 2
|
458
|
+
CLIENTINFO = 3
|
459
|
+
|
460
|
+
FIELDS = {
|
461
|
+
UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
|
462
|
+
LOGOPICURI => {:type => ::Thrift::Types::STRING, :name => 'logoPicUri'},
|
463
|
+
CLIENTINFO => {:type => ::Thrift::Types::STRUCT, :name => 'clientInfo', :class => ::Service::Profile::Thrift::ClientInfo}
|
464
|
+
}
|
465
|
+
|
466
|
+
def struct_fields; FIELDS; end
|
467
|
+
|
468
|
+
def validate
|
469
|
+
end
|
470
|
+
|
471
|
+
::Thrift::Struct.generate_accessors self
|
472
|
+
end
|
473
|
+
|
474
|
+
class UpdateHeader_result
|
475
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
476
|
+
SUCCESS = 0
|
477
|
+
|
478
|
+
FIELDS = {
|
479
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Profile::Thrift::VoidResponse}
|
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 UpdateWebBackGroundPic_args
|
491
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
492
|
+
UID = 1
|
493
|
+
BACKGROUNDURI = 2
|
494
|
+
POSITIONX = 3
|
495
|
+
POSITIONY = 4
|
496
|
+
CLIENTINFO = 5
|
497
|
+
|
498
|
+
FIELDS = {
|
499
|
+
UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
|
500
|
+
BACKGROUNDURI => {:type => ::Thrift::Types::STRING, :name => 'backgroundUri'},
|
501
|
+
POSITIONX => {:type => ::Thrift::Types::I32, :name => 'positionx'},
|
502
|
+
POSITIONY => {:type => ::Thrift::Types::I32, :name => 'positiony'},
|
503
|
+
CLIENTINFO => {:type => ::Thrift::Types::STRUCT, :name => 'clientInfo', :class => ::Service::Profile::Thrift::ClientInfo}
|
504
|
+
}
|
505
|
+
|
506
|
+
def struct_fields; FIELDS; end
|
507
|
+
|
508
|
+
def validate
|
509
|
+
end
|
510
|
+
|
511
|
+
::Thrift::Struct.generate_accessors self
|
512
|
+
end
|
513
|
+
|
514
|
+
class UpdateWebBackGroundPic_result
|
515
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
516
|
+
SUCCESS = 0
|
517
|
+
|
518
|
+
FIELDS = {
|
519
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Profile::Thrift::VoidResponse}
|
520
|
+
}
|
521
|
+
|
522
|
+
def struct_fields; FIELDS; end
|
523
|
+
|
524
|
+
def validate
|
525
|
+
end
|
526
|
+
|
527
|
+
::Thrift::Struct.generate_accessors self
|
528
|
+
end
|
529
|
+
|
530
|
+
class UpdateMobileBackGroundPic_args
|
531
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
532
|
+
UID = 1
|
533
|
+
BACKGROUNDURI = 2
|
534
|
+
CLIENTINFO = 3
|
535
|
+
|
536
|
+
FIELDS = {
|
537
|
+
UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
|
538
|
+
BACKGROUNDURI => {:type => ::Thrift::Types::STRING, :name => 'backgroundUri'},
|
539
|
+
CLIENTINFO => {:type => ::Thrift::Types::STRUCT, :name => 'clientInfo', :class => ::Service::Profile::Thrift::ClientInfo}
|
540
|
+
}
|
541
|
+
|
542
|
+
def struct_fields; FIELDS; end
|
543
|
+
|
544
|
+
def validate
|
545
|
+
end
|
546
|
+
|
547
|
+
::Thrift::Struct.generate_accessors self
|
548
|
+
end
|
549
|
+
|
550
|
+
class UpdateMobileBackGroundPic_result
|
551
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
552
|
+
SUCCESS = 0
|
553
|
+
|
554
|
+
FIELDS = {
|
555
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Profile::Thrift::VoidResponse}
|
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
|
+
class VerifyEmailStatus_args
|
567
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
568
|
+
UID = 1
|
569
|
+
CLIENTINFO = 2
|
570
|
+
|
571
|
+
FIELDS = {
|
572
|
+
UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
|
573
|
+
CLIENTINFO => {:type => ::Thrift::Types::STRUCT, :name => 'clientInfo', :class => ::Service::Profile::Thrift::ClientInfo}
|
574
|
+
}
|
575
|
+
|
576
|
+
def struct_fields; FIELDS; end
|
577
|
+
|
578
|
+
def validate
|
579
|
+
end
|
580
|
+
|
581
|
+
::Thrift::Struct.generate_accessors self
|
582
|
+
end
|
583
|
+
|
584
|
+
class VerifyEmailStatus_result
|
585
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
586
|
+
SUCCESS = 0
|
587
|
+
|
588
|
+
FIELDS = {
|
589
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Profile::Thrift::VoidResponse}
|
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 UpdateResiteredGuideStep_args
|
601
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
602
|
+
UID = 1
|
603
|
+
STEP = 2
|
604
|
+
|
605
|
+
FIELDS = {
|
606
|
+
UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
|
607
|
+
STEP => {:type => ::Thrift::Types::I16, :name => 'step'}
|
608
|
+
}
|
609
|
+
|
610
|
+
def struct_fields; FIELDS; end
|
611
|
+
|
612
|
+
def validate
|
613
|
+
end
|
614
|
+
|
615
|
+
::Thrift::Struct.generate_accessors self
|
616
|
+
end
|
617
|
+
|
618
|
+
class UpdateResiteredGuideStep_result
|
619
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
620
|
+
SUCCESS = 0
|
621
|
+
|
622
|
+
FIELDS = {
|
623
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Profile::Thrift::VoidResponse}
|
624
|
+
}
|
625
|
+
|
626
|
+
def struct_fields; FIELDS; end
|
627
|
+
|
628
|
+
def validate
|
629
|
+
end
|
630
|
+
|
631
|
+
::Thrift::Struct.generate_accessors self
|
632
|
+
end
|
633
|
+
|
634
|
+
class UpdateRegisteredCategoryIds_args
|
635
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
636
|
+
UID = 1
|
637
|
+
CATEGORYIDS = 2
|
638
|
+
|
639
|
+
FIELDS = {
|
640
|
+
UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
|
641
|
+
CATEGORYIDS => {:type => ::Thrift::Types::STRING, :name => 'categoryIds'}
|
642
|
+
}
|
643
|
+
|
644
|
+
def struct_fields; FIELDS; end
|
645
|
+
|
646
|
+
def validate
|
647
|
+
end
|
648
|
+
|
649
|
+
::Thrift::Struct.generate_accessors self
|
650
|
+
end
|
651
|
+
|
652
|
+
class UpdateRegisteredCategoryIds_result
|
653
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
654
|
+
SUCCESS = 0
|
655
|
+
|
656
|
+
FIELDS = {
|
657
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Profile::Thrift::VoidResponse}
|
658
|
+
}
|
659
|
+
|
660
|
+
def struct_fields; FIELDS; end
|
661
|
+
|
662
|
+
def validate
|
663
|
+
end
|
664
|
+
|
665
|
+
::Thrift::Struct.generate_accessors self
|
666
|
+
end
|
667
|
+
|
668
|
+
class UpdateLocation_args
|
669
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
670
|
+
UID = 1
|
671
|
+
COUNTRY = 2
|
672
|
+
PROVINCE = 3
|
673
|
+
CITY = 4
|
674
|
+
CLIENTINFO = 5
|
675
|
+
|
676
|
+
FIELDS = {
|
677
|
+
UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
|
678
|
+
COUNTRY => {:type => ::Thrift::Types::STRING, :name => 'country'},
|
679
|
+
PROVINCE => {:type => ::Thrift::Types::STRING, :name => 'province'},
|
680
|
+
CITY => {:type => ::Thrift::Types::STRING, :name => 'city'},
|
681
|
+
CLIENTINFO => {:type => ::Thrift::Types::STRUCT, :name => 'clientInfo', :class => ::Service::Profile::Thrift::ClientInfo}
|
682
|
+
}
|
683
|
+
|
684
|
+
def struct_fields; FIELDS; end
|
685
|
+
|
686
|
+
def validate
|
687
|
+
end
|
688
|
+
|
689
|
+
::Thrift::Struct.generate_accessors self
|
690
|
+
end
|
691
|
+
|
692
|
+
class UpdateLocation_result
|
693
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
694
|
+
SUCCESS = 0
|
695
|
+
|
696
|
+
FIELDS = {
|
697
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Profile::Thrift::VoidResponse}
|
698
|
+
}
|
699
|
+
|
700
|
+
def struct_fields; FIELDS; end
|
701
|
+
|
702
|
+
def validate
|
703
|
+
end
|
704
|
+
|
705
|
+
::Thrift::Struct.generate_accessors self
|
706
|
+
end
|
707
|
+
|
708
|
+
class UpdateEmail_args
|
709
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
710
|
+
UID = 1
|
711
|
+
NEWEMAIL = 2
|
712
|
+
CLIENTINFO = 3
|
713
|
+
|
714
|
+
FIELDS = {
|
715
|
+
UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
|
716
|
+
NEWEMAIL => {:type => ::Thrift::Types::STRING, :name => 'newEmail'},
|
717
|
+
CLIENTINFO => {:type => ::Thrift::Types::STRUCT, :name => 'clientInfo', :class => ::Service::Profile::Thrift::ClientInfo}
|
718
|
+
}
|
719
|
+
|
720
|
+
def struct_fields; FIELDS; end
|
721
|
+
|
722
|
+
def validate
|
723
|
+
end
|
724
|
+
|
725
|
+
::Thrift::Struct.generate_accessors self
|
726
|
+
end
|
727
|
+
|
728
|
+
class UpdateEmail_result
|
729
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
730
|
+
SUCCESS = 0
|
731
|
+
|
732
|
+
FIELDS = {
|
733
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Profile::Thrift::VoidResponse}
|
734
|
+
}
|
735
|
+
|
736
|
+
def struct_fields; FIELDS; end
|
737
|
+
|
738
|
+
def validate
|
739
|
+
end
|
740
|
+
|
741
|
+
::Thrift::Struct.generate_accessors self
|
742
|
+
end
|
743
|
+
|
744
|
+
class UpdateMobile_args
|
745
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
746
|
+
UID = 1
|
747
|
+
NEWMOBILE = 2
|
748
|
+
CLIENTINFO = 3
|
749
|
+
|
750
|
+
FIELDS = {
|
751
|
+
UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
|
752
|
+
NEWMOBILE => {:type => ::Thrift::Types::STRING, :name => 'newMobile'},
|
753
|
+
CLIENTINFO => {:type => ::Thrift::Types::STRUCT, :name => 'clientInfo', :class => ::Service::Profile::Thrift::ClientInfo}
|
754
|
+
}
|
755
|
+
|
756
|
+
def struct_fields; FIELDS; end
|
757
|
+
|
758
|
+
def validate
|
759
|
+
end
|
760
|
+
|
761
|
+
::Thrift::Struct.generate_accessors self
|
762
|
+
end
|
763
|
+
|
764
|
+
class UpdateMobile_result
|
765
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
766
|
+
SUCCESS = 0
|
767
|
+
|
768
|
+
FIELDS = {
|
769
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Service::Profile::Thrift::VoidResponse}
|
770
|
+
}
|
771
|
+
|
772
|
+
def struct_fields; FIELDS; end
|
773
|
+
|
774
|
+
def validate
|
775
|
+
end
|
776
|
+
|
777
|
+
::Thrift::Struct.generate_accessors self
|
778
|
+
end
|
779
|
+
|
780
|
+
end
|
781
|
+
|
782
|
+
end
|
783
|
+
end
|
784
|
+
end
|