tencentcloud-sdk-trp 3.0.396 → 3.0.401

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 +66 -7
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9027f438aa4b4cb66ecc788c5180756ed6881c38
4
- data.tar.gz: 435639289aa6b2fc64178ebed7c5134be72e3b92
3
+ metadata.gz: cfd7fcd43ffefb7c5e63e61d377985d0f5d8371d
4
+ data.tar.gz: 99c82a91cb82c623e1efe98ce1528706fe4884c9
5
5
  SHA512:
6
- metadata.gz: f8138d1d2eedd80d00718b32f08c75fa1167dee29a2039a579f732f6719f8000b8ba2f50b9d3837b4f3e734031b530097cf74c70ec23f34e3f1e5a0ecd829db8
7
- data.tar.gz: 8ffd4797dac5c9662330676d5b054eae3a847c674f1bf53e3b7ada81dd3b25501e309492219e8f994404b3de86ed404a28f9027fb07fc5a13712827953777b08
6
+ metadata.gz: 20a9b12bba39af350eb604167c44afb8b4fde2c2ee8a134cf5fe6480e31cc4fc2da34b67dffed2d566f39f04e85a08a7738d3a050ef0494203685dfc1c9b94c0
7
+ data.tar.gz: 144ef98e297a2e676cf3a3cdd31d864415fcde427750c21f0ef2333356d21e4d08452876962521a0bd66f0503f69939b4ad334e3d43385d054ecceffa7d55667
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.396
1
+ 3.0.401
@@ -518,10 +518,14 @@ module TencentCloud
518
518
  # @type TraceId: String
519
519
  # @param TraceItems: 溯源信息
520
520
  # @type TraceItems: Array
521
+ # @param Status: 溯源状态 0: 无效, 1: 有效
522
+ # @type Status: Integer
523
+ # @param PhaseData: 环节数据
524
+ # @type PhaseData: :class:`Tencentcloud::Trp.v20210515.models.PhaseData`
521
525
 
522
- attr_accessor :CorpId, :BatchId, :TaskId, :Phase, :PhaseName, :ChainStatus, :Type, :TraceId, :TraceItems
526
+ attr_accessor :CorpId, :BatchId, :TaskId, :Phase, :PhaseName, :ChainStatus, :Type, :TraceId, :TraceItems, :Status, :PhaseData
523
527
 
524
- def initialize(corpid=nil, batchid=nil, taskid=nil, phase=nil, phasename=nil, chainstatus=nil, type=nil, traceid=nil, traceitems=nil)
528
+ def initialize(corpid=nil, batchid=nil, taskid=nil, phase=nil, phasename=nil, chainstatus=nil, type=nil, traceid=nil, traceitems=nil, status=nil, phasedata=nil)
525
529
  @CorpId = corpid
526
530
  @BatchId = batchid
527
531
  @TaskId = taskid
@@ -531,6 +535,8 @@ module TencentCloud
531
535
  @Type = type
532
536
  @TraceId = traceid
533
537
  @TraceItems = traceitems
538
+ @Status = status
539
+ @PhaseData = phasedata
534
540
  end
535
541
 
536
542
  def deserialize(params)
@@ -550,6 +556,11 @@ module TencentCloud
550
556
  @TraceItems << traceitem_tmp
551
557
  end
552
558
  end
559
+ @Status = params['Status']
560
+ unless params['PhaseData'].nil?
561
+ @PhaseData = PhaseData.new
562
+ @PhaseData.deserialize(params['PhaseData'])
563
+ end
553
564
  end
554
565
  end
555
566
 
@@ -1683,12 +1694,14 @@ module TencentCloud
1683
1694
  # @type ChainData: :class:`Tencentcloud::Trp.v20210515.models.ChainData`
1684
1695
  # @param CorpId: 企业ID
1685
1696
  # @type CorpId: Integer
1686
- # @param Status: [无效] 溯源状态
1697
+ # @param Status: 溯源状态 0: 无效, 1: 有效
1687
1698
  # @type Status: Integer
1699
+ # @param PhaseData: 环节数据
1700
+ # @type PhaseData: :class:`Tencentcloud::Trp.v20210515.models.PhaseData`
1688
1701
 
1689
- attr_accessor :TraceId, :BatchId, :TaskId, :TraceItems, :PhaseName, :Type, :Code, :Rank, :Phase, :TraceTime, :CreateTime, :ChainStatus, :ChainTime, :ChainData, :CorpId, :Status
1702
+ attr_accessor :TraceId, :BatchId, :TaskId, :TraceItems, :PhaseName, :Type, :Code, :Rank, :Phase, :TraceTime, :CreateTime, :ChainStatus, :ChainTime, :ChainData, :CorpId, :Status, :PhaseData
1690
1703
 
