linerb 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- 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,837 @@
|
|
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 CallService
|
11
|
+
class Client
|
12
|
+
include ::Thrift::Client
|
13
|
+
|
14
|
+
def getGroupCallUrlInfo(request)
|
15
|
+
send_getGroupCallUrlInfo(request)
|
16
|
+
return recv_getGroupCallUrlInfo()
|
17
|
+
end
|
18
|
+
|
19
|
+
def send_getGroupCallUrlInfo(request)
|
20
|
+
send_message('getGroupCallUrlInfo', GetGroupCallUrlInfo_args, :request => request)
|
21
|
+
end
|
22
|
+
|
23
|
+
def recv_getGroupCallUrlInfo()
|
24
|
+
result = receive_message(GetGroupCallUrlInfo_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, 'getGroupCallUrlInfo failed: unknown result')
|
28
|
+
end
|
29
|
+
|
30
|
+
def getGroupCallUrls(request)
|
31
|
+
send_getGroupCallUrls(request)
|
32
|
+
return recv_getGroupCallUrls()
|
33
|
+
end
|
34
|
+
|
35
|
+
def send_getGroupCallUrls(request)
|
36
|
+
send_message('getGroupCallUrls', GetGroupCallUrls_args, :request => request)
|
37
|
+
end
|
38
|
+
|
39
|
+
def recv_getGroupCallUrls()
|
40
|
+
result = receive_message(GetGroupCallUrls_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, 'getGroupCallUrls failed: unknown result')
|
44
|
+
end
|
45
|
+
|
46
|
+
def joinChatByCallUrl(request)
|
47
|
+
send_joinChatByCallUrl(request)
|
48
|
+
return recv_joinChatByCallUrl()
|
49
|
+
end
|
50
|
+
|
51
|
+
def send_joinChatByCallUrl(request)
|
52
|
+
send_message('joinChatByCallUrl', JoinChatByCallUrl_args, :request => request)
|
53
|
+
end
|
54
|
+
|
55
|
+
def recv_joinChatByCallUrl()
|
56
|
+
result = receive_message(JoinChatByCallUrl_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, 'joinChatByCallUrl failed: unknown result')
|
60
|
+
end
|
61
|
+
|
62
|
+
def createGroupCallUrl(request)
|
63
|
+
send_createGroupCallUrl(request)
|
64
|
+
return recv_createGroupCallUrl()
|
65
|
+
end
|
66
|
+
|
67
|
+
def send_createGroupCallUrl(request)
|
68
|
+
send_message('createGroupCallUrl', CreateGroupCallUrl_args, :request => request)
|
69
|
+
end
|
70
|
+
|
71
|
+
def recv_createGroupCallUrl()
|
72
|
+
result = receive_message(CreateGroupCallUrl_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, 'createGroupCallUrl failed: unknown result')
|
76
|
+
end
|
77
|
+
|
78
|
+
def deleteGroupCallUrl(request)
|
79
|
+
send_deleteGroupCallUrl(request)
|
80
|
+
return recv_deleteGroupCallUrl()
|
81
|
+
end
|
82
|
+
|
83
|
+
def send_deleteGroupCallUrl(request)
|
84
|
+
send_message('deleteGroupCallUrl', DeleteGroupCallUrl_args, :request => request)
|
85
|
+
end
|
86
|
+
|
87
|
+
def recv_deleteGroupCallUrl()
|
88
|
+
result = receive_message(DeleteGroupCallUrl_result)
|
89
|
+
return result.success unless result.success.nil?
|
90
|
+
raise result.e unless result.e.nil?
|
91
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'deleteGroupCallUrl failed: unknown result')
|
92
|
+
end
|
93
|
+
|
94
|
+
def updateGroupCallUrl(request)
|
95
|
+
send_updateGroupCallUrl(request)
|
96
|
+
return recv_updateGroupCallUrl()
|
97
|
+
end
|
98
|
+
|
99
|
+
def send_updateGroupCallUrl(request)
|
100
|
+
send_message('updateGroupCallUrl', UpdateGroupCallUrl_args, :request => request)
|
101
|
+
end
|
102
|
+
|
103
|
+
def recv_updateGroupCallUrl()
|
104
|
+
result = receive_message(UpdateGroupCallUrl_result)
|
105
|
+
return result.success unless result.success.nil?
|
106
|
+
raise result.e unless result.e.nil?
|
107
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'updateGroupCallUrl failed: unknown result')
|
108
|
+
end
|
109
|
+
|
110
|
+
def redeemPaidCallVoucher(serial, language)
|
111
|
+
send_redeemPaidCallVoucher(serial, language)
|
112
|
+
return recv_redeemPaidCallVoucher()
|
113
|
+
end
|
114
|
+
|
115
|
+
def send_redeemPaidCallVoucher(serial, language)
|
116
|
+
send_message('redeemPaidCallVoucher', RedeemPaidCallVoucher_args, :serial => serial, :language => language)
|
117
|
+
end
|
118
|
+
|
119
|
+
def recv_redeemPaidCallVoucher()
|
120
|
+
result = receive_message(RedeemPaidCallVoucher_result)
|
121
|
+
return result.success unless result.success.nil?
|
122
|
+
raise result.e unless result.e.nil?
|
123
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'redeemPaidCallVoucher failed: unknown result')
|
124
|
+
end
|
125
|
+
|
126
|
+
def getCallCreditPurchaseHistory(request)
|
127
|
+
send_getCallCreditPurchaseHistory(request)
|
128
|
+
return recv_getCallCreditPurchaseHistory()
|
129
|
+
end
|
130
|
+
|
131
|
+
def send_getCallCreditPurchaseHistory(request)
|
132
|
+
send_message('getCallCreditPurchaseHistory', GetCallCreditPurchaseHistory_args, :request => request)
|
133
|
+
end
|
134
|
+
|
135
|
+
def recv_getCallCreditPurchaseHistory()
|
136
|
+
result = receive_message(GetCallCreditPurchaseHistory_result)
|
137
|
+
return result.success unless result.success.nil?
|
138
|
+
raise result.e unless result.e.nil?
|
139
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getCallCreditPurchaseHistory failed: unknown result')
|
140
|
+
end
|
141
|
+
|
142
|
+
def getCallCreditProducts(appStoreCode, pgCode, country, language)
|
143
|
+
send_getCallCreditProducts(appStoreCode, pgCode, country, language)
|
144
|
+
return recv_getCallCreditProducts()
|
145
|
+
end
|
146
|
+
|
147
|
+
def send_getCallCreditProducts(appStoreCode, pgCode, country, language)
|
148
|
+
send_message('getCallCreditProducts', GetCallCreditProducts_args, :appStoreCode => appStoreCode, :pgCode => pgCode, :country => country, :language => language)
|
149
|
+
end
|
150
|
+
|
151
|
+
def recv_getCallCreditProducts()
|
152
|
+
result = receive_message(GetCallCreditProducts_result)
|
153
|
+
return result.success unless result.success.nil?
|
154
|
+
raise result.e unless result.e.nil?
|
155
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getCallCreditProducts failed: unknown result')
|
156
|
+
end
|
157
|
+
|
158
|
+
def getPaidCallBalanceList(language)
|
159
|
+
send_getPaidCallBalanceList(language)
|
160
|
+
return recv_getPaidCallBalanceList()
|
161
|
+
end
|
162
|
+
|
163
|
+
def send_getPaidCallBalanceList(language)
|
164
|
+
send_message('getPaidCallBalanceList', GetPaidCallBalanceList_args, :language => language)
|
165
|
+
end
|
166
|
+
|
167
|
+
def recv_getPaidCallBalanceList()
|
168
|
+
result = receive_message(GetPaidCallBalanceList_result)
|
169
|
+
return result.success unless result.success.nil?
|
170
|
+
raise result.e unless result.e.nil?
|
171
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getPaidCallBalanceList failed: unknown result')
|
172
|
+
end
|
173
|
+
|
174
|
+
def getPaidCallMetadata(language)
|
175
|
+
send_getPaidCallMetadata(language)
|
176
|
+
return recv_getPaidCallMetadata()
|
177
|
+
end
|
178
|
+
|
179
|
+
def send_getPaidCallMetadata(language)
|
180
|
+
send_message('getPaidCallMetadata', GetPaidCallMetadata_args, :language => language)
|
181
|
+
end
|
182
|
+
|
183
|
+
def recv_getPaidCallMetadata()
|
184
|
+
result = receive_message(GetPaidCallMetadata_result)
|
185
|
+
return result.success unless result.success.nil?
|
186
|
+
raise result.e unless result.e.nil?
|
187
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getPaidCallMetadata failed: unknown result')
|
188
|
+
end
|
189
|
+
|
190
|
+
def searchPaidCallUserRate(countryCode, language)
|
191
|
+
send_searchPaidCallUserRate(countryCode, language)
|
192
|
+
return recv_searchPaidCallUserRate()
|
193
|
+
end
|
194
|
+
|
195
|
+
def send_searchPaidCallUserRate(countryCode, language)
|
196
|
+
send_message('searchPaidCallUserRate', SearchPaidCallUserRate_args, :countryCode => countryCode, :language => language)
|
197
|
+
end
|
198
|
+
|
199
|
+
def recv_searchPaidCallUserRate()
|
200
|
+
result = receive_message(SearchPaidCallUserRate_result)
|
201
|
+
return result.success unless result.success.nil?
|
202
|
+
raise result.e unless result.e.nil?
|
203
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'searchPaidCallUserRate failed: unknown result')
|
204
|
+
end
|
205
|
+
|
206
|
+
def lookupPaidCall(dialedNumber, language, referer)
|
207
|
+
send_lookupPaidCall(dialedNumber, language, referer)
|
208
|
+
return recv_lookupPaidCall()
|
209
|
+
end
|
210
|
+
|
211
|
+
def send_lookupPaidCall(dialedNumber, language, referer)
|
212
|
+
send_message('lookupPaidCall', LookupPaidCall_args, :dialedNumber => dialedNumber, :language => language, :referer => referer)
|
213
|
+
end
|
214
|
+
|
215
|
+
def recv_lookupPaidCall()
|
216
|
+
result = receive_message(LookupPaidCall_result)
|
217
|
+
return result.success unless result.success.nil?
|
218
|
+
raise result.e unless result.e.nil?
|
219
|
+
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'lookupPaidCall failed: unknown result')
|
220
|
+
end
|
221
|
+
|
222
|
+
end
|
223
|
+
|
224
|
+
class Processor
|
225
|
+
include ::Thrift::Processor
|
226
|
+
|
227
|
+
def process_getGroupCallUrlInfo(seqid, iprot, oprot)
|
228
|
+
args = read_args(iprot, GetGroupCallUrlInfo_args)
|
229
|
+
result = GetGroupCallUrlInfo_result.new()
|
230
|
+
begin
|
231
|
+
result.success = @handler.getGroupCallUrlInfo(args.request)
|
232
|
+
rescue ::TalkException => e
|
233
|
+
result.e = e
|
234
|
+
end
|
235
|
+
write_result(result, oprot, 'getGroupCallUrlInfo', seqid)
|
236
|
+
end
|
237
|
+
|
238
|
+
def process_getGroupCallUrls(seqid, iprot, oprot)
|
239
|
+
args = read_args(iprot, GetGroupCallUrls_args)
|
240
|
+
result = GetGroupCallUrls_result.new()
|
241
|
+
begin
|
242
|
+
result.success = @handler.getGroupCallUrls(args.request)
|
243
|
+
rescue ::TalkException => e
|
244
|
+
result.e = e
|
245
|
+
end
|
246
|
+
write_result(result, oprot, 'getGroupCallUrls', seqid)
|
247
|
+
end
|
248
|
+
|
249
|
+
def process_joinChatByCallUrl(seqid, iprot, oprot)
|
250
|
+
args = read_args(iprot, JoinChatByCallUrl_args)
|
251
|
+
result = JoinChatByCallUrl_result.new()
|
252
|
+
begin
|
253
|
+
result.success = @handler.joinChatByCallUrl(args.request)
|
254
|
+
rescue ::TalkException => e
|
255
|
+
result.e = e
|
256
|
+
end
|
257
|
+
write_result(result, oprot, 'joinChatByCallUrl', seqid)
|
258
|
+
end
|
259
|
+
|
260
|
+
def process_createGroupCallUrl(seqid, iprot, oprot)
|
261
|
+
args = read_args(iprot, CreateGroupCallUrl_args)
|
262
|
+
result = CreateGroupCallUrl_result.new()
|
263
|
+
begin
|
264
|
+
result.success = @handler.createGroupCallUrl(args.request)
|
265
|
+
rescue ::TalkException => e
|
266
|
+
result.e = e
|
267
|
+
end
|
268
|
+
write_result(result, oprot, 'createGroupCallUrl', seqid)
|
269
|
+
end
|
270
|
+
|
271
|
+
def process_deleteGroupCallUrl(seqid, iprot, oprot)
|
272
|
+
args = read_args(iprot, DeleteGroupCallUrl_args)
|
273
|
+
result = DeleteGroupCallUrl_result.new()
|
274
|
+
begin
|
275
|
+
result.success = @handler.deleteGroupCallUrl(args.request)
|
276
|
+
rescue ::TalkException => e
|
277
|
+
result.e = e
|
278
|
+
end
|
279
|
+
write_result(result, oprot, 'deleteGroupCallUrl', seqid)
|
280
|
+
end
|
281
|
+
|
282
|
+
def process_updateGroupCallUrl(seqid, iprot, oprot)
|
283
|
+
args = read_args(iprot, UpdateGroupCallUrl_args)
|
284
|
+
result = UpdateGroupCallUrl_result.new()
|
285
|
+
begin
|
286
|
+
result.success = @handler.updateGroupCallUrl(args.request)
|
287
|
+
rescue ::TalkException => e
|
288
|
+
result.e = e
|
289
|
+
end
|
290
|
+
write_result(result, oprot, 'updateGroupCallUrl', seqid)
|
291
|
+
end
|
292
|
+
|
293
|
+
def process_redeemPaidCallVoucher(seqid, iprot, oprot)
|
294
|
+
args = read_args(iprot, RedeemPaidCallVoucher_args)
|
295
|
+
result = RedeemPaidCallVoucher_result.new()
|
296
|
+
begin
|
297
|
+
result.success = @handler.redeemPaidCallVoucher(args.serial, args.language)
|
298
|
+
rescue ::TalkException => e
|
299
|
+
result.e = e
|
300
|
+
end
|
301
|
+
write_result(result, oprot, 'redeemPaidCallVoucher', seqid)
|
302
|
+
end
|
303
|
+
|
304
|
+
def process_getCallCreditPurchaseHistory(seqid, iprot, oprot)
|
305
|
+
args = read_args(iprot, GetCallCreditPurchaseHistory_args)
|
306
|
+
result = GetCallCreditPurchaseHistory_result.new()
|
307
|
+
begin
|
308
|
+
result.success = @handler.getCallCreditPurchaseHistory(args.request)
|
309
|
+
rescue ::TalkException => e
|
310
|
+
result.e = e
|
311
|
+
end
|
312
|
+
write_result(result, oprot, 'getCallCreditPurchaseHistory', seqid)
|
313
|
+
end
|
314
|
+
|
315
|
+
def process_getCallCreditProducts(seqid, iprot, oprot)
|
316
|
+
args = read_args(iprot, GetCallCreditProducts_args)
|
317
|
+
result = GetCallCreditProducts_result.new()
|
318
|
+
begin
|
319
|
+
result.success = @handler.getCallCreditProducts(args.appStoreCode, args.pgCode, args.country, args.language)
|
320
|
+
rescue ::TalkException => e
|
321
|
+
result.e = e
|
322
|
+
end
|
323
|
+
write_result(result, oprot, 'getCallCreditProducts', seqid)
|
324
|
+
end
|
325
|
+
|
326
|
+
def process_getPaidCallBalanceList(seqid, iprot, oprot)
|
327
|
+
args = read_args(iprot, GetPaidCallBalanceList_args)
|
328
|
+
result = GetPaidCallBalanceList_result.new()
|
329
|
+
begin
|
330
|
+
result.success = @handler.getPaidCallBalanceList(args.language)
|
331
|
+
rescue ::TalkException => e
|
332
|
+
result.e = e
|
333
|
+
end
|
334
|
+
write_result(result, oprot, 'getPaidCallBalanceList', seqid)
|
335
|
+
end
|
336
|
+
|
337
|
+
def process_getPaidCallMetadata(seqid, iprot, oprot)
|
338
|
+
args = read_args(iprot, GetPaidCallMetadata_args)
|
339
|
+
result = GetPaidCallMetadata_result.new()
|
340
|
+
begin
|
341
|
+
result.success = @handler.getPaidCallMetadata(args.language)
|
342
|
+
rescue ::TalkException => e
|
343
|
+
result.e = e
|
344
|
+
end
|
345
|
+
write_result(result, oprot, 'getPaidCallMetadata', seqid)
|
346
|
+
end
|
347
|
+
|
348
|
+
def process_searchPaidCallUserRate(seqid, iprot, oprot)
|
349
|
+
args = read_args(iprot, SearchPaidCallUserRate_args)
|
350
|
+
result = SearchPaidCallUserRate_result.new()
|
351
|
+
begin
|
352
|
+
result.success = @handler.searchPaidCallUserRate(args.countryCode, args.language)
|
353
|
+
rescue ::TalkException => e
|
354
|
+
result.e = e
|
355
|
+
end
|
356
|
+
write_result(result, oprot, 'searchPaidCallUserRate', seqid)
|
357
|
+
end
|
358
|
+
|
359
|
+
def process_lookupPaidCall(seqid, iprot, oprot)
|
360
|
+
args = read_args(iprot, LookupPaidCall_args)
|
361
|
+
result = LookupPaidCall_result.new()
|
362
|
+
begin
|
363
|
+
result.success = @handler.lookupPaidCall(args.dialedNumber, args.language, args.referer)
|
364
|
+
rescue ::TalkException => e
|
365
|
+
result.e = e
|
366
|
+
end
|
367
|
+
write_result(result, oprot, 'lookupPaidCall', seqid)
|
368
|
+
end
|
369
|
+
|
370
|
+
end
|
371
|
+
|
372
|
+
# HELPER FUNCTIONS AND STRUCTURES
|
373
|
+
|
374
|
+
class GetGroupCallUrlInfo_args
|
375
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
376
|
+
REQUEST = 2
|
377
|
+
|
378
|
+
FIELDS = {
|
379
|
+
REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::GetGroupCallUrlInfoRequest}
|
380
|
+
}
|
381
|
+
|
382
|
+
def struct_fields; FIELDS; end
|
383
|
+
|
384
|
+
def validate
|
385
|
+
end
|
386
|
+
|
387
|
+
::Thrift::Struct.generate_accessors self
|
388
|
+
end
|
389
|
+
|
390
|
+
class GetGroupCallUrlInfo_result
|
391
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
392
|
+
SUCCESS = 0
|
393
|
+
E = 1
|
394
|
+
|
395
|
+
FIELDS = {
|
396
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::GetGroupCallUrlInfoResponse},
|
397
|
+
E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
|
398
|
+
}
|
399
|
+
|
400
|
+
def struct_fields; FIELDS; end
|
401
|
+
|
402
|
+
def validate
|
403
|
+
end
|
404
|
+
|
405
|
+
::Thrift::Struct.generate_accessors self
|
406
|
+
end
|
407
|
+
|
408
|
+
class GetGroupCallUrls_args
|
409
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
410
|
+
REQUEST = 2
|
411
|
+
|
412
|
+
FIELDS = {
|
413
|
+
REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::GetGroupCallUrlsRequest}
|
414
|
+
}
|
415
|
+
|
416
|
+
def struct_fields; FIELDS; end
|
417
|
+
|
418
|
+
def validate
|
419
|
+
end
|
420
|
+
|
421
|
+
::Thrift::Struct.generate_accessors self
|
422
|
+
end
|
423
|
+
|
424
|
+
class GetGroupCallUrls_result
|
425
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
426
|
+
SUCCESS = 0
|
427
|
+
E = 1
|
428
|
+
|
429
|
+
FIELDS = {
|
430
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::GetGroupCallUrlsResponse},
|
431
|
+
E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
|
432
|
+
}
|
433
|
+
|
434
|
+
def struct_fields; FIELDS; end
|
435
|
+
|
436
|
+
def validate
|
437
|
+
end
|
438
|
+
|
439
|
+
::Thrift::Struct.generate_accessors self
|
440
|
+
end
|
441
|
+
|
442
|
+
class JoinChatByCallUrl_args
|
443
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
444
|
+
REQUEST = 2
|
445
|
+
|
446
|
+
FIELDS = {
|
447
|
+
REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::JoinChatByCallUrlRequest}
|
448
|
+
}
|
449
|
+
|
450
|
+
def struct_fields; FIELDS; end
|
451
|
+
|
452
|
+
def validate
|
453
|
+
end
|
454
|
+
|
455
|
+
::Thrift::Struct.generate_accessors self
|
456
|
+
end
|
457
|
+
|
458
|
+
class JoinChatByCallUrl_result
|
459
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
460
|
+
SUCCESS = 0
|
461
|
+
E = 1
|
462
|
+
|
463
|
+
FIELDS = {
|
464
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::JoinChatByCallUrlResponse},
|
465
|
+
E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
|
466
|
+
}
|
467
|
+
|
468
|
+
def struct_fields; FIELDS; end
|
469
|
+
|
470
|
+
def validate
|
471
|
+
end
|
472
|
+
|
473
|
+
::Thrift::Struct.generate_accessors self
|
474
|
+
end
|
475
|
+
|
476
|
+
class CreateGroupCallUrl_args
|
477
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
478
|
+
REQUEST = 2
|
479
|
+
|
480
|
+
FIELDS = {
|
481
|
+
REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::CreateGroupCallUrlRequest}
|
482
|
+
}
|
483
|
+
|
484
|
+
def struct_fields; FIELDS; end
|
485
|
+
|
486
|
+
def validate
|
487
|
+
end
|
488
|
+
|
489
|
+
::Thrift::Struct.generate_accessors self
|
490
|
+
end
|
491
|
+
|
492
|
+
class CreateGroupCallUrl_result
|
493
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
494
|
+
SUCCESS = 0
|
495
|
+
E = 1
|
496
|
+
|
497
|
+
FIELDS = {
|
498
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::CreateGroupCallUrlResponse},
|
499
|
+
E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
|
500
|
+
}
|
501
|
+
|
502
|
+
def struct_fields; FIELDS; end
|
503
|
+
|
504
|
+
def validate
|
505
|
+
end
|
506
|
+
|
507
|
+
::Thrift::Struct.generate_accessors self
|
508
|
+
end
|
509
|
+
|
510
|
+
class DeleteGroupCallUrl_args
|
511
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
512
|
+
REQUEST = 2
|
513
|
+
|
514
|
+
FIELDS = {
|
515
|
+
REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::DeleteGroupCallUrlRequest}
|
516
|
+
}
|
517
|
+
|
518
|
+
def struct_fields; FIELDS; end
|
519
|
+
|
520
|
+
def validate
|
521
|
+
end
|
522
|
+
|
523
|
+
::Thrift::Struct.generate_accessors self
|
524
|
+
end
|
525
|
+
|
526
|
+
class DeleteGroupCallUrl_result
|
527
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
528
|
+
SUCCESS = 0
|
529
|
+
E = 1
|
530
|
+
|
531
|
+
FIELDS = {
|
532
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::DeleteGroupCallUrlResponse},
|
533
|
+
E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
|
534
|
+
}
|
535
|
+
|
536
|
+
def struct_fields; FIELDS; end
|
537
|
+
|
538
|
+
def validate
|
539
|
+
end
|
540
|
+
|
541
|
+
::Thrift::Struct.generate_accessors self
|
542
|
+
end
|
543
|
+
|
544
|
+
class UpdateGroupCallUrl_args
|
545
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
546
|
+
REQUEST = 2
|
547
|
+
|
548
|
+
FIELDS = {
|
549
|
+
REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::UpdateGroupCallUrlRequest}
|
550
|
+
}
|
551
|
+
|
552
|
+
def struct_fields; FIELDS; end
|
553
|
+
|
554
|
+
def validate
|
555
|
+
end
|
556
|
+
|
557
|
+
::Thrift::Struct.generate_accessors self
|
558
|
+
end
|
559
|
+
|
560
|
+
class UpdateGroupCallUrl_result
|
561
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
562
|
+
SUCCESS = 0
|
563
|
+
E = 1
|
564
|
+
|
565
|
+
FIELDS = {
|
566
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::UpdateGroupCallUrlResponse},
|
567
|
+
E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
|
568
|
+
}
|
569
|
+
|
570
|
+
def struct_fields; FIELDS; end
|
571
|
+
|
572
|
+
def validate
|
573
|
+
end
|
574
|
+
|
575
|
+
::Thrift::Struct.generate_accessors self
|
576
|
+
end
|
577
|
+
|
578
|
+
class RedeemPaidCallVoucher_args
|
579
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
580
|
+
SERIAL = 2
|
581
|
+
LANGUAGE = 3
|
582
|
+
|
583
|
+
FIELDS = {
|
584
|
+
SERIAL => {:type => ::Thrift::Types::STRING, :name => 'serial'},
|
585
|
+
LANGUAGE => {:type => ::Thrift::Types::STRING, :name => 'language'}
|
586
|
+
}
|
587
|
+
|
588
|
+
def struct_fields; FIELDS; end
|
589
|
+
|
590
|
+
def validate
|
591
|
+
end
|
592
|
+
|
593
|
+
::Thrift::Struct.generate_accessors self
|
594
|
+
end
|
595
|
+
|
596
|
+
class RedeemPaidCallVoucher_result
|
597
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
598
|
+
SUCCESS = 0
|
599
|
+
E = 1
|
600
|
+
|
601
|
+
FIELDS = {
|
602
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::PaidCallRedeemResult},
|
603
|
+
E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
|
604
|
+
}
|
605
|
+
|
606
|
+
def struct_fields; FIELDS; end
|
607
|
+
|
608
|
+
def validate
|
609
|
+
end
|
610
|
+
|
611
|
+
::Thrift::Struct.generate_accessors self
|
612
|
+
end
|
613
|
+
|
614
|
+
class GetCallCreditPurchaseHistory_args
|
615
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
616
|
+
REQUEST = 2
|
617
|
+
|
618
|
+
FIELDS = {
|
619
|
+
REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::CoinHistoryCondition}
|
620
|
+
}
|
621
|
+
|
622
|
+
def struct_fields; FIELDS; end
|
623
|
+
|
624
|
+
def validate
|
625
|
+
end
|
626
|
+
|
627
|
+
::Thrift::Struct.generate_accessors self
|
628
|
+
end
|
629
|
+
|
630
|
+
class GetCallCreditPurchaseHistory_result
|
631
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
632
|
+
SUCCESS = 0
|
633
|
+
E = 1
|
634
|
+
|
635
|
+
FIELDS = {
|
636
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::CoinHistoryResult},
|
637
|
+
E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
|
638
|
+
}
|
639
|
+
|
640
|
+
def struct_fields; FIELDS; end
|
641
|
+
|
642
|
+
def validate
|
643
|
+
end
|
644
|
+
|
645
|
+
::Thrift::Struct.generate_accessors self
|
646
|
+
end
|
647
|
+
|
648
|
+
class GetCallCreditProducts_args
|
649
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
650
|
+
APPSTORECODE = 2
|
651
|
+
PGCODE = 3
|
652
|
+
COUNTRY = 4
|
653
|
+
LANGUAGE = 5
|
654
|
+
|
655
|
+
FIELDS = {
|
656
|
+
APPSTORECODE => {:type => ::Thrift::Types::I32, :name => 'appStoreCode', :enum_class => ::J0_a_e_a_b_ge},
|
657
|
+
PGCODE => {:type => ::Thrift::Types::I32, :name => 'pgCode', :enum_class => ::J0_a_e_a_b_ee},
|
658
|
+
COUNTRY => {:type => ::Thrift::Types::STRING, :name => 'country'},
|
659
|
+
LANGUAGE => {:type => ::Thrift::Types::STRING, :name => 'language'}
|
660
|
+
}
|
661
|
+
|
662
|
+
def struct_fields; FIELDS; end
|
663
|
+
|
664
|
+
def validate
|
665
|
+
unless @appStoreCode.nil? || ::J0_a_e_a_b_ge::VALID_VALUES.include?(@appStoreCode)
|
666
|
+
raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field appStoreCode!')
|
667
|
+
end
|
668
|
+
unless @pgCode.nil? || ::J0_a_e_a_b_ee::VALID_VALUES.include?(@pgCode)
|
669
|
+
raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field pgCode!')
|
670
|
+
end
|
671
|
+
end
|
672
|
+
|
673
|
+
::Thrift::Struct.generate_accessors self
|
674
|
+
end
|
675
|
+
|
676
|
+
class GetCallCreditProducts_result
|
677
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
678
|
+
SUCCESS = 0
|
679
|
+
E = 1
|
680
|
+
|
681
|
+
FIELDS = {
|
682
|
+
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::CoinProductItem}},
|
683
|
+
E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
|
684
|
+
}
|
685
|
+
|
686
|
+
def struct_fields; FIELDS; end
|
687
|
+
|
688
|
+
def validate
|
689
|
+
end
|
690
|
+
|
691
|
+
::Thrift::Struct.generate_accessors self
|
692
|
+
end
|
693
|
+
|
694
|
+
class GetPaidCallBalanceList_args
|
695
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
696
|
+
LANGUAGE = 2
|
697
|
+
|
698
|
+
FIELDS = {
|
699
|
+
LANGUAGE => {:type => ::Thrift::Types::STRING, :name => 'language'}
|
700
|
+
}
|
701
|
+
|
702
|
+
def struct_fields; FIELDS; end
|
703
|
+
|
704
|
+
def validate
|
705
|
+
end
|
706
|
+
|
707
|
+
::Thrift::Struct.generate_accessors self
|
708
|
+
end
|
709
|
+
|
710
|
+
class GetPaidCallBalanceList_result
|
711
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
712
|
+
SUCCESS = 0
|
713
|
+
E = 1
|
714
|
+
|
715
|
+
FIELDS = {
|
716
|
+
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::PaidCallBalance}},
|
717
|
+
E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
|
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 GetPaidCallMetadata_args
|
729
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
730
|
+
LANGUAGE = 2
|
731
|
+
|
732
|
+
FIELDS = {
|
733
|
+
LANGUAGE => {:type => ::Thrift::Types::STRING, :name => 'language'}
|
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 GetPaidCallMetadata_result
|
745
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
746
|
+
SUCCESS = 0
|
747
|
+
E = 1
|
748
|
+
|
749
|
+
FIELDS = {
|
750
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::PaidCallMetadataResult},
|
751
|
+
E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
|
752
|
+
}
|
753
|
+
|
754
|
+
def struct_fields; FIELDS; end
|
755
|
+
|
756
|
+
def validate
|
757
|
+
end
|
758
|
+
|
759
|
+
::Thrift::Struct.generate_accessors self
|
760
|
+
end
|
761
|
+
|
762
|
+
class SearchPaidCallUserRate_args
|
763
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
764
|
+
COUNTRYCODE = 2
|
765
|
+
LANGUAGE = 3
|
766
|
+
|
767
|
+
FIELDS = {
|
768
|
+
COUNTRYCODE => {:type => ::Thrift::Types::STRING, :name => 'countryCode'},
|
769
|
+
LANGUAGE => {:type => ::Thrift::Types::STRING, :name => 'language'}
|
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
|
+
class SearchPaidCallUserRate_result
|
781
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
782
|
+
SUCCESS = 0
|
783
|
+
E = 1
|
784
|
+
|
785
|
+
FIELDS = {
|
786
|
+
SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::PaidCallUserRate}},
|
787
|
+
E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
|
788
|
+
}
|
789
|
+
|
790
|
+
def struct_fields; FIELDS; end
|
791
|
+
|
792
|
+
def validate
|
793
|
+
end
|
794
|
+
|
795
|
+
::Thrift::Struct.generate_accessors self
|
796
|
+
end
|
797
|
+
|
798
|
+
class LookupPaidCall_args
|
799
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
800
|
+
DIALEDNUMBER = 2
|
801
|
+
LANGUAGE = 3
|
802
|
+
REFERER = 4
|
803
|
+
|
804
|
+
FIELDS = {
|
805
|
+
DIALEDNUMBER => {:type => ::Thrift::Types::STRING, :name => 'dialedNumber'},
|
806
|
+
LANGUAGE => {:type => ::Thrift::Types::STRING, :name => 'language'},
|
807
|
+
REFERER => {:type => ::Thrift::Types::STRING, :name => 'referer'}
|
808
|
+
}
|
809
|
+
|
810
|
+
def struct_fields; FIELDS; end
|
811
|
+
|
812
|
+
def validate
|
813
|
+
end
|
814
|
+
|
815
|
+
::Thrift::Struct.generate_accessors self
|
816
|
+
end
|
817
|
+
|
818
|
+
class LookupPaidCall_result
|
819
|
+
include ::Thrift::Struct, ::Thrift::Struct_Union
|
820
|
+
SUCCESS = 0
|
821
|
+
E = 1
|
822
|
+
|
823
|
+
FIELDS = {
|
824
|
+
SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::PaidCallResponse},
|
825
|
+
E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::TalkException}
|
826
|
+
}
|
827
|
+
|
828
|
+
def struct_fields; FIELDS; end
|
829
|
+
|
830
|
+
def validate
|
831
|
+
end
|
832
|
+
|
833
|
+
::Thrift::Struct.generate_accessors self
|
834
|
+
end
|
835
|
+
|
836
|
+
end
|
837
|
+
|