tencentcloud-sdk-trp 3.0.662 → 3.0.664

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: 025e3c073b1cba8f0286627f581a15d775fe1b84
4
- data.tar.gz: cdbd7cf57d8b133a2cc59796fcbf139e97e4e430
3
+ metadata.gz: 147ca95e730da5b08db740a0bc2783c5b038b6d9
4
+ data.tar.gz: 49070768e447ae284b7e1959fbeff466f0e129f8
5
5
  SHA512:
6
- metadata.gz: 864d246944741ecdcbf22753cfe55a16fa88f6baea556f2f6763bb1ece3ef869e0607989b4dfe5cbe6c1c3cdb540fb9f705791a84bea9d0b1d910a6b55b53812
7
- data.tar.gz: 1d55d226f34052e84bb1d93042ee19369fa39be46b1caeea3d1acb77f8bfcd599bc8a552521ca7e8dfeee858b1e547b6f42bc1cd1179ed56cf5982262ec1a43c
6
+ metadata.gz: 0c3e27424451d31da411d3165c41b91a8f57bb9dda99cbdc7c1b00b8073db8221728613ec3c9006dc60fd6e1d0d8805e0c0a92bd42e50b821aef553de19b593e
7
+ data.tar.gz: 46006fc8756ce02c6a79816f354423f65ddea02b5e80263997d23ca345f269f9dd7b018bef6ae774677f1e6450eccb287752b73f8257568050c752dbd6c97f3a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.662
1
+ 3.0.664
@@ -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.662
4
+ version: 3.0.664
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-19 00:00:00.000000000 Z
11
+ date: 2023-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common