tencentcloud-sdk-captcha 1.0.200
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/VERSION +1 -0
- data/lib/tencentcloud-sdk-captcha.rb +11 -0
- data/lib/v20190722/client.rb +348 -0
- data/lib/v20190722/models.rb +1381 -0
- metadata +66 -0
@@ -0,0 +1,1381 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
module TencentCloud
|
18
|
+
module Captcha
|
19
|
+
module V20190722
|
20
|
+
# DescribeCaptchaOperData方法 拦截情况type = 2 返回的数据结构
|
21
|
+
class CaptchaOperDataInterceptUnit < TencentCloud::Common::AbstractModel
|
22
|
+
# @param DateKey: 时间
|
23
|
+
# @type DateKey: String
|
24
|
+
# @param AllStopCnt: 停止验证数量
|
25
|
+
# @type AllStopCnt: Float
|
26
|
+
# @param PicStopCnt: 图片停止加载数量
|
27
|
+
# @type PicStopCnt: Float
|
28
|
+
# @param StrategyStopCnt: 策略拦截数量
|
29
|
+
# @type StrategyStopCnt: Float
|
30
|
+
|
31
|
+
attr_accessor :DateKey, :AllStopCnt, :PicStopCnt, :StrategyStopCnt
|
32
|
+
|
33
|
+
def initialize(datekey=nil, allstopcnt=nil, picstopcnt=nil, strategystopcnt=nil)
|
34
|
+
@DateKey = datekey
|
35
|
+
@AllStopCnt = allstopcnt
|
36
|
+
@PicStopCnt = picstopcnt
|
37
|
+
@StrategyStopCnt = strategystopcnt
|
38
|
+
end
|
39
|
+
|
40
|
+
def deserialize(params)
|
41
|
+
@DateKey = params['DateKey']
|
42
|
+
@AllStopCnt = params['AllStopCnt']
|
43
|
+
@PicStopCnt = params['PicStopCnt']
|
44
|
+
@StrategyStopCnt = params['StrategyStopCnt']
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
# 操作数据查询方法DescribeCaptchaOperData 的返回结果,安全验证码加载耗时type = 1
|
49
|
+
class CaptchaOperDataLoadTimeUnit < TencentCloud::Common::AbstractModel
|
50
|
+
# @param DateKey: 时间
|
51
|
+
# @type DateKey: String
|
52
|
+
# @param MarketLoadTime: Market加载时间
|
53
|
+
# @type MarketLoadTime: Float
|
54
|
+
# @param AppIdLoadTime: AppId加载时间
|
55
|
+
# @type AppIdLoadTime: Float
|
56
|
+
|
57
|
+
attr_accessor :DateKey, :MarketLoadTime, :AppIdLoadTime
|
58
|
+
|
59
|
+
def initialize(datekey=nil, marketloadtime=nil, appidloadtime=nil)
|
60
|
+
@DateKey = datekey
|
61
|
+
@MarketLoadTime = marketloadtime
|
62
|
+
@AppIdLoadTime = appidloadtime
|
63
|
+
end
|
64
|
+
|
65
|
+
def deserialize(params)
|
66
|
+
@DateKey = params['DateKey']
|
67
|
+
@MarketLoadTime = params['MarketLoadTime']
|
68
|
+
@AppIdLoadTime = params['AppIdLoadTime']
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
# DescribeCaptchaOperData 接口 返回数据类型集合
|
73
|
+
class CaptchaOperDataRes < TencentCloud::Common::AbstractModel
|
74
|
+
# @param OperDataLoadTimeUnitArray: 验证码加载耗时数据返回
|
75
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
76
|
+
# @type OperDataLoadTimeUnitArray: Array
|
77
|
+
# @param OperDataInterceptUnitArray: 验证码拦截情况数据返回
|
78
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
79
|
+
# @type OperDataInterceptUnitArray: Array
|
80
|
+
# @param OperDataTryTimesUnitArray: 验证码尝试次数数据返回
|
81
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
82
|
+
# @type OperDataTryTimesUnitArray: Array
|
83
|
+
# @param OperDataTryTimesDistributeUnitArray: 验证码尝试次数分布数据返回
|
84
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
85
|
+
# @type OperDataTryTimesDistributeUnitArray: Array
|
86
|
+
|
87
|
+
attr_accessor :OperDataLoadTimeUnitArray, :OperDataInterceptUnitArray, :OperDataTryTimesUnitArray, :OperDataTryTimesDistributeUnitArray
|
88
|
+
|
89
|
+
def initialize(operdataloadtimeunitarray=nil, operdatainterceptunitarray=nil, operdatatrytimesunitarray=nil, operdatatrytimesdistributeunitarray=nil)
|
90
|
+
@OperDataLoadTimeUnitArray = operdataloadtimeunitarray
|
91
|
+
@OperDataInterceptUnitArray = operdatainterceptunitarray
|
92
|
+
@OperDataTryTimesUnitArray = operdatatrytimesunitarray
|
93
|
+
@OperDataTryTimesDistributeUnitArray = operdatatrytimesdistributeunitarray
|
94
|
+
end
|
95
|
+
|
96
|
+
def deserialize(params)
|
97
|
+
unless params['OperDataLoadTimeUnitArray'].nil?
|
98
|
+
@OperDataLoadTimeUnitArray = []
|
99
|
+
params['OperDataLoadTimeUnitArray'].each do |i|
|
100
|
+
captchaoperdataloadtimeunit_tmp = CaptchaOperDataLoadTimeUnit.new
|
101
|
+
captchaoperdataloadtimeunit_tmp.deserialize(i)
|
102
|
+
@OperDataLoadTimeUnitArray << captchaoperdataloadtimeunit_tmp
|
103
|
+
end
|
104
|
+
end
|
105
|
+
unless params['OperDataInterceptUnitArray'].nil?
|
106
|
+
@OperDataInterceptUnitArray = []
|
107
|
+
params['OperDataInterceptUnitArray'].each do |i|
|
108
|
+
captchaoperdatainterceptunit_tmp = CaptchaOperDataInterceptUnit.new
|
109
|
+
captchaoperdatainterceptunit_tmp.deserialize(i)
|
110
|
+
@OperDataInterceptUnitArray << captchaoperdatainterceptunit_tmp
|
111
|
+
end
|
112
|
+
end
|
113
|
+
unless params['OperDataTryTimesUnitArray'].nil?
|
114
|
+
@OperDataTryTimesUnitArray = []
|
115
|
+
params['OperDataTryTimesUnitArray'].each do |i|
|
116
|
+
captchaoperdatatrytimesunit_tmp = CaptchaOperDataTryTimesUnit.new
|
117
|
+
captchaoperdatatrytimesunit_tmp.deserialize(i)
|
118
|
+
@OperDataTryTimesUnitArray << captchaoperdatatrytimesunit_tmp
|
119
|
+
end
|
120
|
+
end
|
121
|
+
unless params['OperDataTryTimesDistributeUnitArray'].nil?
|
122
|
+
@OperDataTryTimesDistributeUnitArray = []
|
123
|
+
params['OperDataTryTimesDistributeUnitArray'].each do |i|
|
124
|
+
captchaoperdatatrytimesdistributeunit_tmp = CaptchaOperDataTryTimesDistributeUnit.new
|
125
|
+
captchaoperdatatrytimesdistributeunit_tmp.deserialize(i)
|
126
|
+
@OperDataTryTimesDistributeUnitArray << captchaoperdatatrytimesdistributeunit_tmp
|
127
|
+
end
|
128
|
+
end
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
# DescribeCaptchaOperData方法 尝试次数分布 type = 4
|
133
|
+
class CaptchaOperDataTryTimesDistributeUnit < TencentCloud::Common::AbstractModel
|
134
|
+
# @param TryCount: 尝试次数
|
135
|
+
# @type TryCount: Integer
|
136
|
+
# @param UserCount: 用户请求数量
|
137
|
+
# @type UserCount: Integer
|
138
|
+
|
139
|
+
attr_accessor :TryCount, :UserCount
|
140
|
+
|
141
|
+
def initialize(trycount=nil, usercount=nil)
|
142
|
+
@TryCount = trycount
|
143
|
+
@UserCount = usercount
|
144
|
+
end
|
145
|
+
|
146
|
+
def deserialize(params)
|
147
|
+
@TryCount = params['TryCount']
|
148
|
+
@UserCount = params['UserCount']
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
152
|
+
# DescribeCaptchaOperData操作数据查询尝试次数 type = 3
|
153
|
+
class CaptchaOperDataTryTimesUnit < TencentCloud::Common::AbstractModel
|
154
|
+
# @param DateKey: 时间
|
155
|
+
# @type DateKey: String
|
156
|
+
# @param CntPerPass: 平均尝试次数
|
157
|
+
# @type CntPerPass: Array
|
158
|
+
# @param MarketCntPerPass: market平均尝试次数
|
159
|
+
# @type MarketCntPerPass: Float
|
160
|
+
|
161
|
+
attr_accessor :DateKey, :CntPerPass, :MarketCntPerPass
|
162
|
+
|
163
|
+
def initialize(datekey=nil, cntperpass=nil, marketcntperpass=nil)
|
164
|
+
@DateKey = datekey
|
165
|
+
@CntPerPass = cntperpass
|
166
|
+
@MarketCntPerPass = marketcntperpass
|
167
|
+
end
|
168
|
+
|
169
|
+
def deserialize(params)
|
170
|
+
@DateKey = params['DateKey']
|
171
|
+
@CntPerPass = params['CntPerPass']
|
172
|
+
@MarketCntPerPass = params['MarketCntPerPass']
|
173
|
+
end
|
174
|
+
end
|
175
|
+
|
176
|
+
# 该类型为DescribeCaptchaData 方法返回数据类型
|
177
|
+
class CaptchaQueryData < TencentCloud::Common::AbstractModel
|
178
|
+
# @param Cnt: 数量
|
179
|
+
# @type Cnt: Integer
|
180
|
+
# @param Date: 时间
|
181
|
+
# @type Date: String
|
182
|
+
|
183
|
+
attr_accessor :Cnt, :Date
|
184
|
+
|
185
|
+
def initialize(cnt=nil, date=nil)
|
186
|
+
@Cnt = cnt
|
187
|
+
@Date = date
|
188
|
+
end
|
189
|
+
|
190
|
+
def deserialize(params)
|
191
|
+
@Cnt = params['Cnt']
|
192
|
+
@Date = params['Date']
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
# DescribeCaptchaTicketData 接口 返回数据类型集合
|
197
|
+
class CaptchaTicketDataRes < TencentCloud::Common::AbstractModel
|
198
|
+
# @param TicketAmountArray: 票据验证总量返回
|
199
|
+
# @type TicketAmountArray: Array
|
200
|
+
# @param TicketThroughArray: 票据验证通过量返回
|
201
|
+
# @type TicketThroughArray: Array
|
202
|
+
# @param TicketInterceptArray: 票据验证拦截量返回
|
203
|
+
# @type TicketInterceptArray: Array
|
204
|
+
|
205
|
+
attr_accessor :TicketAmountArray, :TicketThroughArray, :TicketInterceptArray
|
206
|
+
|
207
|
+
def initialize(ticketamountarray=nil, ticketthrougharray=nil, ticketinterceptarray=nil)
|
208
|
+
@TicketAmountArray = ticketamountarray
|
209
|
+
@TicketThroughArray = ticketthrougharray
|
210
|
+
@TicketInterceptArray = ticketinterceptarray
|
211
|
+
end
|
212
|
+
|
213
|
+
def deserialize(params)
|
214
|
+
unless params['TicketAmountArray'].nil?
|
215
|
+
@TicketAmountArray = []
|
216
|
+
params['TicketAmountArray'].each do |i|
|
217
|
+
ticketamountunit_tmp = TicketAmountUnit.new
|
218
|
+
ticketamountunit_tmp.deserialize(i)
|
219
|
+
@TicketAmountArray << ticketamountunit_tmp
|
220
|
+
end
|
221
|
+
end
|
222
|
+
unless params['TicketThroughArray'].nil?
|
223
|
+
@TicketThroughArray = []
|
224
|
+
params['TicketThroughArray'].each do |i|
|
225
|
+
ticketthroughunit_tmp = TicketThroughUnit.new
|
226
|
+
ticketthroughunit_tmp.deserialize(i)
|
227
|
+
@TicketThroughArray << ticketthroughunit_tmp
|
228
|
+
end
|
229
|
+
end
|
230
|
+
unless params['TicketInterceptArray'].nil?
|
231
|
+
@TicketInterceptArray = []
|
232
|
+
params['TicketInterceptArray'].each do |i|
|
233
|
+
ticketinterceptunit_tmp = TicketInterceptUnit.new
|
234
|
+
ticketinterceptunit_tmp.deserialize(i)
|
235
|
+
@TicketInterceptArray << ticketinterceptunit_tmp
|
236
|
+
end
|
237
|
+
end
|
238
|
+
end
|
239
|
+
end
|
240
|
+
|
241
|
+
# 用户注册的APPID和应用名称对象
|
242
|
+
class CaptchaUserAllAppId < TencentCloud::Common::AbstractModel
|
243
|
+
# @param CaptchaAppId: 验证码应用ID
|
244
|
+
# @type CaptchaAppId: Integer
|
245
|
+
# @param AppName: 注册应用名称
|
246
|
+
# @type AppName: String
|
247
|
+
# @param TcAppId: 腾讯云APPID
|
248
|
+
# @type TcAppId: Integer
|
249
|
+
# @param ChannelInfo: 渠道信息
|
250
|
+
# @type ChannelInfo: String
|
251
|
+
|
252
|
+
attr_accessor :CaptchaAppId, :AppName, :TcAppId, :ChannelInfo
|
253
|
+
|
254
|
+
def initialize(captchaappid=nil, appname=nil, tcappid=nil, channelinfo=nil)
|
255
|
+
@CaptchaAppId = captchaappid
|
256
|
+
@AppName = appname
|
257
|
+
@TcAppId = tcappid
|
258
|
+
@ChannelInfo = channelinfo
|
259
|
+
end
|
260
|
+
|
261
|
+
def deserialize(params)
|
262
|
+
@CaptchaAppId = params['CaptchaAppId']
|
263
|
+
@AppName = params['AppName']
|
264
|
+
@TcAppId = params['TcAppId']
|
265
|
+
@ChannelInfo = params['ChannelInfo']
|
266
|
+
end
|
267
|
+
end
|
268
|
+
|
269
|
+
# DescribeCaptchaAppIdInfo请求参数结构体
|
270
|
+
class DescribeCaptchaAppIdInfoRequest < TencentCloud::Common::AbstractModel
|
271
|
+
# @param CaptchaAppId: 验证码应用注册APPID
|
272
|
+
# @type CaptchaAppId: Integer
|
273
|
+
|
274
|
+
attr_accessor :CaptchaAppId
|
275
|
+
|
276
|
+
def initialize(captchaappid=nil)
|
277
|
+
@CaptchaAppId = captchaappid
|
278
|
+
end
|
279
|
+
|
280
|
+
def deserialize(params)
|
281
|
+
@CaptchaAppId = params['CaptchaAppId']
|
282
|
+
end
|
283
|
+
end
|
284
|
+
|
285
|
+
# DescribeCaptchaAppIdInfo返回参数结构体
|
286
|
+
class DescribeCaptchaAppIdInfoResponse < TencentCloud::Common::AbstractModel
|
287
|
+
# @param SchemeColor: 界面风格
|
288
|
+
# @type SchemeColor: String
|
289
|
+
# @param Language: 语言
|
290
|
+
# @type Language: Integer
|
291
|
+
# @param SceneType: 场景
|
292
|
+
# @type SceneType: Integer
|
293
|
+
# @param EvilInterceptGrade: 防控风险等级
|
294
|
+
# @type EvilInterceptGrade: Integer
|
295
|
+
# @param SmartVerify: 智能验证
|
296
|
+
# @type SmartVerify: Integer
|
297
|
+
# @param SmartEngine: 智能引擎
|
298
|
+
# @type SmartEngine: Integer
|
299
|
+
# @param CapType: 验证码类型
|
300
|
+
# @type CapType: Integer
|
301
|
+
# @param AppName: 应用名称
|
302
|
+
# @type AppName: String
|
303
|
+
# @param DomainLimit: 域名限制
|
304
|
+
# @type DomainLimit: String
|
305
|
+
# @param MailAlarm: 邮件告警
|
306
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
307
|
+
# @type MailAlarm: Array
|
308
|
+
# @param TrafficThreshold: 流量控制
|
309
|
+
# @type TrafficThreshold: Integer
|
310
|
+
# @param EncryptKey: 加密key
|
311
|
+
# @type EncryptKey: String
|
312
|
+
# @param TopFullScreen: 是否全屏
|
313
|
+
# @type TopFullScreen: Integer
|
314
|
+
# @param CaptchaCode: 成功返回0 其它失败
|
315
|
+
# @type CaptchaCode: Integer
|
316
|
+
# @param CaptchaMsg: 返回操作信息
|
317
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
318
|
+
# @type CaptchaMsg: String
|
319
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
320
|
+
# @type RequestId: String
|
321
|
+
|
322
|
+
attr_accessor :SchemeColor, :Language, :SceneType, :EvilInterceptGrade, :SmartVerify, :SmartEngine, :CapType, :AppName, :DomainLimit, :MailAlarm, :TrafficThreshold, :EncryptKey, :TopFullScreen, :CaptchaCode, :CaptchaMsg, :RequestId
|
323
|
+
|
324
|
+
def initialize(schemecolor=nil, language=nil, scenetype=nil, evilinterceptgrade=nil, smartverify=nil, smartengine=nil, captype=nil, appname=nil, domainlimit=nil, mailalarm=nil, trafficthreshold=nil, encryptkey=nil, topfullscreen=nil, captchacode=nil, captchamsg=nil, requestid=nil)
|
325
|
+
@SchemeColor = schemecolor
|
326
|
+
@Language = language
|
327
|
+
@SceneType = scenetype
|
328
|
+
@EvilInterceptGrade = evilinterceptgrade
|
329
|
+
@SmartVerify = smartverify
|
330
|
+
@SmartEngine = smartengine
|
331
|
+
@CapType = captype
|
332
|
+
@AppName = appname
|
333
|
+
@DomainLimit = domainlimit
|
334
|
+
@MailAlarm = mailalarm
|
335
|
+
@TrafficThreshold = trafficthreshold
|
336
|
+
@EncryptKey = encryptkey
|
337
|
+
@TopFullScreen = topfullscreen
|
338
|
+
@CaptchaCode = captchacode
|
339
|
+
@CaptchaMsg = captchamsg
|
340
|
+
@RequestId = requestid
|
341
|
+
end
|
342
|
+
|
343
|
+
def deserialize(params)
|
344
|
+
@SchemeColor = params['SchemeColor']
|
345
|
+
@Language = params['Language']
|
346
|
+
@SceneType = params['SceneType']
|
347
|
+
@EvilInterceptGrade = params['EvilInterceptGrade']
|
348
|
+
@SmartVerify = params['SmartVerify']
|
349
|
+
@SmartEngine = params['SmartEngine']
|
350
|
+
@CapType = params['CapType']
|
351
|
+
@AppName = params['AppName']
|
352
|
+
@DomainLimit = params['DomainLimit']
|
353
|
+
@MailAlarm = params['MailAlarm']
|
354
|
+
@TrafficThreshold = params['TrafficThreshold']
|
355
|
+
@EncryptKey = params['EncryptKey']
|
356
|
+
@TopFullScreen = params['TopFullScreen']
|
357
|
+
@CaptchaCode = params['CaptchaCode']
|
358
|
+
@CaptchaMsg = params['CaptchaMsg']
|
359
|
+
@RequestId = params['RequestId']
|
360
|
+
end
|
361
|
+
end
|
362
|
+
|
363
|
+
# DescribeCaptchaData请求参数结构体
|
364
|
+
class DescribeCaptchaDataRequest < TencentCloud::Common::AbstractModel
|
365
|
+
# @param CaptchaAppId: 验证码应用ID
|
366
|
+
# @type CaptchaAppId: Integer
|
367
|
+
# @param Start: 查询开始时间
|
368
|
+
# @type Start: Integer
|
369
|
+
# @param End: 查询结束时间
|
370
|
+
# @type End: Integer
|
371
|
+
# @param Type: 查询类型
|
372
|
+
# @type Type: Integer
|
373
|
+
|
374
|
+
attr_accessor :CaptchaAppId, :Start, :End, :Type
|
375
|
+
|
376
|
+
def initialize(captchaappid=nil, start=nil, _end=nil, type=nil)
|
377
|
+
@CaptchaAppId = captchaappid
|
378
|
+
@Start = start
|
379
|
+
@End = _end
|
380
|
+
@Type = type
|
381
|
+
end
|
382
|
+
|
383
|
+
def deserialize(params)
|
384
|
+
@CaptchaAppId = params['CaptchaAppId']
|
385
|
+
@Start = params['Start']
|
386
|
+
@End = params['End']
|
387
|
+
@Type = params['Type']
|
388
|
+
end
|
389
|
+
end
|
390
|
+
|
391
|
+
# DescribeCaptchaData返回参数结构体
|
392
|
+
class DescribeCaptchaDataResponse < TencentCloud::Common::AbstractModel
|
393
|
+
# @param CaptchaCode: 返回码 0 成功 其它失败
|
394
|
+
# @type CaptchaCode: Integer
|
395
|
+
# @param Data: 数据数组
|
396
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
397
|
+
# @type Data: Array
|
398
|
+
# @param CaptchaMsg: 返回信息描述
|
399
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
400
|
+
# @type CaptchaMsg: String
|
401
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
402
|
+
# @type RequestId: String
|
403
|
+
|
404
|
+
attr_accessor :CaptchaCode, :Data, :CaptchaMsg, :RequestId
|
405
|
+
|
406
|
+
def initialize(captchacode=nil, data=nil, captchamsg=nil, requestid=nil)
|
407
|
+
@CaptchaCode = captchacode
|
408
|
+
@Data = data
|
409
|
+
@CaptchaMsg = captchamsg
|
410
|
+
@RequestId = requestid
|
411
|
+
end
|
412
|
+
|
413
|
+
def deserialize(params)
|
414
|
+
@CaptchaCode = params['CaptchaCode']
|
415
|
+
unless params['Data'].nil?
|
416
|
+
@Data = []
|
417
|
+
params['Data'].each do |i|
|
418
|
+
captchaquerydata_tmp = CaptchaQueryData.new
|
419
|
+
captchaquerydata_tmp.deserialize(i)
|
420
|
+
@Data << captchaquerydata_tmp
|
421
|
+
end
|
422
|
+
end
|
423
|
+
@CaptchaMsg = params['CaptchaMsg']
|
424
|
+
@RequestId = params['RequestId']
|
425
|
+
end
|
426
|
+
end
|
427
|
+
|
428
|
+
# DescribeCaptchaDataSum请求参数结构体
|
429
|
+
class DescribeCaptchaDataSumRequest < TencentCloud::Common::AbstractModel
|
430
|
+
# @param CaptchaAppId: 验证码应用ID
|
431
|
+
# @type CaptchaAppId: Integer
|
432
|
+
# @param Start: 查询开始时间
|
433
|
+
# @type Start: Integer
|
434
|
+
# @param End: 查询结束时间
|
435
|
+
# @type End: Integer
|
436
|
+
|
437
|
+
attr_accessor :CaptchaAppId, :Start, :End
|
438
|
+
|
439
|
+
def initialize(captchaappid=nil, start=nil, _end=nil)
|
440
|
+
@CaptchaAppId = captchaappid
|
441
|
+
@Start = start
|
442
|
+
@End = _end
|
443
|
+
end
|
444
|
+
|
445
|
+
def deserialize(params)
|
446
|
+
@CaptchaAppId = params['CaptchaAppId']
|
447
|
+
@Start = params['Start']
|
448
|
+
@End = params['End']
|
449
|
+
end
|
450
|
+
end
|
451
|
+
|
452
|
+
# DescribeCaptchaDataSum返回参数结构体
|
453
|
+
class DescribeCaptchaDataSumResponse < TencentCloud::Common::AbstractModel
|
454
|
+
# @param GetSum: 请求总量
|
455
|
+
# @type GetSum: Integer
|
456
|
+
# @param VfySuccSum: 请求验证成功量
|
457
|
+
# @type VfySuccSum: Integer
|
458
|
+
# @param VfySum: 请求验证量
|
459
|
+
# @type VfySum: Integer
|
460
|
+
# @param AttackSum: 拦截攻击量
|
461
|
+
# @type AttackSum: Integer
|
462
|
+
# @param CaptchaMsg: 返回信息
|
463
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
464
|
+
# @type CaptchaMsg: String
|
465
|
+
# @param CaptchaCode: 成功返回0 其它失败
|
466
|
+
# @type CaptchaCode: Integer
|
467
|
+
# @param CheckTicketSum: 票据校验量
|
468
|
+
# @type CheckTicketSum: Integer
|
469
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
470
|
+
# @type RequestId: String
|
471
|
+
|
472
|
+
attr_accessor :GetSum, :VfySuccSum, :VfySum, :AttackSum, :CaptchaMsg, :CaptchaCode, :CheckTicketSum, :RequestId
|
473
|
+
|
474
|
+
def initialize(getsum=nil, vfysuccsum=nil, vfysum=nil, attacksum=nil, captchamsg=nil, captchacode=nil, checkticketsum=nil, requestid=nil)
|
475
|
+
@GetSum = getsum
|
476
|
+
@VfySuccSum = vfysuccsum
|
477
|
+
@VfySum = vfysum
|
478
|
+
@AttackSum = attacksum
|
479
|
+
@CaptchaMsg = captchamsg
|
480
|
+
@CaptchaCode = captchacode
|
481
|
+
@CheckTicketSum = checkticketsum
|
482
|
+
@RequestId = requestid
|
483
|
+
end
|
484
|
+
|
485
|
+
def deserialize(params)
|
486
|
+
@GetSum = params['GetSum']
|
487
|
+
@VfySuccSum = params['VfySuccSum']
|
488
|
+
@VfySum = params['VfySum']
|
489
|
+
@AttackSum = params['AttackSum']
|
490
|
+
@CaptchaMsg = params['CaptchaMsg']
|
491
|
+
@CaptchaCode = params['CaptchaCode']
|
492
|
+
@CheckTicketSum = params['CheckTicketSum']
|
493
|
+
@RequestId = params['RequestId']
|
494
|
+
end
|
495
|
+
end
|
496
|
+
|
497
|
+
# DescribeCaptchaMiniData请求参数结构体
|
498
|
+
class DescribeCaptchaMiniDataRequest < TencentCloud::Common::AbstractModel
|
499
|
+
# @param CaptchaAppId: 验证码应用ID
|
500
|
+
# @type CaptchaAppId: Integer
|
501
|
+
# @param Start: 查询开始时间 例如:2019112900
|
502
|
+
# @type Start: Integer
|
503
|
+
# @param End: 查询结束时间 例如:2019112902
|
504
|
+
# @type End: Integer
|
505
|
+
# @param Type: 查询类型 安全验证码小程序插件分类查询数据接口,请求量type=0、通过量type=1、验证量type=2、拦截量type=3 小时级查询(五小时左右延迟)
|
506
|
+
# @type Type: Integer
|
507
|
+
|
508
|
+
attr_accessor :CaptchaAppId, :Start, :End, :Type
|
509
|
+
|
510
|
+
def initialize(captchaappid=nil, start=nil, _end=nil, type=nil)
|
511
|
+
@CaptchaAppId = captchaappid
|
512
|
+
@Start = start
|
513
|
+
@End = _end
|
514
|
+
@Type = type
|
515
|
+
end
|
516
|
+
|
517
|
+
def deserialize(params)
|
518
|
+
@CaptchaAppId = params['CaptchaAppId']
|
519
|
+
@Start = params['Start']
|
520
|
+
@End = params['End']
|
521
|
+
@Type = params['Type']
|
522
|
+
end
|
523
|
+
end
|
524
|
+
|
525
|
+
# DescribeCaptchaMiniData返回参数结构体
|
526
|
+
class DescribeCaptchaMiniDataResponse < TencentCloud::Common::AbstractModel
|
527
|
+
# @param CaptchaCode: 返回码 0 成功 其它失败
|
528
|
+
# @type CaptchaCode: Integer
|
529
|
+
# @param Data: 数据数组
|
530
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
531
|
+
# @type Data: Array
|
532
|
+
# @param CaptchaMsg: 返回信息描述
|
533
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
534
|
+
# @type CaptchaMsg: String
|
535
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
536
|
+
# @type RequestId: String
|
537
|
+
|
538
|
+
attr_accessor :CaptchaCode, :Data, :CaptchaMsg, :RequestId
|
539
|
+
|
540
|
+
def initialize(captchacode=nil, data=nil, captchamsg=nil, requestid=nil)
|
541
|
+
@CaptchaCode = captchacode
|
542
|
+
@Data = data
|
543
|
+
@CaptchaMsg = captchamsg
|
544
|
+
@RequestId = requestid
|
545
|
+
end
|
546
|
+
|
547
|
+
def deserialize(params)
|
548
|
+
@CaptchaCode = params['CaptchaCode']
|
549
|
+
unless params['Data'].nil?
|
550
|
+
@Data = []
|
551
|
+
params['Data'].each do |i|
|
552
|
+
captchaquerydata_tmp = CaptchaQueryData.new
|
553
|
+
captchaquerydata_tmp.deserialize(i)
|
554
|
+
@Data << captchaquerydata_tmp
|
555
|
+
end
|
556
|
+
end
|
557
|
+
@CaptchaMsg = params['CaptchaMsg']
|
558
|
+
@RequestId = params['RequestId']
|
559
|
+
end
|
560
|
+
end
|
561
|
+
|
562
|
+
# DescribeCaptchaMiniDataSum请求参数结构体
|
563
|
+
class DescribeCaptchaMiniDataSumRequest < TencentCloud::Common::AbstractModel
|
564
|
+
# @param CaptchaAppId: 验证码应用ID
|
565
|
+
# @type CaptchaAppId: Integer
|
566
|
+
# @param Start: 查询开始时间
|
567
|
+
# @type Start: Integer
|
568
|
+
# @param End: 查询结束时间
|
569
|
+
# @type End: Integer
|
570
|
+
|
571
|
+
attr_accessor :CaptchaAppId, :Start, :End
|
572
|
+
|
573
|
+
def initialize(captchaappid=nil, start=nil, _end=nil)
|
574
|
+
@CaptchaAppId = captchaappid
|
575
|
+
@Start = start
|
576
|
+
@End = _end
|
577
|
+
end
|
578
|
+
|
579
|
+
def deserialize(params)
|
580
|
+
@CaptchaAppId = params['CaptchaAppId']
|
581
|
+
@Start = params['Start']
|
582
|
+
@End = params['End']
|
583
|
+
end
|
584
|
+
end
|
585
|
+
|
586
|
+
# DescribeCaptchaMiniDataSum返回参数结构体
|
587
|
+
class DescribeCaptchaMiniDataSumResponse < TencentCloud::Common::AbstractModel
|
588
|
+
# @param GetSum: 请求总量
|
589
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
590
|
+
# @type GetSum: Integer
|
591
|
+
# @param VfySuccSum: 请求验证成功量
|
592
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
593
|
+
# @type VfySuccSum: Integer
|
594
|
+
# @param VfySum: 请求验证量
|
595
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
596
|
+
# @type VfySum: Integer
|
597
|
+
# @param AttackSum: 拦截攻击量
|
598
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
599
|
+
# @type AttackSum: Integer
|
600
|
+
# @param CaptchaMsg: 返回信息
|
601
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
602
|
+
# @type CaptchaMsg: String
|
603
|
+
# @param CaptchaCode: 成功返回0 其它失败
|
604
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
605
|
+
# @type CaptchaCode: Integer
|
606
|
+
# @param CheckTicketSum: 票据校验总量
|
607
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
608
|
+
# @type CheckTicketSum: Integer
|
609
|
+
# @param TicketThroughputSum: 票据验证通过量
|
610
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
611
|
+
# @type TicketThroughputSum: Integer
|
612
|
+
# @param TicketInterceptSum: 票据验证拦截量
|
613
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
614
|
+
# @type TicketInterceptSum: Integer
|
615
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
616
|
+
# @type RequestId: String
|
617
|
+
|
618
|
+
attr_accessor :GetSum, :VfySuccSum, :VfySum, :AttackSum, :CaptchaMsg, :CaptchaCode, :CheckTicketSum, :TicketThroughputSum, :TicketInterceptSum, :RequestId
|
619
|
+
|
620
|
+
def initialize(getsum=nil, vfysuccsum=nil, vfysum=nil, attacksum=nil, captchamsg=nil, captchacode=nil, checkticketsum=nil, ticketthroughputsum=nil, ticketinterceptsum=nil, requestid=nil)
|
621
|
+
@GetSum = getsum
|
622
|
+
@VfySuccSum = vfysuccsum
|
623
|
+
@VfySum = vfysum
|
624
|
+
@AttackSum = attacksum
|
625
|
+
@CaptchaMsg = captchamsg
|
626
|
+
@CaptchaCode = captchacode
|
627
|
+
@CheckTicketSum = checkticketsum
|
628
|
+
@TicketThroughputSum = ticketthroughputsum
|
629
|
+
@TicketInterceptSum = ticketinterceptsum
|
630
|
+
@RequestId = requestid
|
631
|
+
end
|
632
|
+
|
633
|
+
def deserialize(params)
|
634
|
+
@GetSum = params['GetSum']
|
635
|
+
@VfySuccSum = params['VfySuccSum']
|
636
|
+
@VfySum = params['VfySum']
|
637
|
+
@AttackSum = params['AttackSum']
|
638
|
+
@CaptchaMsg = params['CaptchaMsg']
|
639
|
+
@CaptchaCode = params['CaptchaCode']
|
640
|
+
@CheckTicketSum = params['CheckTicketSum']
|
641
|
+
@TicketThroughputSum = params['TicketThroughputSum']
|
642
|
+
@TicketInterceptSum = params['TicketInterceptSum']
|
643
|
+
@RequestId = params['RequestId']
|
644
|
+
end
|
645
|
+
end
|
646
|
+
|
647
|
+
# DescribeCaptchaMiniOperData请求参数结构体
|
648
|
+
class DescribeCaptchaMiniOperDataRequest < TencentCloud::Common::AbstractModel
|
649
|
+
# @param CaptchaAppId: 验证码应用ID
|
650
|
+
# @type CaptchaAppId: Integer
|
651
|
+
# @param Start: 查询开始时间
|
652
|
+
# @type Start: Integer
|
653
|
+
# @param Type: 查询类型
|
654
|
+
# @type Type: Integer
|
655
|
+
|
656
|
+
attr_accessor :CaptchaAppId, :Start, :Type
|
657
|
+
|
658
|
+
def initialize(captchaappid=nil, start=nil, type=nil)
|
659
|
+
@CaptchaAppId = captchaappid
|
660
|
+
@Start = start
|
661
|
+
@Type = type
|
662
|
+
end
|
663
|
+
|
664
|
+
def deserialize(params)
|
665
|
+
@CaptchaAppId = params['CaptchaAppId']
|
666
|
+
@Start = params['Start']
|
667
|
+
@Type = params['Type']
|
668
|
+
end
|
669
|
+
end
|
670
|
+
|
671
|
+
# DescribeCaptchaMiniOperData返回参数结构体
|
672
|
+
class DescribeCaptchaMiniOperDataResponse < TencentCloud::Common::AbstractModel
|
673
|
+
# @param CaptchaCode: 成功返回 0 其它失败
|
674
|
+
# @type CaptchaCode: Integer
|
675
|
+
# @param CaptchaMsg: 返回信息
|
676
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
677
|
+
# @type CaptchaMsg: String
|
678
|
+
# @param Data: 用户操作数据
|
679
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
680
|
+
# @type Data: :class:`Tencentcloud::Captcha.v20190722.models.CaptchaOperDataRes`
|
681
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
682
|
+
# @type RequestId: String
|
683
|
+
|
684
|
+
attr_accessor :CaptchaCode, :CaptchaMsg, :Data, :RequestId
|
685
|
+
|
686
|
+
def initialize(captchacode=nil, captchamsg=nil, data=nil, requestid=nil)
|
687
|
+
@CaptchaCode = captchacode
|
688
|
+
@CaptchaMsg = captchamsg
|
689
|
+
@Data = data
|
690
|
+
@RequestId = requestid
|
691
|
+
end
|
692
|
+
|
693
|
+
def deserialize(params)
|
694
|
+
@CaptchaCode = params['CaptchaCode']
|
695
|
+
@CaptchaMsg = params['CaptchaMsg']
|
696
|
+
unless params['Data'].nil?
|
697
|
+
@Data = CaptchaOperDataRes.new
|
698
|
+
@Data.deserialize(params['Data'])
|
699
|
+
end
|
700
|
+
@RequestId = params['RequestId']
|
701
|
+
end
|
702
|
+
end
|
703
|
+
|
704
|
+
# DescribeCaptchaMiniResult请求参数结构体
|
705
|
+
class DescribeCaptchaMiniResultRequest < TencentCloud::Common::AbstractModel
|
706
|
+
# @param CaptchaType: 固定填值:9(滑块验证码)
|
707
|
+
# @type CaptchaType: Integer
|
708
|
+
# @param Ticket: 验证码返回给用户的票据
|
709
|
+
# @type Ticket: String
|
710
|
+
# @param UserIp: 业务侧获取到的验证码使用者的外网IP
|
711
|
+
# @type UserIp: String
|
712
|
+
# @param CaptchaAppId: 验证码应用APPID
|
713
|
+
# @type CaptchaAppId: Integer
|
714
|
+
# @param AppSecretKey: 用于服务器端校验验证码票据的验证密钥,请妥善保密,请勿泄露给第三方
|
715
|
+
# @type AppSecretKey: String
|
716
|
+
# @param BusinessId: 业务 ID,网站或应用在多个业务中使用此服务,通过此 ID 区分统计数据
|
717
|
+
# @type BusinessId: Integer
|
718
|
+
# @param SceneId: 场景 ID,网站或应用的业务下有多个场景使用此服务,通过此 ID 区分统计数据
|
719
|
+
# @type SceneId: Integer
|
720
|
+
# @param MacAddress: mac 地址或设备唯一标识
|
721
|
+
# @type MacAddress: String
|
722
|
+
# @param Imei: 手机设备号
|
723
|
+
# @type Imei: String
|
724
|
+
|
725
|
+
attr_accessor :CaptchaType, :Ticket, :UserIp, :CaptchaAppId, :AppSecretKey, :BusinessId, :SceneId, :MacAddress, :Imei
|
726
|
+
|
727
|
+
def initialize(captchatype=nil, ticket=nil, userip=nil, captchaappid=nil, appsecretkey=nil, businessid=nil, sceneid=nil, macaddress=nil, imei=nil)
|
728
|
+
@CaptchaType = captchatype
|
729
|
+
@Ticket = ticket
|
730
|
+
@UserIp = userip
|
731
|
+
@CaptchaAppId = captchaappid
|
732
|
+
@AppSecretKey = appsecretkey
|
733
|
+
@BusinessId = businessid
|
734
|
+
@SceneId = sceneid
|
735
|
+
@MacAddress = macaddress
|
736
|
+
@Imei = imei
|
737
|
+
end
|
738
|
+
|
739
|
+
def deserialize(params)
|
740
|
+
@CaptchaType = params['CaptchaType']
|
741
|
+
@Ticket = params['Ticket']
|
742
|
+
@UserIp = params['UserIp']
|
743
|
+
@CaptchaAppId = params['CaptchaAppId']
|
744
|
+
@AppSecretKey = params['AppSecretKey']
|
745
|
+
@BusinessId = params['BusinessId']
|
746
|
+
@SceneId = params['SceneId']
|
747
|
+
@MacAddress = params['MacAddress']
|
748
|
+
@Imei = params['Imei']
|
749
|
+
end
|
750
|
+
end
|
751
|
+
|
752
|
+
# DescribeCaptchaMiniResult返回参数结构体
|
753
|
+
class DescribeCaptchaMiniResultResponse < TencentCloud::Common::AbstractModel
|
754
|
+
# @param CaptchaCode: 1 ticket verification succeeded 票据验证成功
|
755
|
+
# 7 CaptchaAppId does not match 票据与验证码应用APPID不匹配
|
756
|
+
# 8 ticket expired 票据超时
|
757
|
+
# 10 ticket format error 票据格式不正确
|
758
|
+
# 15 ticket decryption failed 票据解密失败
|
759
|
+
# 16 CaptchaAppId wrong format 检查验证码应用APPID错误
|
760
|
+
# 21 ticket error 票据验证错误
|
761
|
+
# 26 system internal error 系统内部错误
|
762
|
+
# 100 param err 参数校验错误
|
763
|
+
# @type CaptchaCode: Integer
|
764
|
+
# @param CaptchaMsg: 状态描述及验证错误信息
|
765
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
766
|
+
# @type CaptchaMsg: String
|
767
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
768
|
+
# @type RequestId: String
|
769
|
+
|
770
|
+
attr_accessor :CaptchaCode, :CaptchaMsg, :RequestId
|
771
|
+
|
772
|
+
def initialize(captchacode=nil, captchamsg=nil, requestid=nil)
|
773
|
+
@CaptchaCode = captchacode
|
774
|
+
@CaptchaMsg = captchamsg
|
775
|
+
@RequestId = requestid
|
776
|
+
end
|
777
|
+
|
778
|
+
def deserialize(params)
|
779
|
+
@CaptchaCode = params['CaptchaCode']
|
780
|
+
@CaptchaMsg = params['CaptchaMsg']
|
781
|
+
@RequestId = params['RequestId']
|
782
|
+
end
|
783
|
+
end
|
784
|
+
|
785
|
+
# DescribeCaptchaMiniRiskResult请求参数结构体
|
786
|
+
class DescribeCaptchaMiniRiskResultRequest < TencentCloud::Common::AbstractModel
|
787
|
+
# @param CaptchaType: 固定填值:9(滑块验证码)
|
788
|
+
# @type CaptchaType: Integer
|
789
|
+
# @param Ticket: 验证码返回给用户的票据
|
790
|
+
# @type Ticket: String
|
791
|
+
# @param UserIp: 业务侧获取到的验证码使用者的外网IP
|
792
|
+
# @type UserIp: String
|
793
|
+
# @param CaptchaAppId: 验证码应用APPID
|
794
|
+
# @type CaptchaAppId: Integer
|
795
|
+
# @param AppSecretKey: 用于服务器端校验验证码票据的验证密钥,请妥善保密,请勿泄露给第三方
|
796
|
+
# @type AppSecretKey: String
|
797
|
+
# @param BusinessId: 业务 ID,网站或应用在多个业务中使用此服务,通过此 ID 区分统计数据
|
798
|
+
# @type BusinessId: Integer
|
799
|
+
# @param SceneId: 场景 ID,网站或应用的业务下有多个场景使用此服务,通过此 ID 区分统计数据
|
800
|
+
# @type SceneId: Integer
|
801
|
+
# @param MacAddress: mac 地址或设备唯一标识
|
802
|
+
# @type MacAddress: String
|
803
|
+
# @param Imei: 手机设备号
|
804
|
+
# @type Imei: String
|
805
|
+
# @param SceneCode: 验证场景:1 活动防刷场景,2 登录保护场景,3 注册保护场景。根据需求选择场景参数。
|
806
|
+
# @type SceneCode: Integer
|
807
|
+
# @param WeChatOpenId: 用户操作来源的微信开放账号
|
808
|
+
# @type WeChatOpenId: String
|
809
|
+
|
810
|
+
attr_accessor :CaptchaType, :Ticket, :UserIp, :CaptchaAppId, :AppSecretKey, :BusinessId, :SceneId, :MacAddress, :Imei, :SceneCode, :WeChatOpenId
|
811
|
+
|
812
|
+
def initialize(captchatype=nil, ticket=nil, userip=nil, captchaappid=nil, appsecretkey=nil, businessid=nil, sceneid=nil, macaddress=nil, imei=nil, scenecode=nil, wechatopenid=nil)
|
813
|
+
@CaptchaType = captchatype
|
814
|
+
@Ticket = ticket
|
815
|
+
@UserIp = userip
|
816
|
+
@CaptchaAppId = captchaappid
|
817
|
+
@AppSecretKey = appsecretkey
|
818
|
+
@BusinessId = businessid
|
819
|
+
@SceneId = sceneid
|
820
|
+
@MacAddress = macaddress
|
821
|
+
@Imei = imei
|
822
|
+
@SceneCode = scenecode
|
823
|
+
@WeChatOpenId = wechatopenid
|
824
|
+
end
|
825
|
+
|
826
|
+
def deserialize(params)
|
827
|
+
@CaptchaType = params['CaptchaType']
|
828
|
+
@Ticket = params['Ticket']
|
829
|
+
@UserIp = params['UserIp']
|
830
|
+
@CaptchaAppId = params['CaptchaAppId']
|
831
|
+
@AppSecretKey = params['AppSecretKey']
|
832
|
+
@BusinessId = params['BusinessId']
|
833
|
+
@SceneId = params['SceneId']
|
834
|
+
@MacAddress = params['MacAddress']
|
835
|
+
@Imei = params['Imei']
|
836
|
+
@SceneCode = params['SceneCode']
|
837
|
+
@WeChatOpenId = params['WeChatOpenId']
|
838
|
+
end
|
839
|
+
end
|
840
|
+
|
841
|
+
# DescribeCaptchaMiniRiskResult返回参数结构体
|
842
|
+
class DescribeCaptchaMiniRiskResultResponse < TencentCloud::Common::AbstractModel
|
843
|
+
# @param CaptchaCode: 1 ticket verification succeeded 票据验证成功
|
844
|
+
# 7 CaptchaAppId does not match 票据与验证码应用APPID不匹配
|
845
|
+
# 8 ticket expired 票据超时
|
846
|
+
# 10 ticket format error 票据格式不正确
|
847
|
+
# 15 ticket decryption failed 票据解密失败
|
848
|
+
# 16 CaptchaAppId wrong format 检查验证码应用APPID错误
|
849
|
+
# 21 ticket error 票据验证错误
|
850
|
+
# 25 bad visitor 策略拦截
|
851
|
+
# 26 system internal error 系统内部错误
|
852
|
+
# 100 param err 参数校验错误
|
853
|
+
# @type CaptchaCode: Integer
|
854
|
+
# @param CaptchaMsg: 状态描述及验证错误信息
|
855
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
856
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
857
|
+
# @type CaptchaMsg: String
|
858
|
+
# @param ManageMarketingRiskValue: 拦截策略返回信息
|
859
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
860
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
861
|
+
# @type ManageMarketingRiskValue: :class:`Tencentcloud::Captcha.v20190722.models.OutputManageMarketingRiskValue`
|
862
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
863
|
+
# @type RequestId: String
|
864
|
+
|
865
|
+
attr_accessor :CaptchaCode, :CaptchaMsg, :ManageMarketingRiskValue, :RequestId
|
866
|
+
|
867
|
+
def initialize(captchacode=nil, captchamsg=nil, managemarketingriskvalue=nil, requestid=nil)
|
868
|
+
@CaptchaCode = captchacode
|
869
|
+
@CaptchaMsg = captchamsg
|
870
|
+
@ManageMarketingRiskValue = managemarketingriskvalue
|
871
|
+
@RequestId = requestid
|
872
|
+
end
|
873
|
+
|
874
|
+
def deserialize(params)
|
875
|
+
@CaptchaCode = params['CaptchaCode']
|
876
|
+
@CaptchaMsg = params['CaptchaMsg']
|
877
|
+
unless params['ManageMarketingRiskValue'].nil?
|
878
|
+
@ManageMarketingRiskValue = OutputManageMarketingRiskValue.new
|
879
|
+
@ManageMarketingRiskValue.deserialize(params['ManageMarketingRiskValue'])
|
880
|
+
end
|
881
|
+
@RequestId = params['RequestId']
|
882
|
+
end
|
883
|
+
end
|
884
|
+
|
885
|
+
# DescribeCaptchaOperData请求参数结构体
|
886
|
+
class DescribeCaptchaOperDataRequest < TencentCloud::Common::AbstractModel
|
887
|
+
# @param CaptchaAppId: 验证码应用ID
|
888
|
+
# @type CaptchaAppId: Integer
|
889
|
+
# @param Start: 查询开始时间
|
890
|
+
# @type Start: Integer
|
891
|
+
# @param Type: 查询类型
|
892
|
+
# @type Type: Integer
|
893
|
+
|
894
|
+
attr_accessor :CaptchaAppId, :Start, :Type
|
895
|
+
|
896
|
+
def initialize(captchaappid=nil, start=nil, type=nil)
|
897
|
+
@CaptchaAppId = captchaappid
|
898
|
+
@Start = start
|
899
|
+
@Type = type
|
900
|
+
end
|
901
|
+
|
902
|
+
def deserialize(params)
|
903
|
+
@CaptchaAppId = params['CaptchaAppId']
|
904
|
+
@Start = params['Start']
|
905
|
+
@Type = params['Type']
|
906
|
+
end
|
907
|
+
end
|
908
|
+
|
909
|
+
# DescribeCaptchaOperData返回参数结构体
|
910
|
+
class DescribeCaptchaOperDataResponse < TencentCloud::Common::AbstractModel
|
911
|
+
# @param CaptchaCode: 成功返回 0 其它失败
|
912
|
+
# @type CaptchaCode: Integer
|
913
|
+
# @param CaptchaMsg: 返回信息
|
914
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
915
|
+
# @type CaptchaMsg: String
|
916
|
+
# @param Data: 用户操作数据
|
917
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
918
|
+
# @type Data: :class:`Tencentcloud::Captcha.v20190722.models.CaptchaOperDataRes`
|
919
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
920
|
+
# @type RequestId: String
|
921
|
+
|
922
|
+
attr_accessor :CaptchaCode, :CaptchaMsg, :Data, :RequestId
|
923
|
+
|
924
|
+
def initialize(captchacode=nil, captchamsg=nil, data=nil, requestid=nil)
|
925
|
+
@CaptchaCode = captchacode
|
926
|
+
@CaptchaMsg = captchamsg
|
927
|
+
@Data = data
|
928
|
+
@RequestId = requestid
|
929
|
+
end
|
930
|
+
|
931
|
+
def deserialize(params)
|
932
|
+
@CaptchaCode = params['CaptchaCode']
|
933
|
+
@CaptchaMsg = params['CaptchaMsg']
|
934
|
+
unless params['Data'].nil?
|
935
|
+
@Data = CaptchaOperDataRes.new
|
936
|
+
@Data.deserialize(params['Data'])
|
937
|
+
end
|
938
|
+
@RequestId = params['RequestId']
|
939
|
+
end
|
940
|
+
end
|
941
|
+
|
942
|
+
# DescribeCaptchaResult请求参数结构体
|
943
|
+
class DescribeCaptchaResultRequest < TencentCloud::Common::AbstractModel
|
944
|
+
# @param CaptchaType: 固定填值:9。可在控制台配置不同验证码类型。
|
945
|
+
# @type CaptchaType: Integer
|
946
|
+
# @param Ticket: 前端回调函数返回的用户验证票据
|
947
|
+
# @type Ticket: String
|
948
|
+
# @param UserIp: 业务侧获取到的验证码使用者的外网IP
|
949
|
+
# @type UserIp: String
|
950
|
+
# @param Randstr: 前端回调函数返回的随机字符串
|
951
|
+
# @type Randstr: String
|
952
|
+
# @param CaptchaAppId: 验证码应用ID
|
953
|
+
# @type CaptchaAppId: Integer
|
954
|
+
# @param AppSecretKey: 用于服务器端校验验证码票据的验证密钥,请妥善保密,请勿泄露给第三方
|
955
|
+
# @type AppSecretKey: String
|
956
|
+
# @param BusinessId: 业务 ID,网站或应用在多个业务中使用此服务,通过此 ID 区分统计数据
|
957
|
+
# @type BusinessId: Integer
|
958
|
+
# @param SceneId: 场景 ID,网站或应用的业务下有多个场景使用此服务,通过此 ID 区分统计数据
|
959
|
+
# @type SceneId: Integer
|
960
|
+
# @param MacAddress: mac 地址或设备唯一标识
|
961
|
+
# @type MacAddress: String
|
962
|
+
# @param Imei: 手机设备号
|
963
|
+
# @type Imei: String
|
964
|
+
# @param NeedGetCaptchaTime: 是否返回前端获取验证码时间,取值1:需要返回
|
965
|
+
# @type NeedGetCaptchaTime: Integer
|
966
|
+
|
967
|
+
attr_accessor :CaptchaType, :Ticket, :UserIp, :Randstr, :CaptchaAppId, :AppSecretKey, :BusinessId, :SceneId, :MacAddress, :Imei, :NeedGetCaptchaTime
|
968
|
+
|
969
|
+
def initialize(captchatype=nil, ticket=nil, userip=nil, randstr=nil, captchaappid=nil, appsecretkey=nil, businessid=nil, sceneid=nil, macaddress=nil, imei=nil, needgetcaptchatime=nil)
|
970
|
+
@CaptchaType = captchatype
|
971
|
+
@Ticket = ticket
|
972
|
+
@UserIp = userip
|
973
|
+
@Randstr = randstr
|
974
|
+
@CaptchaAppId = captchaappid
|
975
|
+
@AppSecretKey = appsecretkey
|
976
|
+
@BusinessId = businessid
|
977
|
+
@SceneId = sceneid
|
978
|
+
@MacAddress = macaddress
|
979
|
+
@Imei = imei
|
980
|
+
@NeedGetCaptchaTime = needgetcaptchatime
|
981
|
+
end
|
982
|
+
|
983
|
+
def deserialize(params)
|
984
|
+
@CaptchaType = params['CaptchaType']
|
985
|
+
@Ticket = params['Ticket']
|
986
|
+
@UserIp = params['UserIp']
|
987
|
+
@Randstr = params['Randstr']
|
988
|
+
@CaptchaAppId = params['CaptchaAppId']
|
989
|
+
@AppSecretKey = params['AppSecretKey']
|
990
|
+
@BusinessId = params['BusinessId']
|
991
|
+
@SceneId = params['SceneId']
|
992
|
+
@MacAddress = params['MacAddress']
|
993
|
+
@Imei = params['Imei']
|
994
|
+
@NeedGetCaptchaTime = params['NeedGetCaptchaTime']
|
995
|
+
end
|
996
|
+
end
|
997
|
+
|
998
|
+
# DescribeCaptchaResult返回参数结构体
|
999
|
+
class DescribeCaptchaResultResponse < TencentCloud::Common::AbstractModel
|
1000
|
+
# @param CaptchaCode: 1 OK 验证通过
|
1001
|
+
# 6 user code len error 验证码长度不匹配,请检查请求是否带Randstr参数,Randstr参数大小写是否有误
|
1002
|
+
# 7 captcha no match 验证码答案不匹配/Randstr参数不匹配,请重新生成Randstr、Ticket进行校验
|
1003
|
+
# 8 verify timeout 验证码签名超时,票据已过期,请重新生成Randstr、Ticket票进行校验
|
1004
|
+
# 9 Sequnce repeat 验证码签名重放,票据重复使用,请重新生成Randstr、Ticket进行校验
|
1005
|
+
# 10 Sequnce invalid 验证码签名序列
|
1006
|
+
# 11 Cookie invalid 验证码cookie信息不合法,非法请求,可能存在不规范接入
|
1007
|
+
# 12 sig len error 签名长度错误
|
1008
|
+
# 13 verify ip no match ip不匹配,非法请求,可能存在不规范接入
|
1009
|
+
# 15 decrypt fail 验证码签名解密失败,票据校验失败,请检查Ticket票据是否与前端返回Ticket一致
|
1010
|
+
# 16 appid no match 验证码强校验appid错误,前端代码 data-appid 和后端 CaptchaAppId 所填写的值,必须和 验证码控制台 中【验证详情】>【基础配置】内的 AppID 一致,请检查CaptchaAppId是否为控制台基础配置界面系统分配的APPID
|
1011
|
+
# 17 cmd no much 验证码系统命令不匹配
|
1012
|
+
# 18 uin no match 号码不匹配
|
1013
|
+
# 19 seq redirect 重定向验证
|
1014
|
+
# 20 opt no vcode 操作使用pt免验证码校验错误
|
1015
|
+
# 21 diff 差别,验证错误
|
1016
|
+
# 22 captcha type not match 验证码类型与拉取时不一致
|
1017
|
+
# 23 verify type error 验证类型错误
|
1018
|
+
# 24 invalid pkg 非法请求包
|
1019
|
+
# 25 bad visitor 策略拦截
|
1020
|
+
# 26 system busy 系统内部错误
|
1021
|
+
# 100 param err appsecretkey 参数校验错误,CaptchaAppId 与对应 AppSecretKey 不一致,需检查 AppSecretKey 参数是否有误。其中 CaptchaAppId、 AppSecretKey 在 验证码控制台 的【验证详情】>【基础配置】中获取
|
1022
|
+
# 104 Ticket Reuse 票据重复使用,同个票据验证多次,请重新生成Randstr、Ticket进行校验
|
1023
|
+
# @type CaptchaCode: Integer
|
1024
|
+
# @param CaptchaMsg: 状态描述及验证错误信息
|
1025
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1026
|
+
# @type CaptchaMsg: String
|
1027
|
+
# @param EvilLevel: [0,100],恶意等级
|
1028
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1029
|
+
# @type EvilLevel: Integer
|
1030
|
+
# @param GetCaptchaTime: 前端获取验证码时间,时间戳格式
|
1031
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1032
|
+
# @type GetCaptchaTime: Integer
|
1033
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1034
|
+
# @type RequestId: String
|
1035
|
+
|
1036
|
+
attr_accessor :CaptchaCode, :CaptchaMsg, :EvilLevel, :GetCaptchaTime, :RequestId
|
1037
|
+
|
1038
|
+
def initialize(captchacode=nil, captchamsg=nil, evillevel=nil, getcaptchatime=nil, requestid=nil)
|
1039
|
+
@CaptchaCode = captchacode
|
1040
|
+
@CaptchaMsg = captchamsg
|
1041
|
+
@EvilLevel = evillevel
|
1042
|
+
@GetCaptchaTime = getcaptchatime
|
1043
|
+
@RequestId = requestid
|
1044
|
+
end
|
1045
|
+
|
1046
|
+
def deserialize(params)
|
1047
|
+
@CaptchaCode = params['CaptchaCode']
|
1048
|
+
@CaptchaMsg = params['CaptchaMsg']
|
1049
|
+
@EvilLevel = params['EvilLevel']
|
1050
|
+
@GetCaptchaTime = params['GetCaptchaTime']
|
1051
|
+
@RequestId = params['RequestId']
|
1052
|
+
end
|
1053
|
+
end
|
1054
|
+
|
1055
|
+
# DescribeCaptchaTicketData请求参数结构体
|
1056
|
+
class DescribeCaptchaTicketDataRequest < TencentCloud::Common::AbstractModel
|
1057
|
+
# @param CaptchaAppId: 验证码应用ID
|
1058
|
+
# @type CaptchaAppId: Integer
|
1059
|
+
# @param Start: 查询开始时间 例如:20200909
|
1060
|
+
# @type Start: Integer
|
1061
|
+
|
1062
|
+
attr_accessor :CaptchaAppId, :Start
|
1063
|
+
|
1064
|
+
def initialize(captchaappid=nil, start=nil)
|
1065
|
+
@CaptchaAppId = captchaappid
|
1066
|
+
@Start = start
|
1067
|
+
end
|
1068
|
+
|
1069
|
+
def deserialize(params)
|
1070
|
+
@CaptchaAppId = params['CaptchaAppId']
|
1071
|
+
@Start = params['Start']
|
1072
|
+
end
|
1073
|
+
end
|
1074
|
+
|
1075
|
+
# DescribeCaptchaTicketData返回参数结构体
|
1076
|
+
class DescribeCaptchaTicketDataResponse < TencentCloud::Common::AbstractModel
|
1077
|
+
# @param CaptchaCode: 成功返回 0 其它失败
|
1078
|
+
# @type CaptchaCode: Integer
|
1079
|
+
# @param CaptchaMsg: 返回信息
|
1080
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1081
|
+
# @type CaptchaMsg: String
|
1082
|
+
# @param Data: 验证码票据信息
|
1083
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1084
|
+
# @type Data: :class:`Tencentcloud::Captcha.v20190722.models.CaptchaTicketDataRes`
|
1085
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1086
|
+
# @type RequestId: String
|
1087
|
+
|
1088
|
+
attr_accessor :CaptchaCode, :CaptchaMsg, :Data, :RequestId
|
1089
|
+
|
1090
|
+
def initialize(captchacode=nil, captchamsg=nil, data=nil, requestid=nil)
|
1091
|
+
@CaptchaCode = captchacode
|
1092
|
+
@CaptchaMsg = captchamsg
|
1093
|
+
@Data = data
|
1094
|
+
@RequestId = requestid
|
1095
|
+
end
|
1096
|
+
|
1097
|
+
def deserialize(params)
|
1098
|
+
@CaptchaCode = params['CaptchaCode']
|
1099
|
+
@CaptchaMsg = params['CaptchaMsg']
|
1100
|
+
unless params['Data'].nil?
|
1101
|
+
@Data = CaptchaTicketDataRes.new
|
1102
|
+
@Data.deserialize(params['Data'])
|
1103
|
+
end
|
1104
|
+
@RequestId = params['RequestId']
|
1105
|
+
end
|
1106
|
+
end
|
1107
|
+
|
1108
|
+
# DescribeCaptchaUserAllAppId请求参数结构体
|
1109
|
+
class DescribeCaptchaUserAllAppIdRequest < TencentCloud::Common::AbstractModel
|
1110
|
+
|
1111
|
+
|
1112
|
+
def initialize()
|
1113
|
+
end
|
1114
|
+
|
1115
|
+
def deserialize(params)
|
1116
|
+
end
|
1117
|
+
end
|
1118
|
+
|
1119
|
+
# DescribeCaptchaUserAllAppId返回参数结构体
|
1120
|
+
class DescribeCaptchaUserAllAppIdResponse < TencentCloud::Common::AbstractModel
|
1121
|
+
# @param Data: 用户注册的所有Appid和应用名称
|
1122
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1123
|
+
# @type Data: Array
|
1124
|
+
# @param CaptchaCode: 成功返回 0 其它失败
|
1125
|
+
# @type CaptchaCode: Integer
|
1126
|
+
# @param CaptchaMsg: 返回操作信息
|
1127
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1128
|
+
# @type CaptchaMsg: String
|
1129
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1130
|
+
# @type RequestId: String
|
1131
|
+
|
1132
|
+
attr_accessor :Data, :CaptchaCode, :CaptchaMsg, :RequestId
|
1133
|
+
|
1134
|
+
def initialize(data=nil, captchacode=nil, captchamsg=nil, requestid=nil)
|
1135
|
+
@Data = data
|
1136
|
+
@CaptchaCode = captchacode
|
1137
|
+
@CaptchaMsg = captchamsg
|
1138
|
+
@RequestId = requestid
|
1139
|
+
end
|
1140
|
+
|
1141
|
+
def deserialize(params)
|
1142
|
+
unless params['Data'].nil?
|
1143
|
+
@Data = []
|
1144
|
+
params['Data'].each do |i|
|
1145
|
+
captchauserallappid_tmp = CaptchaUserAllAppId.new
|
1146
|
+
captchauserallappid_tmp.deserialize(i)
|
1147
|
+
@Data << captchauserallappid_tmp
|
1148
|
+
end
|
1149
|
+
end
|
1150
|
+
@CaptchaCode = params['CaptchaCode']
|
1151
|
+
@CaptchaMsg = params['CaptchaMsg']
|
1152
|
+
@RequestId = params['RequestId']
|
1153
|
+
end
|
1154
|
+
end
|
1155
|
+
|
1156
|
+
# 拦截策略返回信息
|
1157
|
+
class OutputManageMarketingRiskValue < TencentCloud::Common::AbstractModel
|
1158
|
+
# @param UserId: 账号 ID。对应输入参数: AccountType 是 1 时,对应 QQ 的 OpenID。
|
1159
|
+
# AccountType 是 2 时,对应微信的 OpenID/UnionID。
|
1160
|
+
# AccountType 是 4 时,对应手机号。
|
1161
|
+
# AccountType 是 8 时,对应 imei、idfa、imeiMD5 或者 idfaMD5。
|
1162
|
+
# AccountType 是 0 时,对应账号信息。
|
1163
|
+
# AccountType 是 10004 时,对应手机号的 MD5。
|
1164
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1165
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1166
|
+
# @type UserId: String
|
1167
|
+
# @param PostTime: 操作时间戳,单位秒(对应输入参数)。
|
1168
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1169
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1170
|
+
# @type PostTime: Integer
|
1171
|
+
# @param AssociateAccount: 对应输入参数,AccountType 是 QQ 或微信开放账号时,用于标识 QQ 或微信用户登录 后关联业务自身的账号 ID。
|
1172
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1173
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1174
|
+
# @type AssociateAccount: String
|
1175
|
+
# @param UserIp: 业务详情。 注意:此字段可能返回 null,表示取不到有效值。
|
1176
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1177
|
+
# @type UserIp: String
|
1178
|
+
# @param RiskLevel: 风险值 pass : 无恶意
|
1179
|
+
# review:需要人工审核
|
1180
|
+
# reject:拒绝,高风险恶意
|
1181
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1182
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1183
|
+
# @type RiskLevel: String
|
1184
|
+
# @param RiskType: 风险类型,请查看下面详细说明 注意:此字段可能返回 null,表示取不到有效值。
|
1185
|
+
# 账号风险
|
1186
|
+
# 账号信用低 1 账号近期存在因恶意被处罚历史,网络低活跃,被举报等因素
|
1187
|
+
# 疑似 低活跃账号 11 账号活跃度与正常用户有差异
|
1188
|
+
# 垃圾账号 2 疑似批量注册小号,近期存在严重违规或大量举报
|
1189
|
+
# 疑似小号 21 账号有疑似线上养号,小号等行为
|
1190
|
+
# 疑似 违规账号 22 账号曾有违规行为、曾被举报过、曾因违规被处罚过等
|
1191
|
+
# 无效账号 3 送检账号参数无法成功解析,请检查微信 openid 是否有
|
1192
|
+
# 黑名单 4 该账号在业务侧有过拉黑记录
|
1193
|
+
# 白名单 5 业务自行有添加过白名单记录
|
1194
|
+
# 行为风险
|
1195
|
+
# 批量操作 101 存在 ip/设备/环境等因素的聚集性异常
|
1196
|
+
# 疑似 IP 属性聚集 1011 出现 IP 聚集
|
1197
|
+
# 疑似 设备属性聚集 1012 出现设备聚集
|
1198
|
+
# 自动机 103 疑似自动机批量请求
|
1199
|
+
# 微信登录态无效 104 检查 wxtoken 参数,是否已经失效
|
1200
|
+
# 环境风险
|
1201
|
+
# 环境异常 201 操作 ip/设备/环境存在异常。当前 ip 为非常用 ip 或恶意 ip 段
|
1202
|
+
# 疑似 非常用IP请求 2011 当前请求 IP 非该账号常用 IP
|
1203
|
+
# 疑似 IP 异常 2012 使用 idc 机房 ip 或 使用代理 ip 或 使用恶意 ip
|
1204
|
+
# 非公网有效 ip 205 传进来的 IP 地址为内网 ip 地址或者 ip 保留地
|
1205
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1206
|
+
# @type RiskType: Array
|
1207
|
+
|
1208
|
+
attr_accessor :UserId, :PostTime, :AssociateAccount, :UserIp, :RiskLevel, :RiskType
|
1209
|
+
|
1210
|
+
def initialize(userid=nil, posttime=nil, associateaccount=nil, userip=nil, risklevel=nil, risktype=nil)
|
1211
|
+
@UserId = userid
|
1212
|
+
@PostTime = posttime
|
1213
|
+
@AssociateAccount = associateaccount
|
1214
|
+
@UserIp = userip
|
1215
|
+
@RiskLevel = risklevel
|
1216
|
+
@RiskType = risktype
|
1217
|
+
end
|
1218
|
+
|
1219
|
+
def deserialize(params)
|
1220
|
+
@UserId = params['UserId']
|
1221
|
+
@PostTime = params['PostTime']
|
1222
|
+
@AssociateAccount = params['AssociateAccount']
|
1223
|
+
@UserIp = params['UserIp']
|
1224
|
+
@RiskLevel = params['RiskLevel']
|
1225
|
+
@RiskType = params['RiskType']
|
1226
|
+
end
|
1227
|
+
end
|
1228
|
+
|
1229
|
+
# DescribeCaptchaTicketData 返回的数据结构
|
1230
|
+
class TicketAmountUnit < TencentCloud::Common::AbstractModel
|
1231
|
+
# @param DateKey: 时间
|
1232
|
+
# @type DateKey: String
|
1233
|
+
# @param Amount: 票据验证总量
|
1234
|
+
# @type Amount: Integer
|
1235
|
+
|
1236
|
+
attr_accessor :DateKey, :Amount
|
1237
|
+
|
1238
|
+
def initialize(datekey=nil, amount=nil)
|
1239
|
+
@DateKey = datekey
|
1240
|
+
@Amount = amount
|
1241
|
+
end
|
1242
|
+
|
1243
|
+
def deserialize(params)
|
1244
|
+
@DateKey = params['DateKey']
|
1245
|
+
@Amount = params['Amount']
|
1246
|
+
end
|
1247
|
+
end
|
1248
|
+
|
1249
|
+
# DescribeCaptchaTicketData 返回的数据结构
|
1250
|
+
class TicketInterceptUnit < TencentCloud::Common::AbstractModel
|
1251
|
+
# @param DateKey: 时间
|
1252
|
+
# @type DateKey: String
|
1253
|
+
# @param Intercept: 票据验证拦截量
|
1254
|
+
# @type Intercept: Integer
|
1255
|
+
|
1256
|
+
attr_accessor :DateKey, :Intercept
|
1257
|
+
|
1258
|
+
def initialize(datekey=nil, intercept=nil)
|
1259
|
+
@DateKey = datekey
|
1260
|
+
@Intercept = intercept
|
1261
|
+
end
|
1262
|
+
|
1263
|
+
def deserialize(params)
|
1264
|
+
@DateKey = params['DateKey']
|
1265
|
+
@Intercept = params['Intercept']
|
1266
|
+
end
|
1267
|
+
end
|
1268
|
+
|
1269
|
+
# DescribeCaptchaTicketData 返回的数据结构
|
1270
|
+
class TicketThroughUnit < TencentCloud::Common::AbstractModel
|
1271
|
+
# @param DateKey: 时间
|
1272
|
+
# @type DateKey: String
|
1273
|
+
# @param Through: 票据验证的通过量
|
1274
|
+
# @type Through: Integer
|
1275
|
+
|
1276
|
+
attr_accessor :DateKey, :Through
|
1277
|
+
|
1278
|
+
def initialize(datekey=nil, through=nil)
|
1279
|
+
@DateKey = datekey
|
1280
|
+
@Through = through
|
1281
|
+
end
|
1282
|
+
|
1283
|
+
def deserialize(params)
|
1284
|
+
@DateKey = params['DateKey']
|
1285
|
+
@Through = params['Through']
|
1286
|
+
end
|
1287
|
+
end
|
1288
|
+
|
1289
|
+
# UpdateCaptchaAppIdInfo请求参数结构体
|
1290
|
+
class UpdateCaptchaAppIdInfoRequest < TencentCloud::Common::AbstractModel
|
1291
|
+
# @param CaptchaAppId: 验证码应用ID
|
1292
|
+
# @type CaptchaAppId: Integer
|
1293
|
+
# @param AppName: 应用名
|
1294
|
+
# @type AppName: String
|
1295
|
+
# @param DomainLimit: 域名限制
|
1296
|
+
# @type DomainLimit: String
|
1297
|
+
# @param SceneType: 场景类型
|
1298
|
+
# @type SceneType: Integer
|
1299
|
+
# @param CapType: 验证码类型
|
1300
|
+
# @type CapType: Integer
|
1301
|
+
# @param EvilInterceptGrade: 风险级别
|
1302
|
+
# @type EvilInterceptGrade: Integer
|
1303
|
+
# @param SmartVerify: 智能检测
|
1304
|
+
# @type SmartVerify: Integer
|
1305
|
+
# @param SmartEngine: 开启智能引擎
|
1306
|
+
# @type SmartEngine: Integer
|
1307
|
+
# @param SchemeColor: web风格
|
1308
|
+
# @type SchemeColor: String
|
1309
|
+
# @param CaptchaLanguage: 语言
|
1310
|
+
# @type CaptchaLanguage: Integer
|
1311
|
+
# @param MailAlarm: 告警邮箱
|
1312
|
+
# @type MailAlarm: String
|
1313
|
+
# @param TopFullScreen: 是否全屏
|
1314
|
+
# @type TopFullScreen: Integer
|
1315
|
+
# @param TrafficThreshold: 流量限制
|
1316
|
+
# @type TrafficThreshold: Integer
|
1317
|
+
|
1318
|
+
attr_accessor :CaptchaAppId, :AppName, :DomainLimit, :SceneType, :CapType, :EvilInterceptGrade, :SmartVerify, :SmartEngine, :SchemeColor, :CaptchaLanguage, :MailAlarm, :TopFullScreen, :TrafficThreshold
|
1319
|
+
|
1320
|
+
def initialize(captchaappid=nil, appname=nil, domainlimit=nil, scenetype=nil, captype=nil, evilinterceptgrade=nil, smartverify=nil, smartengine=nil, schemecolor=nil, captchalanguage=nil, mailalarm=nil, topfullscreen=nil, trafficthreshold=nil)
|
1321
|
+
@CaptchaAppId = captchaappid
|
1322
|
+
@AppName = appname
|
1323
|
+
@DomainLimit = domainlimit
|
1324
|
+
@SceneType = scenetype
|
1325
|
+
@CapType = captype
|
1326
|
+
@EvilInterceptGrade = evilinterceptgrade
|
1327
|
+
@SmartVerify = smartverify
|
1328
|
+
@SmartEngine = smartengine
|
1329
|
+
@SchemeColor = schemecolor
|
1330
|
+
@CaptchaLanguage = captchalanguage
|
1331
|
+
@MailAlarm = mailalarm
|
1332
|
+
@TopFullScreen = topfullscreen
|
1333
|
+
@TrafficThreshold = trafficthreshold
|
1334
|
+
end
|
1335
|
+
|
1336
|
+
def deserialize(params)
|
1337
|
+
@CaptchaAppId = params['CaptchaAppId']
|
1338
|
+
@AppName = params['AppName']
|
1339
|
+
@DomainLimit = params['DomainLimit']
|
1340
|
+
@SceneType = params['SceneType']
|
1341
|
+
@CapType = params['CapType']
|
1342
|
+
@EvilInterceptGrade = params['EvilInterceptGrade']
|
1343
|
+
@SmartVerify = params['SmartVerify']
|
1344
|
+
@SmartEngine = params['SmartEngine']
|
1345
|
+
@SchemeColor = params['SchemeColor']
|
1346
|
+
@CaptchaLanguage = params['CaptchaLanguage']
|
1347
|
+
@MailAlarm = params['MailAlarm']
|
1348
|
+
@TopFullScreen = params['TopFullScreen']
|
1349
|
+
@TrafficThreshold = params['TrafficThreshold']
|
1350
|
+
end
|
1351
|
+
end
|
1352
|
+
|
1353
|
+
# UpdateCaptchaAppIdInfo返回参数结构体
|
1354
|
+
class UpdateCaptchaAppIdInfoResponse < TencentCloud::Common::AbstractModel
|
1355
|
+
# @param CaptchaCode: 返回码 0 成功,其它失败
|
1356
|
+
# @type CaptchaCode: Integer
|
1357
|
+
# @param CaptchaMsg: 返回操作信息
|
1358
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1359
|
+
# @type CaptchaMsg: String
|
1360
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1361
|
+
# @type RequestId: String
|
1362
|
+
|
1363
|
+
attr_accessor :CaptchaCode, :CaptchaMsg, :RequestId
|
1364
|
+
|
1365
|
+
def initialize(captchacode=nil, captchamsg=nil, requestid=nil)
|
1366
|
+
@CaptchaCode = captchacode
|
1367
|
+
@CaptchaMsg = captchamsg
|
1368
|
+
@RequestId = requestid
|
1369
|
+
end
|
1370
|
+
|
1371
|
+
def deserialize(params)
|
1372
|
+
@CaptchaCode = params['CaptchaCode']
|
1373
|
+
@CaptchaMsg = params['CaptchaMsg']
|
1374
|
+
@RequestId = params['RequestId']
|
1375
|
+
end
|
1376
|
+
end
|
1377
|
+
|
1378
|
+
end
|
1379
|
+
end
|
1380
|
+
end
|
1381
|
+
|