tencentcloud-sdk-trp 3.0.397 → 3.0.402
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210515/models.rb +66 -7
- 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: dee7936e5100e6db20b07beee8fb62e5299c67e2
|
4
|
+
data.tar.gz: 616b51f5ff00dce4a730dd85ca8ed71ad50e8419
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 002dbd3db420cd91e1cceb65d4436c4110e81463747164a87f17f2a9296accfe0d616330399c99f782e442d55511dcb26b62568c2196b8685490744d1aa33bbb
|
7
|
+
data.tar.gz: 6b02143fb77807063439a234c65ceba798c4ae1d3e80c5df8326530ee1d8071b5e690428410b262fefe2042a7edcff8fd80e0fdfc4871ec8698e262a5d213d2a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.402
|
data/lib/v20210515/models.rb
CHANGED
@@ -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.
|
4
|
+
version: 3.0.402
|
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
|
+
date: 2022-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|