tencentcloud-sdk-trp 3.0.732 → 3.0.734
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/client.rb +24 -0
- data/lib/v20210515/models.rb +125 -3
- 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: 1db66c9dc2985917440803263f55a248d8cc9914
|
4
|
+
data.tar.gz: 3a1c4d019ec1fe96bcfc188f3980de4e70576631
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4eaee77a790d66b7f95bf3b5d41acd807b76efd1dddbcc016948bea64d8e4300bb6d0e1d2b3cfe8dae652beec35fd2623ba2012869caf1fe61c22ff0f5b2b233
|
7
|
+
data.tar.gz: b6bcc6cc474e93b76ea06dbfff66fc316a7a298861591c7067ac5b7c987bd73423db7ea3e29c7cb395527ff1b2172df87c39daf170e910c57c41b513bd5e88c2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.734
|
data/lib/v20210515/client.rb
CHANGED
@@ -751,6 +751,30 @@ module TencentCloud
|
|
751
751
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
752
752
|
end
|
753
753
|
|
754
|
+
# 查询安心计划二维码扫码记录
|
755
|
+
|
756
|
+
# @param request: Request instance for DescribePlanQRCodeScanRecords.
|
757
|
+
# @type request: :class:`Tencentcloud::trp::V20210515::DescribePlanQRCodeScanRecordsRequest`
|
758
|
+
# @rtype: :class:`Tencentcloud::trp::V20210515::DescribePlanQRCodeScanRecordsResponse`
|
759
|
+
def DescribePlanQRCodeScanRecords(request)
|
760
|
+
body = send_request('DescribePlanQRCodeScanRecords', request.serialize)
|
761
|
+
response = JSON.parse(body)
|
762
|
+
if response['Response'].key?('Error') == false
|
763
|
+
model = DescribePlanQRCodeScanRecordsResponse.new
|
764
|
+
model.deserialize(response['Response'])
|
765
|
+
model
|
766
|
+
else
|
767
|
+
code = response['Response']['Error']['Code']
|
768
|
+
message = response['Response']['Error']['Message']
|
769
|
+
reqid = response['Response']['RequestId']
|
770
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
771
|
+
end
|
772
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
773
|
+
raise e
|
774
|
+
rescue StandardError => e
|
775
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
776
|
+
end
|
777
|
+
|
754
778
|
# 查询安心计划二维码列表
|
755
779
|
|
756
780
|
# @param request: Request instance for DescribePlanQRCodes.
|
data/lib/v20210515/models.rb
CHANGED
@@ -208,6 +208,9 @@ module TencentCloud
|
|
208
208
|
# @type Attrs: Array
|
209
209
|
|
210
210
|
attr_accessor :BatchId, :CorpId, :BatchCode, :CodeCnt, :MerchantId, :ProductId, :BatchType, :Remark, :MpTpl, :Status, :CreateTime, :UpdateTime, :MerchantName, :ProductName, :Ext, :TplName, :Job, :ProductionDate, :ValidDate, :Attrs
|
211
|
+
extend Gem::Deprecate
|
212
|
+
deprecate :Ext, :none, 2023, 12
|
213
|
+
deprecate :Ext=, :none, 2023, 12
|
211
214
|
|
212
215
|
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)
|
213
216
|
@BatchId = batchid
|
@@ -2234,6 +2237,69 @@ module TencentCloud
|
|
2234
2237
|
end
|
2235
2238
|
end
|
2236
2239
|
|
2240
|
+
# DescribePlanQRCodeScanRecords请求参数结构体
|
2241
|
+
class DescribePlanQRCodeScanRecordsRequest < TencentCloud::Common::AbstractModel
|
2242
|
+
# @param StartTime: 开始时间
|
2243
|
+
# @type StartTime: String
|
2244
|
+
# @param EndTime: 结束时间
|
2245
|
+
# @type EndTime: String
|
2246
|
+
# @param PageNo: 页码
|
2247
|
+
# @type PageNo: Integer
|
2248
|
+
# @param PageSize: 页大小
|
2249
|
+
# @type PageSize: Integer
|
2250
|
+
|
2251
|
+
attr_accessor :StartTime, :EndTime, :PageNo, :PageSize
|
2252
|
+
|
2253
|
+
def initialize(starttime=nil, endtime=nil, pageno=nil, pagesize=nil)
|
2254
|
+
@StartTime = starttime
|
2255
|
+
@EndTime = endtime
|
2256
|
+
@PageNo = pageno
|
2257
|
+
@PageSize = pagesize
|
2258
|
+
end
|
2259
|
+
|
2260
|
+
def deserialize(params)
|
2261
|
+
@StartTime = params['StartTime']
|
2262
|
+
@EndTime = params['EndTime']
|
2263
|
+
@PageNo = params['PageNo']
|
2264
|
+
@PageSize = params['PageSize']
|
2265
|
+
end
|
2266
|
+
end
|
2267
|
+
|
2268
|
+
# DescribePlanQRCodeScanRecords返回参数结构体
|
2269
|
+
class DescribePlanQRCodeScanRecordsResponse < TencentCloud::Common::AbstractModel
|
2270
|
+
# @param Ret: 返回码
|
2271
|
+
# @type Ret: Integer
|
2272
|
+
# @param Total: 总数
|
2273
|
+
# @type Total: Integer
|
2274
|
+
# @param Data: 数据
|
2275
|
+
# @type Data: Array
|
2276
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2277
|
+
# @type RequestId: String
|
2278
|
+
|
2279
|
+
attr_accessor :Ret, :Total, :Data, :RequestId
|
2280
|
+
|
2281
|
+
def initialize(ret=nil, total=nil, data=nil, requestid=nil)
|
2282
|
+
@Ret = ret
|
2283
|
+
@Total = total
|
2284
|
+
@Data = data
|
2285
|
+
@RequestId = requestid
|
2286
|
+
end
|
2287
|
+
|
2288
|
+
def deserialize(params)
|
2289
|
+
@Ret = params['Ret']
|
2290
|
+
@Total = params['Total']
|
2291
|
+
unless params['Data'].nil?
|
2292
|
+
@Data = []
|
2293
|
+
params['Data'].each do |i|
|
2294
|
+
planqrcoderecord_tmp = PlanQRCodeRecord.new
|
2295
|
+
planqrcoderecord_tmp.deserialize(i)
|
2296
|
+
@Data << planqrcoderecord_tmp
|
2297
|
+
end
|
2298
|
+
end
|
2299
|
+
@RequestId = params['RequestId']
|
2300
|
+
end
|
2301
|
+
end
|
2302
|
+
|
2237
2303
|
# DescribePlanQRCodes请求参数结构体
|
2238
2304
|
class DescribePlanQRCodesRequest < TencentCloud::Common::AbstractModel
|
2239
2305
|
# @param PlanId: 计划ID
|
@@ -2520,8 +2586,8 @@ module TencentCloud
|
|
2520
2586
|
|
2521
2587
|
attr_accessor :Products, :TotalCount, :ScanLogs, :RequestId
|
2522
2588
|
extend Gem::Deprecate
|
2523
|
-
deprecate :Products, :none, 2023,
|
2524
|
-
deprecate :Products=, :none, 2023,
|
2589
|
+
deprecate :Products, :none, 2023, 12
|
2590
|
+
deprecate :Products=, :none, 2023, 12
|
2525
2591
|
|
2526
2592
|
def initialize(products=nil, totalcount=nil, scanlogs=nil, requestid=nil)
|
2527
2593
|
@Products = products
|
@@ -2926,12 +2992,21 @@ module TencentCloud
|
|
2926
2992
|
|
2927
2993
|
# 预留字段
|
2928
2994
|
class Ext < TencentCloud::Common::AbstractModel
|
2995
|
+
# @param Value: 字符串
|
2996
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2997
|
+
# @type Value: String
|
2929
2998
|
|
2999
|
+
attr_accessor :Value
|
3000
|
+
extend Gem::Deprecate
|
3001
|
+
deprecate :Value, :none, 2023, 12
|
3002
|
+
deprecate :Value=, :none, 2023, 12
|
2930
3003
|
|
2931
|
-
def initialize()
|
3004
|
+
def initialize(value=nil)
|
3005
|
+
@Value = value
|
2932
3006
|
end
|
2933
3007
|
|
2934
3008
|
def deserialize(params)
|
3009
|
+
@Value = params['Value']
|
2935
3010
|
end
|
2936
3011
|
end
|
2937
3012
|
|
@@ -3722,6 +3797,53 @@ module TencentCloud
|
|
3722
3797
|
end
|
3723
3798
|
end
|
3724
3799
|
|
3800
|
+
# 安心计划二维码扫码记录
|
3801
|
+
class PlanQRCodeRecord < TencentCloud::Common::AbstractModel
|
3802
|
+
# @param Url: 二维码
|
3803
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3804
|
+
# @type Url: String
|
3805
|
+
# @param OpenId: OpenID
|
3806
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3807
|
+
# @type OpenId: String
|
3808
|
+
# @param ScanTime: 扫码时间
|
3809
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3810
|
+
# @type ScanTime: String
|
3811
|
+
# @param Ip: IP 地址
|
3812
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3813
|
+
# @type Ip: String
|
3814
|
+
# @param Country: 国家
|
3815
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3816
|
+
# @type Country: String
|
3817
|
+
# @param Province: 省份
|
3818
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3819
|
+
# @type Province: String
|
3820
|
+
# @param City: 城市
|
3821
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3822
|
+
# @type City: String
|
3823
|
+
|
3824
|
+
attr_accessor :Url, :OpenId, :ScanTime, :Ip, :Country, :Province, :City
|
3825
|
+
|
3826
|
+
def initialize(url=nil, openid=nil, scantime=nil, ip=nil, country=nil, province=nil, city=nil)
|
3827
|
+
@Url = url
|
3828
|
+
@OpenId = openid
|
3829
|
+
@ScanTime = scantime
|
3830
|
+
@Ip = ip
|
3831
|
+
@Country = country
|
3832
|
+
@Province = province
|
3833
|
+
@City = city
|
3834
|
+
end
|
3835
|
+
|
3836
|
+
def deserialize(params)
|
3837
|
+
@Url = params['Url']
|
3838
|
+
@OpenId = params['OpenId']
|
3839
|
+
@ScanTime = params['ScanTime']
|
3840
|
+
@Ip = params['Ip']
|
3841
|
+
@Country = params['Country']
|
3842
|
+
@Province = params['Province']
|
3843
|
+
@City = params['City']
|
3844
|
+
end
|
3845
|
+
end
|
3846
|
+
|
3725
3847
|
# 商品信息
|
3726
3848
|
class Product < TencentCloud::Common::AbstractModel
|
3727
3849
|
# @param MerchantId: 商户标识码
|
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.734
|
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-12-
|
11
|
+
date: 2023-12-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|