tencentcloud-sdk-python 3.0.1336__py2.py3-none-any.whl → 3.0.1338__py2.py3-none-any.whl
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/__init__.py +1 -1
- tencentcloud/acp/v20220105/models.py +0 -10
- tencentcloud/antiddos/v20200309/models.py +2 -2
- tencentcloud/cdwch/v20200915/models.py +2 -2
- tencentcloud/cdwdoris/v20211228/models.py +30 -0
- tencentcloud/cfg/v20210820/models.py +0 -4
- tencentcloud/chdfs/v20201112/models.py +0 -12
- tencentcloud/clb/v20180317/models.py +38 -24
- tencentcloud/cynosdb/v20190107/models.py +15 -0
- tencentcloud/dbbrain/v20191016/models.py +0 -12
- tencentcloud/dbbrain/v20210527/models.py +0 -16
- tencentcloud/dcdb/v20180411/models.py +15 -0
- tencentcloud/dlc/v20210125/models.py +140 -34
- tencentcloud/domain/v20180808/models.py +0 -2
- tencentcloud/dts/v20180330/models.py +0 -16
- tencentcloud/dts/v20211206/models.py +0 -472
- tencentcloud/es/v20180416/errorcodes.py +6 -0
- tencentcloud/ess/v20201111/ess_client.py +27 -0
- tencentcloud/ess/v20201111/models.py +227 -2
- tencentcloud/essbasic/v20210526/essbasic_client.py +27 -0
- tencentcloud/essbasic/v20210526/models.py +308 -0
- tencentcloud/goosefs/v20220519/models.py +0 -22
- tencentcloud/lke/v20231130/lke_client.py +6 -1
- tencentcloud/lke/v20231130/models.py +8 -8
- tencentcloud/lowcode/v20210108/models.py +0 -106
- tencentcloud/mariadb/v20170312/errorcodes.py +3 -0
- tencentcloud/mariadb/v20170312/models.py +15 -0
- tencentcloud/mongodb/v20190725/errorcodes.py +3 -0
- tencentcloud/mongodb/v20190725/mongodb_client.py +1 -1
- tencentcloud/mqtt/v20240516/models.py +550 -194
- tencentcloud/mqtt/v20240516/mqtt_client.py +46 -0
- tencentcloud/oceanus/v20190422/models.py +70 -0
- tencentcloud/ocr/v20181119/models.py +2 -4
- tencentcloud/ocr/v20181119/ocr_client.py +1 -1
- tencentcloud/organization/v20210331/models.py +109 -0
- tencentcloud/organization/v20210331/organization_client.py +23 -0
- tencentcloud/redis/v20180412/models.py +21 -2
- tencentcloud/rum/v20210622/models.py +2 -0
- tencentcloud/scf/v20180416/models.py +75 -0
- tencentcloud/tdmq/v20200217/models.py +2 -296
- tencentcloud/tdmq/v20200217/tdmq_client.py +0 -25
- tencentcloud/tione/v20211111/errorcodes.py +3 -0
- tencentcloud/tione/v20211111/models.py +68 -0
- tencentcloud/tse/v20201207/models.py +164 -104
- tencentcloud/vclm/v20240523/models.py +58 -4
- tencentcloud/vdb/v20230616/models.py +9 -57
- tencentcloud/waf/v20180125/models.py +252 -0
- tencentcloud/waf/v20180125/waf_client.py +46 -0
- tencentcloud/wedata/v20210820/models.py +1578 -93
- tencentcloud/wedata/v20210820/wedata_client.py +46 -0
- {tencentcloud_sdk_python-3.0.1336.dist-info → tencentcloud_sdk_python-3.0.1338.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1336.dist-info → tencentcloud_sdk_python-3.0.1338.dist-info}/RECORD +55 -55
- {tencentcloud_sdk_python-3.0.1336.dist-info → tencentcloud_sdk_python-3.0.1338.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1336.dist-info → tencentcloud_sdk_python-3.0.1338.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1336.dist-info → tencentcloud_sdk_python-3.0.1338.dist-info}/top_level.txt +0 -0
@@ -65,6 +65,9 @@ FAILEDOPERATION_NODENUMANDZONEERROR = 'FailedOperation.NodeNumAndZoneError'
|
|
65
65
|
# 用户未实名认证。
|
66
66
|
FAILEDOPERATION_NOTAUTHENTICATED = 'FailedOperation.NotAuthenticated'
|
67
67
|
|
68
|
+
# 当前集群已开启销毁保护,无法直接销毁,请解除该保护后再尝试销毁
|
69
|
+
FAILEDOPERATION_OPENDESTROYPROTECTION = 'FailedOperation.OpenDestroyProtection'
|
70
|
+
|
68
71
|
# 解码Password时出错。
|
69
72
|
FAILEDOPERATION_PASSWORD = 'FailedOperation.Password'
|
70
73
|
|
@@ -548,6 +551,9 @@ UNSUPPORTEDOPERATION_DISKUSE = 'UnsupportedOperation.DiskUse'
|
|
548
551
|
# 不支持这个长度的editList的操作。
|
549
552
|
UNSUPPORTEDOPERATION_EDITLISTLENGTH = 'UnsupportedOperation.EditListLength'
|
550
553
|
|
554
|
+
# 存在未完成的异构扩缩容流程
|
555
|
+
UNSUPPORTEDOPERATION_HETEROSCALINGEXECUTING = 'UnsupportedOperation.HeteroScalingExecuting'
|
556
|
+
|
551
557
|
# 集群有索引设置index.routing.allocation.require._name,or _ip, or _id
|
552
558
|
UNSUPPORTEDOPERATION_INDEXSETTINGSREQUIRESET = 'UnsupportedOperation.IndexSettingsRequireSet'
|
553
559
|
|
@@ -2794,6 +2794,33 @@ class EssClient(AbstractClient):
|
|
2794
2794
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2795
2795
|
|
2796
2796
|
|
2797
|
+
def DescribeUserFlowType(self, request):
|
2798
|
+
"""查询用户模版类型,分为两种模式:
|
2799
|
+
<ul>
|
2800
|
+
<li>QueryBindTemplate:false,查询用户合同模版类型,返回用户合同模版类型ID,用户合同模版类型名称,用户合同模版类型描述信息</li>
|
2801
|
+
<li>QueryBindTemplate:false,查询用户合同模版类型,返回用户合同模版类型ID,用户合同模版类型名称,用户合同模版类型描述信息,被绑定的模版数量</li>
|
2802
|
+
</ul>
|
2803
|
+
|
2804
|
+
:param request: Request instance for DescribeUserFlowType.
|
2805
|
+
:type request: :class:`tencentcloud.ess.v20201111.models.DescribeUserFlowTypeRequest`
|
2806
|
+
:rtype: :class:`tencentcloud.ess.v20201111.models.DescribeUserFlowTypeResponse`
|
2807
|
+
|
2808
|
+
"""
|
2809
|
+
try:
|
2810
|
+
params = request._serialize()
|
2811
|
+
headers = request.headers
|
2812
|
+
body = self.call("DescribeUserFlowType", params, headers=headers)
|
2813
|
+
response = json.loads(body)
|
2814
|
+
model = models.DescribeUserFlowTypeResponse()
|
2815
|
+
model._deserialize(response["Response"])
|
2816
|
+
return model
|
2817
|
+
except Exception as e:
|
2818
|
+
if isinstance(e, TencentCloudSDKException):
|
2819
|
+
raise
|
2820
|
+
else:
|
2821
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2822
|
+
|
2823
|
+
|
2797
2824
|
def DescribeUserVerifyStatus(self, request):
|
2798
2825
|
"""检测个人用户是否已经实名。
|
2799
2826
|
|
@@ -19480,7 +19480,7 @@ class DescribeFlowTemplatesRequest(AbstractModel):
|
|
19480
19480
|
<li>**1**:仅模板列表</li></ul>
|
19481
19481
|
:type ContentType: int
|
19482
19482
|
:param _Filters: 搜索过滤的条件,本字段允许您通过指定模板 ID 或模板名称来进行查询。
|
19483
|
-
<ul><li><strong>模板 ID</strong>:<strong>Key</strong>设置为 <code>template-id</code> ,<strong>Values</strong>为您想要查询的 <a href="https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png" target="_blank">模板 ID </a>列表。</li> <li><strong>主企业模板 ID</strong>:<strong>Key</strong>设置为 <code>share-template-id</code> ,<strong>Values</strong>为您想要查询的 <a href="https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png" target="_blank">主企业模板 ID </a>列表。用来查询主企业分享模板到子企业场景下,子企业的模板信息,在此情境下,参数 <strong>Agent.ProxyOrganizationId</strong>(子企业的组织ID)为必填项。</li> <li><strong>模板名称</strong>:<strong>Key</strong>设置为 <code>template-name</code> ,<strong>Values</strong>为您想要查询的<a href="https://qcloudimg.tencent-cloud.cn/raw/03a924ee0a53d86575f8067d1c97876d.png" target="_blank">模板名称</a>列表。</li></ul>
|
19483
|
+
<ul><li><strong>模板 ID</strong>:<strong>Key</strong>设置为 <code>template-id</code> ,<strong>Values</strong>为您想要查询的 <a href="https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png" target="_blank">模板 ID </a>列表。</li> <li><strong>主企业模板 ID</strong>:<strong>Key</strong>设置为 <code>share-template-id</code> ,<strong>Values</strong>为您想要查询的 <a href="https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png" target="_blank">主企业模板 ID </a>列表。用来查询主企业分享模板到子企业场景下,子企业的模板信息,在此情境下,参数 <strong>Agent.ProxyOrganizationId</strong>(子企业的组织ID)为必填项。</li> <li><strong>模板名称</strong>:<strong>Key</strong>设置为 <code>template-name</code> ,<strong>Values</strong>为您想要查询的<a href="https://qcloudimg.tencent-cloud.cn/raw/03a924ee0a53d86575f8067d1c97876d.png" target="_blank">模板名称</a>列表。</li><li><strong>模板的用户合同类型</strong>:<strong>Key</strong>设置为 <code>user-flow-type-id</code> ,<strong>Values</strong>为您想要查询的用户模版类型id列表。</li></ul>
|
19484
19484
|
:type Filters: list of Filter
|
19485
19485
|
:param _Offset: 查询结果分页返回,指定从第几页返回数据,和Limit参数配合使用。
|
19486
19486
|
|
@@ -19562,7 +19562,7 @@ class DescribeFlowTemplatesRequest(AbstractModel):
|
|
19562
19562
|
@property
|
19563
19563
|
def Filters(self):
|
19564
19564
|
"""搜索过滤的条件,本字段允许您通过指定模板 ID 或模板名称来进行查询。
|
19565
|
-
<ul><li><strong>模板 ID</strong>:<strong>Key</strong>设置为 <code>template-id</code> ,<strong>Values</strong>为您想要查询的 <a href="https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png" target="_blank">模板 ID </a>列表。</li> <li><strong>主企业模板 ID</strong>:<strong>Key</strong>设置为 <code>share-template-id</code> ,<strong>Values</strong>为您想要查询的 <a href="https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png" target="_blank">主企业模板 ID </a>列表。用来查询主企业分享模板到子企业场景下,子企业的模板信息,在此情境下,参数 <strong>Agent.ProxyOrganizationId</strong>(子企业的组织ID)为必填项。</li> <li><strong>模板名称</strong>:<strong>Key</strong>设置为 <code>template-name</code> ,<strong>Values</strong>为您想要查询的<a href="https://qcloudimg.tencent-cloud.cn/raw/03a924ee0a53d86575f8067d1c97876d.png" target="_blank">模板名称</a>列表。</li></ul>
|
19565
|
+
<ul><li><strong>模板 ID</strong>:<strong>Key</strong>设置为 <code>template-id</code> ,<strong>Values</strong>为您想要查询的 <a href="https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png" target="_blank">模板 ID </a>列表。</li> <li><strong>主企业模板 ID</strong>:<strong>Key</strong>设置为 <code>share-template-id</code> ,<strong>Values</strong>为您想要查询的 <a href="https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png" target="_blank">主企业模板 ID </a>列表。用来查询主企业分享模板到子企业场景下,子企业的模板信息,在此情境下,参数 <strong>Agent.ProxyOrganizationId</strong>(子企业的组织ID)为必填项。</li> <li><strong>模板名称</strong>:<strong>Key</strong>设置为 <code>template-name</code> ,<strong>Values</strong>为您想要查询的<a href="https://qcloudimg.tencent-cloud.cn/raw/03a924ee0a53d86575f8067d1c97876d.png" target="_blank">模板名称</a>列表。</li><li><strong>模板的用户合同类型</strong>:<strong>Key</strong>设置为 <code>user-flow-type-id</code> ,<strong>Values</strong>为您想要查询的用户模版类型id列表。</li></ul>
|
19566
19566
|
:rtype: list of Filter
|
19567
19567
|
"""
|
19568
19568
|
return self._Filters
|
@@ -21829,6 +21829,150 @@ class DescribeUserAutoSignStatusResponse(AbstractModel):
|
|
21829
21829
|
self._RequestId = params.get("RequestId")
|
21830
21830
|
|
21831
21831
|
|
21832
|
+
class DescribeUserFlowTypeRequest(AbstractModel):
|
21833
|
+
"""DescribeUserFlowType请求参数结构体
|
21834
|
+
|
21835
|
+
"""
|
21836
|
+
|
21837
|
+
def __init__(self):
|
21838
|
+
r"""
|
21839
|
+
:param _Operator: 执行本接口操作的员工信息。
|
21840
|
+
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
21841
|
+
:type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
21842
|
+
:param _Agent: 代理企业和员工的信息。
|
21843
|
+
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
21844
|
+
:type Agent: :class:`tencentcloud.ess.v20201111.models.Agent`
|
21845
|
+
:param _Filters: 搜索过滤的条件,本字段允许您通过指定模板 ID 或模板名称来进行查询。
|
21846
|
+
<ul><li><strong>模板 ID</strong>:<strong>Key</strong>设置为 <code>template-id</code> ,<strong>Values</strong>为您想要查询的 <a href="https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png" target="_blank">模板 ID </a>列表。</li> <li><strong>主企业模板 ID</strong>:<strong>Key</strong>设置为 <code>share-template-id</code> ,<strong>Values</strong>为您想要查询的 <a href="https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png" target="_blank">主企业模板 ID </a>列表。用来查询主企业分享模板到子企业场景下,子企业的模板信息,在此情境下,参数 <strong>Agent.ProxyOrganizationId</strong>(子企业的组织ID)为必填项。</li> <li><strong>模板名称</strong>:<strong>Key</strong>设置为 <code>template-name</code> ,<strong>Values</strong>为您想要查询的<a href="https://qcloudimg.tencent-cloud.cn/raw/03a924ee0a53d86575f8067d1c97876d.png" target="_blank">模板名称</a>列表。</li><li><strong>模板的用户合同类型</strong>:<strong>Key</strong>设置为 <code>user-flow-type-id</code> ,<strong>Values</strong>为您想要查询的用户模版类型id列表。</li></ul>
|
21847
|
+
:type Filters: list of Filter
|
21848
|
+
:param _QueryBindTemplate: 查询绑定了模版的用户合同类型 <ul> <li>false(默认值),查询用户合同类型</li> <li>true,查询绑定了模版的用户合同类型</li> </ul>
|
21849
|
+
:type QueryBindTemplate: bool
|
21850
|
+
"""
|
21851
|
+
self._Operator = None
|
21852
|
+
self._Agent = None
|
21853
|
+
self._Filters = None
|
21854
|
+
self._QueryBindTemplate = None
|
21855
|
+
|
21856
|
+
@property
|
21857
|
+
def Operator(self):
|
21858
|
+
"""执行本接口操作的员工信息。
|
21859
|
+
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
21860
|
+
:rtype: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
21861
|
+
"""
|
21862
|
+
return self._Operator
|
21863
|
+
|
21864
|
+
@Operator.setter
|
21865
|
+
def Operator(self, Operator):
|
21866
|
+
self._Operator = Operator
|
21867
|
+
|
21868
|
+
@property
|
21869
|
+
def Agent(self):
|
21870
|
+
"""代理企业和员工的信息。
|
21871
|
+
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
21872
|
+
:rtype: :class:`tencentcloud.ess.v20201111.models.Agent`
|
21873
|
+
"""
|
21874
|
+
return self._Agent
|
21875
|
+
|
21876
|
+
@Agent.setter
|
21877
|
+
def Agent(self, Agent):
|
21878
|
+
self._Agent = Agent
|
21879
|
+
|
21880
|
+
@property
|
21881
|
+
def Filters(self):
|
21882
|
+
"""搜索过滤的条件,本字段允许您通过指定模板 ID 或模板名称来进行查询。
|
21883
|
+
<ul><li><strong>模板 ID</strong>:<strong>Key</strong>设置为 <code>template-id</code> ,<strong>Values</strong>为您想要查询的 <a href="https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png" target="_blank">模板 ID </a>列表。</li> <li><strong>主企业模板 ID</strong>:<strong>Key</strong>设置为 <code>share-template-id</code> ,<strong>Values</strong>为您想要查询的 <a href="https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png" target="_blank">主企业模板 ID </a>列表。用来查询主企业分享模板到子企业场景下,子企业的模板信息,在此情境下,参数 <strong>Agent.ProxyOrganizationId</strong>(子企业的组织ID)为必填项。</li> <li><strong>模板名称</strong>:<strong>Key</strong>设置为 <code>template-name</code> ,<strong>Values</strong>为您想要查询的<a href="https://qcloudimg.tencent-cloud.cn/raw/03a924ee0a53d86575f8067d1c97876d.png" target="_blank">模板名称</a>列表。</li><li><strong>模板的用户合同类型</strong>:<strong>Key</strong>设置为 <code>user-flow-type-id</code> ,<strong>Values</strong>为您想要查询的用户模版类型id列表。</li></ul>
|
21884
|
+
:rtype: list of Filter
|
21885
|
+
"""
|
21886
|
+
return self._Filters
|
21887
|
+
|
21888
|
+
@Filters.setter
|
21889
|
+
def Filters(self, Filters):
|
21890
|
+
self._Filters = Filters
|
21891
|
+
|
21892
|
+
@property
|
21893
|
+
def QueryBindTemplate(self):
|
21894
|
+
"""查询绑定了模版的用户合同类型 <ul> <li>false(默认值),查询用户合同类型</li> <li>true,查询绑定了模版的用户合同类型</li> </ul>
|
21895
|
+
:rtype: bool
|
21896
|
+
"""
|
21897
|
+
return self._QueryBindTemplate
|
21898
|
+
|
21899
|
+
@QueryBindTemplate.setter
|
21900
|
+
def QueryBindTemplate(self, QueryBindTemplate):
|
21901
|
+
self._QueryBindTemplate = QueryBindTemplate
|
21902
|
+
|
21903
|
+
|
21904
|
+
def _deserialize(self, params):
|
21905
|
+
if params.get("Operator") is not None:
|
21906
|
+
self._Operator = UserInfo()
|
21907
|
+
self._Operator._deserialize(params.get("Operator"))
|
21908
|
+
if params.get("Agent") is not None:
|
21909
|
+
self._Agent = Agent()
|
21910
|
+
self._Agent._deserialize(params.get("Agent"))
|
21911
|
+
if params.get("Filters") is not None:
|
21912
|
+
self._Filters = []
|
21913
|
+
for item in params.get("Filters"):
|
21914
|
+
obj = Filter()
|
21915
|
+
obj._deserialize(item)
|
21916
|
+
self._Filters.append(obj)
|
21917
|
+
self._QueryBindTemplate = params.get("QueryBindTemplate")
|
21918
|
+
memeber_set = set(params.keys())
|
21919
|
+
for name, value in vars(self).items():
|
21920
|
+
property_name = name[1:]
|
21921
|
+
if property_name in memeber_set:
|
21922
|
+
memeber_set.remove(property_name)
|
21923
|
+
if len(memeber_set) > 0:
|
21924
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
21925
|
+
|
21926
|
+
|
21927
|
+
|
21928
|
+
class DescribeUserFlowTypeResponse(AbstractModel):
|
21929
|
+
"""DescribeUserFlowType返回参数结构体
|
21930
|
+
|
21931
|
+
"""
|
21932
|
+
|
21933
|
+
def __init__(self):
|
21934
|
+
r"""
|
21935
|
+
:param _AllUserFlowTypes: 查询到的所有用户合同类型列表
|
21936
|
+
:type AllUserFlowTypes: list of TemplateUserFlowType
|
21937
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
21938
|
+
:type RequestId: str
|
21939
|
+
"""
|
21940
|
+
self._AllUserFlowTypes = None
|
21941
|
+
self._RequestId = None
|
21942
|
+
|
21943
|
+
@property
|
21944
|
+
def AllUserFlowTypes(self):
|
21945
|
+
"""查询到的所有用户合同类型列表
|
21946
|
+
:rtype: list of TemplateUserFlowType
|
21947
|
+
"""
|
21948
|
+
return self._AllUserFlowTypes
|
21949
|
+
|
21950
|
+
@AllUserFlowTypes.setter
|
21951
|
+
def AllUserFlowTypes(self, AllUserFlowTypes):
|
21952
|
+
self._AllUserFlowTypes = AllUserFlowTypes
|
21953
|
+
|
21954
|
+
@property
|
21955
|
+
def RequestId(self):
|
21956
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
21957
|
+
:rtype: str
|
21958
|
+
"""
|
21959
|
+
return self._RequestId
|
21960
|
+
|
21961
|
+
@RequestId.setter
|
21962
|
+
def RequestId(self, RequestId):
|
21963
|
+
self._RequestId = RequestId
|
21964
|
+
|
21965
|
+
|
21966
|
+
def _deserialize(self, params):
|
21967
|
+
if params.get("AllUserFlowTypes") is not None:
|
21968
|
+
self._AllUserFlowTypes = []
|
21969
|
+
for item in params.get("AllUserFlowTypes"):
|
21970
|
+
obj = TemplateUserFlowType()
|
21971
|
+
obj._deserialize(item)
|
21972
|
+
self._AllUserFlowTypes.append(obj)
|
21973
|
+
self._RequestId = params.get("RequestId")
|
21974
|
+
|
21975
|
+
|
21832
21976
|
class DescribeUserVerifyStatusRequest(AbstractModel):
|
21833
21977
|
"""DescribeUserVerifyStatus请求参数结构体
|
21834
21978
|
|
@@ -32217,6 +32361,87 @@ class TemplateInfo(AbstractModel):
|
|
32217
32361
|
|
32218
32362
|
|
32219
32363
|
|
32364
|
+
class TemplateUserFlowType(AbstractModel):
|
32365
|
+
"""模版对应的合同类型
|
32366
|
+
|
32367
|
+
"""
|
32368
|
+
|
32369
|
+
def __init__(self):
|
32370
|
+
r"""
|
32371
|
+
:param _UserFlowTypeId: 合同类型id
|
32372
|
+
:type UserFlowTypeId: str
|
32373
|
+
:param _Name: 合同类型名称
|
32374
|
+
:type Name: str
|
32375
|
+
:param _Description: 合同类型的具体描述
|
32376
|
+
:type Description: str
|
32377
|
+
:param _TemplateNum: 每个合同类型绑定的模版数量
|
32378
|
+
:type TemplateNum: int
|
32379
|
+
"""
|
32380
|
+
self._UserFlowTypeId = None
|
32381
|
+
self._Name = None
|
32382
|
+
self._Description = None
|
32383
|
+
self._TemplateNum = None
|
32384
|
+
|
32385
|
+
@property
|
32386
|
+
def UserFlowTypeId(self):
|
32387
|
+
"""合同类型id
|
32388
|
+
:rtype: str
|
32389
|
+
"""
|
32390
|
+
return self._UserFlowTypeId
|
32391
|
+
|
32392
|
+
@UserFlowTypeId.setter
|
32393
|
+
def UserFlowTypeId(self, UserFlowTypeId):
|
32394
|
+
self._UserFlowTypeId = UserFlowTypeId
|
32395
|
+
|
32396
|
+
@property
|
32397
|
+
def Name(self):
|
32398
|
+
"""合同类型名称
|
32399
|
+
:rtype: str
|
32400
|
+
"""
|
32401
|
+
return self._Name
|
32402
|
+
|
32403
|
+
@Name.setter
|
32404
|
+
def Name(self, Name):
|
32405
|
+
self._Name = Name
|
32406
|
+
|
32407
|
+
@property
|
32408
|
+
def Description(self):
|
32409
|
+
"""合同类型的具体描述
|
32410
|
+
:rtype: str
|
32411
|
+
"""
|
32412
|
+
return self._Description
|
32413
|
+
|
32414
|
+
@Description.setter
|
32415
|
+
def Description(self, Description):
|
32416
|
+
self._Description = Description
|
32417
|
+
|
32418
|
+
@property
|
32419
|
+
def TemplateNum(self):
|
32420
|
+
"""每个合同类型绑定的模版数量
|
32421
|
+
:rtype: int
|
32422
|
+
"""
|
32423
|
+
return self._TemplateNum
|
32424
|
+
|
32425
|
+
@TemplateNum.setter
|
32426
|
+
def TemplateNum(self, TemplateNum):
|
32427
|
+
self._TemplateNum = TemplateNum
|
32428
|
+
|
32429
|
+
|
32430
|
+
def _deserialize(self, params):
|
32431
|
+
self._UserFlowTypeId = params.get("UserFlowTypeId")
|
32432
|
+
self._Name = params.get("Name")
|
32433
|
+
self._Description = params.get("Description")
|
32434
|
+
self._TemplateNum = params.get("TemplateNum")
|
32435
|
+
memeber_set = set(params.keys())
|
32436
|
+
for name, value in vars(self).items():
|
32437
|
+
property_name = name[1:]
|
32438
|
+
if property_name in memeber_set:
|
32439
|
+
memeber_set.remove(property_name)
|
32440
|
+
if len(memeber_set) > 0:
|
32441
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
32442
|
+
|
32443
|
+
|
32444
|
+
|
32220
32445
|
class UnbindEmployeeUserIdWithClientOpenIdRequest(AbstractModel):
|
32221
32446
|
"""UnbindEmployeeUserIdWithClientOpenId请求参数结构体
|
32222
32447
|
|
@@ -2772,6 +2772,33 @@ class EssbasicClient(AbstractClient):
|
|
2772
2772
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2773
2773
|
|
2774
2774
|
|
2775
|
+
def DescribeUserFlowType(self, request):
|
2776
|
+
"""查询用户模版类型,分为两种模式:
|
2777
|
+
<ul>
|
2778
|
+
<li>QueryBindTemplate:false,查询用户合同模版类型,返回用户合同模版类型ID,用户合同模版类型名称,用户合同模版类型描述信息</li>
|
2779
|
+
<li>QueryBindTemplate:false,查询用户合同模版类型,返回用户合同模版类型ID,用户合同模版类型名称,用户合同模版类型描述信息,被绑定的模版数量</li>
|
2780
|
+
</ul>
|
2781
|
+
|
2782
|
+
:param request: Request instance for DescribeUserFlowType.
|
2783
|
+
:type request: :class:`tencentcloud.essbasic.v20210526.models.DescribeUserFlowTypeRequest`
|
2784
|
+
:rtype: :class:`tencentcloud.essbasic.v20210526.models.DescribeUserFlowTypeResponse`
|
2785
|
+
|
2786
|
+
"""
|
2787
|
+
try:
|
2788
|
+
params = request._serialize()
|
2789
|
+
headers = request.headers
|
2790
|
+
body = self.call("DescribeUserFlowType", params, headers=headers)
|
2791
|
+
response = json.loads(body)
|
2792
|
+
model = models.DescribeUserFlowTypeResponse()
|
2793
|
+
model._deserialize(response["Response"])
|
2794
|
+
return model
|
2795
|
+
except Exception as e:
|
2796
|
+
if isinstance(e, TencentCloudSDKException):
|
2797
|
+
raise
|
2798
|
+
else:
|
2799
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2800
|
+
|
2801
|
+
|
2775
2802
|
def GetDownloadFlowUrl(self, request):
|
2776
2803
|
"""此接口(GetDownloadFlowUrl)用户获取合同控制台下载页面链接, 点击链接后会跳转至本企业合同管理控制台(会筛选出传入的合同列表), 点击**下载**按钮后就会下载传入的合同列表, 下载页面如下图
|
2777
2804
|

|