tencentcloud-sdk-captcha 3.0.511 → 3.0.513

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190722/models.rb +68 -6
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bcb0348680bc1827b1f0900e571d035fa4e66c2b
4
- data.tar.gz: b7b9b79bcf2178da4df1efcbd5edbaf81edb53c6
3
+ metadata.gz: 5fd4870f8f30703acbacee5f3ff15367906506a9
4
+ data.tar.gz: c7d929953be88125b7883a267f58f7178075ecc8
5
5
  SHA512:
6
- metadata.gz: e26d8f80f1d853b969dfc8cde96c1edf14c0b4775b441159918dab4b81ec485793e58e8648b5134c9a34041db6b2b0033e1a7d223077ae9890f617cc937113f2
7
- data.tar.gz: 0543dec20a00994874037e7326b109c8dfde9e25539358f68dfd552de304a0661a94b4e828bac20a8b5623d19606bdfcef634db88a609e5fc01c43f711ce69c3
6
+ metadata.gz: bad844429856a9c27a9296d4a7cea03261d332c46e6b2985b00492bbec8e5a23c97e2d64821d9140dabe562e0553cd5ebac926c12d6858219532e50dd9e3c358
7
+ data.tar.gz: 750cb96e4663b92998fa02d1011614688b59b058458617ee4b392f65b18631a4db72e5bc5a01f01c67219016e6056bd33bf83d8351cd370939f9d61ec49df37c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.511
1
+ 3.0.513
@@ -1240,27 +1240,60 @@ module TencentCloud
1240
1240
 
1241
1241
  # GetRequestStatistics请求参数结构体
1242
1242
  class GetRequestStatisticsRequest < TencentCloud::Common::AbstractModel
1243
+ # @param CaptchaAppId: 验证码AppId
1244
+ # @type CaptchaAppId: String
1245
+ # @param StartTimeStr: 开始时间字符串
1246
+ # @type StartTimeStr: String
1247
+ # @param EndTimeStr: 结束时间字符串
1248
+ # @type EndTimeStr: String
1249
+ # @param Dimension: 查询粒度
1250
+ # @type Dimension: String
1243
1251
 
1252
+ attr_accessor :CaptchaAppId, :StartTimeStr, :EndTimeStr, :Dimension
1244
1253
 
1245
- def initialize()
1254
+ def initialize(captchaappid=nil, starttimestr=nil, endtimestr=nil, dimension=nil)
1255
+ @CaptchaAppId = captchaappid
1256
+ @StartTimeStr = starttimestr
1257
+ @EndTimeStr = endtimestr
1258
+ @Dimension = dimension
1246
1259
  end
1247
1260
 
1248
1261
  def deserialize(params)
1262
+ @CaptchaAppId = params['CaptchaAppId']
1263
+ @StartTimeStr = params['StartTimeStr']
1264
+ @EndTimeStr = params['EndTimeStr']
1265
+ @Dimension = params['Dimension']
1249
1266
  end
1250
1267
  end
1251
1268
 
1252
1269
  # GetRequestStatistics返回参数结构体
1253
1270
  class GetRequestStatisticsResponse < TencentCloud::Common::AbstractModel
1271
+ # @param Data: 查询后数据块
1272
+ # 注意:此字段可能返回 null,表示取不到有效值。
1273
+ # @type Data: :class:`Tencentcloud::Captcha.v20190722.models.CaptchaStatisticObj`
1274
+ # @param CaptchaCode: 验证码返回码
1275
+ # @type CaptchaCode: Integer
1276
+ # @param CaptchaMsg: 验证码返回信息
1277
+ # @type CaptchaMsg: String
1254
1278
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1255
1279
  # @type RequestId: String
1256
1280
 
1257
- attr_accessor :RequestId
1281
+ attr_accessor :Data, :CaptchaCode, :CaptchaMsg, :RequestId
1258
1282
 
