tencentcloud-sdk-trp 3.0.601 → 3.0.603

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: 04dcf2b1f57513dc3f5b64ad20800d41b1ea00dd
4
- data.tar.gz: fa2f8c1c44f3e448025554201892294236977a93
3
+ metadata.gz: cc1749e5d3813c4a58a8cf8860eaeccdaa131031
4
+ data.tar.gz: 872c92f966d254a9b73a3ced0759178dbb2449c4
5
5
  SHA512:
6
- metadata.gz: 3373c49318ab9b66592057ca392a413ac422e8a7bbcb62b91a9e1ffd9b97a99e0f60306d77e04a7fd05445fe863a205006431616d4b2fae893e97a23b3a04da0
7
- data.tar.gz: e6950952a619fcaed623c90d573cc751cccdc55cb2bfd2936256072a58619cc137d1538d2615a31df844f8ae2dafce588296fe9677533f3e43d28653432109b0
6
+ metadata.gz: 3b6bc8654f01d0c3ced438b4051b71e73d7b39d3385af59e2288eeeca63bb6ddc2ee84cde7a9f0644ad81e22c826711bb9749b59c2fc502238ff59b06cb647a0
7
+ data.tar.gz: a2c5c35c50da1a87ad745846fd0ce64b5abc98f19eda27ede9dd547f5b92111b411fc1f2e8b2dd5d6b36f0b317a1a38b2e0e9a7230abef1bf5634d630e26b69a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.601
1
+ 3.0.603
@@ -413,6 +413,30 @@ module TencentCloud
413
413
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
414
414
  end
415
415
 
416
+ # 查询渠道企业列表
417
+
418
+ # @param request: Request instance for DescribeAgentCorps.
419
+ # @type request: :class:`Tencentcloud::trp::V20210515::DescribeAgentCorpsRequest`
420
+ # @rtype: :class:`Tencentcloud::trp::V20210515::DescribeAgentCorpsResponse`
421
+ def DescribeAgentCorps(request)
422
+ body = send_request('DescribeAgentCorps', request.serialize)
423
+ response = JSON.parse(body)
424
+ if response['Response'].key?('Error') == false
425
+ model = DescribeAgentCorpsResponse.new
426
+ model.deserialize(response['Response'])
427
+ model
428
+ else
429
+ code = response['Response']['Error']['Code']
430
+ message = response['Response']['Error']['Message']
431
+ reqid = response['Response']['RequestId']
432
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
433
+ end
434
+ rescue TencentCloud::Common::TencentCloudSDKException => e
435
+ raise e
436
+ rescue StandardError => e
437
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
438
+ end
439
+
416
440
  # 查询批次信息
417
441
 
418
442
  # @param request: Request instance for DescribeCodeBatchById.
@@ -1428,6 +1428,50 @@ module TencentCloud
1428
1428
  end
1429
1429
  end
1430
1430
 
1431
+ # DescribeAgentCorps请求参数结构体
1432
+ class DescribeAgentCorpsRequest < TencentCloud::Common::AbstractModel
1433
+ # @param PageSize: 每页数量
1434
+ # @type PageSize: Integer
1435
+ # @param PageNumber: 页数
1436
+ # @type PageNumber: Integer
1437
+ # @param AgentId: 渠道ID
1438
+ # @type AgentId: Integer
1439
+ # @param CorpId: 企业ID
1440
+ # @type CorpId: Integer
1441
+
1442
+ attr_accessor :PageSize, :PageNumber, :AgentId, :CorpId
1443
+
1444
+ def initialize(pagesize=nil, pagenumber=nil, agentid=nil, corpid=nil)
1445
+ @PageSize = pagesize
1446
+ @PageNumber = pagenumber
1447
+ @AgentId = agentid
1448
+ @CorpId = corpid
1449
+ end
1450
+
1451
+ def deserialize(params)
1452
+ @PageSize = params['PageSize']
1453
+ @PageNumber = params['PageNumber']
1454
+ @AgentId = params['AgentId']
1455
+ @CorpId = params['CorpId']
1456
+ end
1457
+ end
1458
+
1459
+ # DescribeAgentCorps返回参数结构体
1460
+ class DescribeAgentCorpsResponse < TencentCloud::Common::AbstractModel
1461
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1462
+ # @type RequestId: String
1463
+
1464
+ attr_accessor :RequestId
1465
+
1466
+ def initialize(requestid=nil)
1467
+ @RequestId = requestid
1468
+ end
1469
+
1470
+ def deserialize(params)
1471
+ @RequestId = params['RequestId']
1472
+ end
1473
+ end
1474
+
1431
1475
  # DescribeCodeBatchById请求参数结构体
1432
1476
  class DescribeCodeBatchByIdRequest < TencentCloud::Common::AbstractModel
1433
1477
  # @param CorpId: 企业ID
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.601
4
+ version: 3.0.603
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-28 00:00:00.000000000 Z
11
+ date: 2023-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common