linerb 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/lib/linerb.rb +1 -0
- data/lib/linerb/api/pollApi.rb +1 -0
- data/lib/linerb/api/talkApi.rb +13 -0
- data/lib/linerb/auth.rb +126 -0
- data/lib/linerb/client.rb +38 -0
- data/lib/linerb/config.rb +14 -0
- data/lib/linerb/gen-rb/account_auth_factor_eap_connect_service.rb +268 -0
- data/lib/linerb/gen-rb/auth_service.rb +905 -0
- data/lib/linerb/gen-rb/call_service.rb +837 -0
- data/lib/linerb/gen-rb/channel_service.rb +883 -0
- data/lib/linerb/gen-rb/primary_account_init_service.rb +1224 -0
- data/lib/linerb/gen-rb/secondary_qr_code_login_permit.rb +268 -0
- data/lib/linerb/gen-rb/secondary_qr_code_login_permit_notice_service.rb +140 -0
- data/lib/linerb/gen-rb/secondary_qrcode_login_service.rb +326 -0
- data/lib/linerb/gen-rb/takagi_chan_constants.rb +9 -0
- data/lib/linerb/gen-rb/takagi_chan_types.rb +16981 -0
- data/lib/linerb/gen-rb/talk_service.rb +5800 -0
- data/lib/linerb/version.rb +3 -0
- metadata +103 -0
@@ -0,0 +1,883 @@
|
|
1
|
+
#
|
2
|
+
# Autogenerated by Thrift Compiler (0.13.0)
|
3
|
+
#
|
4
|
+
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
5
|
+
#
|
6
|
+
|
7
|
+
require 'thrift'
|
8
|
+
require_relative 'takagi_chan_types'
|
9
|
+
|
10
|
+
module ChannelService
|
11
|
+
class Client
|
12
|
+
include ::Thrift::Client
|
13
|
+
|
14
|
+
def getApprovedChannels(lastSynced, locale)
|
15
|
+
send_getApprovedChannels(lastSynced, locale)
|
16
|
+
return recv_getApprovedChannels()
|
17
|
+
end
|
18
|
+
|
19
|
+
def send_getApprovedChannels(lastSynced, locale)
|
20
|
+
send_message('getApprovedChannels', GetApprovedChannels_args, :lastSynced => lastSynced, :locale => locale)
|
21
|
+
end
|
22
|
+
|
23
|
+
def recv_getApprovedChannels()
|
24
|
+
result = receive_message(GetApprovedChannels_result)
|
25
|
+
return result.success unless result.success.nil?
|
26
|
+
raise result.e unless result.e.nil?
|
27
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getApprovedChannels failed: unknown result')
|
28
|
+
end
|
29
|
+
|
30
|
+
def getChannelSettings()
|
31
|
+
send_getChannelSettings()
|
32
|
+
return recv_getChannelSettings()
|
33
|
+
end
|
34
|
+
|
35
|
+
def send_getChannelSettings()
|
36
|
+
send_message('getChannelSettings', GetChannelSettings_args)
|
37
|
+
end
|
38
|
+
|
39
|
+
def recv_getChannelSettings()
|
40
|
+
result = receive_message(GetChannelSettings_result)
|
41
|
+
return result.success unless result.success.nil?
|
42
|
+
raise result.e unless result.e.nil?
|
43
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getChannelSettings failed: unknown result')
|
44
|
+
end
|
45
|
+
|
46
|
+
def getReturnUrlWithRequestTokenForAutoLogin(webLoginRequest)
|
47
|
+
send_getReturnUrlWithRequestTokenForAutoLogin(webLoginRequest)
|
48
|
+
return recv_getReturnUrlWithRequestTokenForAutoLogin()
|
49
|
+
end
|
50
|
+
|
51
|
+
def send_getReturnUrlWithRequestTokenForAutoLogin(webLoginRequest)
|
52
|
+
send_message('getReturnUrlWithRequestTokenForAutoLogin', GetReturnUrlWithRequestTokenForAutoLogin_args, :webLoginRequest => webLoginRequest)
|
53
|
+
end
|
54
|
+
|
55
|
+
def recv_getReturnUrlWithRequestTokenForAutoLogin()
|
56
|
+
result = receive_message(GetReturnUrlWithRequestTokenForAutoLogin_result)
|
57
|
+
return result.success unless result.success.nil?
|
58
|
+
raise result.e unless result.e.nil?
|
59
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getReturnUrlWithRequestTokenForAutoLogin failed: unknown result')
|
60
|
+
end
|
61
|
+
|
62
|
+
def getWebLoginDisallowedUrl(webLoginRequest)
|
63
|
+
send_getWebLoginDisallowedUrl(webLoginRequest)
|
64
|
+
return recv_getWebLoginDisallowedUrl()
|
65
|
+
end
|
66
|
+
|
67
|
+
def send_getWebLoginDisallowedUrl(webLoginRequest)
|
68
|
+
send_message('getWebLoginDisallowedUrl', GetWebLoginDisallowedUrl_args, :webLoginRequest => webLoginRequest)
|
69
|
+
end
|
70
|
+
|
71
|
+
def recv_getWebLoginDisallowedUrl()
|
72
|
+
result = receive_message(GetWebLoginDisallowedUrl_result)
|
73
|
+
return result.success unless result.success.nil?
|
74
|
+
raise result.e unless result.e.nil?
|
75
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getWebLoginDisallowedUrl failed: unknown result')
|
76
|
+
end
|
77
|
+
|
78
|
+
def updateChannelSettings(channelSettings)
|
79
|
+
send_updateChannelSettings(channelSettings)
|
80
|
+
recv_updateChannelSettings()
|
81
|
+
end
|
82
|
+
|
83
|
+
def send_updateChannelSettings(channelSettings)
|
84
|
+
send_message('updateChannelSettings', UpdateChannelSettings_args, :channelSettings => channelSettings)
|
85
|
+
end
|
86
|
+
|
87
|
+
def recv_updateChannelSettings()
|
88
|
+
result = receive_message(UpdateChannelSettings_result)
|
89
|
+
raise result.e unless result.e.nil?
|
90
|
+
return
|
91
|
+
end
|
92
|
+
|
93
|
+
def approveChannelAndIssueChannelToken(channelId)
|
94
|
+
send_approveChannelAndIssueChannelToken(channelId)
|
95
|
+
return recv_approveChannelAndIssueChannelToken()
|
96
|
+
end
|
97
|
+
|
98
|
+
def send_approveChannelAndIssueChannelToken(channelId)
|
99
|
+
send_message('approveChannelAndIssueChannelToken', ApproveChannelAndIssueChannelToken_args, :channelId => channelId)
|
100
|
+
end
|
101
|
+
|
102
|
+
def recv_approveChannelAndIssueChannelToken()
|
103
|
+
result = receive_message(ApproveChannelAndIssueChannelToken_result)
|
104
|
+
return result.success unless result.success.nil?
|
105
|
+
raise result.e unless result.e.nil?
|
106
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'approveChannelAndIssueChannelToken failed: unknown result')
|
107
|
+
end
|
108
|
+
|
109
|
+
def getChannelInfo(channelId, locale)
|
110
|
+
send_getChannelInfo(channelId, locale)
|
111
|
+
return recv_getChannelInfo()
|
112
|
+
end
|
113
|
+
|
114
|
+
def send_getChannelInfo(channelId, locale)
|
115
|
+
send_message('getChannelInfo', GetChannelInfo_args, :channelId => channelId, :locale => locale)
|
116
|
+
end
|
117
|
+
|
118
|
+
def recv_getChannelInfo()
|
119
|
+
result = receive_message(GetChannelInfo_result)
|
120
|
+
return result.success unless result.success.nil?
|
121
|
+
raise result.e unless result.e.nil?
|
122
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getChannelInfo failed: unknown result')
|
123
|
+
end
|
124
|
+
|
125
|
+
def getChannelNotificationSettings(locale)
|
126
|
+
send_getChannelNotificationSettings(locale)
|
127
|
+
return recv_getChannelNotificationSettings()
|
128
|
+
end
|
129
|
+
|
130
|
+
def send_getChannelNotificationSettings(locale)
|
131
|
+
send_message('getChannelNotificationSettings', GetChannelNotificationSettings_args, :locale => locale)
|
132
|
+
end
|
133
|
+
|
134
|
+
def recv_getChannelNotificationSettings()
|
135
|
+
result = receive_message(GetChannelNotificationSettings_result)
|
136
|
+
return result.success unless result.success.nil?
|
137
|
+
raise result.e unless result.e.nil?
|
138
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getChannelNotificationSettings failed: unknown result')
|
139
|
+
end
|
140
|
+
|
141
|
+
def getCommonDomains(lastSynced)
|
142
|
+
send_getCommonDomains(lastSynced)
|
143
|
+
return recv_getCommonDomains()
|
144
|
+
end
|
145
|
+
|
146
|
+
def send_getCommonDomains(lastSynced)
|
147
|
+
send_message('getCommonDomains', GetCommonDomains_args, :lastSynced => lastSynced)
|
148
|
+
end
|
149
|
+
|
150
|
+
def recv_getCommonDomains()
|
151
|
+
result = receive_message(GetCommonDomains_result)
|
152
|
+
return result.success unless result.success.nil?
|
153
|
+
raise result.e unless result.e.nil?
|
154
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getCommonDomains failed: unknown result')
|
155
|
+
end
|
156
|
+
|
157
|
+
def getUpdatedChannelIds(channelIds)
|
158
|
+
send_getUpdatedChannelIds(channelIds)
|
159
|
+
return recv_getUpdatedChannelIds()
|
160
|
+
end
|
161
|
+
|
162
|
+
def send_getUpdatedChannelIds(channelIds)
|
163
|
+
send_message('getUpdatedChannelIds', GetUpdatedChannelIds_args, :channelIds => channelIds)
|
164
|
+
end
|
165
|
+
|
166
|
+
def recv_getUpdatedChannelIds()
|
167
|
+
result = receive_message(GetUpdatedChannelIds_result)
|
168
|
+
return result.success unless result.success.nil?
|
169
|
+
raise result.e unless result.e.nil?
|
170
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getUpdatedChannelIds failed: unknown result')
|
171
|
+
end
|
172
|
+
|
173
|
+
def issueChannelToken(channelId)
|
174
|
+
send_issueChannelToken(channelId)
|
175
|
+
return recv_issueChannelToken()
|
176
|
+
end
|
177
|
+
|
178
|
+
def send_issueChannelToken(channelId)
|
179
|
+
send_message('issueChannelToken', IssueChannelToken_args, :channelId => channelId)
|
180
|
+
end
|
181
|
+
|
182
|
+
def recv_issueChannelToken()
|
183
|
+
result = receive_message(IssueChannelToken_result)
|
184
|
+
return result.success unless result.success.nil?
|
185
|
+
raise result.e unless result.e.nil?
|
186
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'issueChannelToken failed: unknown result')
|
187
|
+
end
|
188
|
+
|
189
|
+
def issueRequestTokenWithAuthScheme(channelId, otpId, authScheme, returnUrl)
|
190
|
+
send_issueRequestTokenWithAuthScheme(channelId, otpId, authScheme, returnUrl)
|
191
|
+
return recv_issueRequestTokenWithAuthScheme()
|
192
|
+
end
|
193
|
+
|
194
|
+
def send_issueRequestTokenWithAuthScheme(channelId, otpId, authScheme, returnUrl)
|
195
|
+
send_message('issueRequestTokenWithAuthScheme', IssueRequestTokenWithAuthScheme_args, :channelId => channelId, :otpId => otpId, :authScheme => authScheme, :returnUrl => returnUrl)
|
196
|
+
end
|
197
|
+
|
198
|
+
def recv_issueRequestTokenWithAuthScheme()
|
199
|
+
result = receive_message(IssueRequestTokenWithAuthScheme_result)
|
200
|
+
return result.success unless result.success.nil?
|
201
|
+
raise result.e unless result.e.nil?
|
202
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'issueRequestTokenWithAuthScheme failed: unknown result')
|
203
|
+
end
|
204
|
+
|
205
|
+
def reserveCoinUse(request, locale)
|
206
|
+
send_reserveCoinUse(request, locale)
|
207
|
+
return recv_reserveCoinUse()
|
208
|
+
end
|
209
|
+
|
210
|
+
def send_reserveCoinUse(request, locale)
|
211
|
+
send_message('reserveCoinUse', ReserveCoinUse_args, :request => request, :locale => locale)
|
212
|
+
end
|
213
|
+
|
214
|
+
def recv_reserveCoinUse()
|
215
|
+
result = receive_message(ReserveCoinUse_result)
|
216
|
+
return result.success unless result.success.nil?
|
217
|
+
raise result.e unless result.e.nil?
|
218
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'reserveCoinUse failed: unknown result')
|
219
|
+
end
|
220
|
+
|
221
|
+
def updateChannelNotificationSetting(setting)
|
222
|
+
send_updateChannelNotificationSetting(setting)
|
223
|
+
recv_updateChannelNotificationSetting()
|
224
|
+
end
|
225
|
+
|
226
|
+
def send_updateChannelNotificationSetting(setting)
|
227
|
+
send_message('updateChannelNotificationSetting', UpdateChannelNotificationSetting_args, :setting => setting)
|
228
|
+
end
|
229
|
+
|
230
|
+
def recv_updateChannelNotificationSetting()
|
231
|
+
result = receive_message(UpdateChannelNotificationSetting_result)
|
232
|
+
raise result.e unless result.e.nil?
|
233
|
+
return
|
234
|
+
end
|
235
|
+
|
236
|
+
end
|
237
|
+
|
238
|
+
class Processor
|
239
|
+
include ::Thrift::Processor
|
240
|
+
|
241
|
+
def process_getApprovedChannels(seqid, iprot, oprot)
|
242
|
+
args = read_args(iprot, GetApprovedChannels_args)
|
243
|
+
result = GetApprovedChannels_result.new()
|
244
|
+
begin
|
245
|
+
result.success = @handler.getApprovedChannels(args.lastSynced, args.locale)
|
246
|
+
rescue ::ChannelException => e
|
247
|
+
result.e = e
|
248
|
+
end
|
249
|
+
write_result(result, oprot, 'getApprovedChannels', seqid)
|
250
|
+
end
|
251
|
+
|
252
|
+
def process_getChannelSettings(seqid, iprot, oprot)
|
253
|
+
args = read_args(iprot, GetChannelSettings_args)
|
254
|
+
result = GetChannelSettings_result.new()
|
255
|
+
begin
|
256
|
+
result.success = @handler.getChannelSettings()
|
257
|
+
rescue ::ChannelException => e
|
258
|
+
result.e = e
|
259
|
+
end
|
260
|
+
write_result(result, oprot, 'getChannelSettings', seqid)
|
261
|
+
end
|
262
|
+
|
263
|
+
def process_getReturnUrlWithRequestTokenForAutoLogin(seqid, iprot, oprot)
|
264
|
+
args = read_args(iprot, GetReturnUrlWithRequestTokenForAutoLogin_args)
|
265
|
+
result = GetReturnUrlWithRequestTokenForAutoLogin_result.new()
|
266
|
+
begin
|
267
|
+
result.success = @handler.getReturnUrlWithRequestTokenForAutoLogin(args.webLoginRequest)
|
268
|
+
rescue ::ChannelException => e
|
269
|
+
result.e = e
|
270
|
+
end
|
271
|
+
write_result(result, oprot, 'getReturnUrlWithRequestTokenForAutoLogin', seqid)
|
272
|
+
end
|
273
|
+
|
274
|
+
def process_getWebLoginDisallowedUrl(seqid, iprot, oprot)
|
275
|
+
args = read_args(iprot, GetWebLoginDisallowedUrl_args)
|
276
|
+
result = GetWebLoginDisallowedUrl_result.new()
|
277
|
+
begin
|
278
|
+
result.success = @handler.getWebLoginDisallowedUrl(args.webLoginRequest)
|
279
|
+
rescue ::ChannelException => e
|
280
|
+
result.e = e
|
281
|
+
end
|
282
|
+
write_result(result, oprot, 'getWebLoginDisallowedUrl', seqid)
|
283
|
+
end
|
284
|
+
|
285
|
+
def process_updateChannelSettings(seqid, iprot, oprot)
|
286
|
+
args = read_args(iprot, UpdateChannelSettings_args)
|
287
|
+
result = UpdateChannelSettings_result.new()
|
288
|
+
begin
|
289
|
+
@handler.updateChannelSettings(args.channelSettings)
|
290
|
+
rescue ::ChannelException => e
|
291
|
+
result.e = e
|
292
|
+
end
|
293
|
+
write_result(result, oprot, 'updateChannelSettings', seqid)
|
294
|
+
end
|
295
|
+
|
296
|
+
def process_approveChannelAndIssueChannelToken(seqid, iprot, oprot)
|
297
|
+
args = read_args(iprot, ApproveChannelAndIssueChannelToken_args)
|
298
|
+
result = ApproveChannelAndIssueChannelToken_result.new()
|
299
|
+
begin
|
300
|
+
result.success = @handler.approveChannelAndIssueChannelToken(args.channelId)
|
301
|
+
rescue ::ChannelException => e
|
302
|
+
result.e = e
|
303
|
+
end
|
304
|
+
write_result(result, oprot, 'approveChannelAndIssueChannelToken', seqid)
|
305
|
+
end
|
306
|
+
|
307
|
+
def process_getChannelInfo(seqid, iprot, oprot)
|
308
|
+
args = read_args(iprot, GetChannelInfo_args)
|
309
|
+
result = GetChannelInfo_result.new()
|
310
|
+
begin
|
311
|
+
result.success = @handler.getChannelInfo(args.channelId, args.locale)
|
312
|
+
rescue ::ChannelException => e
|
313
|
+
result.e = e
|
314
|
+
end
|
315
|
+
write_result(result, oprot, 'getChannelInfo', seqid)
|
316
|
+
end
|
317
|
+
|
318
|
+
def process_getChannelNotificationSettings(seqid, iprot, oprot)
|
319
|
+
args = read_args(iprot, GetChannelNotificationSettings_args)
|
320
|
+
result = GetChannelNotificationSettings_result.new()
|
321
|
+
begin
|
322
|
+
result.success = @handler.getChannelNotificationSettings(args.locale)
|
323
|
+
rescue ::ChannelException => e
|
324
|
+
result.e = e
|
325
|
+
end
|
326
|
+
write_result(result, oprot, 'getChannelNotificationSettings', seqid)
|
327
|
+
end
|
328
|
+
|
329
|
+
def process_getCommonDomains(seqid, iprot, oprot)
|
330
|
+
args = read_args(iprot, GetCommonDomains_args)
|
331
|
+
result = GetCommonDomains_result.new()
|
332
|
+
begin
|
333
|
+
result.success = @handler.getCommonDomains(args.lastSynced)
|
334
|
+
rescue ::ChannelException => e
|
335
|
+
result.e = e
|
336
|
+
end
|
337
|
+
write_result(result, oprot, 'getCommonDomains', seqid)
|
338
|
+
end
|
339
|
+
|
340
|
+
def process_getUpdatedChannelIds(seqid, iprot, oprot)
|
341
|
+
args = read_args(iprot, GetUpdatedChannelIds_args)
|
342
|
+
result = GetUpdatedChannelIds_result.new()
|
343
|
+
begin
|
344
|
+
result.success = @handler.getUpdatedChannelIds(args.channelIds)
|
345
|
+
rescue ::ChannelException => e
|
346
|
+
result.e = e
|
347
|
+
end
|
348
|
+
write_result(result, oprot, 'getUpdatedChannelIds', seqid)
|
349
|
+
end
|
350
|
+
|
351
|
+
def process_issueChannelToken(seqid, iprot, oprot)
|
352
|
+
args = read_args(iprot, IssueChannelToken_args)
|
353
|
+
result = IssueChannelToken_result.new()
|
354
|
+
begin
|
355
|
+
result.success = @handler.issueChannelToken(args.channelId)
|
356
|
+
rescue ::ChannelException => e
|
357
|
+
result.e = e
|
358
|
+
end
|
359
|
+
write_result(result, oprot, 'issueChannelToken', seqid)
|
360
|
+
end
|
361
|
+
|
362
|
+
def process_issueRequestTokenWithAuthScheme(seqid, iprot, oprot)
|
363
|
+
args = read_args(iprot, IssueRequestTokenWithAuthScheme_args)
|
364
|
+
result = IssueRequestTokenWithAuthScheme_result.new()
|
365
|
+
begin
|
366
|
+
result.success = @handler.issueRequestTokenWithAuthScheme(args.channelId, args.otpId, args.authScheme, args.returnUrl)
|
367
|
+
rescue ::ChannelException => e
|
368
|
+
result.e = e
|
369
|
+
end
|
370
|
+
write_result(result, oprot, 'issueRequestTokenWithAuthScheme', seqid)
|
371
|
+
end
|
372
|
+
|
373
|
+
def process_reserveCoinUse(seqid, iprot, oprot)
|
374
|
+
args = read_args(iprot, ReserveCoinUse_args)
|
375
|
+
result = ReserveCoinUse_result.new()
|
376
|
+
begin
|
377
|
+
result.success = @handler.reserveCoinUse(args.request, args.locale)
|
378
|
+
rescue ::ChannelException => e
|
379
|
+
result.e = e
|
380
|
+
end
|
381
|
+
write_result(result, oprot, 'reserveCoinUse', seqid)
|
382
|
+
end
|
383
|
+
|
384
|
+
def process_updateChannelNotificationSetting(seqid, iprot, oprot)
|
385
|
+
args = read_args(iprot, UpdateChannelNotificationSetting_args)
|
386
|
+
result = UpdateChannelNotificationSetting_result.new()
|
387
|
+
begin
|
388
|
+
@handler.updateChannelNotificationSetting(args.setting)
|
389
|
+
rescue ::ChannelException => e
|
390
|
+
result.e = e
|
391
|
+
end
|
392
|
+
write_result(result, oprot, 'updateChannelNotificationSetting', seqid)
|
393
|
+
end
|
394
|
+
|
395
|
+
end
|
396
|
+
|
397
|
+
# HELPER FUNCTIONS AND STRUCTURES
|
398
|
+
|
399
|
+
class GetApprovedChannels_args
|
400
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
401
|
+
LASTSYNCED = 2
|
402
|
+
LOCALE = 3
|
403
|
+
|
404
|
+
FIELDS = {
|
405
|
+
LASTSYNCED => {:type => ::Thrift::Types::I64, :name => 'lastSynced'},
|
406
|
+
LOCALE => {:type => ::Thrift::Types::STRING, :name => 'locale'}
|
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 GetApprovedChannels_result
|
418
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
419
|
+
SUCCESS = 0
|
420
|
+
E = 1
|
421
|
+
|
422
|
+
FIELDS = {
|
423
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::ApprovedChannelInfos},
|
424
|
+
E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::ChannelException}
|
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 GetChannelSettings_args
|
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 GetChannelSettings_result
|
451
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
452
|
+
SUCCESS = 0
|
453
|
+
E = 1
|
454
|
+
|
455
|
+
FIELDS = {
|
456
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::ChannelSettings},
|
457
|
+
E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::ChannelException}
|
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 GetReturnUrlWithRequestTokenForAutoLogin_args
|
469
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
470
|
+
WEBLOGINREQUEST = 2
|
471
|
+
|
472
|
+
FIELDS = {
|
473
|
+
WEBLOGINREQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'webLoginRequest', :class => ::WebLoginRequest}
|
474
|
+
}
|
475
|
+
|
476
|
+
def struct_fields; FIELDS; end
|
477
|
+
|
478
|
+
def validate
|
479
|
+
end
|
480
|
+
|
481
|
+
::Thrift::Struct.generate_accessors self
|
482
|
+
end
|
483
|
+
|
484
|
+
class GetReturnUrlWithRequestTokenForAutoLogin_result
|
485
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
486
|
+
SUCCESS = 0
|
487
|
+
E = 1
|
488
|
+
|
489
|
+
FIELDS = {
|
490
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::WebLoginResponse},
|
491
|
+
E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::ChannelException}
|
492
|
+
}
|
493
|
+
|
494
|
+
def struct_fields; FIELDS; end
|
495
|
+
|
496
|
+
def validate
|
497
|
+
end
|
498
|
+
|
499
|
+
::Thrift::Struct.generate_accessors self
|
500
|
+
end
|
501
|
+
|
502
|
+
class GetWebLoginDisallowedUrl_args
|
503
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
504
|
+
WEBLOGINREQUEST = 2
|
505
|
+
|
506
|
+
FIELDS = {
|
507
|
+
WEBLOGINREQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'webLoginRequest', :class => ::WebLoginRequest}
|
508
|
+
}
|
509
|
+
|
510
|
+
def struct_fields; FIELDS; end
|
511
|
+
|
512
|
+
def validate
|
513
|
+
end
|
514
|
+
|
515
|
+
::Thrift::Struct.generate_accessors self
|
516
|
+
end
|
517
|
+
|
518
|
+
class GetWebLoginDisallowedUrl_result
|
519
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
520
|
+
SUCCESS = 0
|
521
|
+
E = 1
|
522
|
+
|
523
|
+
FIELDS = {
|
524
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::WebLoginResponse},
|
525
|
+
E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::ChannelException}
|
526
|
+
}
|
527
|
+
|
528
|
+
def struct_fields; FIELDS; end
|
529
|
+
|
530
|
+
def validate
|
531
|
+
end
|
532
|
+
|
533
|
+
::Thrift::Struct.generate_accessors self
|
534
|
+
end
|
535
|
+
|
536
|
+
class UpdateChannelSettings_args
|
537
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
538
|
+
CHANNELSETTINGS = 1
|
539
|
+
|
540
|
+
FIELDS = {
|
541
|
+
CHANNELSETTINGS => {:type => ::Thrift::Types::STRUCT, :name => 'channelSettings', :class => ::ChannelSettings}
|
542
|
+
}
|
543
|
+
|
544
|
+
def struct_fields; FIELDS; end
|
545
|
+
|
546
|
+
def validate
|
547
|
+
end
|
548
|
+
|
549
|
+
::Thrift::Struct.generate_accessors self
|
550
|
+
end
|
551
|
+
|
552
|
+
class UpdateChannelSettings_result
|
553
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
554
|
+
E = 1
|
555
|
+
|
556
|
+
FIELDS = {
|
557
|
+
E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::ChannelException}
|
558
|
+
}
|
559
|
+
|
560
|
+
def struct_fields; FIELDS; end
|
561
|
+
|
562
|
+
def validate
|
563
|
+
end
|
564
|
+
|
565
|
+
::Thrift::Struct.generate_accessors self
|
566
|
+
end
|
567
|
+
|
568
|
+
class ApproveChannelAndIssueChannelToken_args
|
569
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
570
|
+
CHANNELID = 1
|
571
|
+
|
572
|
+
FIELDS = {
|
573
|
+
CHANNELID => {:type => ::Thrift::Types::STRING, :name => 'channelId'}
|
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 ApproveChannelAndIssueChannelToken_result
|
585
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
586
|
+
SUCCESS = 0
|
587
|
+
E = 1
|
588
|
+
|
589
|
+
FIELDS = {
|
590
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::ChannelToken},
|
591
|
+
E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::ChannelException}
|
592
|
+
}
|
593
|
+
|
594
|
+
def struct_fields; FIELDS; end
|
595
|
+
|
596
|
+
def validate
|
597
|
+
end
|
598
|
+
|
599
|
+
::Thrift::Struct.generate_accessors self
|
600
|
+
end
|
601
|
+
|
602
|
+
class GetChannelInfo_args
|
603
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
604
|
+
CHANNELID = 2
|
605
|
+
LOCALE = 3
|
606
|
+
|
607
|
+
FIELDS = {
|
608
|
+
CHANNELID => {:type => ::Thrift::Types::STRING, :name => 'channelId'},
|
609
|
+
LOCALE => {:type => ::Thrift::Types::STRING, :name => 'locale'}
|
610
|
+
}
|
611
|
+
|
612
|
+
def struct_fields; FIELDS; end
|
613
|
+
|
614
|
+
def validate
|
615
|
+
end
|
616
|
+
|
617
|
+
::Thrift::Struct.generate_accessors self
|
618
|
+
end
|
619
|
+
|
620
|
+
class GetChannelInfo_result
|
621
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
622
|
+
SUCCESS = 0
|
623
|
+
E = 1
|
624
|
+
|
625
|
+
FIELDS = {
|
626
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::ChannelInfo},
|
627
|
+
E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::ChannelException}
|
628
|
+
}
|
629
|
+
|
630
|
+
def struct_fields; FIELDS; end
|
631
|
+
|
632
|
+
def validate
|
633
|
+
end
|
634
|
+
|
635
|
+
::Thrift::Struct.generate_accessors self
|
636
|
+
end
|
637
|
+
|
638
|
+
class GetChannelNotificationSettings_args
|
639
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
640
|
+
LOCALE = 1
|
641
|
+
|
642
|
+
FIELDS = {
|
643
|
+
LOCALE => {:type => ::Thrift::Types::STRING, :name => 'locale'}
|
644
|
+
}
|
645
|
+
|
646
|
+
def struct_fields; FIELDS; end
|
647
|
+
|
648
|
+
def validate
|
649
|
+
end
|
650
|
+
|
651
|
+
::Thrift::Struct.generate_accessors self
|
652
|
+
end
|
653
|
+
|
654
|
+
class GetChannelNotificationSettings_result
|
655
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
656
|
+
SUCCESS = 0
|
657
|
+
E = 1
|
658
|
+
|
659
|
+
FIELDS = {
|
660
|
+
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::ChannelNotificationSetting}},
|
661
|
+
E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::ChannelException}
|
662
|
+
}
|
663
|
+
|
664
|
+
def struct_fields; FIELDS; end
|
665
|
+
|
666
|
+
def validate
|
667
|
+
end
|
668
|
+
|
669
|
+
::Thrift::Struct.generate_accessors self
|
670
|
+
end
|
671
|
+
|
672
|
+
class GetCommonDomains_args
|
673
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
674
|
+
LASTSYNCED = 1
|
675
|
+
|
676
|
+
FIELDS = {
|
677
|
+
LASTSYNCED => {:type => ::Thrift::Types::I64, :name => 'lastSynced'}
|
678
|
+
}
|
679
|
+
|
680
|
+
def struct_fields; FIELDS; end
|
681
|
+
|
682
|
+
def validate
|
683
|
+
end
|
684
|
+
|
685
|
+
::Thrift::Struct.generate_accessors self
|
686
|
+
end
|
687
|
+
|
688
|
+
class GetCommonDomains_result
|
689
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
690
|
+
SUCCESS = 0
|
691
|
+
E = 1
|
692
|
+
|
693
|
+
FIELDS = {
|
694
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::ChannelDomains},
|
695
|
+
E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::ChannelException}
|
696
|
+
}
|
697
|
+
|
698
|
+
def struct_fields; FIELDS; end
|
699
|
+
|
700
|
+
def validate
|
701
|
+
end
|
702
|
+
|
703
|
+
::Thrift::Struct.generate_accessors self
|
704
|
+
end
|
705
|
+
|
706
|
+
class GetUpdatedChannelIds_args
|
707
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
708
|
+
CHANNELIDS = 1
|
709
|
+
|
710
|
+
FIELDS = {
|
711
|
+
CHANNELIDS => {:type => ::Thrift::Types::LIST, :name => 'channelIds', :element => {:type => ::Thrift::Types::STRUCT, :class => ::ChannelIdWithLastUpdated}}
|
712
|
+
}
|
713
|
+
|
714
|
+
def struct_fields; FIELDS; end
|
715
|
+
|
716
|
+
def validate
|
717
|
+
end
|
718
|
+
|
719
|
+
::Thrift::Struct.generate_accessors self
|
720
|
+
end
|
721
|
+
|
722
|
+
class GetUpdatedChannelIds_result
|
723
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
724
|
+
SUCCESS = 0
|
725
|
+
E = 1
|
726
|
+
|
727
|
+
FIELDS = {
|
728
|
+
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRING}},
|
729
|
+
E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::ChannelException}
|
730
|
+
}
|
731
|
+
|
732
|
+
def struct_fields; FIELDS; end
|
733
|
+
|
734
|
+
def validate
|
735
|
+
end
|
736
|
+
|
737
|
+
::Thrift::Struct.generate_accessors self
|
738
|
+
end
|
739
|
+
|
740
|
+
class IssueChannelToken_args
|
741
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
742
|
+
CHANNELID = 1
|
743
|
+
|
744
|
+
FIELDS = {
|
745
|
+
CHANNELID => {:type => ::Thrift::Types::STRING, :name => 'channelId'}
|
746
|
+
}
|
747
|
+
|
748
|
+
def struct_fields; FIELDS; end
|
749
|
+
|
750
|
+
def validate
|
751
|
+
end
|
752
|
+
|
753
|
+
::Thrift::Struct.generate_accessors self
|
754
|
+
end
|
755
|
+
|
756
|
+
class IssueChannelToken_result
|
757
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
758
|
+
SUCCESS = 0
|
759
|
+
E = 1
|
760
|
+
|
761
|
+
FIELDS = {
|
762
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::ChannelToken},
|
763
|
+
E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::ChannelException}
|
764
|
+
}
|
765
|
+
|
766
|
+
def struct_fields; FIELDS; end
|
767
|
+
|
768
|
+
def validate
|
769
|
+
end
|
770
|
+
|
771
|
+
::Thrift::Struct.generate_accessors self
|
772
|
+
end
|
773
|
+
|
774
|
+
class IssueRequestTokenWithAuthScheme_args
|
775
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
776
|
+
CHANNELID = 1
|
777
|
+
OTPID = 2
|
778
|
+
AUTHSCHEME = 3
|
779
|
+
RETURNURL = 4
|
780
|
+
|
781
|
+
FIELDS = {
|
782
|
+
CHANNELID => {:type => ::Thrift::Types::STRING, :name => 'channelId'},
|
783
|
+
OTPID => {:type => ::Thrift::Types::STRING, :name => 'otpId'},
|
784
|
+
AUTHSCHEME => {:type => ::Thrift::Types::LIST, :name => 'authScheme', :element => {:type => ::Thrift::Types::STRING}},
|
785
|
+
RETURNURL => {:type => ::Thrift::Types::STRING, :name => 'returnUrl'}
|
786
|
+
}
|
787
|
+
|
788
|
+
def struct_fields; FIELDS; end
|
789
|
+
|
790
|
+
def validate
|
791
|
+
end
|
792
|
+
|
793
|
+
::Thrift::Struct.generate_accessors self
|
794
|
+
end
|
795
|
+
|
796
|
+
class IssueRequestTokenWithAuthScheme_result
|
797
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
798
|
+
SUCCESS = 0
|
799
|
+
E = 1
|
800
|
+
|
801
|
+
FIELDS = {
|
802
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::RequestTokenResponse},
|
803
|
+
E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::ChannelException}
|
804
|
+
}
|
805
|
+
|
806
|
+
def struct_fields; FIELDS; end
|
807
|
+
|
808
|
+
def validate
|
809
|
+
end
|
810
|
+
|
811
|
+
::Thrift::Struct.generate_accessors self
|
812
|
+
end
|
813
|
+
|
814
|
+
class ReserveCoinUse_args
|
815
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
816
|
+
REQUEST = 2
|
817
|
+
LOCALE = 3
|
818
|
+
|
819
|
+
FIELDS = {
|
820
|
+
REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::CoinUseReservation},
|
821
|
+
LOCALE => {:type => ::Thrift::Types::STRING, :name => 'locale'}
|
822
|
+
}
|
823
|
+
|
824
|
+
def struct_fields; FIELDS; end
|
825
|
+
|
826
|
+
def validate
|
827
|
+
end
|
828
|
+
|
829
|
+
::Thrift::Struct.generate_accessors self
|
830
|
+
end
|
831
|
+
|
832
|
+
class ReserveCoinUse_result
|
833
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
834
|
+
SUCCESS = 0
|
835
|
+
E = 1
|
836
|
+
|
837
|
+
FIELDS = {
|
838
|
+
SUCCESS => {:type => ::Thrift::Types::STRING, :name => 'success'},
|
839
|
+
E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::ChannelException}
|
840
|
+
}
|
841
|
+
|
842
|
+
def struct_fields; FIELDS; end
|
843
|
+
|
844
|
+
def validate
|
845
|
+
end
|
846
|
+
|
847
|
+
::Thrift::Struct.generate_accessors self
|
848
|
+
end
|
849
|
+
|
850
|
+
class UpdateChannelNotificationSetting_args
|
851
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
852
|
+
SETTING = 1
|
853
|
+
|
854
|
+
FIELDS = {
|
855
|
+
SETTING => {:type => ::Thrift::Types::LIST, :name => 'setting', :element => {:type => ::Thrift::Types::STRUCT, :class => ::ChannelNotificationSetting}}
|
856
|
+
}
|
857
|
+
|
858
|
+
def struct_fields; FIELDS; end
|
859
|
+
|
860
|
+
def validate
|
861
|
+
end
|
862
|
+
|
863
|
+
::Thrift::Struct.generate_accessors self
|
864
|
+
end
|
865
|
+
|
866
|
+
class UpdateChannelNotificationSetting_result
|
867
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
868
|
+
E = 1
|
869
|
+
|
870
|
+
FIELDS = {
|
871
|
+
E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::ChannelException}
|
872
|
+
}
|
873
|
+
|
874
|
+
def struct_fields; FIELDS; end
|
875
|
+
|
876
|
+
def validate
|
877
|
+
end
|
878
|
+
|
879
|
+
::Thrift::Struct.generate_accessors self
|
880
|
+
end
|
881
|
+
|
882
|
+
end
|
883
|
+
|