tencentcloud-sdk-python-ssl 3.0.877__tar.gz → 3.0.879__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tencentcloud-sdk-python-ssl-3.0.877 → tencentcloud-sdk-python-ssl-3.0.879}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-ssl-3.0.877 → tencentcloud-sdk-python-ssl-3.0.879}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-ssl-3.0.877 → tencentcloud-sdk-python-ssl-3.0.879}/tencentcloud/ssl/v20191205/models.py +62 -0
- {tencentcloud-sdk-python-ssl-3.0.877 → tencentcloud-sdk-python-ssl-3.0.879}/tencentcloud/ssl/v20191205/ssl_client.py +23 -0
- {tencentcloud-sdk-python-ssl-3.0.877 → tencentcloud-sdk-python-ssl-3.0.879}/tencentcloud_sdk_python_ssl.egg-info/PKG-INFO +1 -1
- {tencentcloud-sdk-python-ssl-3.0.877 → tencentcloud-sdk-python-ssl-3.0.879}/README.rst +0 -0
- {tencentcloud-sdk-python-ssl-3.0.877 → tencentcloud-sdk-python-ssl-3.0.879}/setup.cfg +0 -0
- {tencentcloud-sdk-python-ssl-3.0.877 → tencentcloud-sdk-python-ssl-3.0.879}/setup.py +0 -0
- {tencentcloud-sdk-python-ssl-3.0.877 → tencentcloud-sdk-python-ssl-3.0.879}/tencentcloud/ssl/__init__.py +0 -0
- {tencentcloud-sdk-python-ssl-3.0.877 → tencentcloud-sdk-python-ssl-3.0.879}/tencentcloud/ssl/v20191205/__init__.py +0 -0
- {tencentcloud-sdk-python-ssl-3.0.877 → tencentcloud-sdk-python-ssl-3.0.879}/tencentcloud/ssl/v20191205/errorcodes.py +0 -0
- {tencentcloud-sdk-python-ssl-3.0.877 → tencentcloud-sdk-python-ssl-3.0.879}/tencentcloud_sdk_python_ssl.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-ssl-3.0.877 → tencentcloud-sdk-python-ssl-3.0.879}/tencentcloud_sdk_python_ssl.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-ssl-3.0.877 → tencentcloud-sdk-python-ssl-3.0.879}/tencentcloud_sdk_python_ssl.egg-info/top_level.txt +0 -0
|
@@ -1497,6 +1497,68 @@ class DescribeCertificatesResponse(AbstractModel):
|
|
|
1497
1497
|
self.RequestId = params.get("RequestId")
|
|
1498
1498
|
|
|
1499
1499
|
|
|
1500
|
+
class DescribeCompaniesRequest(AbstractModel):
|
|
1501
|
+
"""DescribeCompanies请求参数结构体
|
|
1502
|
+
|
|
1503
|
+
"""
|
|
1504
|
+
|
|
1505
|
+
def __init__(self):
|
|
1506
|
+
r"""
|
|
1507
|
+
:param Offset: 分页偏移量
|
|
1508
|
+
:type Offset: int
|
|
1509
|
+
:param Limit: 分页每页限制数
|
|
1510
|
+
:type Limit: int
|
|
1511
|
+
:param CompanyId: 公司ID
|
|
1512
|
+
:type CompanyId: int
|
|
1513
|
+
"""
|
|
1514
|
+
self.Offset = None
|
|
1515
|
+
self.Limit = None
|
|
1516
|
+
self.CompanyId = None
|
|
1517
|
+
|
|
1518
|
+
|
|
1519
|
+
def _deserialize(self, params):
|
|
1520
|
+
self.Offset = params.get("Offset")
|
|
1521
|
+
self.Limit = params.get("Limit")
|
|
1522
|
+
self.CompanyId = params.get("CompanyId")
|
|
1523
|
+
memeber_set = set(params.keys())
|
|
1524
|
+
for name, value in vars(self).items():
|
|
1525
|
+
if name in memeber_set:
|
|
1526
|
+
memeber_set.remove(name)
|
|
1527
|
+
if len(memeber_set) > 0:
|
|
1528
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1529
|
+
|
|
1530
|
+
|
|
1531
|
+
|
|
1532
|
+
class DescribeCompaniesResponse(AbstractModel):
|
|
1533
|
+
"""DescribeCompanies返回参数结构体
|
|
1534
|
+
|
|
1535
|
+
"""
|
|
1536
|
+
|
|
1537
|
+
def __init__(self):
|
|
1538
|
+
r"""
|
|
1539
|
+
:param Companies: 公司列表
|
|
1540
|
+
:type Companies: list of CompanyInfo
|
|
1541
|
+
:param TotalCount: 公司总数
|
|
1542
|
+
:type TotalCount: int
|
|
1543
|
+
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1544
|
+
:type RequestId: str
|
|
1545
|
+
"""
|
|
1546
|
+
self.Companies = None
|
|
1547
|
+
self.TotalCount = None
|
|
1548
|
+
self.RequestId = None
|
|
1549
|
+
|
|
1550
|
+
|
|
1551
|
+
def _deserialize(self, params):
|
|
1552
|
+
if params.get("Companies") is not None:
|
|
1553
|
+
self.Companies = []
|
|
1554
|
+
for item in params.get("Companies"):
|
|
1555
|
+
obj = CompanyInfo()
|
|
1556
|
+
obj._deserialize(item)
|
|
1557
|
+
self.Companies.append(obj)
|
|
1558
|
+
self.TotalCount = params.get("TotalCount")
|
|
1559
|
+
self.RequestId = params.get("RequestId")
|
|
1560
|
+
|
|
1561
|
+
|
|
1500
1562
|
class DescribeDeployedResourcesRequest(AbstractModel):
|
|
1501
1563
|
"""DescribeDeployedResources请求参数结构体
|
|
1502
1564
|
|
|
@@ -302,6 +302,29 @@ class SslClient(AbstractClient):
|
|
|
302
302
|
raise TencentCloudSDKException(e.message, e.message)
|
|
303
303
|
|
|
304
304
|
|
|
305
|
+
def DescribeCompanies(self, request):
|
|
306
|
+
"""查询公司列表
|
|
307
|
+
|
|
308
|
+
:param request: Request instance for DescribeCompanies.
|
|
309
|
+
:type request: :class:`tencentcloud.ssl.v20191205.models.DescribeCompaniesRequest`
|
|
310
|
+
:rtype: :class:`tencentcloud.ssl.v20191205.models.DescribeCompaniesResponse`
|
|
311
|
+
|
|
312
|
+
"""
|
|
313
|
+
try:
|
|
314
|
+
params = request._serialize()
|
|
315
|
+
headers = request.headers
|
|
316
|
+
body = self.call("DescribeCompanies", params, headers=headers)
|
|
317
|
+
response = json.loads(body)
|
|
318
|
+
model = models.DescribeCompaniesResponse()
|
|
319
|
+
model._deserialize(response["Response"])
|
|
320
|
+
return model
|
|
321
|
+
except Exception as e:
|
|
322
|
+
if isinstance(e, TencentCloudSDKException):
|
|
323
|
+
raise
|
|
324
|
+
else:
|
|
325
|
+
raise TencentCloudSDKException(e.message, e.message)
|
|
326
|
+
|
|
327
|
+
|
|
305
328
|
def DescribeDeployedResources(self, request):
|
|
306
329
|
"""证书查询关联资源
|
|
307
330
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|