tencentcloud-sdk-trp 3.0.663 → 3.0.665

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 +46 -8
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a24cec28ae755ec4ec71d0d319161d6a9c894ab7
4
- data.tar.gz: 48deadd2364473d3398baef8a92419ff8609fac2
3
+ metadata.gz: a97b74c12aadb8ff026442756a0a3702182a94cb
4
+ data.tar.gz: dfc2caad53e4f45132650963adc2e8f012daa8bf
5
5
  SHA512:
6
- metadata.gz: 8d5982676c09d205ace14218979253c95b865abf600ccddba344dfff4a0a54f79e42b13fb42a60fc3bda9d1485d43f1989bef247be56ec81379cf30c6335ee0a
7
- data.tar.gz: 9b5dc9c2103a861e1e3f4beac32b16552d00bfc844c3097f98aafde605148befe2d1df7126ea2840837caced84ef15dc575feac4986c6420393ff7077a1ae9ea
6
+ metadata.gz: ab465080b0e8f35c037d8afea9403eb259d6f84c1d3c37ec733b8d510539384ffda6a32e7a6a79cd918a0ca377bd30dd77f77326ba0015c8e3c9f327c8d10edb
7
+ data.tar.gz: 4a1f0e58d230c934f59d8752c80694ba9815dded893dba246335b56db3b4542290f3baf0a4c218c61f2b63f13758c1e7a48c64b160ded72ccda87bd70718e832
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.663
1
+ 3.0.665
@@ -347,10 +347,22 @@ module TencentCloud
347
347
  # @param PackSpec: 层级码配置
348
348
  # 注意:此字段可能返回 null,表示取不到有效值。
349
349
  # @type PackSpec: Array
350
+ # @param ProductName: 商品名称
351
+ # 注意:此字段可能返回 null,表示取不到有效值。
352
+ # @type ProductName: String
353
+ # @param ProductSpecification: 商品规格
354
+ # 注意:此字段可能返回 null,表示取不到有效值。
355
+ # @type ProductSpecification: String
356
+ # @param ProductId: 商品ID
357
+ # 注意:此字段可能返回 null,表示取不到有效值。
358
+ # @type ProductId: String
359
+ # @param RelateType: 码关系是否预关联
360
+ # 0:否, 1:是
361
+ # @type RelateType: Integer
350
362
 
351
- attr_accessor :PackId, :CorpId, :MerchantId, :CreateTime, :UpdateTime, :Status, :Log, :CreateUser, :Amount, :CodeLength, :CodeType, :Cipher, :TextUrl, :PackUrl, :MerchantName, :RuleType, :CustomId, :PackType, :PackLevel, :PackSpec
363
+ attr_accessor :PackId, :CorpId, :MerchantId, :CreateTime, :UpdateTime, :Status, :Log, :CreateUser, :Amount, :CodeLength, :CodeType, :Cipher, :TextUrl, :PackUrl, :MerchantName, :RuleType, :CustomId, :PackType, :PackLevel, :PackSpec, :ProductName, :ProductSpecification, :ProductId, :RelateType
352
364
 
353
- def initialize(packid=nil, corpid=nil, merchantid=nil, createtime=nil, updatetime=nil, status=nil, log=nil, createuser=nil, amount=nil, codelength=nil, codetype=nil, cipher=nil, texturl=nil, packurl=nil, merchantname=nil, ruletype=nil, customid=nil, packtype=nil, packlevel=nil, packspec=nil)
365
+ def initialize(packid=nil, corpid=nil, merchantid=nil, createtime=nil, updatetime=nil, status=nil, log=nil, createuser=nil, amount=nil, codelength=nil, codetype=nil, cipher=nil, texturl=nil, packurl=nil, merchantname=nil, ruletype=nil, customid=nil, packtype=nil, packlevel=nil, packspec=nil, productname=nil, productspecification=nil, productid=nil, relatetype=nil)
354
366
  @PackId = packid
355
367
  @CorpId = corpid
356
368
  @MerchantId = merchantid
@@ -371,6 +383,10 @@ module TencentCloud
371
383
  @PackType = packtype
372
384
  @PackLevel = packlevel
373
385
  @PackSpec = packspec
386
+ @ProductName = productname
387
+ @ProductSpecification = productspecification
388
+ @ProductId = productid
389
+ @RelateType = relatetype
374
390
  end
375
391
 
376
392
  def deserialize(params)
@@ -401,6 +417,10 @@ module TencentCloud
401
417
  @PackSpec << packspec_tmp
402
418
  end
403
419
  end
420
+ @ProductName = params['ProductName']
421
+ @ProductSpecification = params['ProductSpecification']
422
+ @ProductId = params['ProductId']
423
+ @RelateType = params['RelateType']
404
424
  end
405
425
  end
406
426
 
