tencentcloud-sdk-trp 3.0.455 → 3.0.457

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/v20210515/models.rb +18 -6
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 10fa860c6ed9101f8bf3e943460208a60e337e44
4
- data.tar.gz: 8dfd06cd58216ed2ea3448ffcf9c9c038ad911a6
3
+ metadata.gz: 423f9be260a2fd4ad2b3bf02fc4b86f5ea4a8881
4
+ data.tar.gz: 3aec9302f096efc6a4bdaae707a587ecb8a5fa8f
5
5
  SHA512:
6
- metadata.gz: 619276977a56f667f176f111bc5042fdf37504fc3c0b2e5e8ab6a40419b6121c3e30846a453af705bc87294a7ceeae337cbb5149d7f3e7fe1d69ccfab8610545
7
- data.tar.gz: 1d7479b6fe5d9155fcf5a2603caa2700d191d1c37a3a7592ea7ff0c14dd518c8249247d50f196e2e4b969903e7673d9e19cc6b31ba7bde1e07f3f92d5e868194
6
+ metadata.gz: 2c1ee923ae535ad269c8bf5f6c1369115e8f52d4fbbaf4f0b972795029bc1f137c35d33b07e9c80a21a84b604088556a2d4cddc7a2697fab031c679a69ac2e26
7
+ data.tar.gz: 3d1b030b06727c19858b5193d0c87fae6a6713339227b4d64f9c503c4d87cea6097a8ceb9561bb7759463fbf2589084cd1c4fb5a40af9622b6e3371a065923d2
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.455
1
+ 3.0.457
@@ -400,10 +400,12 @@ module TencentCloud
400
400
  # @type PackLevel: Integer
401
401
  # @param PackSpec: 码包规格
402
402
  # @type PackSpec: Array
403
+ # @param BatchId: 批次ID,如果传了生码后会同时绑定批次,并激活码
404
+ # @type BatchId: String
403
405
 
404
- attr_accessor :MerchantId, :CodeLength, :CodeType, :Amount, :CorpId, :PackType, :PackLevel, :PackSpec
406
+ attr_accessor :MerchantId, :CodeLength, :CodeType, :Amount, :CorpId, :PackType, :PackLevel, :PackSpec, :BatchId
405
407
 
406
- def initialize(merchantid=nil, codelength=nil, codetype=nil, amount=nil, corpid=nil, packtype=nil, packlevel=nil, packspec=nil)
408
+ def initialize(merchantid=nil, codelength=nil, codetype=nil, amount=nil, corpid=nil, packtype=nil, packlevel=nil, packspec=nil, batchid=nil)
407
409
  @MerchantId = merchantid
408
410
  @CodeLength = codelength
409
411
  @CodeType = codetype
@@ -412,6 +414,7 @@ module TencentCloud
412
414
  @PackType = packtype
413
415
  @PackLevel = packlevel
414
416
  @PackSpec = packspec
417
+ @BatchId = batchid
415
418
  end
416
419
 
417
420
  def deserialize(params)
@@ -430,6 +433,7 @@ module TencentCloud
430
433
  @PackSpec << packspec_tmp
431
434
  end
432
435
  end
436
+ @BatchId = params['BatchId']
433
437
  end
434
438
  end
435
439
 
@@ -540,10 +544,12 @@ module TencentCloud
540
544
  # @type CustomId: String
541
545
  # @param CodeParts: 码段配置,和CustomId二选一必填
542
546
  # @type CodeParts: Array
547
+ # @param BatchId: 批次ID,如果传了生码后会同时绑定批次,并激活码
548
+ # @type BatchId: String
543
549
 
544
- attr_accessor :MerchantId, :Amount, :CorpId, :PackType, :PackLevel, :PackSpec, :CustomId, :CodeParts
550
+ attr_accessor :MerchantId, :Amount, :CorpId, :PackType, :PackLevel, :PackSpec, :CustomId, :CodeParts, :BatchId
545
551
 
546
- def initialize(merchantid=nil, amount=nil, corpid=nil, packtype=nil, packlevel=nil, packspec=nil, customid=nil, codeparts=nil)
552
+ def initialize(merchantid=nil, amount=nil, corpid=nil, packtype=nil, packlevel=nil, packspec=nil, customid=nil, codeparts=nil, batchid=nil)
547
553
  @MerchantId = merchantid
548
554
  @Amount = amount
549
555
  @CorpId = corpid
@@ -552,6 +558,7 @@ module TencentCloud
552
558
  @PackSpec = packspec
553
559
  @CustomId = customid
554
560
  @CodeParts = codeparts
561
+ @BatchId = batchid
555
562
  end
556
563
 
557
564
  def deserialize(params)
@@ -577,6 +584,7 @@ module TencentCloud
577
584
  @CodeParts << codepart_tmp
578
585
  end
579
586
  end
587
+ @BatchId = params['BatchId']
580
588
  end
581
589
  end
582
590
 
@@ -2344,17 +2352,21 @@ module TencentCloud
2344
2352
  # @type CustomId: String
2345
2353
  # @param Status: 码规则状态 0:未生效 1:已生效 -1:已失效
2346
2354
  # @type Status: Integer
2355
+ # @param CorpId: 企业ID
2356
+ # @type CorpId: Integer
2347
2357
 
2348
- attr_accessor :CustomId, :Status
2358
+ attr_accessor :CustomId, :Status, :CorpId
2349
2359
 
2350
- def initialize(customid=nil, status=nil)
2360
+ def initialize(customid=nil, status=nil, corpid=nil)
2351
2361
  @CustomId = customid
2352
2362
  @Status = status
2363
+ @CorpId = corpid
2353
2364
  end
2354
2365
 
2355
2366
  def deserialize(params)
2356
2367
  @CustomId = params['CustomId']
2357
2368
  @Status = params['Status']
2369
+ @CorpId = params['CorpId']
2358
2370
  end
2359
2371
  end
2360
2372
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-trp
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.455
4
+ version: 3.0.457
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-21 00:00:00.000000000 Z
11
+ date: 2022-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common