1259
- def initialize(requestid=nil)
1283
+ def initialize(data=nil, captchacode=nil, captchamsg=nil, requestid=nil)
1284
+ @Data = data
1285
+ @CaptchaCode = captchacode
1286
+ @CaptchaMsg = captchamsg
1260
1287
  @RequestId = requestid
1261
1288
  end
1262
1289
 
1263
1290
  def deserialize(params)
1291
+ unless params['Data'].nil?
1292
+ @Data = CaptchaStatisticObj.new
1293
+ @Data.deserialize(params['Data'])
1294
+ end
1295
+ @CaptchaCode = params['CaptchaCode']
1296
+ @CaptchaMsg = params['CaptchaMsg']
1264
1297
  @RequestId = params['RequestId']
1265
1298
  end
1266
1299
  end
@@ -1327,27 +1360,56 @@ module TencentCloud
1327
1360
 
1328
1361
  # GetTotalRequestStatistics请求参数结构体
1329
1362
  class GetTotalRequestStatisticsRequest < TencentCloud::Common::AbstractModel
1363
+ # @param StartTimeStr: 开始时间字符串
1364
+ # @type StartTimeStr: String
1365
+ # @param EndTimeStr: 结束时间字符串
1366
+ # @type EndTimeStr: String
1367
+ # @param Dimension: 查询粒度
1368
+ # @type Dimension: String
1330
1369
 
1370
+ attr_accessor :StartTimeStr, :EndTimeStr, :Dimension
1331
1371
 
1332
- def initialize()
1372
+ def initialize(starttimestr=nil, endtimestr=nil, dimension=nil)
1373
+ @StartTimeStr = starttimestr
1374
+ @EndTimeStr = endtimestr
1375
+ @Dimension = dimension
1333
1376
  end
1334
1377
 
1335
1378
  def deserialize(params)
1379
+ @StartTimeStr = params['StartTimeStr']
1380
+ @EndTimeStr = params['EndTimeStr']
1381
+ @Dimension = params['Dimension']
1336
1382
  end
1337
1383
  end
1338
1384
 
1339
1385
  # GetTotalRequestStatistics返回参数结构体
1340
1386
  class GetTotalRequestStatisticsResponse < TencentCloud::Common::AbstractModel
1387
+ # @param Data: 查询后数据块
1388
+ # 注意:此字段可能返回 null,表示取不到有效值。
1389
+ # @type Data: :class:`Tencentcloud::Captcha.v20190722.models.CaptchaStatisticObj`
1390
+ # @param CaptchaCode: 验证码返回码
1391
+ # @type CaptchaCode: Integer
1392
+ # @param CaptchaMsg: 验证码返回信息
1393
+ # @type CaptchaMsg: String
1341
1394
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1342
1395
  # @type RequestId: String
1343
1396
 
1344
- attr_accessor :RequestId
1397
+ attr_accessor :Data, :CaptchaCode, :CaptchaMsg, :RequestId
1345
1398
 
1346
- def initialize(requestid=nil)
1399
+ def initialize(data=nil, captchacode=nil, captchamsg=nil, requestid=nil)
1400
+ @Data = data
1401
+ @CaptchaCode = captchacode
1402
+ @CaptchaMsg = captchamsg
1347
1403
  @RequestId = requestid
1348
1404
  end
1349
1405
 
1350
1406
  def deserialize(params)
1407
+ unless params['Data'].nil?
1408
+ @Data = CaptchaStatisticObj.new
1409
+ @Data.deserialize(params['Data'])
1410
+ end
1411
+ @CaptchaCode = params['CaptchaCode']
1412
+ @CaptchaMsg = params['CaptchaMsg']
1351
1413
  @RequestId = params['RequestId']
1352
1414
  end
1353
1415
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-captcha
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.511
4
+ version: 3.0.513
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-17 00:00:00.000000000 Z
11
+ date: 2023-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common