tencentcloud-sdk-trp 3.0.455 → 3.0.456
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210515/models.rb +18 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d7d784cbcb946147f73e688e7bd30fa589e0f59
|
4
|
+
data.tar.gz: ed6292b15cc9c129cdf3d7e2ba8b049aab615fd1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0459116f5b87595adbc39077f5d6551d067bd4308862359341d23a4029cff6d991294e58cd0793ba052fe03ce3579ddcc383e022bcef346f2fdb646fb23fc38
|
7
|
+
data.tar.gz: 0ece8d743043e7d9a7869ae95b2b223b39fac327a79b0050b02b17d8c89fe009ca6700f0c46983a18f7d531a7dd5ba8db4d986b2c0eef1f43f464f94acc9fac4
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.456
|
data/lib/v20210515/models.rb
CHANGED
@@ -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.
|
4
|
+
version: 3.0.456
|
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-
|
11
|
+
date: 2022-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|