tencentcloud-sdk-trp 3.0.598 → 3.0.599
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 +174 -47
- 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: 5914cc9ede93490611082ddfd82c97313b0ef242
|
4
|
+
data.tar.gz: 3a9067c9c5f1d44b6005ce5a4a183c7545a15f15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7d04d742f43261dd922baa8c57b5c20de0cb6a2abeee7db9a7bbdb4a763f53fda52b939c92996ba363532ee980fcec757706030e0385f7926f58b4c2df79c6d
|
7
|
+
data.tar.gz: a930697786e3b5ceffa1ee600b7486a6197de28f87a05ab5eaa803e89f45e1565f88c7a72364498717ea47931e3f75e65182c73109514d8e4ddc8b463434c3b3
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.599
|
data/lib/v20210515/models.rb
CHANGED
@@ -17,6 +17,65 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Trp
|
19
19
|
module V20210515
|
20
|
+
# 通用属性
|
21
|
+
|
22
|
+
# Type 的枚举值
|
23
|
+
# text:文本类型, longtext:长文本类型, banner:单图片类型, image:多图片类型, video:视频类型, mp:小程序类型
|
24
|
+
|
25
|
+
# 具体组合如下
|
26
|
+
# - Type: "text" 文本类型, 对应值 Value: "文本字符串"
|
27
|
+
# - Type: "longtext" 长文本类型, 对应值 Value: "长文本字符串, 支持换行\n"
|
28
|
+
# - Type: "banner" 单图片类型, 对应图片地址 Value: "https://sample.cdn.com/xxx.jpg"
|
29
|
+
# - Type: "image" 多图片类型, 对应图片地址 Values: ["https://sample.cdn.com/1.jpg", "https://sample.cdn.com/2.jpg"]
|
30
|
+
# - Type: "video" 视频类型, 对应视频地址 Value: "https://sample.cdn.com/xxx.mp4"
|
31
|
+
# - Type: "mp" 小程序类型, 对应配置 Values: ["WXAPPID", "WXAPP_PATH", "跳转说明"]
|
32
|
+
class AttrItem < TencentCloud::Common::AbstractModel
|
33
|
+
# @param Name: 字段名称
|
34
|
+
# @type Name: String
|
35
|
+
# @param Value: 字段值
|
36
|
+
# @type Value: String
|
37
|
+
# @param Type: 字段类型
|
38
|
+
# text:文本类型,
|
39
|
+
# longtext:长文本类型, banner:单图片类型, image:多图片类型,
|
40
|
+
# video:视频类型,
|
41
|
+
# mp:小程序类型
|
42
|
+
# @type Type: String
|
43
|
+
# @param ReadOnly: 只读
|
44
|
+
# @type ReadOnly: Boolean
|
45
|
+
# @param Hidden: 扫码展示
|
46
|
+
# @type Hidden: Boolean
|
47
|
+
# @param Values: 多个值
|
48
|
+
# @type Values: Array
|
49
|
+
# @param Key: 类型标识
|
50
|
+
# @type Key: String
|
51
|
+
# @param Ext: 扩展字段
|
52
|
+
# @type Ext: String
|
53
|
+
|
54
|
+
attr_accessor :Name, :Value, :Type, :ReadOnly, :Hidden, :Values, :Key, :Ext
|
55
|
+
|
56
|
+
def initialize(name=nil, value=nil, type=nil, readonly=nil, hidden=nil, values=nil, key=nil, ext=nil)
|
57
|
+
@Name = name
|
58
|
+
@Value = value
|
59
|
+
@Type = type
|
60
|
+
@ReadOnly = readonly
|
61
|
+
@Hidden = hidden
|
62
|
+
@Values = values
|
63
|
+
@Key = key
|
64
|
+
@Ext = ext
|
65
|
+
end
|
66
|
+
|
67
|
+
def deserialize(params)
|
68
|
+
@Name = params['Name']
|
69
|
+
@Value = params['Value']
|
70
|
+
@Type = params['Type']
|
71
|
+
@ReadOnly = params['ReadOnly']
|
72
|
+
@Hidden = params['Hidden']
|
73
|
+
@Values = params['Values']
|
74
|
+
@Key = params['Key']
|
75
|
+
@Ext = params['Ext']
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
20
79
|
# AuthorizedTransfer请求参数结构体
|
21
80
|
class AuthorizedTransferRequest < TencentCloud::Common::AbstractModel
|
22
81
|
# @param BusinessSecurityData: 业务加密入参。
|
@@ -139,10 +198,18 @@ module TencentCloud
|
|
139
198
|
# @param Job: 调度任务
|
140
199
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
141
200
|
# @type Job: :class:`Tencentcloud::Trp.v20210515.models.Job`
|
201
|
+
# @param ProductionDate: 生产日期
|
202
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
203
|
+
# @type ProductionDate: String
|
204
|
+
# @param ValidDate: 有效期
|
205
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
206
|
+
# @type ValidDate: String
|
207
|
+
# @param Attrs: 扩展属性
|
208
|
+
# @type Attrs: Array
|
142
209
|
|
143
|
-
attr_accessor :BatchId, :CorpId, :BatchCode, :CodeCnt, :MerchantId, :ProductId, :BatchType, :Remark, :MpTpl, :Status, :CreateTime, :UpdateTime, :MerchantName, :ProductName, :Ext, :TplName, :Job
|
210
|
+
attr_accessor :BatchId, :CorpId, :BatchCode, :CodeCnt, :MerchantId, :ProductId, :BatchType, :Remark, :MpTpl, :Status, :CreateTime, :UpdateTime, :MerchantName, :ProductName, :Ext, :TplName, :Job, :ProductionDate, :ValidDate, :Attrs
|
144
211
|
|
145
|
-
def initialize(batchid=nil, corpid=nil, batchcode=nil, codecnt=nil, merchantid=nil, productid=nil, batchtype=nil, remark=nil, mptpl=nil, status=nil, createtime=nil, updatetime=nil, merchantname=nil, productname=nil, ext=nil, tplname=nil, job=nil)
|
212
|
+
def initialize(batchid=nil, corpid=nil, batchcode=nil, codecnt=nil, merchantid=nil, productid=nil, batchtype=nil, remark=nil, mptpl=nil, status=nil, createtime=nil, updatetime=nil, merchantname=nil, productname=nil, ext=nil, tplname=nil, job=nil, productiondate=nil, validdate=nil, attrs=nil)
|
146
213
|
@BatchId = batchid
|
147
214
|
@CorpId = corpid
|
148
215
|
@BatchCode = batchcode
|
@@ -160,6 +227,9 @@ module TencentCloud
|
|
160
227
|
@Ext = ext
|
161
228
|
@TplName = tplname
|
162
229
|
@Job = job
|
230
|
+
@ProductionDate = productiondate
|
231
|
+
@ValidDate = validdate
|
232
|
+
@Attrs = attrs
|
163
233
|
end
|
164
234
|
|
165
235
|
def deserialize(params)
|
@@ -186,6 +256,16 @@ module TencentCloud
|
|
186
256
|
@Job = Job.new
|
187
257
|
@Job.deserialize(params['Job'])
|
188
258
|
end
|
259
|
+
@ProductionDate = params['ProductionDate']
|
260
|
+
@ValidDate = params['ValidDate']
|
261
|
+
unless params['Attrs'].nil?
|
262
|
+
@Attrs = []
|
263
|
+
params['Attrs'].each do |i|
|
264
|
+
attritem_tmp = AttrItem.new
|
265
|
+
attritem_tmp.deserialize(i)
|
266
|
+
@Attrs << attritem_tmp
|
267
|
+
end
|
268
|
+
end
|
189
269
|
end
|
190
270
|
end
|
191
271
|
|
@@ -414,10 +494,14 @@ module TencentCloud
|
|
414
494
|
# @type CloneId: String
|
415
495
|
# @param BatchCode: 批次编号,业务字段不判断唯一性
|
416
496
|
# @type BatchCode: String
|
497
|
+
# @param ValidDate: 有效期
|
498
|
+
# @type ValidDate: String
|
499
|
+
# @param ProductionDate: 生产日期
|
500
|
+
# @type ProductionDate: String
|
417
501
|
|
418
|
-
attr_accessor :CorpId, :MerchantId, :ProductId, :BatchType, :BatchId, :Remark, :MpTpl, :CloneId, :BatchCode
|
502
|
+
attr_accessor :CorpId, :MerchantId, :ProductId, :BatchType, :BatchId, :Remark, :MpTpl, :CloneId, :BatchCode, :ValidDate, :ProductionDate
|
419
503
|
|
420
|
-
def initialize(corpid=nil, merchantid=nil, productid=nil, batchtype=nil, batchid=nil, remark=nil, mptpl=nil, cloneid=nil, batchcode=nil)
|
504
|
+
def initialize(corpid=nil, merchantid=nil, productid=nil, batchtype=nil, batchid=nil, remark=nil, mptpl=nil, cloneid=nil, batchcode=nil, validdate=nil, productiondate=nil)
|
421
505
|
@CorpId = corpid
|
422
506
|
@MerchantId = merchantid
|
423
507
|
@ProductId = productid
|
@@ -427,6 +511,8 @@ module TencentCloud
|
|
427
511
|
@MpTpl = mptpl
|
428
512
|
@CloneId = cloneid
|
429
513
|
@BatchCode = batchcode
|
514
|
+
@ValidDate = validdate
|
515
|
+
@ProductionDate = productiondate
|
430
516
|
end
|
431
517
|
|
432
518
|
def deserialize(params)
|
@@ -439,6 +525,8 @@ module TencentCloud
|
|
439
525
|
@MpTpl = params['MpTpl']
|
440
526
|
@CloneId = params['CloneId']
|
441
527
|
@BatchCode = params['BatchCode']
|
528
|
+
@ValidDate = params['ValidDate']
|
529
|
+
@ProductionDate = params['ProductionDate']
|
442
530
|
end
|
443
531
|
end
|
444
532
|
|
@@ -2096,28 +2184,39 @@ module TencentCloud
|
|
2096
2184
|
|
2097
2185
|
# DescribeScanLogs请求参数结构体
|
2098
2186
|
class DescribeScanLogsRequest < TencentCloud::Common::AbstractModel
|
2099
|
-
# @param Code: 码
|
2100
|
-
# @type Code: String
|
2101
2187
|
# @param CorpId: 企业ID
|
2102
2188
|
# @type CorpId: Integer
|
2189
|
+
# @param PageSize: 分页数量
|
2190
|
+
# @type PageSize: Integer
|
2191
|
+
# @param PageNumber: 当前分页
|
2192
|
+
# @type PageNumber: Integer
|
2193
|
+
# @param Code: 安心码
|
2194
|
+
# @type Code: String
|
2195
|
+
# @param Openid: 小程序用户ID
|
2196
|
+
# @type Openid: String
|
2103
2197
|
|
2104
|
-
attr_accessor :Code, :
|
2198
|
+
attr_accessor :CorpId, :PageSize, :PageNumber, :Code, :Openid
|
2105
2199
|
|
2106
|
-
def initialize(code=nil,
|
2107
|
-
@Code = code
|
2200
|
+
def initialize(corpid=nil, pagesize=nil, pagenumber=nil, code=nil, openid=nil)
|
2108
2201
|
@CorpId = corpid
|
2202
|
+
@PageSize = pagesize
|
2203
|
+
@PageNumber = pagenumber
|
2204
|
+
@Code = code
|
2205
|
+
@Openid = openid
|
2109
2206
|
end
|
2110
2207
|
|
2111
2208
|
def deserialize(params)
|
2112
|
-
@Code = params['Code']
|
2113
2209
|
@CorpId = params['CorpId']
|
2210
|
+
@PageSize = params['PageSize']
|
2211
|
+
@PageNumber = params['PageNumber']
|
2212
|
+
@Code = params['Code']
|
2213
|
+
@Openid = params['Openid']
|
2114
2214
|
end
|
2115
2215
|
end
|
2116
2216
|
|
2117
2217
|
# DescribeScanLogs返回参数结构体
|
2118
2218
|
class DescribeScanLogsResponse < TencentCloud::Common::AbstractModel
|
2119
2219
|
# @param Products: 【弃用】
|
2120
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2121
2220
|
# @type Products: Array
|
2122
2221
|
# @param TotalCount: 条数
|
2123
2222
|
# @type TotalCount: Integer
|
@@ -2127,6 +2226,9 @@ module TencentCloud
|
|
2127
2226
|
# @type RequestId: String
|
2128
2227
|
|
2129
2228
|
attr_accessor :Products, :TotalCount, :ScanLogs, :RequestId
|
2229
|
+
extend Gem::Deprecate
|
2230
|
+
deprecate :Products, :none, 2023, 6
|
2231
|
+
deprecate :Products=, :none, 2023, 6
|
2130
2232
|
|
2131
2233
|
def initialize(products=nil, totalcount=nil, scanlogs=nil, requestid=nil)
|
2132
2234
|
@Products = products
|
@@ -2285,13 +2387,16 @@ module TencentCloud
|
|
2285
2387
|
class DescribeTraceCodeByIdResponse < TencentCloud::Common::AbstractModel
|
2286
2388
|
# @param TraceCode: 无
|
2287
2389
|
# @type TraceCode: :class:`Tencentcloud::Trp.v20210515.models.TraceCode`
|
2390
|
+
# @param CodePath: 码路径,如level是2,则为 [1级, 2级]
|
2391
|
+
# @type CodePath: Array
|
2288
2392
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2289
2393
|
# @type RequestId: String
|
2290
2394
|
|
2291
|
-
attr_accessor :TraceCode, :RequestId
|
2395
|
+
attr_accessor :TraceCode, :CodePath, :RequestId
|
2292
2396
|
|
2293
|
-
def initialize(tracecode=nil, requestid=nil)
|
2397
|
+
def initialize(tracecode=nil, codepath=nil, requestid=nil)
|
2294
2398
|
@TraceCode = tracecode
|
2399
|
+
@CodePath = codepath
|
2295
2400
|
@RequestId = requestid
|
2296
2401
|
end
|
2297
2402
|
|
@@ -2300,6 +2405,7 @@ module TencentCloud
|
|
2300
2405
|
@TraceCode = TraceCode.new
|
2301
2406
|
@TraceCode.deserialize(params['TraceCode'])
|
2302
2407
|
end
|
2408
|
+
@CodePath = params['CodePath']
|
2303
2409
|
@RequestId = params['RequestId']
|
2304
2410
|
end
|
2305
2411
|
end
|
@@ -2657,10 +2763,14 @@ module TencentCloud
|
|
2657
2763
|
# @type Remark: String
|
2658
2764
|
# @param BatchCode: 批次编码,业务字段不判断唯一性
|
2659
2765
|
# @type BatchCode: String
|
2766
|
+
# @param ValidDate: 有效期
|
2767
|
+
# @type ValidDate: String
|
2768
|
+
# @param ProductionDate: 生产日期
|
2769
|
+
# @type ProductionDate: String
|
2660
2770
|
|
2661
|
-
attr_accessor :BatchId, :CorpId, :Status, :MpTpl, :MerchantId, :ProductId, :Remark, :BatchCode
|
2771
|
+
attr_accessor :BatchId, :CorpId, :Status, :MpTpl, :MerchantId, :ProductId, :Remark, :BatchCode, :ValidDate, :ProductionDate
|
2662
2772
|
|
2663
|
-
def initialize(batchid=nil, corpid=nil, status=nil, mptpl=nil, merchantid=nil, productid=nil, remark=nil, batchcode=nil)
|
2773
|
+
def initialize(batchid=nil, corpid=nil, status=nil, mptpl=nil, merchantid=nil, productid=nil, remark=nil, batchcode=nil, validdate=nil, productiondate=nil)
|
2664
2774
|
@BatchId = batchid
|
2665
2775
|
@CorpId = corpid
|
2666
2776
|
@Status = status
|
@@ -2669,6 +2779,8 @@ module TencentCloud
|
|
2669
2779
|
@ProductId = productid
|
2670
2780
|
@Remark = remark
|
2671
2781
|
@BatchCode = batchcode
|
2782
|
+
@ValidDate = validdate
|
2783
|
+
@ProductionDate = productiondate
|
2672
2784
|
end
|
2673
2785
|
|
2674
2786
|
def deserialize(params)
|
@@ -2680,6 +2792,8 @@ module TencentCloud
|
|
2680
2792
|
@ProductId = params['ProductId']
|
2681
2793
|
@Remark = params['Remark']
|
2682
2794
|
@BatchCode = params['BatchCode']
|
2795
|
+
@ValidDate = params['ValidDate']
|
2796
|
+
@ProductionDate = params['ProductionDate']
|
2683
2797
|
end
|
2684
2798
|
end
|
2685
2799
|
|
@@ -3289,16 +3403,16 @@ module TencentCloud
|
|
3289
3403
|
|
3290
3404
|
# 商品信息
|
3291
3405
|
class Product < TencentCloud::Common::AbstractModel
|
3406
|
+
# @param MerchantId: 商户标识码
|
3407
|
+
# @type MerchantId: String
|
3408
|
+
# @param Name: 商品名称
|
3409
|
+
# @type Name: String
|
3292
3410
|
# @param ProductId: 商品id
|
3293
3411
|
# @type ProductId: String
|
3294
3412
|
# @param CorpId: 企业id
|
3295
3413
|
# @type CorpId: Integer
|
3296
|
-
# @param MerchantId: 商户标识码
|
3297
|
-
# @type MerchantId: String
|
3298
3414
|
# @param ProductCode: 商品编号
|
3299
3415
|
# @type ProductCode: String
|
3300
|
-
# @param Name: 商品名称
|
3301
|
-
# @type Name: String
|
3302
3416
|
# @param Specification: 商品规格
|
3303
3417
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3304
3418
|
# @type Specification: String
|
@@ -3318,14 +3432,14 @@ module TencentCloud
|
|
3318
3432
|
# @param MerchantName: 商户名称
|
3319
3433
|
# @type MerchantName: String
|
3320
3434
|
|
3321
|
-
attr_accessor :
|
3435
|
+
attr_accessor :MerchantId, :Name, :ProductId, :CorpId, :ProductCode, :Specification, :Remark, :Logo, :CreateTime, :UpdateTime, :Ext, :MerchantName
|
3322
3436
|
|
3323
|
-
def initialize(
|
3437
|
+
def initialize(merchantid=nil, name=nil, productid=nil, corpid=nil, productcode=nil, specification=nil, remark=nil, logo=nil, createtime=nil, updatetime=nil, ext=nil, merchantname=nil)
|
3438
|
+
@MerchantId = merchantid
|
3439
|
+
@Name = name
|
3324
3440
|
@ProductId = productid
|
3325
3441
|
@CorpId = corpid
|
3326
|
-
@MerchantId = merchantid
|
3327
3442
|
@ProductCode = productcode
|
3328
|
-
@Name = name
|
3329
3443
|
@Specification = specification
|
3330
3444
|
@Remark = remark
|
3331
3445
|
@Logo = logo
|
@@ -3336,11 +3450,11 @@ module TencentCloud
|
|
3336
3450
|
end
|
3337
3451
|
|
3338
3452
|
def deserialize(params)
|
3453
|
+
@MerchantId = params['MerchantId']
|
3454
|
+
@Name = params['Name']
|
3339
3455
|
@ProductId = params['ProductId']
|
3340
3456
|
@CorpId = params['CorpId']
|
3341
|
-
@MerchantId = params['MerchantId']
|
3342
3457
|
@ProductCode = params['ProductCode']
|
3343
|
-
@Name = params['Name']
|
3344
3458
|
@Specification = params['Specification']
|
3345
3459
|
@Remark = params['Remark']
|
3346
3460
|
@Logo = params['Logo']
|
@@ -3476,7 +3590,6 @@ module TencentCloud
|
|
3476
3590
|
# 扫码明细
|
3477
3591
|
class ScanLog < TencentCloud::Common::AbstractModel
|
3478
3592
|
# @param LogId: 行ID
|
3479
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3480
3593
|
# @type LogId: Integer
|
3481
3594
|
# @param Openid: 微信openid
|
3482
3595
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -3523,10 +3636,18 @@ module TencentCloud
|
|
3523
3636
|
# @param BatchId: 批次ID
|
3524
3637
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3525
3638
|
# @type BatchId: String
|
3639
|
+
# @param Type: 扫码类型 0:无效扫码 1: 小程序扫码 2: 商家扫码
|
3640
|
+
# @type Type: Integer
|
3641
|
+
# @param MerchantName: 商户名称
|
3642
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3643
|
+
# @type MerchantName: String
|
3644
|
+
# @param ProductName: 产品名称
|
3645
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3646
|
+
# @type ProductName: String
|
3526
3647
|
|
3527
|
-
attr_accessor :LogId, :Openid, :Nickname, :CreateTime, :Code, :CorpId, :MerchantId, :ProductId, :Ip, :Country, :Province, :City, :District, :Unionid, :First, :BatchId
|
3648
|
+
attr_accessor :LogId, :Openid, :Nickname, :CreateTime, :Code, :CorpId, :MerchantId, :ProductId, :Ip, :Country, :Province, :City, :District, :Unionid, :First, :BatchId, :Type, :MerchantName, :ProductName
|
3528
3649
|
|
3529
|
-
def initialize(logid=nil, openid=nil, nickname=nil, createtime=nil, code=nil, corpid=nil, merchantid=nil, productid=nil, ip=nil, country=nil, province=nil, city=nil, district=nil, unionid=nil, first=nil, batchid=nil)
|
3650
|
+
def initialize(logid=nil, openid=nil, nickname=nil, createtime=nil, code=nil, corpid=nil, merchantid=nil, productid=nil, ip=nil, country=nil, province=nil, city=nil, district=nil, unionid=nil, first=nil, batchid=nil, type=nil, merchantname=nil, productname=nil)
|
3530
3651
|
@LogId = logid
|
3531
3652
|
@Openid = openid
|
3532
3653
|
@Nickname = nickname
|
@@ -3543,6 +3664,9 @@ module TencentCloud
|
|
3543
3664
|
@Unionid = unionid
|
3544
3665
|
@First = first
|
3545
3666
|
@BatchId = batchid
|
3667
|
+
@Type = type
|
3668
|
+
@MerchantName = merchantname
|
3669
|
+
@ProductName = productname
|
3546
3670
|
end
|
3547
3671
|
|
3548
3672
|
def deserialize(params)
|
@@ -3562,6 +3686,9 @@ module TencentCloud
|
|
3562
3686
|
@Unionid = params['Unionid']
|
3563
3687
|
@First = params['First']
|
3564
3688
|
@BatchId = params['BatchId']
|
3689
|
+
@Type = params['Type']
|
3690
|
+
@MerchantName = params['MerchantName']
|
3691
|
+
@ProductName = params['ProductName']
|
3565
3692
|
end
|
3566
3693
|
end
|
3567
3694
|
|
@@ -3705,8 +3832,6 @@ module TencentCloud
|
|
3705
3832
|
# @param TraceTime: 溯源时间
|
3706
3833
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3707
3834
|
# @type TraceTime: String
|
3708
|
-
# @param TraceItems: 无
|
3709
|
-
# @type TraceItems: Array
|
3710
3835
|
# @param CreateTime: 创建时间
|
3711
3836
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3712
3837
|
# @type CreateTime: String
|
@@ -3724,10 +3849,12 @@ module TencentCloud
|
|
3724
3849
|
# @type PhaseData: :class:`Tencentcloud::Trp.v20210515.models.PhaseData`
|
3725
3850
|
# @param Status: 溯源阶段状态 0: 无效, 1: 有效
|
3726
3851
|
# @type Status: Integer
|
3852
|
+
# @param TraceItems: 无
|
3853
|
+
# @type TraceItems: Array
|
3727
3854
|
|
3728
|
-
attr_accessor :TraceId, :CorpId, :Type, :Code, :Rank, :Phase, :PhaseName, :TraceTime, :
|
3855
|
+
attr_accessor :TraceId, :CorpId, :Type, :Code, :Rank, :Phase, :PhaseName, :TraceTime, :CreateTime, :ChainStatus, :ChainTime, :ChainData, :PhaseData, :Status, :TraceItems
|
3729
3856
|
|
3730
|
-
def initialize(traceid=nil, corpid=nil, type=nil, code=nil, rank=nil, phase=nil, phasename=nil, tracetime=nil,
|
3857
|
+
def initialize(traceid=nil, corpid=nil, type=nil, code=nil, rank=nil, phase=nil, phasename=nil, tracetime=nil, createtime=nil, chainstatus=nil, chaintime=nil, chaindata=nil, phasedata=nil, status=nil, traceitems=nil)
|
3731
3858
|
@TraceId = traceid
|
3732
3859
|
@CorpId = corpid
|
3733
3860
|
@Type = type
|
@@ -3736,13 +3863,13 @@ module TencentCloud
|
|
3736
3863
|
@Phase = phase
|
3737
3864
|
@PhaseName = phasename
|
3738
3865
|
@TraceTime = tracetime
|
3739
|
-
@TraceItems = traceitems
|
3740
3866
|
@CreateTime = createtime
|
3741
3867
|
@ChainStatus = chainstatus
|
3742
3868
|
@ChainTime = chaintime
|
3743
3869
|
@ChainData = chaindata
|
3744
3870
|
@PhaseData = phasedata
|
3745
3871
|
@Status = status
|
3872
|
+
@TraceItems = traceitems
|
3746
3873
|
end
|
3747
3874
|
|
3748
3875
|
def deserialize(params)
|
@@ -3754,14 +3881,6 @@ module TencentCloud
|
|
3754
3881
|
@Phase = params['Phase']
|
3755
3882
|
@PhaseName = params['PhaseName']
|
3756
3883
|
@TraceTime = params['TraceTime']
|
3757
|
-
unless params['TraceItems'].nil?
|
3758
|
-
@TraceItems = []
|
3759
|
-
params['TraceItems'].each do |i|
|
3760
|
-
traceitem_tmp = TraceItem.new
|
3761
|
-
traceitem_tmp.deserialize(i)
|
3762
|
-
@TraceItems << traceitem_tmp
|
3763
|
-
end
|
3764
|
-
end
|
3765
3884
|
@CreateTime = params['CreateTime']
|
3766
3885
|
@ChainStatus = params['ChainStatus']
|
3767
3886
|
@ChainTime = params['ChainTime']
|
@@ -3774,6 +3893,14 @@ module TencentCloud
|
|
3774
3893
|
@PhaseData.deserialize(params['PhaseData'])
|
3775
3894
|
end
|
3776
3895
|
@Status = params['Status']
|
3896
|
+
unless params['TraceItems'].nil?
|
3897
|
+
@TraceItems = []
|
3898
|
+
params['TraceItems'].each do |i|
|
3899
|
+
traceitem_tmp = TraceItem.new
|
3900
|
+
traceitem_tmp.deserialize(i)
|
3901
|
+
@TraceItems << traceitem_tmp
|
3902
|
+
end
|
3903
|
+
end
|
3777
3904
|
end
|
3778
3905
|
end
|
3779
3906
|
|
@@ -3799,12 +3926,12 @@ module TencentCloud
|
|
3799
3926
|
# video:视频类型,
|
3800
3927
|
# mp:小程序类型
|
3801
3928
|
# @type Type: String
|
3929
|
+
# @param Values: 多个值
|
3930
|
+
# @type Values: Array
|
3802
3931
|
# @param ReadOnly: 只读
|
3803
3932
|
# @type ReadOnly: Boolean
|
3804
3933
|
# @param Hidden: 扫码展示
|
3805
3934
|
# @type Hidden: Boolean
|
3806
|
-
# @param Values: 多个值
|
3807
|
-
# @type Values: Array
|
3808
3935
|
# @param Key: 类型标识
|
3809
3936
|
# @type Key: String
|
3810
3937
|
# @param Ext: 扩展字段
|
@@ -3814,15 +3941,15 @@ module TencentCloud
|
|
3814
3941
|
# @param List: 子页面,只读
|
3815
3942
|
# @type List: Array
|
3816
3943
|
|
3817
|
-
attr_accessor :Name, :Value, :Type, :
|
3944
|
+
attr_accessor :Name, :Value, :Type, :Values, :ReadOnly, :Hidden, :Key, :Ext, :Attrs, :List
|
3818
3945
|
|
3819
|
-
def initialize(name=nil, value=nil, type=nil,
|
3946
|
+
def initialize(name=nil, value=nil, type=nil, values=nil, readonly=nil, hidden=nil, key=nil, ext=nil, attrs=nil, list=nil)
|
3820
3947
|
@Name = name
|
3821
3948
|
@Value = value
|
3822
3949
|
@Type = type
|
3950
|
+
@Values = values
|
3823
3951
|
@ReadOnly = readonly
|
3824
3952
|
@Hidden = hidden
|
3825
|
-
@Values = values
|
3826
3953
|
@Key = key
|
3827
3954
|
@Ext = ext
|
3828
3955
|
@Attrs = attrs
|
@@ -3833,9 +3960,9 @@ module TencentCloud
|
|
3833
3960
|
@Name = params['Name']
|
3834
3961
|
@Value = params['Value']
|
3835
3962
|
@Type = params['Type']
|
3963
|
+
@Values = params['Values']
|
3836
3964
|
@ReadOnly = params['ReadOnly']
|
3837
3965
|
@Hidden = params['Hidden']
|
3838
|
-
@Values = params['Values']
|
3839
3966
|
@Key = params['Key']
|
3840
3967
|
@Ext = params['Ext']
|
3841
3968
|
unless params['Attrs'].nil?
|
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.599
|
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-06-
|
11
|
+
date: 2023-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|