tencentcloud-sdk-ssl 3.0.555 → 3.0.557

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: 7242514a61115b3eacb397914d6a468322b19648
4
- data.tar.gz: 24b5ccbf4ef684666b96d8ad4dbc781b579b4f24
3
+ metadata.gz: b7c18f00e487570756c904af27e05102a64ab7fe
4
+ data.tar.gz: c1a038fab92f19e4bfbc419caf4a8e2848dc2c47
5
5
  SHA512:
6
- metadata.gz: 50e0214cd89498428e532c8abef446fdab1f84c82fdd16ead1e51e91063d5de9af8a93444adff16305108ab744f2c22944c83b7b090915015baa0d7c5a475452
7
- data.tar.gz: a3896b7aafa68ca564dc45acab04f39cf972892f7e19153320a5881e4adeca5424298f45a1fc8a66cb2669c27ba168b56d2bc1126cd45ee618175df9fa20a3f2
6
+ metadata.gz: 3a9ebebc7694e6b6a62da7e317c5e1bd6b26bc6fb5d8beea442c8afe69b7514f78e07ea522899c25b918564efda0f41f60a40d32a20854c0ef190386efce9ebc
7
+ data.tar.gz: 7515686dd8d69bb8ec326cb6d43d8c555a6b46c5a91f29bd9967ce21c39e9b933c1159ae1447586c3881015b533c286e7603778180b9bd192829a614b5d96a8b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.555
1
+ 3.0.557
@@ -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.555
4
+ version: 3.0.557
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-19 00:00:00.000000000 Z
11
+ date: 2023-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common