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,588 +1,588 @@
|
|
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 RemoteThirdpartySyncSetService
|
13
|
-
class Client
|
14
|
-
include ::Thrift::Client
|
15
|
-
|
16
|
-
def insertDefalutSyncSet(tpUid, thirdpartyName)
|
17
|
-
send_insertDefalutSyncSet(tpUid, thirdpartyName)
|
18
|
-
return recv_insertDefalutSyncSet()
|
19
|
-
end
|
20
|
-
|
21
|
-
def send_insertDefalutSyncSet(tpUid, thirdpartyName)
|
22
|
-
send_message('insertDefalutSyncSet', InsertDefalutSyncSet_args, :tpUid => tpUid, :thirdpartyName => thirdpartyName)
|
23
|
-
end
|
24
|
-
|
25
|
-
def recv_insertDefalutSyncSet()
|
26
|
-
result = receive_message(InsertDefalutSyncSet_result)
|
27
|
-
return result.success unless result.success.nil?
|
28
|
-
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'insertDefalutSyncSet failed: unknown result')
|
29
|
-
end
|
30
|
-
|
31
|
-
def insertOrUpdateToDefaultSet(tpUid, thirdpartyName)
|
32
|
-
send_insertOrUpdateToDefaultSet(tpUid, thirdpartyName)
|
33
|
-
return recv_insertOrUpdateToDefaultSet()
|
34
|
-
end
|
35
|
-
|
36
|
-
def send_insertOrUpdateToDefaultSet(tpUid, thirdpartyName)
|
37
|
-
send_message('insertOrUpdateToDefaultSet', InsertOrUpdateToDefaultSet_args, :tpUid => tpUid, :thirdpartyName => thirdpartyName)
|
38
|
-
end
|
39
|
-
|
40
|
-
def recv_insertOrUpdateToDefaultSet()
|
41
|
-
result = receive_message(InsertOrUpdateToDefaultSet_result)
|
42
|
-
return result.success unless result.success.nil?
|
43
|
-
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'insertOrUpdateToDefaultSet failed: unknown result')
|
44
|
-
end
|
45
|
-
|
46
|
-
def updateOrInsertSyncSet(tpUid, thirdpartyName, syncType, isChecked)
|
47
|
-
send_updateOrInsertSyncSet(tpUid, thirdpartyName, syncType, isChecked)
|
48
|
-
recv_updateOrInsertSyncSet()
|
49
|
-
end
|
50
|
-
|
51
|
-
def send_updateOrInsertSyncSet(tpUid, thirdpartyName, syncType, isChecked)
|
52
|
-
send_message('updateOrInsertSyncSet', UpdateOrInsertSyncSet_args, :tpUid => tpUid, :thirdpartyName => thirdpartyName, :syncType => syncType, :isChecked => isChecked)
|
53
|
-
end
|
54
|
-
|
55
|
-
def recv_updateOrInsertSyncSet()
|
56
|
-
result = receive_message(UpdateOrInsertSyncSet_result)
|
57
|
-
return
|
58
|
-
end
|
59
|
-
|
60
|
-
def updateOrInsertMultiSyncSetColumn(tpUid, thirdpartyName, types)
|
61
|
-
send_updateOrInsertMultiSyncSetColumn(tpUid, thirdpartyName, types)
|
62
|
-
recv_updateOrInsertMultiSyncSetColumn()
|
63
|
-
end
|
64
|
-
|
65
|
-
def send_updateOrInsertMultiSyncSetColumn(tpUid, thirdpartyName, types)
|
66
|
-
send_message('updateOrInsertMultiSyncSetColumn', UpdateOrInsertMultiSyncSetColumn_args, :tpUid => tpUid, :thirdpartyName => thirdpartyName, :types => types)
|
67
|
-
end
|
68
|
-
|
69
|
-
def recv_updateOrInsertMultiSyncSetColumn()
|
70
|
-
result = receive_message(UpdateOrInsertMultiSyncSetColumn_result)
|
71
|
-
return
|
72
|
-
end
|
73
|
-
|
74
|
-
def updateOrInsertMultiSyncSetColumnSelective(tpUid, thirdpartyName, checkedTypes, unCheckedTypes)
|
75
|
-
send_updateOrInsertMultiSyncSetColumnSelective(tpUid, thirdpartyName, checkedTypes, unCheckedTypes)
|
76
|
-
recv_updateOrInsertMultiSyncSetColumnSelective()
|
77
|
-
end
|
78
|
-
|
79
|
-
def send_updateOrInsertMultiSyncSetColumnSelective(tpUid, thirdpartyName, checkedTypes, unCheckedTypes)
|
80
|
-
send_message('updateOrInsertMultiSyncSetColumnSelective', UpdateOrInsertMultiSyncSetColumnSelective_args, :tpUid => tpUid, :thirdpartyName => thirdpartyName, :checkedTypes => checkedTypes, :unCheckedTypes => unCheckedTypes)
|
81
|
-
end
|
82
|
-
|
83
|
-
def recv_updateOrInsertMultiSyncSetColumnSelective()
|
84
|
-
result = receive_message(UpdateOrInsertMultiSyncSetColumnSelective_result)
|
85
|
-
return
|
86
|
-
end
|
87
|
-
|
88
|
-
def noMoreCommentSyncAlert(uid, noMoreAlert)
|
89
|
-
send_noMoreCommentSyncAlert(uid, noMoreAlert)
|
90
|
-
recv_noMoreCommentSyncAlert()
|
91
|
-
end
|
92
|
-
|
93
|
-
def send_noMoreCommentSyncAlert(uid, noMoreAlert)
|
94
|
-
send_message('noMoreCommentSyncAlert', NoMoreCommentSyncAlert_args, :uid => uid, :noMoreAlert => noMoreAlert)
|
95
|
-
end
|
96
|
-
|
97
|
-
def recv_noMoreCommentSyncAlert()
|
98
|
-
result = receive_message(NoMoreCommentSyncAlert_result)
|
99
|
-
return
|
100
|
-
end
|
101
|
-
|
102
|
-
def noMoreFavoriteSyncAlert(uid, noMoreAlert)
|
103
|
-
send_noMoreFavoriteSyncAlert(uid, noMoreAlert)
|
104
|
-
recv_noMoreFavoriteSyncAlert()
|
105
|
-
end
|
106
|
-
|
107
|
-
def send_noMoreFavoriteSyncAlert(uid, noMoreAlert)
|
108
|
-
send_message('noMoreFavoriteSyncAlert', NoMoreFavoriteSyncAlert_args, :uid => uid, :noMoreAlert => noMoreAlert)
|
109
|
-
end
|
110
|
-
|
111
|
-
def recv_noMoreFavoriteSyncAlert()
|
112
|
-
result = receive_message(NoMoreFavoriteSyncAlert_result)
|
113
|
-
return
|
114
|
-
end
|
115
|
-
|
116
|
-
def getSyncSetByType(tpUid, thirdpartyName, syncType)
|
117
|
-
send_getSyncSetByType(tpUid, thirdpartyName, syncType)
|
118
|
-
return recv_getSyncSetByType()
|
119
|
-
end
|
120
|
-
|
121
|
-
def send_getSyncSetByType(tpUid, thirdpartyName, syncType)
|
122
|
-
send_message('getSyncSetByType', GetSyncSetByType_args, :tpUid => tpUid, :thirdpartyName => thirdpartyName, :syncType => syncType)
|
123
|
-
end
|
124
|
-
|
125
|
-
def recv_getSyncSetByType()
|
126
|
-
result = receive_message(GetSyncSetByType_result)
|
127
|
-
return result.success unless result.success.nil?
|
128
|
-
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getSyncSetByType failed: unknown result')
|
129
|
-
end
|
130
|
-
|
131
|
-
def queryByTpUid(tpUid, thirdpartyName)
|
132
|
-
send_queryByTpUid(tpUid, thirdpartyName)
|
133
|
-
return recv_queryByTpUid()
|
134
|
-
end
|
135
|
-
|
136
|
-
def send_queryByTpUid(tpUid, thirdpartyName)
|
137
|
-
send_message('queryByTpUid', QueryByTpUid_args, :tpUid => tpUid, :thirdpartyName => thirdpartyName)
|
138
|
-
end
|
139
|
-
|
140
|
-
def recv_queryByTpUid()
|
141
|
-
result = receive_message(QueryByTpUid_result)
|
142
|
-
return result.success unless result.success.nil?
|
143
|
-
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryByTpUid failed: unknown result')
|
144
|
-
end
|
145
|
-
|
146
|
-
def queryBindThirdpartySyncSet(bindThirdpartys)
|
147
|
-
send_queryBindThirdpartySyncSet(bindThirdpartys)
|
148
|
-
return recv_queryBindThirdpartySyncSet()
|
149
|
-
end
|
150
|
-
|
151
|
-
def send_queryBindThirdpartySyncSet(bindThirdpartys)
|
152
|
-
send_message('queryBindThirdpartySyncSet', QueryBindThirdpartySyncSet_args, :bindThirdpartys => bindThirdpartys)
|
153
|
-
end
|
154
|
-
|
155
|
-
def recv_queryBindThirdpartySyncSet()
|
156
|
-
result = receive_message(QueryBindThirdpartySyncSet_result)
|
157
|
-
return result.success unless result.success.nil?
|
158
|
-
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryBindThirdpartySyncSet failed: unknown result')
|
159
|
-
end
|
160
|
-
|
161
|
-
end
|
162
|
-
|
163
|
-
class Processor
|
164
|
-
include ::Thrift::Processor
|
165
|
-
|
166
|
-
def process_insertDefalutSyncSet(seqid, iprot, oprot)
|
167
|
-
args = read_args(iprot, InsertDefalutSyncSet_args)
|
168
|
-
result = InsertDefalutSyncSet_result.new()
|
169
|
-
result.success = @handler.insertDefalutSyncSet(args.tpUid, args.thirdpartyName)
|
170
|
-
write_result(result, oprot, 'insertDefalutSyncSet', seqid)
|
171
|
-
end
|
172
|
-
|
173
|
-
def process_insertOrUpdateToDefaultSet(seqid, iprot, oprot)
|
174
|
-
args = read_args(iprot, InsertOrUpdateToDefaultSet_args)
|
175
|
-
result = InsertOrUpdateToDefaultSet_result.new()
|
176
|
-
result.success = @handler.insertOrUpdateToDefaultSet(args.tpUid, args.thirdpartyName)
|
177
|
-
write_result(result, oprot, 'insertOrUpdateToDefaultSet', seqid)
|
178
|
-
end
|
179
|
-
|
180
|
-
def process_updateOrInsertSyncSet(seqid, iprot, oprot)
|
181
|
-
args = read_args(iprot, UpdateOrInsertSyncSet_args)
|
182
|
-
result = UpdateOrInsertSyncSet_result.new()
|
183
|
-
@handler.updateOrInsertSyncSet(args.tpUid, args.thirdpartyName, args.syncType, args.isChecked)
|
184
|
-
write_result(result, oprot, 'updateOrInsertSyncSet', seqid)
|
185
|
-
end
|
186
|
-
|
187
|
-
def process_updateOrInsertMultiSyncSetColumn(seqid, iprot, oprot)
|
188
|
-
args = read_args(iprot, UpdateOrInsertMultiSyncSetColumn_args)
|
189
|
-
result = UpdateOrInsertMultiSyncSetColumn_result.new()
|
190
|
-
@handler.updateOrInsertMultiSyncSetColumn(args.tpUid, args.thirdpartyName, args.types)
|
191
|
-
write_result(result, oprot, 'updateOrInsertMultiSyncSetColumn', seqid)
|
192
|
-
end
|
193
|
-
|
194
|
-
def process_updateOrInsertMultiSyncSetColumnSelective(seqid, iprot, oprot)
|
195
|
-
args = read_args(iprot, UpdateOrInsertMultiSyncSetColumnSelective_args)
|
196
|
-
result = UpdateOrInsertMultiSyncSetColumnSelective_result.new()
|
197
|
-
@handler.updateOrInsertMultiSyncSetColumnSelective(args.tpUid, args.thirdpartyName, args.checkedTypes, args.unCheckedTypes)
|
198
|
-
write_result(result, oprot, 'updateOrInsertMultiSyncSetColumnSelective', seqid)
|
199
|
-
end
|
200
|
-
|
201
|
-
def process_noMoreCommentSyncAlert(seqid, iprot, oprot)
|
202
|
-
args = read_args(iprot, NoMoreCommentSyncAlert_args)
|
203
|
-
result = NoMoreCommentSyncAlert_result.new()
|
204
|
-
@handler.noMoreCommentSyncAlert(args.uid, args.noMoreAlert)
|
205
|
-
write_result(result, oprot, 'noMoreCommentSyncAlert', seqid)
|
206
|
-
end
|
207
|
-
|
208
|
-
def process_noMoreFavoriteSyncAlert(seqid, iprot, oprot)
|
209
|
-
args = read_args(iprot, NoMoreFavoriteSyncAlert_args)
|
210
|
-
result = NoMoreFavoriteSyncAlert_result.new()
|
211
|
-
@handler.noMoreFavoriteSyncAlert(args.uid, args.noMoreAlert)
|
212
|
-
write_result(result, oprot, 'noMoreFavoriteSyncAlert', seqid)
|
213
|
-
end
|
214
|
-
|
215
|
-
def process_getSyncSetByType(seqid, iprot, oprot)
|
216
|
-
args = read_args(iprot, GetSyncSetByType_args)
|
217
|
-
result = GetSyncSetByType_result.new()
|
218
|
-
result.success = @handler.getSyncSetByType(args.tpUid, args.thirdpartyName, args.syncType)
|
219
|
-
write_result(result, oprot, 'getSyncSetByType', seqid)
|
220
|
-
end
|
221
|
-
|
222
|
-
def process_queryByTpUid(seqid, iprot, oprot)
|
223
|
-
args = read_args(iprot, QueryByTpUid_args)
|
224
|
-
result = QueryByTpUid_result.new()
|
225
|
-
result.success = @handler.queryByTpUid(args.tpUid, args.thirdpartyName)
|
226
|
-
write_result(result, oprot, 'queryByTpUid', seqid)
|
227
|
-
end
|
228
|
-
|
229
|
-
def process_queryBindThirdpartySyncSet(seqid, iprot, oprot)
|
230
|
-
args = read_args(iprot, QueryBindThirdpartySyncSet_args)
|
231
|
-
result = QueryBindThirdpartySyncSet_result.new()
|
232
|
-
result.success = @handler.queryBindThirdpartySyncSet(args.bindThirdpartys)
|
233
|
-
write_result(result, oprot, 'queryBindThirdpartySyncSet', seqid)
|
234
|
-
end
|
235
|
-
|
236
|
-
end
|
237
|
-
|
238
|
-
# HELPER FUNCTIONS AND STRUCTURES
|
239
|
-
|
240
|
-
class InsertDefalutSyncSet_args
|
241
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
242
|
-
TPUID = 1
|
243
|
-
THIRDPARTYNAME = 2
|
244
|
-
|
245
|
-
FIELDS = {
|
246
|
-
TPUID => {:type => ::Thrift::Types::I64, :name => 'tpUid'},
|
247
|
-
THIRDPARTYNAME => {:type => ::Thrift::Types::STRING, :name => 'thirdpartyName'}
|
248
|
-
}
|
249
|
-
|
250
|
-
def struct_fields; FIELDS; end
|
251
|
-
|
252
|
-
def validate
|
253
|
-
end
|
254
|
-
|
255
|
-
::Thrift::Struct.generate_accessors self
|
256
|
-
end
|
257
|
-
|
258
|
-
class InsertDefalutSyncSet_result
|
259
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
260
|
-
SUCCESS = 0
|
261
|
-
|
262
|
-
FIELDS = {
|
263
|
-
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Passport::Thrift::ThirdpartySyncSet}
|
264
|
-
}
|
265
|
-
|
266
|
-
def struct_fields; FIELDS; end
|
267
|
-
|
268
|
-
def validate
|
269
|
-
end
|
270
|
-
|
271
|
-
::Thrift::Struct.generate_accessors self
|
272
|
-
end
|
273
|
-
|
274
|
-
class InsertOrUpdateToDefaultSet_args
|
275
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
276
|
-
TPUID = 1
|
277
|
-
THIRDPARTYNAME = 2
|
278
|
-
|
279
|
-
FIELDS = {
|
280
|
-
TPUID => {:type => ::Thrift::Types::I64, :name => 'tpUid'},
|
281
|
-
THIRDPARTYNAME => {:type => ::Thrift::Types::STRING, :name => 'thirdpartyName'}
|
282
|
-
}
|
283
|
-
|
284
|
-
def struct_fields; FIELDS; end
|
285
|
-
|
286
|
-
def validate
|
287
|
-
end
|
288
|
-
|
289
|
-
::Thrift::Struct.generate_accessors self
|
290
|
-
end
|
291
|
-
|
292
|
-
class InsertOrUpdateToDefaultSet_result
|
293
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
294
|
-
SUCCESS = 0
|
295
|
-
|
296
|
-
FIELDS = {
|
297
|
-
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Passport::Thrift::ThirdpartySyncSet}
|
298
|
-
}
|
299
|
-
|
300
|
-
def struct_fields; FIELDS; end
|
301
|
-
|
302
|
-
def validate
|
303
|
-
end
|
304
|
-
|
305
|
-
::Thrift::Struct.generate_accessors self
|
306
|
-
end
|
307
|
-
|
308
|
-
class UpdateOrInsertSyncSet_args
|
309
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
310
|
-
TPUID = 1
|
311
|
-
THIRDPARTYNAME = 2
|
312
|
-
SYNCTYPE = 3
|
313
|
-
ISCHECKED = 4
|
314
|
-
|
315
|
-
FIELDS = {
|
316
|
-
TPUID => {:type => ::Thrift::Types::I64, :name => 'tpUid'},
|
317
|
-
THIRDPARTYNAME => {:type => ::Thrift::Types::STRING, :name => 'thirdpartyName'},
|
318
|
-
SYNCTYPE => {:type => ::Thrift::Types::STRING, :name => 'syncType'},
|
319
|
-
ISCHECKED => {:type => ::Thrift::Types::BOOL, :name => 'isChecked'}
|
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 UpdateOrInsertSyncSet_result
|
331
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
332
|
-
|
333
|
-
FIELDS = {
|
334
|
-
|
335
|
-
}
|
336
|
-
|
337
|
-
def struct_fields; FIELDS; end
|
338
|
-
|
339
|
-
def validate
|
340
|
-
end
|
341
|
-
|
342
|
-
::Thrift::Struct.generate_accessors self
|
343
|
-
end
|
344
|
-
|
345
|
-
class UpdateOrInsertMultiSyncSetColumn_args
|
346
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
347
|
-
TPUID = 1
|
348
|
-
THIRDPARTYNAME = 2
|
349
|
-
TYPES = 3
|
350
|
-
|
351
|
-
FIELDS = {
|
352
|
-
TPUID => {:type => ::Thrift::Types::I64, :name => 'tpUid'},
|
353
|
-
THIRDPARTYNAME => {:type => ::Thrift::Types::STRING, :name => 'thirdpartyName'},
|
354
|
-
TYPES => {:type => ::Thrift::Types::LIST, :name => 'types', :element => {:type => ::Thrift::Types::STRING}}
|
355
|
-
}
|
356
|
-
|
357
|
-
def struct_fields; FIELDS; end
|
358
|
-
|
359
|
-
def validate
|
360
|
-
end
|
361
|
-
|
362
|
-
::Thrift::Struct.generate_accessors self
|
363
|
-
end
|
364
|
-
|
365
|
-
class UpdateOrInsertMultiSyncSetColumn_result
|
366
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
367
|
-
|
368
|
-
FIELDS = {
|
369
|
-
|
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 UpdateOrInsertMultiSyncSetColumnSelective_args
|
381
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
382
|
-
TPUID = 1
|
383
|
-
THIRDPARTYNAME = 2
|
384
|
-
CHECKEDTYPES = 3
|
385
|
-
UNCHECKEDTYPES = 4
|
386
|
-
|
387
|
-
FIELDS = {
|
388
|
-
TPUID => {:type => ::Thrift::Types::I64, :name => 'tpUid'},
|
389
|
-
THIRDPARTYNAME => {:type => ::Thrift::Types::STRING, :name => 'thirdpartyName'},
|
390
|
-
CHECKEDTYPES => {:type => ::Thrift::Types::LIST, :name => 'checkedTypes', :element => {:type => ::Thrift::Types::STRING}},
|
391
|
-
UNCHECKEDTYPES => {:type => ::Thrift::Types::LIST, :name => 'unCheckedTypes', :element => {:type => ::Thrift::Types::STRING}}
|
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 UpdateOrInsertMultiSyncSetColumnSelective_result
|
403
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
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 NoMoreCommentSyncAlert_args
|
418
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
419
|
-
UID = 1
|
420
|
-
NOMOREALERT = 2
|
421
|
-
|
422
|
-
FIELDS = {
|
423
|
-
UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
|
424
|
-
NOMOREALERT => {:type => ::Thrift::Types::BOOL, :name => 'noMoreAlert'}
|
425
|
-
}
|
426
|
-
|
427
|
-
def struct_fields; FIELDS; end
|
428
|
-
|
429
|
-
def validate
|
430
|
-
end
|
431
|
-
|
432
|
-
::Thrift::Struct.generate_accessors self
|
433
|
-
end
|
434
|
-
|
435
|
-
class NoMoreCommentSyncAlert_result
|
436
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
437
|
-
|
438
|
-
FIELDS = {
|
439
|
-
|
440
|
-
}
|
441
|
-
|
442
|
-
def struct_fields; FIELDS; end
|
443
|
-
|
444
|
-
def validate
|
445
|
-
end
|
446
|
-
|
447
|
-
::Thrift::Struct.generate_accessors self
|
448
|
-
end
|
449
|
-
|
450
|
-
class NoMoreFavoriteSyncAlert_args
|
451
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
452
|
-
UID = 1
|
453
|
-
NOMOREALERT = 2
|
454
|
-
|
455
|
-
FIELDS = {
|
456
|
-
UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
|
457
|
-
NOMOREALERT => {:type => ::Thrift::Types::BOOL, :name => 'noMoreAlert'}
|
458
|
-
}
|
459
|
-
|
460
|
-
def struct_fields; FIELDS; end
|
461
|
-
|
462
|
-
def validate
|
463
|
-
end
|
464
|
-
|
465
|
-
::Thrift::Struct.generate_accessors self
|
466
|
-
end
|
467
|
-
|
468
|
-
class NoMoreFavoriteSyncAlert_result
|
469
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
470
|
-
|
471
|
-
FIELDS = {
|
472
|
-
|
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 GetSyncSetByType_args
|
484
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
485
|
-
TPUID = 1
|
486
|
-
THIRDPARTYNAME = 2
|
487
|
-
SYNCTYPE = 3
|
488
|
-
|
489
|
-
FIELDS = {
|
490
|
-
TPUID => {:type => ::Thrift::Types::I64, :name => 'tpUid'},
|
491
|
-
THIRDPARTYNAME => {:type => ::Thrift::Types::STRING, :name => 'thirdpartyName'},
|
492
|
-
SYNCTYPE => {:type => ::Thrift::Types::STRING, :name => 'syncType'}
|
493
|
-
}
|
494
|
-
|
495
|
-
def struct_fields; FIELDS; end
|
496
|
-
|
497
|
-
def validate
|
498
|
-
end
|
499
|
-
|
500
|
-
::Thrift::Struct.generate_accessors self
|
501
|
-
end
|
502
|
-
|
503
|
-
class GetSyncSetByType_result
|
504
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
505
|
-
SUCCESS = 0
|
506
|
-
|
507
|
-
FIELDS = {
|
508
|
-
SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'}
|
509
|
-
}
|
510
|
-
|
511
|
-
def struct_fields; FIELDS; end
|
512
|
-
|
513
|
-
def validate
|
514
|
-
end
|
515
|
-
|
516
|
-
::Thrift::Struct.generate_accessors self
|
517
|
-
end
|
518
|
-
|
519
|
-
class QueryByTpUid_args
|
520
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
521
|
-
TPUID = 1
|
522
|
-
THIRDPARTYNAME = 2
|
523
|
-
|
524
|
-
FIELDS = {
|
525
|
-
TPUID => {:type => ::Thrift::Types::I64, :name => 'tpUid'},
|
526
|
-
THIRDPARTYNAME => {:type => ::Thrift::Types::STRING, :name => 'thirdpartyName'}
|
527
|
-
}
|
528
|
-
|
529
|
-
def struct_fields; FIELDS; end
|
530
|
-
|
531
|
-
def validate
|
532
|
-
end
|
533
|
-
|
534
|
-
::Thrift::Struct.generate_accessors self
|
535
|
-
end
|
536
|
-
|
537
|
-
class QueryByTpUid_result
|
538
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
539
|
-
SUCCESS = 0
|
540
|
-
|
541
|
-
FIELDS = {
|
542
|
-
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Passport::Thrift::ThirdpartySyncSet}
|
543
|
-
}
|
544
|
-
|
545
|
-
def struct_fields; FIELDS; end
|
546
|
-
|
547
|
-
def validate
|
548
|
-
end
|
549
|
-
|
550
|
-
::Thrift::Struct.generate_accessors self
|
551
|
-
end
|
552
|
-
|
553
|
-
class QueryBindThirdpartySyncSet_args
|
554
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
555
|
-
BINDTHIRDPARTYS = 1
|
556
|
-
|
557
|
-
FIELDS = {
|
558
|
-
BINDTHIRDPARTYS => {:type => ::Thrift::Types::LIST, :name => 'bindThirdpartys', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Passport::Thrift::BindStatus}}
|
559
|
-
}
|
560
|
-
|
561
|
-
def struct_fields; FIELDS; end
|
562
|
-
|
563
|
-
def validate
|
564
|
-
end
|
565
|
-
|
566
|
-
::Thrift::Struct.generate_accessors self
|
567
|
-
end
|
568
|
-
|
569
|
-
class QueryBindThirdpartySyncSet_result
|
570
|
-
include ::Thrift::Struct, ::Thrift::Struct_Union
|
571
|
-
SUCCESS = 0
|
572
|
-
|
573
|
-
FIELDS = {
|
574
|
-
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Passport::Thrift::ThirdpartySyncSet}}
|
575
|
-
}
|
576
|
-
|
577
|
-
def struct_fields; FIELDS; end
|
578
|
-
|
579
|
-
def validate
|
580
|
-
end
|
581
|
-
|
582
|
-
::Thrift::Struct.generate_accessors self
|
583
|
-
end
|
584
|
-
|
585
|
-
end
|
586
|
-
|
587
|
-
end
|
588
|
-
end
|
1
|
+
#
|
2
|
+
# Autogenerated by Thrift Compiler (0.9.1)
|
3
|
+
#
|
4
|
+
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
5
|
+
#
|
6
|
+
|
7
|
+
require 'thrift'
|
8
|
+
require 'remote_passport_types'
|
9
|
+
|
10
|
+
module Passport
|
11
|
+
module Thrift
|
12
|
+
module RemoteThirdpartySyncSetService
|
13
|
+
class Client
|
14
|
+
include ::Thrift::Client
|
15
|
+
|
16
|
+
def insertDefalutSyncSet(tpUid, thirdpartyName)
|
17
|
+
send_insertDefalutSyncSet(tpUid, thirdpartyName)
|
18
|
+
return recv_insertDefalutSyncSet()
|
19
|
+
end
|
20
|
+
|
21
|
+
def send_insertDefalutSyncSet(tpUid, thirdpartyName)
|
22
|
+
send_message('insertDefalutSyncSet', InsertDefalutSyncSet_args, :tpUid => tpUid, :thirdpartyName => thirdpartyName)
|
23
|
+
end
|
24
|
+
|
25
|
+
def recv_insertDefalutSyncSet()
|
26
|
+
result = receive_message(InsertDefalutSyncSet_result)
|
27
|
+
return result.success unless result.success.nil?
|
28
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'insertDefalutSyncSet failed: unknown result')
|
29
|
+
end
|
30
|
+
|
31
|
+
def insertOrUpdateToDefaultSet(tpUid, thirdpartyName)
|
32
|
+
send_insertOrUpdateToDefaultSet(tpUid, thirdpartyName)
|
33
|
+
return recv_insertOrUpdateToDefaultSet()
|
34
|
+
end
|
35
|
+
|
36
|
+
def send_insertOrUpdateToDefaultSet(tpUid, thirdpartyName)
|
37
|
+
send_message('insertOrUpdateToDefaultSet', InsertOrUpdateToDefaultSet_args, :tpUid => tpUid, :thirdpartyName => thirdpartyName)
|
38
|
+
end
|
39
|
+
|
40
|
+
def recv_insertOrUpdateToDefaultSet()
|
41
|
+
result = receive_message(InsertOrUpdateToDefaultSet_result)
|
42
|
+
return result.success unless result.success.nil?
|
43
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'insertOrUpdateToDefaultSet failed: unknown result')
|
44
|
+
end
|
45
|
+
|
46
|
+
def updateOrInsertSyncSet(tpUid, thirdpartyName, syncType, isChecked)
|
47
|
+
send_updateOrInsertSyncSet(tpUid, thirdpartyName, syncType, isChecked)
|
48
|
+
recv_updateOrInsertSyncSet()
|
49
|
+
end
|
50
|
+
|
51
|
+
def send_updateOrInsertSyncSet(tpUid, thirdpartyName, syncType, isChecked)
|
52
|
+
send_message('updateOrInsertSyncSet', UpdateOrInsertSyncSet_args, :tpUid => tpUid, :thirdpartyName => thirdpartyName, :syncType => syncType, :isChecked => isChecked)
|
53
|
+
end
|
54
|
+
|
55
|
+
def recv_updateOrInsertSyncSet()
|
56
|
+
result = receive_message(UpdateOrInsertSyncSet_result)
|
57
|
+
return
|
58
|
+
end
|
59
|
+
|
60
|
+
def updateOrInsertMultiSyncSetColumn(tpUid, thirdpartyName, types)
|
61
|
+
send_updateOrInsertMultiSyncSetColumn(tpUid, thirdpartyName, types)
|
62
|
+
recv_updateOrInsertMultiSyncSetColumn()
|
63
|
+
end
|
64
|
+
|
65
|
+
def send_updateOrInsertMultiSyncSetColumn(tpUid, thirdpartyName, types)
|
66
|
+
send_message('updateOrInsertMultiSyncSetColumn', UpdateOrInsertMultiSyncSetColumn_args, :tpUid => tpUid, :thirdpartyName => thirdpartyName, :types => types)
|
67
|
+
end
|
68
|
+
|
69
|
+
def recv_updateOrInsertMultiSyncSetColumn()
|
70
|
+
result = receive_message(UpdateOrInsertMultiSyncSetColumn_result)
|
71
|
+
return
|
72
|
+
end
|
73
|
+
|
74
|
+
def updateOrInsertMultiSyncSetColumnSelective(tpUid, thirdpartyName, checkedTypes, unCheckedTypes)
|
75
|
+
send_updateOrInsertMultiSyncSetColumnSelective(tpUid, thirdpartyName, checkedTypes, unCheckedTypes)
|
76
|
+
recv_updateOrInsertMultiSyncSetColumnSelective()
|
77
|
+
end
|
78
|
+
|
79
|
+
def send_updateOrInsertMultiSyncSetColumnSelective(tpUid, thirdpartyName, checkedTypes, unCheckedTypes)
|
80
|
+
send_message('updateOrInsertMultiSyncSetColumnSelective', UpdateOrInsertMultiSyncSetColumnSelective_args, :tpUid => tpUid, :thirdpartyName => thirdpartyName, :checkedTypes => checkedTypes, :unCheckedTypes => unCheckedTypes)
|
81
|
+
end
|
82
|
+
|
83
|
+
def recv_updateOrInsertMultiSyncSetColumnSelective()
|
84
|
+
result = receive_message(UpdateOrInsertMultiSyncSetColumnSelective_result)
|
85
|
+
return
|
86
|
+
end
|
87
|
+
|
88
|
+
def noMoreCommentSyncAlert(uid, noMoreAlert)
|
89
|
+
send_noMoreCommentSyncAlert(uid, noMoreAlert)
|
90
|
+
recv_noMoreCommentSyncAlert()
|
91
|
+
end
|
92
|
+
|
93
|
+
def send_noMoreCommentSyncAlert(uid, noMoreAlert)
|
94
|
+
send_message('noMoreCommentSyncAlert', NoMoreCommentSyncAlert_args, :uid => uid, :noMoreAlert => noMoreAlert)
|
95
|
+
end
|
96
|
+
|
97
|
+
def recv_noMoreCommentSyncAlert()
|
98
|
+
result = receive_message(NoMoreCommentSyncAlert_result)
|
99
|
+
return
|
100
|
+
end
|
101
|
+
|
102
|
+
def noMoreFavoriteSyncAlert(uid, noMoreAlert)
|
103
|
+
send_noMoreFavoriteSyncAlert(uid, noMoreAlert)
|
104
|
+
recv_noMoreFavoriteSyncAlert()
|
105
|
+
end
|
106
|
+
|
107
|
+
def send_noMoreFavoriteSyncAlert(uid, noMoreAlert)
|
108
|
+
send_message('noMoreFavoriteSyncAlert', NoMoreFavoriteSyncAlert_args, :uid => uid, :noMoreAlert => noMoreAlert)
|
109
|
+
end
|
110
|
+
|
111
|
+
def recv_noMoreFavoriteSyncAlert()
|
112
|
+
result = receive_message(NoMoreFavoriteSyncAlert_result)
|
113
|
+
return
|
114
|
+
end
|
115
|
+
|
116
|
+
def getSyncSetByType(tpUid, thirdpartyName, syncType)
|
117
|
+
send_getSyncSetByType(tpUid, thirdpartyName, syncType)
|
118
|
+
return recv_getSyncSetByType()
|
119
|
+
end
|
120
|
+
|
121
|
+
def send_getSyncSetByType(tpUid, thirdpartyName, syncType)
|
122
|
+
send_message('getSyncSetByType', GetSyncSetByType_args, :tpUid => tpUid, :thirdpartyName => thirdpartyName, :syncType => syncType)
|
123
|
+
end
|
124
|
+
|
125
|
+
def recv_getSyncSetByType()
|
126
|
+
result = receive_message(GetSyncSetByType_result)
|
127
|
+
return result.success unless result.success.nil?
|
128
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getSyncSetByType failed: unknown result')
|
129
|
+
end
|
130
|
+
|
131
|
+
def queryByTpUid(tpUid, thirdpartyName)
|
132
|
+
send_queryByTpUid(tpUid, thirdpartyName)
|
133
|
+
return recv_queryByTpUid()
|
134
|
+
end
|
135
|
+
|
136
|
+
def send_queryByTpUid(tpUid, thirdpartyName)
|
137
|
+
send_message('queryByTpUid', QueryByTpUid_args, :tpUid => tpUid, :thirdpartyName => thirdpartyName)
|
138
|
+
end
|
139
|
+
|
140
|
+
def recv_queryByTpUid()
|
141
|
+
result = receive_message(QueryByTpUid_result)
|
142
|
+
return result.success unless result.success.nil?
|
143
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryByTpUid failed: unknown result')
|
144
|
+
end
|
145
|
+
|
146
|
+
def queryBindThirdpartySyncSet(bindThirdpartys)
|
147
|
+
send_queryBindThirdpartySyncSet(bindThirdpartys)
|
148
|
+
return recv_queryBindThirdpartySyncSet()
|
149
|
+
end
|
150
|
+
|
151
|
+
def send_queryBindThirdpartySyncSet(bindThirdpartys)
|
152
|
+
send_message('queryBindThirdpartySyncSet', QueryBindThirdpartySyncSet_args, :bindThirdpartys => bindThirdpartys)
|
153
|
+
end
|
154
|
+
|
155
|
+
def recv_queryBindThirdpartySyncSet()
|
156
|
+
result = receive_message(QueryBindThirdpartySyncSet_result)
|
157
|
+
return result.success unless result.success.nil?
|
158
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'queryBindThirdpartySyncSet failed: unknown result')
|
159
|
+
end
|
160
|
+
|
161
|
+
end
|
162
|
+
|
163
|
+
class Processor
|
164
|
+
include ::Thrift::Processor
|
165
|
+
|
166
|
+
def process_insertDefalutSyncSet(seqid, iprot, oprot)
|
167
|
+
args = read_args(iprot, InsertDefalutSyncSet_args)
|
168
|
+
result = InsertDefalutSyncSet_result.new()
|
169
|
+
result.success = @handler.insertDefalutSyncSet(args.tpUid, args.thirdpartyName)
|
170
|
+
write_result(result, oprot, 'insertDefalutSyncSet', seqid)
|
171
|
+
end
|
172
|
+
|
173
|
+
def process_insertOrUpdateToDefaultSet(seqid, iprot, oprot)
|
174
|
+
args = read_args(iprot, InsertOrUpdateToDefaultSet_args)
|
175
|
+
result = InsertOrUpdateToDefaultSet_result.new()
|
176
|
+
result.success = @handler.insertOrUpdateToDefaultSet(args.tpUid, args.thirdpartyName)
|
177
|
+
write_result(result, oprot, 'insertOrUpdateToDefaultSet', seqid)
|
178
|
+
end
|
179
|
+
|
180
|
+
def process_updateOrInsertSyncSet(seqid, iprot, oprot)
|
181
|
+
args = read_args(iprot, UpdateOrInsertSyncSet_args)
|
182
|
+
result = UpdateOrInsertSyncSet_result.new()
|
183
|
+
@handler.updateOrInsertSyncSet(args.tpUid, args.thirdpartyName, args.syncType, args.isChecked)
|
184
|
+
write_result(result, oprot, 'updateOrInsertSyncSet', seqid)
|
185
|
+
end
|
186
|
+
|
187
|
+
def process_updateOrInsertMultiSyncSetColumn(seqid, iprot, oprot)
|
188
|
+
args = read_args(iprot, UpdateOrInsertMultiSyncSetColumn_args)
|
189
|
+
result = UpdateOrInsertMultiSyncSetColumn_result.new()
|
190
|
+
@handler.updateOrInsertMultiSyncSetColumn(args.tpUid, args.thirdpartyName, args.types)
|
191
|
+
write_result(result, oprot, 'updateOrInsertMultiSyncSetColumn', seqid)
|
192
|
+
end
|
193
|
+
|
194
|
+
def process_updateOrInsertMultiSyncSetColumnSelective(seqid, iprot, oprot)
|
195
|
+
args = read_args(iprot, UpdateOrInsertMultiSyncSetColumnSelective_args)
|
196
|
+
result = UpdateOrInsertMultiSyncSetColumnSelective_result.new()
|
197
|
+
@handler.updateOrInsertMultiSyncSetColumnSelective(args.tpUid, args.thirdpartyName, args.checkedTypes, args.unCheckedTypes)
|
198
|
+
write_result(result, oprot, 'updateOrInsertMultiSyncSetColumnSelective', seqid)
|
199
|
+
end
|
200
|
+
|
201
|
+
def process_noMoreCommentSyncAlert(seqid, iprot, oprot)
|
202
|
+
args = read_args(iprot, NoMoreCommentSyncAlert_args)
|
203
|
+
result = NoMoreCommentSyncAlert_result.new()
|
204
|
+
@handler.noMoreCommentSyncAlert(args.uid, args.noMoreAlert)
|
205
|
+
write_result(result, oprot, 'noMoreCommentSyncAlert', seqid)
|
206
|
+
end
|
207
|
+
|
208
|
+
def process_noMoreFavoriteSyncAlert(seqid, iprot, oprot)
|
209
|
+
args = read_args(iprot, NoMoreFavoriteSyncAlert_args)
|
210
|
+
result = NoMoreFavoriteSyncAlert_result.new()
|
211
|
+
@handler.noMoreFavoriteSyncAlert(args.uid, args.noMoreAlert)
|
212
|
+
write_result(result, oprot, 'noMoreFavoriteSyncAlert', seqid)
|
213
|
+
end
|
214
|
+
|
215
|
+
def process_getSyncSetByType(seqid, iprot, oprot)
|
216
|
+
args = read_args(iprot, GetSyncSetByType_args)
|
217
|
+
result = GetSyncSetByType_result.new()
|
218
|
+
result.success = @handler.getSyncSetByType(args.tpUid, args.thirdpartyName, args.syncType)
|
219
|
+
write_result(result, oprot, 'getSyncSetByType', seqid)
|
220
|
+
end
|
221
|
+
|
222
|
+
def process_queryByTpUid(seqid, iprot, oprot)
|
223
|
+
args = read_args(iprot, QueryByTpUid_args)
|
224
|
+
result = QueryByTpUid_result.new()
|
225
|
+
result.success = @handler.queryByTpUid(args.tpUid, args.thirdpartyName)
|
226
|
+
write_result(result, oprot, 'queryByTpUid', seqid)
|
227
|
+
end
|
228
|
+
|
229
|
+
def process_queryBindThirdpartySyncSet(seqid, iprot, oprot)
|
230
|
+
args = read_args(iprot, QueryBindThirdpartySyncSet_args)
|
231
|
+
result = QueryBindThirdpartySyncSet_result.new()
|
232
|
+
result.success = @handler.queryBindThirdpartySyncSet(args.bindThirdpartys)
|
233
|
+
write_result(result, oprot, 'queryBindThirdpartySyncSet', seqid)
|
234
|
+
end
|
235
|
+
|
236
|
+
end
|
237
|
+
|
238
|
+
# HELPER FUNCTIONS AND STRUCTURES
|
239
|
+
|
240
|
+
class InsertDefalutSyncSet_args
|
241
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
242
|
+
TPUID = 1
|
243
|
+
THIRDPARTYNAME = 2
|
244
|
+
|
245
|
+
FIELDS = {
|
246
|
+
TPUID => {:type => ::Thrift::Types::I64, :name => 'tpUid'},
|
247
|
+
THIRDPARTYNAME => {:type => ::Thrift::Types::STRING, :name => 'thirdpartyName'}
|
248
|
+
}
|
249
|
+
|
250
|
+
def struct_fields; FIELDS; end
|
251
|
+
|
252
|
+
def validate
|
253
|
+
end
|
254
|
+
|
255
|
+
::Thrift::Struct.generate_accessors self
|
256
|
+
end
|
257
|
+
|
258
|
+
class InsertDefalutSyncSet_result
|
259
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
260
|
+
SUCCESS = 0
|
261
|
+
|
262
|
+
FIELDS = {
|
263
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Passport::Thrift::ThirdpartySyncSet}
|
264
|
+
}
|
265
|
+
|
266
|
+
def struct_fields; FIELDS; end
|
267
|
+
|
268
|
+
def validate
|
269
|
+
end
|
270
|
+
|
271
|
+
::Thrift::Struct.generate_accessors self
|
272
|
+
end
|
273
|
+
|
274
|
+
class InsertOrUpdateToDefaultSet_args
|
275
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
276
|
+
TPUID = 1
|
277
|
+
THIRDPARTYNAME = 2
|
278
|
+
|
279
|
+
FIELDS = {
|
280
|
+
TPUID => {:type => ::Thrift::Types::I64, :name => 'tpUid'},
|
281
|
+
THIRDPARTYNAME => {:type => ::Thrift::Types::STRING, :name => 'thirdpartyName'}
|
282
|
+
}
|
283
|
+
|
284
|
+
def struct_fields; FIELDS; end
|
285
|
+
|
286
|
+
def validate
|
287
|
+
end
|
288
|
+
|
289
|
+
::Thrift::Struct.generate_accessors self
|
290
|
+
end
|
291
|
+
|
292
|
+
class InsertOrUpdateToDefaultSet_result
|
293
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
294
|
+
SUCCESS = 0
|
295
|
+
|
296
|
+
FIELDS = {
|
297
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Passport::Thrift::ThirdpartySyncSet}
|
298
|
+
}
|
299
|
+
|
300
|
+
def struct_fields; FIELDS; end
|
301
|
+
|
302
|
+
def validate
|
303
|
+
end
|
304
|
+
|
305
|
+
::Thrift::Struct.generate_accessors self
|
306
|
+
end
|
307
|
+
|
308
|
+
class UpdateOrInsertSyncSet_args
|
309
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
310
|
+
TPUID = 1
|
311
|
+
THIRDPARTYNAME = 2
|
312
|
+
SYNCTYPE = 3
|
313
|
+
ISCHECKED = 4
|
314
|
+
|
315
|
+
FIELDS = {
|
316
|
+
TPUID => {:type => ::Thrift::Types::I64, :name => 'tpUid'},
|
317
|
+
THIRDPARTYNAME => {:type => ::Thrift::Types::STRING, :name => 'thirdpartyName'},
|
318
|
+
SYNCTYPE => {:type => ::Thrift::Types::STRING, :name => 'syncType'},
|
319
|
+
ISCHECKED => {:type => ::Thrift::Types::BOOL, :name => 'isChecked'}
|
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 UpdateOrInsertSyncSet_result
|
331
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
332
|
+
|
333
|
+
FIELDS = {
|
334
|
+
|
335
|
+
}
|
336
|
+
|
337
|
+
def struct_fields; FIELDS; end
|
338
|
+
|
339
|
+
def validate
|
340
|
+
end
|
341
|
+
|
342
|
+
::Thrift::Struct.generate_accessors self
|
343
|
+
end
|
344
|
+
|
345
|
+
class UpdateOrInsertMultiSyncSetColumn_args
|
346
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
347
|
+
TPUID = 1
|
348
|
+
THIRDPARTYNAME = 2
|
349
|
+
TYPES = 3
|
350
|
+
|
351
|
+
FIELDS = {
|
352
|
+
TPUID => {:type => ::Thrift::Types::I64, :name => 'tpUid'},
|
353
|
+
THIRDPARTYNAME => {:type => ::Thrift::Types::STRING, :name => 'thirdpartyName'},
|
354
|
+
TYPES => {:type => ::Thrift::Types::LIST, :name => 'types', :element => {:type => ::Thrift::Types::STRING}}
|
355
|
+
}
|
356
|
+
|
357
|
+
def struct_fields; FIELDS; end
|
358
|
+
|
359
|
+
def validate
|
360
|
+
end
|
361
|
+
|
362
|
+
::Thrift::Struct.generate_accessors self
|
363
|
+
end
|
364
|
+
|
365
|
+
class UpdateOrInsertMultiSyncSetColumn_result
|
366
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
367
|
+
|
368
|
+
FIELDS = {
|
369
|
+
|
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 UpdateOrInsertMultiSyncSetColumnSelective_args
|
381
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
382
|
+
TPUID = 1
|
383
|
+
THIRDPARTYNAME = 2
|
384
|
+
CHECKEDTYPES = 3
|
385
|
+
UNCHECKEDTYPES = 4
|
386
|
+
|
387
|
+
FIELDS = {
|
388
|
+
TPUID => {:type => ::Thrift::Types::I64, :name => 'tpUid'},
|
389
|
+
THIRDPARTYNAME => {:type => ::Thrift::Types::STRING, :name => 'thirdpartyName'},
|
390
|
+
CHECKEDTYPES => {:type => ::Thrift::Types::LIST, :name => 'checkedTypes', :element => {:type => ::Thrift::Types::STRING}},
|
391
|
+
UNCHECKEDTYPES => {:type => ::Thrift::Types::LIST, :name => 'unCheckedTypes', :element => {:type => ::Thrift::Types::STRING}}
|
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 UpdateOrInsertMultiSyncSetColumnSelective_result
|
403
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
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 NoMoreCommentSyncAlert_args
|
418
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
419
|
+
UID = 1
|
420
|
+
NOMOREALERT = 2
|
421
|
+
|
422
|
+
FIELDS = {
|
423
|
+
UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
|
424
|
+
NOMOREALERT => {:type => ::Thrift::Types::BOOL, :name => 'noMoreAlert'}
|
425
|
+
}
|
426
|
+
|
427
|
+
def struct_fields; FIELDS; end
|
428
|
+
|
429
|
+
def validate
|
430
|
+
end
|
431
|
+
|
432
|
+
::Thrift::Struct.generate_accessors self
|
433
|
+
end
|
434
|
+
|
435
|
+
class NoMoreCommentSyncAlert_result
|
436
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
437
|
+
|
438
|
+
FIELDS = {
|
439
|
+
|
440
|
+
}
|
441
|
+
|
442
|
+
def struct_fields; FIELDS; end
|
443
|
+
|
444
|
+
def validate
|
445
|
+
end
|
446
|
+
|
447
|
+
::Thrift::Struct.generate_accessors self
|
448
|
+
end
|
449
|
+
|
450
|
+
class NoMoreFavoriteSyncAlert_args
|
451
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
452
|
+
UID = 1
|
453
|
+
NOMOREALERT = 2
|
454
|
+
|
455
|
+
FIELDS = {
|
456
|
+
UID => {:type => ::Thrift::Types::I64, :name => 'uid'},
|
457
|
+
NOMOREALERT => {:type => ::Thrift::Types::BOOL, :name => 'noMoreAlert'}
|
458
|
+
}
|
459
|
+
|
460
|
+
def struct_fields; FIELDS; end
|
461
|
+
|
462
|
+
def validate
|
463
|
+
end
|
464
|
+
|
465
|
+
::Thrift::Struct.generate_accessors self
|
466
|
+
end
|
467
|
+
|
468
|
+
class NoMoreFavoriteSyncAlert_result
|
469
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
470
|
+
|
471
|
+
FIELDS = {
|
472
|
+
|
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 GetSyncSetByType_args
|
484
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
485
|
+
TPUID = 1
|
486
|
+
THIRDPARTYNAME = 2
|
487
|
+
SYNCTYPE = 3
|
488
|
+
|
489
|
+
FIELDS = {
|
490
|
+
TPUID => {:type => ::Thrift::Types::I64, :name => 'tpUid'},
|
491
|
+
THIRDPARTYNAME => {:type => ::Thrift::Types::STRING, :name => 'thirdpartyName'},
|
492
|
+
SYNCTYPE => {:type => ::Thrift::Types::STRING, :name => 'syncType'}
|
493
|
+
}
|
494
|
+
|
495
|
+
def struct_fields; FIELDS; end
|
496
|
+
|
497
|
+
def validate
|
498
|
+
end
|
499
|
+
|
500
|
+
::Thrift::Struct.generate_accessors self
|
501
|
+
end
|
502
|
+
|
503
|
+
class GetSyncSetByType_result
|
504
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
505
|
+
SUCCESS = 0
|
506
|
+
|
507
|
+
FIELDS = {
|
508
|
+
SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'}
|
509
|
+
}
|
510
|
+
|
511
|
+
def struct_fields; FIELDS; end
|
512
|
+
|
513
|
+
def validate
|
514
|
+
end
|
515
|
+
|
516
|
+
::Thrift::Struct.generate_accessors self
|
517
|
+
end
|
518
|
+
|
519
|
+
class QueryByTpUid_args
|
520
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
521
|
+
TPUID = 1
|
522
|
+
THIRDPARTYNAME = 2
|
523
|
+
|
524
|
+
FIELDS = {
|
525
|
+
TPUID => {:type => ::Thrift::Types::I64, :name => 'tpUid'},
|
526
|
+
THIRDPARTYNAME => {:type => ::Thrift::Types::STRING, :name => 'thirdpartyName'}
|
527
|
+
}
|
528
|
+
|
529
|
+
def struct_fields; FIELDS; end
|
530
|
+
|
531
|
+
def validate
|
532
|
+
end
|
533
|
+
|
534
|
+
::Thrift::Struct.generate_accessors self
|
535
|
+
end
|
536
|
+
|
537
|
+
class QueryByTpUid_result
|
538
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
539
|
+
SUCCESS = 0
|
540
|
+
|
541
|
+
FIELDS = {
|
542
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Passport::Thrift::ThirdpartySyncSet}
|
543
|
+
}
|
544
|
+
|
545
|
+
def struct_fields; FIELDS; end
|
546
|
+
|
547
|
+
def validate
|
548
|
+
end
|
549
|
+
|
550
|
+
::Thrift::Struct.generate_accessors self
|
551
|
+
end
|
552
|
+
|
553
|
+
class QueryBindThirdpartySyncSet_args
|
554
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
555
|
+
BINDTHIRDPARTYS = 1
|
556
|
+
|
557
|
+
FIELDS = {
|
558
|
+
BINDTHIRDPARTYS => {:type => ::Thrift::Types::LIST, :name => 'bindThirdpartys', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Passport::Thrift::BindStatus}}
|
559
|
+
}
|
560
|
+
|
561
|
+
def struct_fields; FIELDS; end
|
562
|
+
|
563
|
+
def validate
|
564
|
+
end
|
565
|
+
|
566
|
+
::Thrift::Struct.generate_accessors self
|
567
|
+
end
|
568
|
+
|
569
|
+
class QueryBindThirdpartySyncSet_result
|
570
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
571
|
+
SUCCESS = 0
|
572
|
+
|
573
|
+
FIELDS = {
|
574
|
+
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Passport::Thrift::ThirdpartySyncSet}}
|
575
|
+
}
|
576
|
+
|
577
|
+
def struct_fields; FIELDS; end
|
578
|
+
|
579
|
+
def validate
|
580
|
+
end
|
581
|
+
|
582
|
+
::Thrift::Struct.generate_accessors self
|
583
|
+
end
|
584
|
+
|
585
|
+
end
|
586
|
+
|
587
|
+
end
|
588
|
+
end
|