tencentcloud-sdk-python 3.0.1470__py2.py3-none-any.whl → 3.0.1472__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/dbbrain/v20210527/dbbrain_client.py +1 -1
- tencentcloud/ess/v20201111/errorcodes.py +12 -0
- tencentcloud/ess/v20201111/ess_client.py +104 -0
- tencentcloud/ess/v20201111/models.py +737 -17
- tencentcloud/lkeap/v20240522/lkeap_client.py +6 -0
- tencentcloud/mongodb/v20190725/models.py +48 -18
- tencentcloud/mps/v20190612/models.py +235 -2
- tencentcloud/tcss/v20201101/models.py +173 -0
- tencentcloud/tcss/v20201101/tcss_client.py +46 -0
- tencentcloud/tms/v20201229/models.py +4 -4
- tencentcloud/vrs/v20200824/models.py +6 -14
- tencentcloud/vrs/v20200824/vrs_client.py +1 -1
- {tencentcloud_sdk_python-3.0.1470.dist-info → tencentcloud_sdk_python-3.0.1472.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1470.dist-info → tencentcloud_sdk_python-3.0.1472.dist-info}/RECORD +18 -18
- {tencentcloud_sdk_python-3.0.1470.dist-info → tencentcloud_sdk_python-3.0.1472.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1470.dist-info → tencentcloud_sdk_python-3.0.1472.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1470.dist-info → tencentcloud_sdk_python-3.0.1472.dist-info}/top_level.txt +0 -0
@@ -17259,6 +17259,174 @@ class CreateSealResponse(AbstractModel):
|
|
17259
17259
|
self._RequestId = params.get("RequestId")
|
17260
17260
|
|
17261
17261
|
|
17262
|
+
class CreateSingleSignOnEmployeesRequest(AbstractModel):
|
17263
|
+
r"""CreateSingleSignOnEmployees请求参数结构体
|
17264
|
+
|
17265
|
+
"""
|
17266
|
+
|
17267
|
+
def __init__(self):
|
17268
|
+
r"""
|
17269
|
+
:param _Operator: 执行本接口操作的员工信息。使用此接口时,必须填写userId。
|
17270
|
+
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
17271
|
+
:type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
17272
|
+
:param _Employees: 待创建员工的信息最多不超过200个。
|
17273
|
+
|
17274
|
+
注意:
|
17275
|
+
1. 传递的 openId 不能重复, 且字符不能超过64位。
|
17276
|
+
2. 传递的手机号不能重复。
|
17277
|
+
3. 绑定的角色必须存在且不能超过 10 个。
|
17278
|
+
:type Employees: list of SingleSignOnEmployees
|
17279
|
+
:param _SsoApplicationId: 单点登录应用号的id,获取位置如下图
|
17280
|
+
:type SsoApplicationId: str
|
17281
|
+
:param _Agent: 代理企业和员工的信息。
|
17282
|
+
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
17283
|
+
:type Agent: :class:`tencentcloud.ess.v20201111.models.Agent`
|
17284
|
+
"""
|
17285
|
+
self._Operator = None
|
17286
|
+
self._Employees = None
|
17287
|
+
self._SsoApplicationId = None
|
17288
|
+
self._Agent = None
|
17289
|
+
|
17290
|
+
@property
|
17291
|
+
def Operator(self):
|
17292
|
+
r"""执行本接口操作的员工信息。使用此接口时,必须填写userId。
|
17293
|
+
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
17294
|
+
:rtype: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
17295
|
+
"""
|
17296
|
+
return self._Operator
|
17297
|
+
|
17298
|
+
@Operator.setter
|
17299
|
+
def Operator(self, Operator):
|
17300
|
+
self._Operator = Operator
|
17301
|
+
|
17302
|
+
@property
|
17303
|
+
def Employees(self):
|
17304
|
+
r"""待创建员工的信息最多不超过200个。
|
17305
|
+
|
17306
|
+
注意:
|
17307
|
+
1. 传递的 openId 不能重复, 且字符不能超过64位。
|
17308
|
+
2. 传递的手机号不能重复。
|
17309
|
+
3. 绑定的角色必须存在且不能超过 10 个。
|
17310
|
+
:rtype: list of SingleSignOnEmployees
|
17311
|
+
"""
|
17312
|
+
return self._Employees
|
17313
|
+
|
17314
|
+
@Employees.setter
|
17315
|
+
def Employees(self, Employees):
|
17316
|
+
self._Employees = Employees
|
17317
|
+
|
17318
|
+
@property
|
17319
|
+
def SsoApplicationId(self):
|
17320
|
+
r"""单点登录应用号的id,获取位置如下图
|
17321
|
+
:rtype: str
|
17322
|
+
"""
|
17323
|
+
return self._SsoApplicationId
|
17324
|
+
|
17325
|
+
@SsoApplicationId.setter
|
17326
|
+
def SsoApplicationId(self, SsoApplicationId):
|
17327
|
+
self._SsoApplicationId = SsoApplicationId
|
17328
|
+
|
17329
|
+
@property
|
17330
|
+
def Agent(self):
|
17331
|
+
r"""代理企业和员工的信息。
|
17332
|
+
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
17333
|
+
:rtype: :class:`tencentcloud.ess.v20201111.models.Agent`
|
17334
|
+
"""
|
17335
|
+
return self._Agent
|
17336
|
+
|
17337
|
+
@Agent.setter
|
17338
|
+
def Agent(self, Agent):
|
17339
|
+
self._Agent = Agent
|
17340
|
+
|
17341
|
+
|
17342
|
+
def _deserialize(self, params):
|
17343
|
+
if params.get("Operator") is not None:
|
17344
|
+
self._Operator = UserInfo()
|
17345
|
+
self._Operator._deserialize(params.get("Operator"))
|
17346
|
+
if params.get("Employees") is not None:
|
17347
|
+
self._Employees = []
|
17348
|
+
for item in params.get("Employees"):
|
17349
|
+
obj = SingleSignOnEmployees()
|
17350
|
+
obj._deserialize(item)
|
17351
|
+
self._Employees.append(obj)
|
17352
|
+
self._SsoApplicationId = params.get("SsoApplicationId")
|
17353
|
+
if params.get("Agent") is not None:
|
17354
|
+
self._Agent = Agent()
|
17355
|
+
self._Agent._deserialize(params.get("Agent"))
|
17356
|
+
memeber_set = set(params.keys())
|
17357
|
+
for name, value in vars(self).items():
|
17358
|
+
property_name = name[1:]
|
17359
|
+
if property_name in memeber_set:
|
17360
|
+
memeber_set.remove(property_name)
|
17361
|
+
if len(memeber_set) > 0:
|
17362
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
17363
|
+
|
17364
|
+
|
17365
|
+
|
17366
|
+
class CreateSingleSignOnEmployeesResponse(AbstractModel):
|
17367
|
+
r"""CreateSingleSignOnEmployees返回参数结构体
|
17368
|
+
|
17369
|
+
"""
|
17370
|
+
|
17371
|
+
def __init__(self):
|
17372
|
+
r"""
|
17373
|
+
:param _ErrorMessages: 导入员工返回的错误信息,信息数组的顺序跟导入的保持一致
|
17374
|
+
:type ErrorMessages: list of str
|
17375
|
+
:param _Status: 导入员工返回的状态码
|
17376
|
+
0-全部成功
|
17377
|
+
1-部分成功
|
17378
|
+
2-全部失败
|
17379
|
+
:type Status: int
|
17380
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
17381
|
+
:type RequestId: str
|
17382
|
+
"""
|
17383
|
+
self._ErrorMessages = None
|
17384
|
+
self._Status = None
|
17385
|
+
self._RequestId = None
|
17386
|
+
|
17387
|
+
@property
|
17388
|
+
def ErrorMessages(self):
|
17389
|
+
r"""导入员工返回的错误信息,信息数组的顺序跟导入的保持一致
|
17390
|
+
:rtype: list of str
|
17391
|
+
"""
|
17392
|
+
return self._ErrorMessages
|
17393
|
+
|
17394
|
+
@ErrorMessages.setter
|
17395
|
+
def ErrorMessages(self, ErrorMessages):
|
17396
|
+
self._ErrorMessages = ErrorMessages
|
17397
|
+
|
17398
|
+
@property
|
17399
|
+
def Status(self):
|
17400
|
+
r"""导入员工返回的状态码
|
17401
|
+
0-全部成功
|
17402
|
+
1-部分成功
|
17403
|
+
2-全部失败
|
17404
|
+
:rtype: int
|
17405
|
+
"""
|
17406
|
+
return self._Status
|
17407
|
+
|
17408
|
+
@Status.setter
|
17409
|
+
def Status(self, Status):
|
17410
|
+
self._Status = Status
|
17411
|
+
|
17412
|
+
@property
|
17413
|
+
def RequestId(self):
|
17414
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
17415
|
+
:rtype: str
|
17416
|
+
"""
|
17417
|
+
return self._RequestId
|
17418
|
+
|
17419
|
+
@RequestId.setter
|
17420
|
+
def RequestId(self, RequestId):
|
17421
|
+
self._RequestId = RequestId
|
17422
|
+
|
17423
|
+
|
17424
|
+
def _deserialize(self, params):
|
17425
|
+
self._ErrorMessages = params.get("ErrorMessages")
|
17426
|
+
self._Status = params.get("Status")
|
17427
|
+
self._RequestId = params.get("RequestId")
|
17428
|
+
|
17429
|
+
|
17262
17430
|
class CreateStaffResult(AbstractModel):
|
17263
17431
|
r"""创建员工的结果
|
17264
17432
|
|
@@ -19676,6 +19844,123 @@ class DeleteSealPoliciesResponse(AbstractModel):
|
|
19676
19844
|
self._RequestId = params.get("RequestId")
|
19677
19845
|
|
19678
19846
|
|
19847
|
+
class DeleteSingleSignOnEmployeesRequest(AbstractModel):
|
19848
|
+
r"""DeleteSingleSignOnEmployees请求参数结构体
|
19849
|
+
|
19850
|
+
"""
|
19851
|
+
|
19852
|
+
def __init__(self):
|
19853
|
+
r"""
|
19854
|
+
:param _Operator: 执行本接口操作的员工信息。使用此接口时,必须填写userId。
|
19855
|
+
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
19856
|
+
:type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
19857
|
+
:param _SsoApplicationId: 单点登录应用号的id,获取位置如下图
|
19858
|
+
:type SsoApplicationId: str
|
19859
|
+
:param _OpenId: 需要删除的单点登录员工的唯一Id 值
|
19860
|
+
:type OpenId: str
|
19861
|
+
:param _Agent: 代理企业和员工的信息。
|
19862
|
+
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
19863
|
+
:type Agent: :class:`tencentcloud.ess.v20201111.models.Agent`
|
19864
|
+
"""
|
19865
|
+
self._Operator = None
|
19866
|
+
self._SsoApplicationId = None
|
19867
|
+
self._OpenId = None
|
19868
|
+
self._Agent = None
|
19869
|
+
|
19870
|
+
@property
|
19871
|
+
def Operator(self):
|
19872
|
+
r"""执行本接口操作的员工信息。使用此接口时,必须填写userId。
|
19873
|
+
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
19874
|
+
:rtype: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
19875
|
+
"""
|
19876
|
+
return self._Operator
|
19877
|
+
|
19878
|
+
@Operator.setter
|
19879
|
+
def Operator(self, Operator):
|
19880
|
+
self._Operator = Operator
|
19881
|
+
|
19882
|
+
@property
|
19883
|
+
def SsoApplicationId(self):
|
19884
|
+
r"""单点登录应用号的id,获取位置如下图
|
19885
|
+
:rtype: str
|
19886
|
+
"""
|
19887
|
+
return self._SsoApplicationId
|
19888
|
+
|
19889
|
+
@SsoApplicationId.setter
|
19890
|
+
def SsoApplicationId(self, SsoApplicationId):
|
19891
|
+
self._SsoApplicationId = SsoApplicationId
|
19892
|
+
|
19893
|
+
@property
|
19894
|
+
def OpenId(self):
|
19895
|
+
r"""需要删除的单点登录员工的唯一Id 值
|
19896
|
+
:rtype: str
|
19897
|
+
"""
|
19898
|
+
return self._OpenId
|
19899
|
+
|
19900
|
+
@OpenId.setter
|
19901
|
+
def OpenId(self, OpenId):
|
19902
|
+
self._OpenId = OpenId
|
19903
|
+
|
19904
|
+
@property
|
19905
|
+
def Agent(self):
|
19906
|
+
r"""代理企业和员工的信息。
|
19907
|
+
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
19908
|
+
:rtype: :class:`tencentcloud.ess.v20201111.models.Agent`
|
19909
|
+
"""
|
19910
|
+
return self._Agent
|
19911
|
+
|
19912
|
+
@Agent.setter
|
19913
|
+
def Agent(self, Agent):
|
19914
|
+
self._Agent = Agent
|
19915
|
+
|
19916
|
+
|
19917
|
+
def _deserialize(self, params):
|
19918
|
+
if params.get("Operator") is not None:
|
19919
|
+
self._Operator = UserInfo()
|
19920
|
+
self._Operator._deserialize(params.get("Operator"))
|
19921
|
+
self._SsoApplicationId = params.get("SsoApplicationId")
|
19922
|
+
self._OpenId = params.get("OpenId")
|
19923
|
+
if params.get("Agent") is not None:
|
19924
|
+
self._Agent = Agent()
|
19925
|
+
self._Agent._deserialize(params.get("Agent"))
|
19926
|
+
memeber_set = set(params.keys())
|
19927
|
+
for name, value in vars(self).items():
|
19928
|
+
property_name = name[1:]
|
19929
|
+
if property_name in memeber_set:
|
19930
|
+
memeber_set.remove(property_name)
|
19931
|
+
if len(memeber_set) > 0:
|
19932
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
19933
|
+
|
19934
|
+
|
19935
|
+
|
19936
|
+
class DeleteSingleSignOnEmployeesResponse(AbstractModel):
|
19937
|
+
r"""DeleteSingleSignOnEmployees返回参数结构体
|
19938
|
+
|
19939
|
+
"""
|
19940
|
+
|
19941
|
+
def __init__(self):
|
19942
|
+
r"""
|
19943
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
19944
|
+
:type RequestId: str
|
19945
|
+
"""
|
19946
|
+
self._RequestId = None
|
19947
|
+
|
19948
|
+
@property
|
19949
|
+
def RequestId(self):
|
19950
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
19951
|
+
:rtype: str
|
19952
|
+
"""
|
19953
|
+
return self._RequestId
|
19954
|
+
|
19955
|
+
@RequestId.setter
|
19956
|
+
def RequestId(self, RequestId):
|
19957
|
+
self._RequestId = RequestId
|
19958
|
+
|
19959
|
+
|
19960
|
+
def _deserialize(self, params):
|
19961
|
+
self._RequestId = params.get("RequestId")
|
19962
|
+
|
19963
|
+
|
19679
19964
|
class DeleteStaffsResult(AbstractModel):
|
19680
19965
|
r"""删除员工结果
|
19681
19966
|
|
@@ -24685,16 +24970,188 @@ class DescribeSignFaceVideoResponse(AbstractModel):
|
|
24685
24970
|
self._IntentionQuestionResult = IntentionQuestionResult
|
24686
24971
|
|
24687
24972
|
@property
|
24688
|
-
def IntentionActionResult(self):
|
24689
|
-
r"""意愿核身点头确认模式的结果信息,若未使用该意愿核身功能,该字段返回值可以不处理。
|
24690
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
24691
|
-
:rtype: :class:`tencentcloud.ess.v20201111.models.IntentionActionResult`
|
24973
|
+
def IntentionActionResult(self):
|
24974
|
+
r"""意愿核身点头确认模式的结果信息,若未使用该意愿核身功能,该字段返回值可以不处理。
|
24975
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
24976
|
+
:rtype: :class:`tencentcloud.ess.v20201111.models.IntentionActionResult`
|
24977
|
+
"""
|
24978
|
+
return self._IntentionActionResult
|
24979
|
+
|
24980
|
+
@IntentionActionResult.setter
|
24981
|
+
def IntentionActionResult(self, IntentionActionResult):
|
24982
|
+
self._IntentionActionResult = IntentionActionResult
|
24983
|
+
|
24984
|
+
@property
|
24985
|
+
def RequestId(self):
|
24986
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
24987
|
+
:rtype: str
|
24988
|
+
"""
|
24989
|
+
return self._RequestId
|
24990
|
+
|
24991
|
+
@RequestId.setter
|
24992
|
+
def RequestId(self, RequestId):
|
24993
|
+
self._RequestId = RequestId
|
24994
|
+
|
24995
|
+
|
24996
|
+
def _deserialize(self, params):
|
24997
|
+
if params.get("VideoData") is not None:
|
24998
|
+
self._VideoData = DetectInfoVideoData()
|
24999
|
+
self._VideoData._deserialize(params.get("VideoData"))
|
25000
|
+
if params.get("IntentionQuestionResult") is not None:
|
25001
|
+
self._IntentionQuestionResult = IntentionQuestionResult()
|
25002
|
+
self._IntentionQuestionResult._deserialize(params.get("IntentionQuestionResult"))
|
25003
|
+
if params.get("IntentionActionResult") is not None:
|
25004
|
+
self._IntentionActionResult = IntentionActionResult()
|
25005
|
+
self._IntentionActionResult._deserialize(params.get("IntentionActionResult"))
|
25006
|
+
self._RequestId = params.get("RequestId")
|
25007
|
+
|
25008
|
+
|
25009
|
+
class DescribeSingleSignOnEmployeesRequest(AbstractModel):
|
25010
|
+
r"""DescribeSingleSignOnEmployees请求参数结构体
|
25011
|
+
|
25012
|
+
"""
|
25013
|
+
|
25014
|
+
def __init__(self):
|
25015
|
+
r"""
|
25016
|
+
:param _Operator: 执行本接口操作的员工信息。使用此接口时,必须填写userId。
|
25017
|
+
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
25018
|
+
:type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
25019
|
+
:param _SsoApplicationId: 单点登录应用号的id,获取位置如下图
|
25020
|
+
:type SsoApplicationId: str
|
25021
|
+
:param _OpenIds: 需要删除的单点登录员工的唯一Id 值.不能超过 200 个。
|
25022
|
+
如果传递了 openIds,limit 和 offset 参数无效,
|
25023
|
+
:type OpenIds: list of str
|
25024
|
+
:param _Agent: 代理企业和员工的信息。
|
25025
|
+
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
25026
|
+
:type Agent: :class:`tencentcloud.ess.v20201111.models.Agent`
|
25027
|
+
:param _Limit: 指定分页每页返回的数据条数,单页最大支持 200。如果不传, 则默认是 20.
|
25028
|
+
:type Limit: int
|
25029
|
+
:param _Offset: OFFSET 用于指定查询结果的偏移量,如果不传默认偏移为0,最大20000。 分页参数, 需要limit, offset 配合使用 例如: 您希望得到第三页的数据, 且每页限制最多10条 您可以使用 LIMIT 10 OFFSET 20
|
25030
|
+
:type Offset: int
|
25031
|
+
"""
|
25032
|
+
self._Operator = None
|
25033
|
+
self._SsoApplicationId = None
|
25034
|
+
self._OpenIds = None
|
25035
|
+
self._Agent = None
|
25036
|
+
self._Limit = None
|
25037
|
+
self._Offset = None
|
25038
|
+
|
25039
|
+
@property
|
25040
|
+
def Operator(self):
|
25041
|
+
r"""执行本接口操作的员工信息。使用此接口时,必须填写userId。
|
25042
|
+
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
25043
|
+
:rtype: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
25044
|
+
"""
|
25045
|
+
return self._Operator
|
25046
|
+
|
25047
|
+
@Operator.setter
|
25048
|
+
def Operator(self, Operator):
|
25049
|
+
self._Operator = Operator
|
25050
|
+
|
25051
|
+
@property
|
25052
|
+
def SsoApplicationId(self):
|
25053
|
+
r"""单点登录应用号的id,获取位置如下图
|
25054
|
+
:rtype: str
|
25055
|
+
"""
|
25056
|
+
return self._SsoApplicationId
|
25057
|
+
|
25058
|
+
@SsoApplicationId.setter
|
25059
|
+
def SsoApplicationId(self, SsoApplicationId):
|
25060
|
+
self._SsoApplicationId = SsoApplicationId
|
25061
|
+
|
25062
|
+
@property
|
25063
|
+
def OpenIds(self):
|
25064
|
+
r"""需要删除的单点登录员工的唯一Id 值.不能超过 200 个。
|
25065
|
+
如果传递了 openIds,limit 和 offset 参数无效,
|
25066
|
+
:rtype: list of str
|
25067
|
+
"""
|
25068
|
+
return self._OpenIds
|
25069
|
+
|
25070
|
+
@OpenIds.setter
|
25071
|
+
def OpenIds(self, OpenIds):
|
25072
|
+
self._OpenIds = OpenIds
|
25073
|
+
|
25074
|
+
@property
|
25075
|
+
def Agent(self):
|
25076
|
+
r"""代理企业和员工的信息。
|
25077
|
+
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
25078
|
+
:rtype: :class:`tencentcloud.ess.v20201111.models.Agent`
|
25079
|
+
"""
|
25080
|
+
return self._Agent
|
25081
|
+
|
25082
|
+
@Agent.setter
|
25083
|
+
def Agent(self, Agent):
|
25084
|
+
self._Agent = Agent
|
25085
|
+
|
25086
|
+
@property
|
25087
|
+
def Limit(self):
|
25088
|
+
r"""指定分页每页返回的数据条数,单页最大支持 200。如果不传, 则默认是 20.
|
25089
|
+
:rtype: int
|
25090
|
+
"""
|
25091
|
+
return self._Limit
|
25092
|
+
|
25093
|
+
@Limit.setter
|
25094
|
+
def Limit(self, Limit):
|
25095
|
+
self._Limit = Limit
|
25096
|
+
|
25097
|
+
@property
|
25098
|
+
def Offset(self):
|
25099
|
+
r"""OFFSET 用于指定查询结果的偏移量,如果不传默认偏移为0,最大20000。 分页参数, 需要limit, offset 配合使用 例如: 您希望得到第三页的数据, 且每页限制最多10条 您可以使用 LIMIT 10 OFFSET 20
|
25100
|
+
:rtype: int
|
25101
|
+
"""
|
25102
|
+
return self._Offset
|
25103
|
+
|
25104
|
+
@Offset.setter
|
25105
|
+
def Offset(self, Offset):
|
25106
|
+
self._Offset = Offset
|
25107
|
+
|
25108
|
+
|
25109
|
+
def _deserialize(self, params):
|
25110
|
+
if params.get("Operator") is not None:
|
25111
|
+
self._Operator = UserInfo()
|
25112
|
+
self._Operator._deserialize(params.get("Operator"))
|
25113
|
+
self._SsoApplicationId = params.get("SsoApplicationId")
|
25114
|
+
self._OpenIds = params.get("OpenIds")
|
25115
|
+
if params.get("Agent") is not None:
|
25116
|
+
self._Agent = Agent()
|
25117
|
+
self._Agent._deserialize(params.get("Agent"))
|
25118
|
+
self._Limit = params.get("Limit")
|
25119
|
+
self._Offset = params.get("Offset")
|
25120
|
+
memeber_set = set(params.keys())
|
25121
|
+
for name, value in vars(self).items():
|
25122
|
+
property_name = name[1:]
|
25123
|
+
if property_name in memeber_set:
|
25124
|
+
memeber_set.remove(property_name)
|
25125
|
+
if len(memeber_set) > 0:
|
25126
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
25127
|
+
|
25128
|
+
|
25129
|
+
|
25130
|
+
class DescribeSingleSignOnEmployeesResponse(AbstractModel):
|
25131
|
+
r"""DescribeSingleSignOnEmployees返回参数结构体
|
25132
|
+
|
25133
|
+
"""
|
25134
|
+
|
25135
|
+
def __init__(self):
|
25136
|
+
r"""
|
25137
|
+
:param _Employees: 单点登录企业员工信息
|
25138
|
+
:type Employees: list of SingleSignOnEmployees
|
25139
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
25140
|
+
:type RequestId: str
|
25141
|
+
"""
|
25142
|
+
self._Employees = None
|
25143
|
+
self._RequestId = None
|
25144
|
+
|
25145
|
+
@property
|
25146
|
+
def Employees(self):
|
25147
|
+
r"""单点登录企业员工信息
|
25148
|
+
:rtype: list of SingleSignOnEmployees
|
24692
25149
|
"""
|
24693
|
-
return self.
|
25150
|
+
return self._Employees
|
24694
25151
|
|
24695
|
-
@
|
24696
|
-
def
|
24697
|
-
self.
|
25152
|
+
@Employees.setter
|
25153
|
+
def Employees(self, Employees):
|
25154
|
+
self._Employees = Employees
|
24698
25155
|
|
24699
25156
|
@property
|
24700
25157
|
def RequestId(self):
|
@@ -24709,15 +25166,12 @@ class DescribeSignFaceVideoResponse(AbstractModel):
|
|
24709
25166
|
|
24710
25167
|
|
24711
25168
|
def _deserialize(self, params):
|
24712
|
-
if params.get("
|
24713
|
-
self.
|
24714
|
-
|
24715
|
-
|
24716
|
-
|
24717
|
-
|
24718
|
-
if params.get("IntentionActionResult") is not None:
|
24719
|
-
self._IntentionActionResult = IntentionActionResult()
|
24720
|
-
self._IntentionActionResult._deserialize(params.get("IntentionActionResult"))
|
25169
|
+
if params.get("Employees") is not None:
|
25170
|
+
self._Employees = []
|
25171
|
+
for item in params.get("Employees"):
|
25172
|
+
obj = SingleSignOnEmployees()
|
25173
|
+
obj._deserialize(item)
|
25174
|
+
self._Employees.append(obj)
|
24721
25175
|
self._RequestId = params.get("RequestId")
|
24722
25176
|
|
24723
25177
|
|
@@ -32553,6 +33007,125 @@ class ModifyPartnerAutoSignAuthUrlResponse(AbstractModel):
|
|
32553
33007
|
self._RequestId = params.get("RequestId")
|
32554
33008
|
|
32555
33009
|
|
33010
|
+
class ModifySingleSignOnEmployeesRequest(AbstractModel):
|
33011
|
+
r"""ModifySingleSignOnEmployees请求参数结构体
|
33012
|
+
|
33013
|
+
"""
|
33014
|
+
|
33015
|
+
def __init__(self):
|
33016
|
+
r"""
|
33017
|
+
:param _Operator: 执行本接口操作的员工信息。使用此接口时,必须填写userId。
|
33018
|
+
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
33019
|
+
:type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
33020
|
+
:param _SsoApplicationId: 单点登录应用号的id,获取位置如下图
|
33021
|
+
:type SsoApplicationId: str
|
33022
|
+
:param _Employee: 待修改员工的信息。
|
33023
|
+
:type Employee: :class:`tencentcloud.ess.v20201111.models.SingleSignOnEmployees`
|
33024
|
+
:param _Agent: 代理企业和员工的信息。
|
33025
|
+
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
33026
|
+
:type Agent: :class:`tencentcloud.ess.v20201111.models.Agent`
|
33027
|
+
"""
|
33028
|
+
self._Operator = None
|
33029
|
+
self._SsoApplicationId = None
|
33030
|
+
self._Employee = None
|
33031
|
+
self._Agent = None
|
33032
|
+
|
33033
|
+
@property
|
33034
|
+
def Operator(self):
|
33035
|
+
r"""执行本接口操作的员工信息。使用此接口时,必须填写userId。
|
33036
|
+
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
33037
|
+
:rtype: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
33038
|
+
"""
|
33039
|
+
return self._Operator
|
33040
|
+
|
33041
|
+
@Operator.setter
|
33042
|
+
def Operator(self, Operator):
|
33043
|
+
self._Operator = Operator
|
33044
|
+
|
33045
|
+
@property
|
33046
|
+
def SsoApplicationId(self):
|
33047
|
+
r"""单点登录应用号的id,获取位置如下图
|
33048
|
+
:rtype: str
|
33049
|
+
"""
|
33050
|
+
return self._SsoApplicationId
|
33051
|
+
|
33052
|
+
@SsoApplicationId.setter
|
33053
|
+
def SsoApplicationId(self, SsoApplicationId):
|
33054
|
+
self._SsoApplicationId = SsoApplicationId
|
33055
|
+
|
33056
|
+
@property
|
33057
|
+
def Employee(self):
|
33058
|
+
r"""待修改员工的信息。
|
33059
|
+
:rtype: :class:`tencentcloud.ess.v20201111.models.SingleSignOnEmployees`
|
33060
|
+
"""
|
33061
|
+
return self._Employee
|
33062
|
+
|
33063
|
+
@Employee.setter
|
33064
|
+
def Employee(self, Employee):
|
33065
|
+
self._Employee = Employee
|
33066
|
+
|
33067
|
+
@property
|
33068
|
+
def Agent(self):
|
33069
|
+
r"""代理企业和员工的信息。
|
33070
|
+
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
33071
|
+
:rtype: :class:`tencentcloud.ess.v20201111.models.Agent`
|
33072
|
+
"""
|
33073
|
+
return self._Agent
|
33074
|
+
|
33075
|
+
@Agent.setter
|
33076
|
+
def Agent(self, Agent):
|
33077
|
+
self._Agent = Agent
|
33078
|
+
|
33079
|
+
|
33080
|
+
def _deserialize(self, params):
|
33081
|
+
if params.get("Operator") is not None:
|
33082
|
+
self._Operator = UserInfo()
|
33083
|
+
self._Operator._deserialize(params.get("Operator"))
|
33084
|
+
self._SsoApplicationId = params.get("SsoApplicationId")
|
33085
|
+
if params.get("Employee") is not None:
|
33086
|
+
self._Employee = SingleSignOnEmployees()
|
33087
|
+
self._Employee._deserialize(params.get("Employee"))
|
33088
|
+
if params.get("Agent") is not None:
|
33089
|
+
self._Agent = Agent()
|
33090
|
+
self._Agent._deserialize(params.get("Agent"))
|
33091
|
+
memeber_set = set(params.keys())
|
33092
|
+
for name, value in vars(self).items():
|
33093
|
+
property_name = name[1:]
|
33094
|
+
if property_name in memeber_set:
|
33095
|
+
memeber_set.remove(property_name)
|
33096
|
+
if len(memeber_set) > 0:
|
33097
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
33098
|
+
|
33099
|
+
|
33100
|
+
|
33101
|
+
class ModifySingleSignOnEmployeesResponse(AbstractModel):
|
33102
|
+
r"""ModifySingleSignOnEmployees返回参数结构体
|
33103
|
+
|
33104
|
+
"""
|
33105
|
+
|
33106
|
+
def __init__(self):
|
33107
|
+
r"""
|
33108
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
33109
|
+
:type RequestId: str
|
33110
|
+
"""
|
33111
|
+
self._RequestId = None
|
33112
|
+
|
33113
|
+
@property
|
33114
|
+
def RequestId(self):
|
33115
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
33116
|
+
:rtype: str
|
33117
|
+
"""
|
33118
|
+
return self._RequestId
|
33119
|
+
|
33120
|
+
@RequestId.setter
|
33121
|
+
def RequestId(self, RequestId):
|
33122
|
+
self._RequestId = RequestId
|
33123
|
+
|
33124
|
+
|
33125
|
+
def _deserialize(self, params):
|
33126
|
+
self._RequestId = params.get("RequestId")
|
33127
|
+
|
33128
|
+
|
32556
33129
|
class NeedReviewApproverInfo(AbstractModel):
|
32557
33130
|
r"""需要进行签署审核的签署人信息
|
32558
33131
|
|
@@ -36513,6 +37086,153 @@ class SignUrl(AbstractModel):
|
|
36513
37086
|
|
36514
37087
|
|
36515
37088
|
|
37089
|
+
class SingleSignOnEmployees(AbstractModel):
|
37090
|
+
r"""单点登录企业员工信息。
|
37091
|
+
|
37092
|
+
"""
|
37093
|
+
|
37094
|
+
def __init__(self):
|
37095
|
+
r"""
|
37096
|
+
:param _OpenId: 用户在idp分配的唯一值,需要保持跟在电子签应用集成->单点登录配置->端点配置中配置的。
|
37097
|
+
如下图配置。
|
37098
|
+
:type OpenId: str
|
37099
|
+
:param _Name: 企业员工姓名。 员工的姓名将用于身份认证和电子签名,请确保填写的姓名为签署方的真实姓名,而非昵称等代名。
|
37100
|
+
:type Name: str
|
37101
|
+
:param _Mobile: 用户手机号码, 支持中国大陆手机号11位数字(无需加+86前缀或其他字符)。
|
37102
|
+
:type Mobile: str
|
37103
|
+
:param _UserId: 员工在腾讯电子签平台的唯一身份标识,为32位字符串。
|
37104
|
+
注:`创建和更新场景无需填写。`
|
37105
|
+
:type UserId: str
|
37106
|
+
:param _Email: 用户邮箱。
|
37107
|
+
:type Email: str
|
37108
|
+
:param _RoleIds: 员工角色信息。
|
37109
|
+
此处roleId为电子签配置的 RoleId,可通过接口[查询企业角色列表](https://qian.tencent.com/developers/companyApis/roles/DescribeIntegrationRoles) 获取
|
37110
|
+
:type RoleIds: list of str
|
37111
|
+
:param _IsVerified: 员工是否实名。
|
37112
|
+
:type IsVerified: bool
|
37113
|
+
:param _CreatedOn: 员工创建时间戳,单位秒。
|
37114
|
+
:type CreatedOn: int
|
37115
|
+
"""
|
37116
|
+
self._OpenId = None
|
37117
|
+
self._Name = None
|
37118
|
+
self._Mobile = None
|
37119
|
+
self._UserId = None
|
37120
|
+
self._Email = None
|
37121
|
+
self._RoleIds = None
|
37122
|
+
self._IsVerified = None
|
37123
|
+
self._CreatedOn = None
|
37124
|
+
|
37125
|
+
@property
|
37126
|
+
def OpenId(self):
|
37127
|
+
r"""用户在idp分配的唯一值,需要保持跟在电子签应用集成->单点登录配置->端点配置中配置的。
|
37128
|
+
如下图配置。
|
37129
|
+
:rtype: str
|
37130
|
+
"""
|
37131
|
+
return self._OpenId
|
37132
|
+
|
37133
|
+
@OpenId.setter
|
37134
|
+
def OpenId(self, OpenId):
|
37135
|
+
self._OpenId = OpenId
|
37136
|
+
|
37137
|
+
@property
|
37138
|
+
def Name(self):
|
37139
|
+
r"""企业员工姓名。 员工的姓名将用于身份认证和电子签名,请确保填写的姓名为签署方的真实姓名,而非昵称等代名。
|
37140
|
+
:rtype: str
|
37141
|
+
"""
|
37142
|
+
return self._Name
|
37143
|
+
|
37144
|
+
@Name.setter
|
37145
|
+
def Name(self, Name):
|
37146
|
+
self._Name = Name
|
37147
|
+
|
37148
|
+
@property
|
37149
|
+
def Mobile(self):
|
37150
|
+
r"""用户手机号码, 支持中国大陆手机号11位数字(无需加+86前缀或其他字符)。
|
37151
|
+
:rtype: str
|
37152
|
+
"""
|
37153
|
+
return self._Mobile
|
37154
|
+
|
37155
|
+
@Mobile.setter
|
37156
|
+
def Mobile(self, Mobile):
|
37157
|
+
self._Mobile = Mobile
|
37158
|
+
|
37159
|
+
@property
|
37160
|
+
def UserId(self):
|
37161
|
+
r"""员工在腾讯电子签平台的唯一身份标识,为32位字符串。
|
37162
|
+
注:`创建和更新场景无需填写。`
|
37163
|
+
:rtype: str
|
37164
|
+
"""
|
37165
|
+
return self._UserId
|
37166
|
+
|
37167
|
+
@UserId.setter
|
37168
|
+
def UserId(self, UserId):
|
37169
|
+
self._UserId = UserId
|
37170
|
+
|
37171
|
+
@property
|
37172
|
+
def Email(self):
|
37173
|
+
r"""用户邮箱。
|
37174
|
+
:rtype: str
|
37175
|
+
"""
|
37176
|
+
return self._Email
|
37177
|
+
|
37178
|
+
@Email.setter
|
37179
|
+
def Email(self, Email):
|
37180
|
+
self._Email = Email
|
37181
|
+
|
37182
|
+
@property
|
37183
|
+
def RoleIds(self):
|
37184
|
+
r"""员工角色信息。
|
37185
|
+
此处roleId为电子签配置的 RoleId,可通过接口[查询企业角色列表](https://qian.tencent.com/developers/companyApis/roles/DescribeIntegrationRoles) 获取
|
37186
|
+
:rtype: list of str
|
37187
|
+
"""
|
37188
|
+
return self._RoleIds
|
37189
|
+
|
37190
|
+
@RoleIds.setter
|
37191
|
+
def RoleIds(self, RoleIds):
|
37192
|
+
self._RoleIds = RoleIds
|
37193
|
+
|
37194
|
+
@property
|
37195
|
+
def IsVerified(self):
|
37196
|
+
r"""员工是否实名。
|
37197
|
+
:rtype: bool
|
37198
|
+
"""
|
37199
|
+
return self._IsVerified
|
37200
|
+
|
37201
|
+
@IsVerified.setter
|
37202
|
+
def IsVerified(self, IsVerified):
|
37203
|
+
self._IsVerified = IsVerified
|
37204
|
+
|
37205
|
+
@property
|
37206
|
+
def CreatedOn(self):
|
37207
|
+
r"""员工创建时间戳,单位秒。
|
37208
|
+
:rtype: int
|
37209
|
+
"""
|
37210
|
+
return self._CreatedOn
|
37211
|
+
|
37212
|
+
@CreatedOn.setter
|
37213
|
+
def CreatedOn(self, CreatedOn):
|
37214
|
+
self._CreatedOn = CreatedOn
|
37215
|
+
|
37216
|
+
|
37217
|
+
def _deserialize(self, params):
|
37218
|
+
self._OpenId = params.get("OpenId")
|
37219
|
+
self._Name = params.get("Name")
|
37220
|
+
self._Mobile = params.get("Mobile")
|
37221
|
+
self._UserId = params.get("UserId")
|
37222
|
+
self._Email = params.get("Email")
|
37223
|
+
self._RoleIds = params.get("RoleIds")
|
37224
|
+
self._IsVerified = params.get("IsVerified")
|
37225
|
+
self._CreatedOn = params.get("CreatedOn")
|
37226
|
+
memeber_set = set(params.keys())
|
37227
|
+
for name, value in vars(self).items():
|
37228
|
+
property_name = name[1:]
|
37229
|
+
if property_name in memeber_set:
|
37230
|
+
memeber_set.remove(property_name)
|
37231
|
+
if len(memeber_set) > 0:
|
37232
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
37233
|
+
|
37234
|
+
|
37235
|
+
|
36516
37236
|
class Staff(AbstractModel):
|
36517
37237
|
r"""企业员工信息。
|
36518
37238
|
|