tencentcloud-sdk-trp 3.0.685 → 3.0.686

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4e8653f1f63da8d115950d707c1943686bccb4a5
4
- data.tar.gz: 51cdff8a5d00bfd19b270b6dfee7d19e848da38f
3
+ metadata.gz: 50aa6746c8a14aee5e9609ebd57bd66dda4376d0
4
+ data.tar.gz: d29b471c5356d866c9966f96ddcb8c9a6414667b
5
5
  SHA512:
6
- metadata.gz: 1882b09bffcf808cb9cdb5d27be79f913dd794f80d6b03b3f7dd1da45380df550661454ceda27de4acb566d1f373f96c944d16efab208a2d3384178af117b363
7
- data.tar.gz: 2d9d57e288e1d9dfc0229ff739c183ca3f8f263be6557f5a4f99ad55098b1b3eef86bb1ac88ad1edcd914ea643119af7b4f7b1f51f0be83d7a5d2aebd39a11f5
6
+ metadata.gz: b184e34d0c4cf1ab7596869431b1667baeff467c365b98a024dcb3403c82f4d5e1519ecceeaf8b32639f857d047aee89a60a29ab516eb57906807962bfee3f06
7
+ data.tar.gz: e4718429e19e0224587a08849759ce67b3e31be80820ee4db9582ba1b4ea5e6955d00a4499fb804b3c40c9286f1c00f9eeed78257b827e8a5c0caa5beccd941b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.685
1
+ 3.0.686
@@ -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 DescribePlanQRCodes.
757
+ # @type request: :class:`Tencentcloud::trp::V20210515::DescribePlanQRCodesRequest`
758
+ # @rtype: :class:`Tencentcloud::trp::V20210515::DescribePlanQRCodesResponse`
759
+ def DescribePlanQRCodes(request)
760
+ body = send_request('DescribePlanQRCodes', request.serialize)
761
+ response = JSON.parse(body)
762
+ if response['Response'].key?('Error') == false
763
+ model = DescribePlanQRCodesResponse.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 DescribeProductById.
@@ -2234,6 +2234,73 @@ module TencentCloud
2234
2234
  end
2235
2235
  end
2236
2236
 
2237
+ # DescribePlanQRCodes请求参数结构体
2238
+ class DescribePlanQRCodesRequest < TencentCloud::Common::AbstractModel
2239
+ # @param PlanId: 计划ID
2240
+ # @type PlanId: Integer
2241
+ # @param StartTime: 开始时间
2242
+ # @type StartTime: String
2243
+ # @param EndTime: 结束时间
2244
+ # @type EndTime: String
2245
+ # @param PageNo: 页码
2246
+ # @type PageNo: Integer
2247
+ # @param PageSize: 页大小
2248
+ # @type PageSize: Integer
2249
+
2250
+ attr_accessor :PlanId, :StartTime, :EndTime, :PageNo, :PageSize
2251
+
2252
+ def initialize(planid=nil, starttime=nil, endtime=nil, pageno=nil, pagesize=nil)
2253
+ @PlanId = planid
2254
+ @StartTime = starttime
2255
+ @EndTime = endtime
2256
+ @PageNo = pageno
2257
+ @PageSize = pagesize
2258
+ end
2259
+
2260
+ def deserialize(params)
2261
+ @PlanId = params['PlanId']
2262
+ @StartTime = params['StartTime']
2263
+ @EndTime = params['EndTime']
2264
+ @PageNo = params['PageNo']
2265
+ @PageSize = params['PageSize']
2266
+ end
2267
+ end
2268
+
2269
+ # DescribePlanQRCodes返回参数结构体
2270
+ class DescribePlanQRCodesResponse < TencentCloud::Common::AbstractModel
2271
+ # @param Ret: 返回码
2272
+ # @type Ret: Integer
2273
+ # @param Total: 总数
2274
+ # @type Total: Integer
2275
+ # @param Data: 数据
2276
+ # @type Data: Array
2277
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2278
+ # @type RequestId: String
2279
+
2280
+ attr_accessor :Ret, :Total, :Data, :RequestId
2281
+
2282
+ def initialize(ret=nil, total=nil, data=nil, requestid=nil)
2283
+ @Ret = ret
2284
+ @Total = total
2285
+ @Data = data
2286
+ @RequestId = requestid
2287
+ end
2288
+
2289
+ def deserialize(params)
2290
+ @Ret = params['Ret']
2291
+ @Total = params['Total']
2292
+ unless params['Data'].nil?
2293
+ @Data = []
2294
+ params['Data'].each do |i|
2295
+ planqrcode_tmp = PlanQRCode.new
2296
+ planqrcode_tmp.deserialize(i)
2297
+ @Data << planqrcode_tmp
2298
+ end
2299
+ end
2300
+ @RequestId = params['RequestId']
2301
+ end
2302
+ end
2303
+
2237
2304
  # DescribeProductById请求参数结构体
2238
2305
  class DescribeProductByIdRequest < TencentCloud::Common::AbstractModel
2239
2306
  # @param ProductId: 商品ID
@@ -3633,6 +3700,28 @@ module TencentCloud
3633
3700
  end
3634
3701
  end
3635
3702
 
3703
+ # 安心计划二维码
3704
+ class PlanQRCode < TencentCloud::Common::AbstractModel
3705
+ # @param Url: 二维码
3706
+ # 注意:此字段可能返回 null,表示取不到有效值。
3707
+ # @type Url: String
3708
+ # @param Status: 状态,0:未激活 1:已激活 2:已冻结
3709
+ # 注意:此字段可能返回 null,表示取不到有效值。
3710
+ # @type Status: Integer
3711
+
3712
+ attr_accessor :Url, :Status
3713
+
3714
+ def initialize(url=nil, status=nil)
3715
+ @Url = url
3716
+ @Status = status
3717
+ end
3718
+
3719
+ def deserialize(params)
3720
+ @Url = params['Url']
3721
+ @Status = params['Status']
3722
+ end
3723
+ end
3724
+
3636
3725
  # 商品信息
3637
3726
  class Product < TencentCloud::Common::AbstractModel
3638
3727
  # @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.685
4
+ version: 3.0.686
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-10-26 00:00:00.000000000 Z
11
+ date: 2023-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common