tencentcloud-sdk-python-ess 3.0.989__tar.gz → 3.0.991__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-ess-3.0.989 → tencentcloud-sdk-python-ess-3.0.991}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-ess-3.0.989 → tencentcloud-sdk-python-ess-3.0.991}/setup.py +1 -1
- {tencentcloud-sdk-python-ess-3.0.989 → tencentcloud-sdk-python-ess-3.0.991}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-ess-3.0.989 → tencentcloud-sdk-python-ess-3.0.991}/tencentcloud/ess/v20201111/ess_client.py +23 -0
- {tencentcloud-sdk-python-ess-3.0.989 → tencentcloud-sdk-python-ess-3.0.991}/tencentcloud/ess/v20201111/models.py +113 -0
- {tencentcloud-sdk-python-ess-3.0.989 → tencentcloud-sdk-python-ess-3.0.991}/tencentcloud_sdk_python_ess.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-ess-3.0.991/tencentcloud_sdk_python_ess.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-ess-3.0.989/tencentcloud_sdk_python_ess.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-ess-3.0.989 → tencentcloud-sdk-python-ess-3.0.991}/README.rst +0 -0
- {tencentcloud-sdk-python-ess-3.0.989 → tencentcloud-sdk-python-ess-3.0.991}/setup.cfg +0 -0
- {tencentcloud-sdk-python-ess-3.0.989 → tencentcloud-sdk-python-ess-3.0.991}/tencentcloud/ess/__init__.py +0 -0
- {tencentcloud-sdk-python-ess-3.0.989 → tencentcloud-sdk-python-ess-3.0.991}/tencentcloud/ess/v20201111/__init__.py +0 -0
- {tencentcloud-sdk-python-ess-3.0.989 → tencentcloud-sdk-python-ess-3.0.991}/tencentcloud/ess/v20201111/errorcodes.py +0 -0
- {tencentcloud-sdk-python-ess-3.0.989 → tencentcloud-sdk-python-ess-3.0.991}/tencentcloud_sdk_python_ess.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-ess-3.0.989 → tencentcloud-sdk-python-ess-3.0.991}/tencentcloud_sdk_python_ess.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-ess-3.0.989 → tencentcloud-sdk-python-ess-3.0.991}/tencentcloud_sdk_python_ess.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-ess',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.991"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Ess SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -684,6 +684,29 @@ class EssClient(AbstractClient):
|
|
|
684
684
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
685
685
|
|
|
686
686
|
|
|
687
|
+
def CreateOrganizationInfoChangeUrl(self, request):
|
|
688
|
+
"""此接口(CreateOrganizationInfoChangeUrl)用于创建企业信息变更链接,支持创建企业超管变更链接或企业基础信息变更链接,通过入参ChangeType指定。
|
|
689
|
+
|
|
690
|
+
:param request: Request instance for CreateOrganizationInfoChangeUrl.
|
|
691
|
+
:type request: :class:`tencentcloud.ess.v20201111.models.CreateOrganizationInfoChangeUrlRequest`
|
|
692
|
+
:rtype: :class:`tencentcloud.ess.v20201111.models.CreateOrganizationInfoChangeUrlResponse`
|
|
693
|
+
|
|
694
|
+
"""
|
|
695
|
+
try:
|
|
696
|
+
params = request._serialize()
|
|
697
|
+
headers = request.headers
|
|
698
|
+
body = self.call("CreateOrganizationInfoChangeUrl", params, headers=headers)
|
|
699
|
+
response = json.loads(body)
|
|
700
|
+
model = models.CreateOrganizationInfoChangeUrlResponse()
|
|
701
|
+
model._deserialize(response["Response"])
|
|
702
|
+
return model
|
|
703
|
+
except Exception as e:
|
|
704
|
+
if isinstance(e, TencentCloudSDKException):
|
|
705
|
+
raise
|
|
706
|
+
else:
|
|
707
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
708
|
+
|
|
709
|
+
|
|
687
710
|
def CreatePersonAuthCertificateImage(self, request):
|
|
688
711
|
"""获取个人用户认证证书图片下载URL
|
|
689
712
|
|
|
@@ -5830,6 +5830,119 @@ class CreateOrganizationBatchSignUrlResponse(AbstractModel):
|
|
|
5830
5830
|
self._RequestId = params.get("RequestId")
|
|
5831
5831
|
|
|
5832
5832
|
|
|
5833
|
+
class CreateOrganizationInfoChangeUrlRequest(AbstractModel):
|
|
5834
|
+
"""CreateOrganizationInfoChangeUrl请求参数结构体
|
|
5835
|
+
|
|
5836
|
+
"""
|
|
5837
|
+
|
|
5838
|
+
def __init__(self):
|
|
5839
|
+
r"""
|
|
5840
|
+
:param _Operator: 执行本接口操作的员工信息。
|
|
5841
|
+
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
|
5842
|
+
:type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
|
5843
|
+
:param _ChangeType: 企业信息变更类型,可选类型如下:
|
|
5844
|
+
<ul><li>**1**:企业超管变更</li><li>**2**:企业基础信息变更</li></ul>
|
|
5845
|
+
:type ChangeType: int
|
|
5846
|
+
:param _Agent: 代理企业和员工的信息。
|
|
5847
|
+
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
|
5848
|
+
:type Agent: :class:`tencentcloud.ess.v20201111.models.Agent`
|
|
5849
|
+
"""
|
|
5850
|
+
self._Operator = None
|
|
5851
|
+
self._ChangeType = None
|
|
5852
|
+
self._Agent = None
|
|
5853
|
+
|
|
5854
|
+
@property
|
|
5855
|
+
def Operator(self):
|
|
5856
|
+
return self._Operator
|
|
5857
|
+
|
|
5858
|
+
@Operator.setter
|
|
5859
|
+
def Operator(self, Operator):
|
|
5860
|
+
self._Operator = Operator
|
|
5861
|
+
|
|
5862
|
+
@property
|
|
5863
|
+
def ChangeType(self):
|
|
5864
|
+
return self._ChangeType
|
|
5865
|
+
|
|
5866
|
+
@ChangeType.setter
|
|
5867
|
+
def ChangeType(self, ChangeType):
|
|
5868
|
+
self._ChangeType = ChangeType
|
|
5869
|
+
|
|
5870
|
+
@property
|
|
5871
|
+
def Agent(self):
|
|
5872
|
+
return self._Agent
|
|
5873
|
+
|
|
5874
|
+
@Agent.setter
|
|
5875
|
+
def Agent(self, Agent):
|
|
5876
|
+
self._Agent = Agent
|
|
5877
|
+
|
|
5878
|
+
|
|
5879
|
+
def _deserialize(self, params):
|
|
5880
|
+
if params.get("Operator") is not None:
|
|
5881
|
+
self._Operator = UserInfo()
|
|
5882
|
+
self._Operator._deserialize(params.get("Operator"))
|
|
5883
|
+
self._ChangeType = params.get("ChangeType")
|
|
5884
|
+
if params.get("Agent") is not None:
|
|
5885
|
+
self._Agent = Agent()
|
|
5886
|
+
self._Agent._deserialize(params.get("Agent"))
|
|
5887
|
+
memeber_set = set(params.keys())
|
|
5888
|
+
for name, value in vars(self).items():
|
|
5889
|
+
property_name = name[1:]
|
|
5890
|
+
if property_name in memeber_set:
|
|
5891
|
+
memeber_set.remove(property_name)
|
|
5892
|
+
if len(memeber_set) > 0:
|
|
5893
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5894
|
+
|
|
5895
|
+
|
|
5896
|
+
|
|
5897
|
+
class CreateOrganizationInfoChangeUrlResponse(AbstractModel):
|
|
5898
|
+
"""CreateOrganizationInfoChangeUrl返回参数结构体
|
|
5899
|
+
|
|
5900
|
+
"""
|
|
5901
|
+
|
|
5902
|
+
def __init__(self):
|
|
5903
|
+
r"""
|
|
5904
|
+
:param _Url: 创建的企业信息变更链接。
|
|
5905
|
+
:type Url: str
|
|
5906
|
+
:param _ExpiredTime: 链接过期时间。链接7天有效。
|
|
5907
|
+
:type ExpiredTime: int
|
|
5908
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5909
|
+
:type RequestId: str
|
|
5910
|
+
"""
|
|
5911
|
+
self._Url = None
|
|
5912
|
+
self._ExpiredTime = None
|
|
5913
|
+
self._RequestId = None
|
|
5914
|
+
|
|
5915
|
+
@property
|
|
5916
|
+
def Url(self):
|
|
5917
|
+
return self._Url
|
|
5918
|
+
|
|
5919
|
+
@Url.setter
|
|
5920
|
+
def Url(self, Url):
|
|
5921
|
+
self._Url = Url
|
|
5922
|
+
|
|
5923
|
+
@property
|
|
5924
|
+
def ExpiredTime(self):
|
|
5925
|
+
return self._ExpiredTime
|
|
5926
|
+
|
|
5927
|
+
@ExpiredTime.setter
|
|
5928
|
+
def ExpiredTime(self, ExpiredTime):
|
|
5929
|
+
self._ExpiredTime = ExpiredTime
|
|
5930
|
+
|
|
5931
|
+
@property
|
|
5932
|
+
def RequestId(self):
|
|
5933
|
+
return self._RequestId
|
|
5934
|
+
|
|
5935
|
+
@RequestId.setter
|
|
5936
|
+
def RequestId(self, RequestId):
|
|
5937
|
+
self._RequestId = RequestId
|
|
5938
|
+
|
|
5939
|
+
|
|
5940
|
+
def _deserialize(self, params):
|
|
5941
|
+
self._Url = params.get("Url")
|
|
5942
|
+
self._ExpiredTime = params.get("ExpiredTime")
|
|
5943
|
+
self._RequestId = params.get("RequestId")
|
|
5944
|
+
|
|
5945
|
+
|
|
5833
5946
|
class CreatePersonAuthCertificateImageRequest(AbstractModel):
|
|
5834
5947
|
"""CreatePersonAuthCertificateImage请求参数结构体
|
|
5835
5948
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.991
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.989
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|