1691
- def initialize(traceid=nil, batchid=nil, taskid=nil, traceitems=nil, phasename=nil, type=nil, code=nil, rank=nil, phase=nil, tracetime=nil, createtime=nil, chainstatus=nil, chaintime=nil, chaindata=nil, corpid=nil, status=nil)
1704
+ def initialize(traceid=nil, batchid=nil, taskid=nil, traceitems=nil, phasename=nil, type=nil, code=nil, rank=nil, phase=nil, tracetime=nil, createtime=nil, chainstatus=nil, chaintime=nil, chaindata=nil, corpid=nil, status=nil, phasedata=nil)
1692
1705
  @TraceId = traceid
1693
1706
  @BatchId = batchid
1694
1707
  @TaskId = taskid
@@ -1705,6 +1718,7 @@ module TencentCloud
1705
1718
  @ChainData = chaindata
1706
1719
  @CorpId = corpid
1707
1720
  @Status = status
1721
+ @PhaseData = phasedata
1708
1722
  end
1709
1723
 
1710
1724
  def deserialize(params)
@@ -1734,6 +1748,10 @@ module TencentCloud
1734
1748
  end
1735
1749
  @CorpId = params['CorpId']
1736
1750
  @Status = params['Status']
1751
+ unless params['PhaseData'].nil?
1752
+ @PhaseData = PhaseData.new
1753
+ @PhaseData.deserialize(params['PhaseData'])
1754
+ end
1737
1755
  end
1738
1756
  end
1739
1757
 
@@ -1781,6 +1799,42 @@ module TencentCloud
1781
1799
  end
1782
1800
  end
1783
1801
 
1802
+ # 环节数据
1803
+ class PhaseData < TencentCloud::Common::AbstractModel
1804
+ # @param HeadEnabled: 启用头
1805
+ # @type HeadEnabled: Boolean
1806
+ # @param HeadTitle: 标题
1807
+ # @type HeadTitle: String
1808
+ # @param Key: 标识符
1809
+ # @type Key: String
1810
+ # @param AppId: 小程序AppId
1811
+ # @type AppId: String
1812
+ # @param AppPath: 小程序AppPath
1813
+ # @type AppPath: String
1814
+ # @param AppName: 小程序名称AppName
1815
+ # @type AppName: String
1816
+
1817
+ attr_accessor :HeadEnabled, :HeadTitle, :Key, :AppId, :AppPath, :AppName
1818
+
1819
+ def initialize(headenabled=nil, headtitle=nil, key=nil, appid=nil, apppath=nil, appname=nil)
1820
+ @HeadEnabled = headenabled
1821
+ @HeadTitle = headtitle
1822
+ @Key = key
1823
+ @AppId = appid
1824
+ @AppPath = apppath
1825
+ @AppName = appname
1826
+ end
1827
+
1828
+ def deserialize(params)
1829
+ @HeadEnabled = params['HeadEnabled']
1830
+ @HeadTitle = params['HeadTitle']
1831
+ @Key = params['Key']
1832
+ @AppId = params['AppId']
1833
+ @AppPath = params['AppPath']
1834
+ @AppName = params['AppName']
1835
+ end
1836
+ end
1837
+
1784
1838
  # 商品信息
1785
1839
  class Product < TencentCloud::Common::AbstractModel
1786
1840
  # @param ProductId: 商品id
@@ -2011,16 +2065,20 @@ module TencentCloud
2011
2065
  # @param Values: 多个值
2012
2066
  # 注意:此字段可能返回 null,表示取不到有效值。
2013
2067
  # @type Values: Array
2068
+ # @param Key: 类型标识
2069
+ # 注意:此字段可能返回 null,表示取不到有效值。
2070
+ # @type Key: String
2014
2071
 
2015
- attr_accessor :Name, :Value, :Type, :ReadOnly, :Hidden, :Values
2072
+ attr_accessor :Name, :Value, :Type, :ReadOnly, :Hidden, :Values, :Key
2016
2073
 
2017
- def initialize(name=nil, value=nil, type=nil, readonly=nil, hidden=nil, values=nil)
2074
+ def initialize(name=nil, value=nil, type=nil, readonly=nil, hidden=nil, values=nil, key=nil)
2018
2075
  @Name = name
2019
2076
  @Value = value
2020
2077
  @Type = type
2021
2078
  @ReadOnly = readonly
2022
2079
  @Hidden = hidden
2023
2080
  @Values = values
2081
+ @Key = key
2024
2082
  end
2025
2083
 
2026
2084
  def deserialize(params)
@@ -2030,6 +2088,7 @@ module TencentCloud
2030
2088
  @ReadOnly = params['ReadOnly']
2031
2089
  @Hidden = params['Hidden']
2032
2090
  @Values = params['Values']
2091
+ @Key = params['Key']
2033
2092
  end
2034
2093
  end
2035
2094
 
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.396
4
+ version: 3.0.401
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-08-29 00:00:00.000000000 Z
11
+ date: 2022-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common