linerb 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,268 @@
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 SecondaryQrCodeLoginPermit
11
+ class Client
12
+ include ::Thrift::Client
13
+
14
+ def cancelPinCode(request)
15
+ send_cancelPinCode(request)
16
+ return recv_cancelPinCode()
17
+ end
18
+
19
+ def send_cancelPinCode(request)
20
+ send_message('cancelPinCode', CancelPinCode_args, :request => request)
21
+ end
22
+
23
+ def recv_cancelPinCode()
24
+ result = receive_message(CancelPinCode_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, 'cancelPinCode failed: unknown result')
28
+ end
29
+
30
+ def getLoginActorContext(request)
31
+ send_getLoginActorContext(request)
32
+ return recv_getLoginActorContext()
33
+ end
34
+
35
+ def send_getLoginActorContext(request)
36
+ send_message('getLoginActorContext', GetLoginActorContext_args, :request => request)
37
+ end
38
+
39
+ def recv_getLoginActorContext()
40
+ result = receive_message(GetLoginActorContext_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, 'getLoginActorContext failed: unknown result')
44
+ end
45
+
46
+ def verifyPinCode(request)
47
+ send_verifyPinCode(request)
48
+ return recv_verifyPinCode()
49
+ end
50
+
51
+ def send_verifyPinCode(request)
52
+ send_message('verifyPinCode', VerifyPinCode_args, :request => request)
53
+ end
54
+
55
+ def recv_verifyPinCode()
56
+ result = receive_message(VerifyPinCode_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, 'verifyPinCode failed: unknown result')
60
+ end
61
+
62
+ def verifyQrCode(request)
63
+ send_verifyQrCode(request)
64
+ return recv_verifyQrCode()
65
+ end
66
+
67
+ def send_verifyQrCode(request)
68
+ send_message('verifyQrCode', VerifyQrCode_args, :request => request)
69
+ end
70
+
71
+ def recv_verifyQrCode()
72
+ result = receive_message(VerifyQrCode_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, 'verifyQrCode failed: unknown result')
76
+ end
77
+
78
+ end
79
+
80
+ class Processor
81
+ include ::Thrift::Processor
82
+
83
+ def process_cancelPinCode(seqid, iprot, oprot)
84
+ args = read_args(iprot, CancelPinCode_args)
85
+ result = CancelPinCode_result.new()
86
+ begin
87
+ result.success = @handler.cancelPinCode(args.request)
88
+ rescue ::SecondaryQrCodeException => e
89
+ result.e = e
90
+ end
91
+ write_result(result, oprot, 'cancelPinCode', seqid)
92
+ end
93
+
94
+ def process_getLoginActorContext(seqid, iprot, oprot)
95
+ args = read_args(iprot, GetLoginActorContext_args)
96
+ result = GetLoginActorContext_result.new()
97
+ begin
98
+ result.success = @handler.getLoginActorContext(args.request)
99
+ rescue ::SecondaryQrCodeException => e
100
+ result.e = e
101
+ end
102
+ write_result(result, oprot, 'getLoginActorContext', seqid)
103
+ end
104
+
105
+ def process_verifyPinCode(seqid, iprot, oprot)
106
+ args = read_args(iprot, VerifyPinCode_args)
107
+ result = VerifyPinCode_result.new()
108
+ begin
109
+ result.success = @handler.verifyPinCode(args.request)
110
+ rescue ::SecondaryQrCodeException => e
111
+ result.e = e
112
+ end
113
+ write_result(result, oprot, 'verifyPinCode', seqid)
114
+ end
115
+
116
+ def process_verifyQrCode(seqid, iprot, oprot)
117
+ args = read_args(iprot, VerifyQrCode_args)
118
+ result = VerifyQrCode_result.new()
119
+ begin
120
+ result.success = @handler.verifyQrCode(args.request)
121
+ rescue ::SecondaryQrCodeException => e
122
+ result.e = e
123
+ end
124
+ write_result(result, oprot, 'verifyQrCode', seqid)
125
+ end
126
+
127
+ end
128
+
129
+ # HELPER FUNCTIONS AND STRUCTURES
130
+
131
+ class CancelPinCode_args
132
+ include ::Thrift::Struct, ::Thrift::Struct_Union
133
+ REQUEST = 1
134
+
135
+ FIELDS = {
136
+ REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::CancelPinCodeRequest}
137
+ }
138
+
139
+ def struct_fields; FIELDS; end
140
+
141
+ def validate
142
+ end
143
+
144
+ ::Thrift::Struct.generate_accessors self
145
+ end
146
+
147
+ class CancelPinCode_result
148
+ include ::Thrift::Struct, ::Thrift::Struct_Union
149
+ SUCCESS = 0
150
+ E = 1
151
+
152
+ FIELDS = {
153
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::CancelPinCodeResponse},
154
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::SecondaryQrCodeException}
155
+ }
156
+
157
+ def struct_fields; FIELDS; end
158
+
159
+ def validate
160
+ end
161
+
162
+ ::Thrift::Struct.generate_accessors self
163
+ end
164
+
165
+ class GetLoginActorContext_args
166
+ include ::Thrift::Struct, ::Thrift::Struct_Union
167
+ REQUEST = 1
168
+
169
+ FIELDS = {
170
+ REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::GetLoginActorContextRequest}
171
+ }
172
+
173
+ def struct_fields; FIELDS; end
174
+
175
+ def validate
176
+ end
177
+
178
+ ::Thrift::Struct.generate_accessors self
179
+ end
180
+
181
+ class GetLoginActorContext_result
182
+ include ::Thrift::Struct, ::Thrift::Struct_Union
183
+ SUCCESS = 0
184
+ E = 1
185
+
186
+ FIELDS = {
187
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::GetLoginActorContextResponse},
188
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::SecondaryQrCodeException}
189
+ }
190
+
191
+ def struct_fields; FIELDS; end
192
+
193
+ def validate
194
+ end
195
+
196
+ ::Thrift::Struct.generate_accessors self
197
+ end
198
+
199
+ class VerifyPinCode_args
200
+ include ::Thrift::Struct, ::Thrift::Struct_Union
201
+ REQUEST = 1
202
+
203
+ FIELDS = {
204
+ REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::VerifyPinCodeRequest}
205
+ }
206
+
207
+ def struct_fields; FIELDS; end
208
+
209
+ def validate
210
+ end
211
+
212
+ ::Thrift::Struct.generate_accessors self
213
+ end
214
+
215
+ class VerifyPinCode_result
216
+ include ::Thrift::Struct, ::Thrift::Struct_Union
217
+ SUCCESS = 0
218
+ E = 1
219
+
220
+ FIELDS = {
221
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::VerifyPinCodeResponse},
222
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::SecondaryQrCodeException}
223
+ }
224
+
225
+ def struct_fields; FIELDS; end
226
+
227
+ def validate
228
+ end
229
+
230
+ ::Thrift::Struct.generate_accessors self
231
+ end
232
+
233
+ class VerifyQrCode_args
234
+ include ::Thrift::Struct, ::Thrift::Struct_Union
235
+ REQUEST = 1
236
+
237
+ FIELDS = {
238
+ REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::VerifyQrCodeRequest}
239
+ }
240
+
241
+ def struct_fields; FIELDS; end
242
+
243
+ def validate
244
+ end
245
+
246
+ ::Thrift::Struct.generate_accessors self
247
+ end
248
+
249
+ class VerifyQrCode_result
250
+ include ::Thrift::Struct, ::Thrift::Struct_Union
251
+ SUCCESS = 0
252
+ E = 1
253
+
254
+ FIELDS = {
255
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::VerifyQrCodeResponse},
256
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::SecondaryQrCodeException}
257
+ }
258
+
259
+ def struct_fields; FIELDS; end
260
+
261
+ def validate
262
+ end
263
+
264
+ ::Thrift::Struct.generate_accessors self
265
+ end
266
+
267
+ end
268
+
@@ -0,0 +1,140 @@
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 SecondaryQrCodeLoginPermitNoticeService
11
+ class Client
12
+ include ::Thrift::Client
13
+
14
+ def checkPinCodeVerified(request)
15
+ send_checkPinCodeVerified(request)
16
+ recv_checkPinCodeVerified()
17
+ end
18
+
19
+ def send_checkPinCodeVerified(request)
20
+ send_message('checkPinCodeVerified', CheckPinCodeVerified_args, :request => request)
21
+ end
22
+
23
+ def recv_checkPinCodeVerified()
24
+ result = receive_message(CheckPinCodeVerified_result)
25
+ raise result.e unless result.e.nil?
26
+ return
27
+ end
28
+
29
+ def checkQrCodeVerified(request)
30
+ send_checkQrCodeVerified(request)
31
+ recv_checkQrCodeVerified()
32
+ end
33
+
34
+ def send_checkQrCodeVerified(request)
35
+ send_message('checkQrCodeVerified', CheckQrCodeVerified_args, :request => request)
36
+ end
37
+
38
+ def recv_checkQrCodeVerified()
39
+ result = receive_message(CheckQrCodeVerified_result)
40
+ raise result.e unless result.e.nil?
41
+ return
42
+ end
43
+
44
+ end
45
+
46
+ class Processor
47
+ include ::Thrift::Processor
48
+
49
+ def process_checkPinCodeVerified(seqid, iprot, oprot)
50
+ args = read_args(iprot, CheckPinCodeVerified_args)
51
+ result = CheckPinCodeVerified_result.new()
52
+ begin
53
+ @handler.checkPinCodeVerified(args.request)
54
+ rescue ::SecondaryQrCodeException => e
55
+ result.e = e
56
+ end
57
+ write_result(result, oprot, 'checkPinCodeVerified', seqid)
58
+ end
59
+
60
+ def process_checkQrCodeVerified(seqid, iprot, oprot)
61
+ args = read_args(iprot, CheckQrCodeVerified_args)
62
+ result = CheckQrCodeVerified_result.new()
63
+ begin
64
+ @handler.checkQrCodeVerified(args.request)
65
+ rescue ::SecondaryQrCodeException => e
66
+ result.e = e
67
+ end
68
+ write_result(result, oprot, 'checkQrCodeVerified', seqid)
69
+ end
70
+
71
+ end
72
+
73
+ # HELPER FUNCTIONS AND STRUCTURES
74
+
75
+ class CheckPinCodeVerified_args
76
+ include ::Thrift::Struct, ::Thrift::Struct_Union
77
+ REQUEST = 1
78
+
79
+ FIELDS = {
80
+ REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::CheckPinCodeVerifiedRequest}
81
+ }
82
+
83
+ def struct_fields; FIELDS; end
84
+
85
+ def validate
86
+ end
87
+
88
+ ::Thrift::Struct.generate_accessors self
89
+ end
90
+
91
+ class CheckPinCodeVerified_result
92
+ include ::Thrift::Struct, ::Thrift::Struct_Union
93
+ E = 1
94
+
95
+ FIELDS = {
96
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::SecondaryQrCodeException}
97
+ }
98
+
99
+ def struct_fields; FIELDS; end
100
+
101
+ def validate
102
+ end
103
+
104
+ ::Thrift::Struct.generate_accessors self
105
+ end
106
+
107
+ class CheckQrCodeVerified_args
108
+ include ::Thrift::Struct, ::Thrift::Struct_Union
109
+ REQUEST = 1
110
+
111
+ FIELDS = {
112
+ REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::CheckQrCodeVerifiedRequest}
113
+ }
114
+
115
+ def struct_fields; FIELDS; end
116
+
117
+ def validate
118
+ end
119
+
120
+ ::Thrift::Struct.generate_accessors self
121
+ end
122
+
123
+ class CheckQrCodeVerified_result
124
+ include ::Thrift::Struct, ::Thrift::Struct_Union
125
+ E = 1
126
+
127
+ FIELDS = {
128
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::SecondaryQrCodeException}
129
+ }
130
+
131
+ def struct_fields; FIELDS; end
132
+
133
+ def validate
134
+ end
135
+
136
+ ::Thrift::Struct.generate_accessors self
137
+ end
138
+
139
+ end
140
+
@@ -0,0 +1,326 @@
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 SecondaryQrcodeLoginService
11
+ class Client
12
+ include ::Thrift::Client
13
+
14
+ def createSession(request)
15
+ send_createSession(request)
16
+ return recv_createSession()
17
+ end
18
+
19
+ def send_createSession(request)
20
+ send_message('createSession', CreateSession_args, :request => request)
21
+ end
22
+
23
+ def recv_createSession()
24
+ result = receive_message(CreateSession_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, 'createSession failed: unknown result')
28
+ end
29
+
30
+ def createQrCode(request)
31
+ send_createQrCode(request)
32
+ return recv_createQrCode()
33
+ end
34
+
35
+ def send_createQrCode(request)
36
+ send_message('createQrCode', CreateQrCode_args, :request => request)
37
+ end
38
+
39
+ def recv_createQrCode()
40
+ result = receive_message(CreateQrCode_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, 'createQrCode failed: unknown result')
44
+ end
45
+
46
+ def createPinCode(request)
47
+ send_createPinCode(request)
48
+ return recv_createPinCode()
49
+ end
50
+
51
+ def send_createPinCode(request)
52
+ send_message('createPinCode', CreatePinCode_args, :request => request)
53
+ end
54
+
55
+ def recv_createPinCode()
56
+ result = receive_message(CreatePinCode_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, 'createPinCode failed: unknown result')
60
+ end
61
+
62
+ def qrCodeLogin(request)
63
+ send_qrCodeLogin(request)
64
+ return recv_qrCodeLogin()
65
+ end
66
+
67
+ def send_qrCodeLogin(request)
68
+ send_message('qrCodeLogin', QrCodeLogin_args, :request => request)
69
+ end
70
+
71
+ def recv_qrCodeLogin()
72
+ result = receive_message(QrCodeLogin_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, 'qrCodeLogin failed: unknown result')
76
+ end
77
+
78
+ def verifyCertificate(request)
79
+ send_verifyCertificate(request)
80
+ recv_verifyCertificate()
81
+ end
82
+
83
+ def send_verifyCertificate(request)
84
+ send_message('verifyCertificate', VerifyCertificate_args, :request => request)
85
+ end
86
+
87
+ def recv_verifyCertificate()
88
+ result = receive_message(VerifyCertificate_result)
89
+ raise result.e unless result.e.nil?
90
+ return
91
+ end
92
+
93
+ end
94
+
95
+ class Processor
96
+ include ::Thrift::Processor
97
+
98
+ def process_createSession(seqid, iprot, oprot)
99
+ args = read_args(iprot, CreateSession_args)
100
+ result = CreateSession_result.new()
101
+ begin
102
+ result.success = @handler.createSession(args.request)
103
+ rescue ::SecondaryQrCodeException => e
104
+ result.e = e
105
+ end
106
+ write_result(result, oprot, 'createSession', seqid)
107
+ end
108
+
109
+ def process_createQrCode(seqid, iprot, oprot)
110
+ args = read_args(iprot, CreateQrCode_args)
111
+ result = CreateQrCode_result.new()
112
+ begin
113
+ result.success = @handler.createQrCode(args.request)
114
+ rescue ::SecondaryQrCodeException => e
115
+ result.e = e
116
+ end
117
+ write_result(result, oprot, 'createQrCode', seqid)
118
+ end
119
+
120
+ def process_createPinCode(seqid, iprot, oprot)
121
+ args = read_args(iprot, CreatePinCode_args)
122
+ result = CreatePinCode_result.new()
123
+ begin
124
+ result.success = @handler.createPinCode(args.request)
125
+ rescue ::SecondaryQrCodeException => e
126
+ result.e = e
127
+ end
128
+ write_result(result, oprot, 'createPinCode', seqid)
129
+ end
130
+
131
+ def process_qrCodeLogin(seqid, iprot, oprot)
132
+ args = read_args(iprot, QrCodeLogin_args)
133
+ result = QrCodeLogin_result.new()
134
+ begin
135
+ result.success = @handler.qrCodeLogin(args.request)
136
+ rescue ::SecondaryQrCodeException => e
137
+ result.e = e
138
+ end
139
+ write_result(result, oprot, 'qrCodeLogin', seqid)
140
+ end
141
+
142
+ def process_verifyCertificate(seqid, iprot, oprot)
143
+ args = read_args(iprot, VerifyCertificate_args)
144
+ result = VerifyCertificate_result.new()
145
+ begin
146
+ @handler.verifyCertificate(args.request)
147
+ rescue ::SecondaryQrCodeException => e
148
+ result.e = e
149
+ end
150
+ write_result(result, oprot, 'verifyCertificate', seqid)
151
+ end
152
+
153
+ end
154
+
155
+ # HELPER FUNCTIONS AND STRUCTURES
156
+
157
+ class CreateSession_args
158
+ include ::Thrift::Struct, ::Thrift::Struct_Union
159
+ REQUEST = 1
160
+
161
+ FIELDS = {
162
+ REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::CreateQrSessionRequest}
163
+ }
164
+
165
+ def struct_fields; FIELDS; end
166
+
167
+ def validate
168
+ end
169
+
170
+ ::Thrift::Struct.generate_accessors self
171
+ end
172
+
173
+ class CreateSession_result
174
+ include ::Thrift::Struct, ::Thrift::Struct_Union
175
+ SUCCESS = 0
176
+ E = 1
177
+
178
+ FIELDS = {
179
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::CreateQrSessionResponse},
180
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::SecondaryQrCodeException}
181
+ }
182
+
183
+ def struct_fields; FIELDS; end
184
+
185
+ def validate
186
+ end
187
+
188
+ ::Thrift::Struct.generate_accessors self
189
+ end
190
+
191
+ class CreateQrCode_args
192
+ include ::Thrift::Struct, ::Thrift::Struct_Union
193
+ REQUEST = 1
194
+
195
+ FIELDS = {
196
+ REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::CreateQrCodeRequest}
197
+ }
198
+
199
+ def struct_fields; FIELDS; end
200
+
201
+ def validate
202
+ end
203
+
204
+ ::Thrift::Struct.generate_accessors self
205
+ end
206
+
207
+ class CreateQrCode_result
208
+ include ::Thrift::Struct, ::Thrift::Struct_Union
209
+ SUCCESS = 0
210
+ E = 1
211
+
212
+ FIELDS = {
213
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::CreateQrCodeResponse},
214
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::SecondaryQrCodeException}
215
+ }
216
+
217
+ def struct_fields; FIELDS; end
218
+
219
+ def validate
220
+ end
221
+
222
+ ::Thrift::Struct.generate_accessors self
223
+ end
224
+
225
+ class CreatePinCode_args
226
+ include ::Thrift::Struct, ::Thrift::Struct_Union
227
+ REQUEST = 1
228
+
229
+ FIELDS = {
230
+ REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::CreatePinCodeRequest}
231
+ }
232
+
233
+ def struct_fields; FIELDS; end
234
+
235
+ def validate
236
+ end
237
+
238
+ ::Thrift::Struct.generate_accessors self
239
+ end
240
+
241
+ class CreatePinCode_result
242
+ include ::Thrift::Struct, ::Thrift::Struct_Union
243
+ SUCCESS = 0
244
+ E = 1
245
+
246
+ FIELDS = {
247
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::CreatePinCodeResponse},
248
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::SecondaryQrCodeException}
249
+ }
250
+
251
+ def struct_fields; FIELDS; end
252
+
253
+ def validate
254
+ end
255
+
256
+ ::Thrift::Struct.generate_accessors self
257
+ end
258
+
259
+ class QrCodeLogin_args
260
+ include ::Thrift::Struct, ::Thrift::Struct_Union
261
+ REQUEST = 1
262
+
263
+ FIELDS = {
264
+ REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::QrCodeLoginRequest}
265
+ }
266
+
267
+ def struct_fields; FIELDS; end
268
+
269
+ def validate
270
+ end
271
+
272
+ ::Thrift::Struct.generate_accessors self
273
+ end
274
+
275
+ class QrCodeLogin_result
276
+ include ::Thrift::Struct, ::Thrift::Struct_Union
277
+ SUCCESS = 0
278
+ E = 1
279
+
280
+ FIELDS = {
281
+ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::QrCodeLoginResponse},
282
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::SecondaryQrCodeException}
283
+ }
284
+
285
+ def struct_fields; FIELDS; end
286
+
287
+ def validate
288
+ end
289
+
290
+ ::Thrift::Struct.generate_accessors self
291
+ end
292
+
293
+ class VerifyCertificate_args
294
+ include ::Thrift::Struct, ::Thrift::Struct_Union
295
+ REQUEST = 1
296
+
297
+ FIELDS = {
298
+ REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ::VerifyCertificateRequest}
299
+ }
300
+
301
+ def struct_fields; FIELDS; end
302
+
303
+ def validate
304
+ end
305
+
306
+ ::Thrift::Struct.generate_accessors self
307
+ end
308
+
309
+ class VerifyCertificate_result
310
+ include ::Thrift::Struct, ::Thrift::Struct_Union
311
+ E = 1
312
+
313
+ FIELDS = {
314
+ E => {:type => ::Thrift::Types::STRUCT, :name => 'e', :class => ::SecondaryQrCodeException}
315
+ }
316
+
317
+ def struct_fields; FIELDS; end
318
+
319
+ def validate
320
+ end
321
+
322
+ ::Thrift::Struct.generate_accessors self
323
+ end
324
+
325
+ end
326
+