tencentcloud-sdk-captcha 3.0.511 → 3.0.512

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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: c46371728fc062d8e6bee79ed96036811f03bbd7
4
+ data.tar.gz: 88b6eb450ab9bf117e047fa4b000e47a4733eb2b
5
5
  SHA512:
6
- metadata.gz: e26d8f80f1d853b969dfc8cde96c1edf14c0b4775b441159918dab4b81ec485793e58e8648b5134c9a34041db6b2b0033e1a7d223077ae9890f617cc937113f2
7
- data.tar.gz: 0543dec20a00994874037e7326b109c8dfde9e25539358f68dfd552de304a0661a94b4e828bac20a8b5623d19606bdfcef634db88a609e5fc01c43f711ce69c3
6
+ metadata.gz: 981d2fad1b05643e099a9e912aff0526b91f83ca01ceba60c6c8fca49f354ace68f188f492a2616fb264661cef6879d86080df248ad281c820b8e26d2e70dc4d
7
+ data.tar.gz: 4176896c64225c47ab6a51b715a285c5dededa414802b4069e5bd970c51d147c9d5cf586cccd91a2448f4616c9e5ad070e5efd7d718c403f0da240975dbb2b26
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.511
1
+ 3.0.512
@@ -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.512
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-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common