tencentcloud-sdk-ssl 3.0.556 → 3.0.558

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: f686109ce246fec5c5335d8bad4804729ec5aecb
4
- data.tar.gz: e84d8a4d6de292b726a275ec20d32c00a5a46ec2
3
+ metadata.gz: 09e89d1933c4483f10dbbfa065b96840b5a6e255
4
+ data.tar.gz: 3db883c3af740d2ec6708418d56f46b1aff7aa57
5
5
  SHA512:
6
- metadata.gz: acc7cca75c0943e5cee36ce93c6ccb31a053ec6b777a85e49b26c6085b847b106b22003613f499f0e14dd1fe4999d0e51c061740f12db16834a1920661c7619b
7
- data.tar.gz: 4f1163fb32daca6af0840e48b9fdb6af10ca538b103c6a0e47e1723af1d78a850f13d1cc71cfd99eea5b3264ad1c73eb9e539343b1d9ebcbe103e6702b9a5f59
6
+ metadata.gz: 41f480aefc8c9b63ffb10725efa9503e9fd4b0231a0c69392a4ea0c9c43d2a9363b7a450dadd9151c99234994c3c08d6acb1dd1748a409959baa5e7a5a5923c0
7
+ data.tar.gz: 672da4d433b318d3c65fb8ba2a83e9cbcf137e19532fee8c1b2f754593acf0aff470230cf771c5221de5c00c9952d95e2923ddc61ca2408588e101b42b8f057b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.556
1
+ 3.0.558
@@ -317,6 +317,30 @@ module TencentCloud
317
317
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
318
  end
319
319
 
320
+ # 查询公司列表
321
+
322
+ # @param request: Request instance for DescribeCompanies.
323
+ # @type request: :class:`Tencentcloud::ssl::V20191205::DescribeCompaniesRequest`
324
+ # @rtype: :class:`Tencentcloud::ssl::V20191205::DescribeCompaniesResponse`
325
+ def DescribeCompanies(request)
326
+ body = send_request('DescribeCompanies', request.serialize)
327
+ response = JSON.parse(body)
328
+ if response['Response'].key?('Error') == false
329
+ model = DescribeCompaniesResponse.new
330
+ model.deserialize(response['Response'])
331
+ model
332
+ else
333
+ code = response['Response']['Error']['Code']
334
+ message = response['Response']['Error']['Message']
335
+ reqid = response['Response']['RequestId']
336
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
337
+ end
338
+ rescue TencentCloud::Common::TencentCloudSDKException => e
339
+ raise e
340
+ rescue StandardError => e
341
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
+ end
343
+
320
344
  # 证书查询关联资源
321
345
 
322
346
  # @param request: Request instance for DescribeDeployedResources.
@@ -1368,6 +1368,61 @@ module TencentCloud
1368
1368
  end
1369
1369
  end
1370
1370
 
1371
+ # DescribeCompanies请求参数结构体
1372
+ class DescribeCompaniesRequest < TencentCloud::Common::AbstractModel
1373
+ # @param Offset: 分页偏移量
1374
+ # @type Offset: Integer
1375
+ # @param Limit: 分页每页限制数
1376
+ # @type Limit: Integer
1377
+ # @param CompanyId: 公司ID
1378
+ # @type CompanyId: Integer
1379
+
1380
+ attr_accessor :Offset, :Limit, :CompanyId
1381
+
1382
+ def initialize(offset=nil, limit=nil, companyid=nil)
1383
+ @Offset = offset
1384
+ @Limit = limit
1385
+ @CompanyId = companyid
1386
+ end
1387
+
1388
+ def deserialize(params)
1389
+ @Offset = params['Offset']
1390
+ @Limit = params['Limit']
1391
+ @CompanyId = params['CompanyId']
1392
+ end
1393
+ end
1394
+
1395
+ # DescribeCompanies返回参数结构体
1396
+ class DescribeCompaniesResponse < TencentCloud::Common::AbstractModel
1397
+ # @param Companies: 公司列表
1398
+ # @type Companies: Array
1399
+ # @param TotalCount: 公司总数
1400
+ # @type TotalCount: Integer
1401
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1402
+ # @type RequestId: String
1403
+
1404
+ attr_accessor :Companies, :TotalCount, :RequestId
1405
+
1406
+ def initialize(companies=nil, totalcount=nil, requestid=nil)
1407
+ @Companies = companies
1408
+ @TotalCount = totalcount
1409
+ @RequestId = requestid
1410
+ end
1411
+
1412
+ def deserialize(params)
1413
+ unless params['Companies'].nil?
1414
+ @Companies = []
1415
+ params['Companies'].each do |i|
1416
+ companyinfo_tmp = CompanyInfo.new
1417
+ companyinfo_tmp.deserialize(i)
1418
+ @Companies << companyinfo_tmp
1419
+ end
1420
+ end
1421
+ @TotalCount = params['TotalCount']
1422
+ @RequestId = params['RequestId']
1423
+ end
1424
+ end
1425
+
1371
1426
  # DescribeDeployedResources请求参数结构体
1372
1427
  class DescribeDeployedResourcesRequest < TencentCloud::Common::AbstractModel
1373
1428
  # @param CertificateIds: 证书ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ssl
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.556
4
+ version: 3.0.558
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-04-20 00:00:00.000000000 Z
11
+ date: 2023-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common