@@ -572,10 +592,14 @@ module TencentCloud
572
592
  # @type BatchId: String
573
593
  # @param SerialType: 是否有流水码 0:无 1:有
574
594
  # @type SerialType: Integer
595
+ # @param ProductId: 关联产品ID
596
+ # @type ProductId: String
597
+ # @param RelateType: 层级码时是否提前生成关联关系,默认为 1
598
+ # @type RelateType: Integer
575
599
 
576
- attr_accessor :MerchantId, :CodeLength, :CodeType, :Amount, :CorpId, :PackType, :PackLevel, :PackSpec, :BatchId, :SerialType
600
+ attr_accessor :MerchantId, :CodeLength, :CodeType, :Amount, :CorpId, :PackType, :PackLevel, :PackSpec, :BatchId, :SerialType, :ProductId, :RelateType
577
601
 
578
- def initialize(merchantid=nil, codelength=nil, codetype=nil, amount=nil, corpid=nil, packtype=nil, packlevel=nil, packspec=nil, batchid=nil, serialtype=nil)
602
+ def initialize(merchantid=nil, codelength=nil, codetype=nil, amount=nil, corpid=nil, packtype=nil, packlevel=nil, packspec=nil, batchid=nil, serialtype=nil, productid=nil, relatetype=nil)
579
603
  @MerchantId = merchantid
580
604
  @CodeLength = codelength
581
605
  @CodeType = codetype
@@ -586,6 +610,8 @@ module TencentCloud
586
610
  @PackSpec = packspec
587
611
  @BatchId = batchid
588
612
  @SerialType = serialtype
613
+ @ProductId = productid
614
+ @RelateType = relatetype
589
615
  end
590
616
 
591
617
  def deserialize(params)
@@ -606,6 +632,8 @@ module TencentCloud
606
632
  end
607
633
  @BatchId = params['BatchId']
608
634
  @SerialType = params['SerialType']
635
+ @ProductId = params['ProductId']
636
+ @RelateType = params['RelateType']
609
637
  end
610
638
  end
611
639
 
@@ -720,10 +748,16 @@ module TencentCloud
720
748
  # @type BatchId: String
721
749
  # @param SerialType: 是否有流水码 0:无 1:有
722
750
  # @type SerialType: Integer
751
+ # @param ProductId: 产品ID
752
+ # @type ProductId: String
753
+ # @param RelateType: 是否预生成码关系
754
+ # 0: 否, 1:是
755
+ # 默认为1,仅对层级码有效
756
+ # @type RelateType: Integer
723
757
 
724
- attr_accessor :MerchantId, :Amount, :CorpId, :PackType, :PackLevel, :PackSpec, :CustomId, :CodeParts, :BatchId, :SerialType
758
+ attr_accessor :MerchantId, :Amount, :CorpId, :PackType, :PackLevel, :PackSpec, :CustomId, :CodeParts, :BatchId, :SerialType, :ProductId, :RelateType
725
759
 
726
- def initialize(merchantid=nil, amount=nil, corpid=nil, packtype=nil, packlevel=nil, packspec=nil, customid=nil, codeparts=nil, batchid=nil, serialtype=nil)
760
+ def initialize(merchantid=nil, amount=nil, corpid=nil, packtype=nil, packlevel=nil, packspec=nil, customid=nil, codeparts=nil, batchid=nil, serialtype=nil, productid=nil, relatetype=nil)
727
761
  @MerchantId = merchantid
728
762
  @Amount = amount
729
763
  @CorpId = corpid
@@ -734,6 +768,8 @@ module TencentCloud
734
768
  @CodeParts = codeparts
735
769
  @BatchId = batchid
736
770
  @SerialType = serialtype
771
+ @ProductId = productid
772
+ @RelateType = relatetype
737
773
  end
738
774
 
739
775
  def deserialize(params)
@@ -761,6 +797,8 @@ module TencentCloud
761
797
  end
762
798
  @BatchId = params['BatchId']
763
799
  @SerialType = params['SerialType']
800
+ @ProductId = params['ProductId']
801
+ @RelateType = params['RelateType']
764
802
  end
765
803
  end
766
804
 
@@ -2344,8 +2382,8 @@ module TencentCloud
2344
2382
 
2345
2383
  attr_accessor :Products, :TotalCount, :ScanLogs, :RequestId
2346
2384
  extend Gem::Deprecate
2347
- deprecate :Products, :none, 2023, 8
2348
- deprecate :Products=, :none, 2023, 8
2385
+ deprecate :Products, :none, 2023, 9
2386
+ deprecate :Products=, :none, 2023, 9
2349
2387
 
2350
2388
  def initialize(products=nil, totalcount=nil, scanlogs=nil, requestid=nil)
2351
2389
  @Products = products
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.663
4
+ version: 3.0.665
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-09-20 00:00:00.000000000 Z
11
+ date: 2023-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common