tencentcloud-sdk-python-organization 3.0.1092__tar.gz → 3.0.1098__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-organization-3.0.1092 → tencentcloud-sdk-python-organization-3.0.1098}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-organization-3.0.1092 → tencentcloud-sdk-python-organization-3.0.1098}/setup.py +1 -1
- {tencentcloud-sdk-python-organization-3.0.1092 → tencentcloud-sdk-python-organization-3.0.1098}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-organization-3.0.1092 → tencentcloud-sdk-python-organization-3.0.1098}/tencentcloud/organization/v20210331/models.py +222 -0
- {tencentcloud-sdk-python-organization-3.0.1092 → tencentcloud-sdk-python-organization-3.0.1098}/tencentcloud/organization/v20210331/organization_client.py +23 -0
- {tencentcloud-sdk-python-organization-3.0.1092 → tencentcloud-sdk-python-organization-3.0.1098}/tencentcloud_sdk_python_organization.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-organization-3.0.1098/tencentcloud_sdk_python_organization.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-organization-3.0.1092/tencentcloud_sdk_python_organization.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-organization-3.0.1092 → tencentcloud-sdk-python-organization-3.0.1098}/README.rst +0 -0
- {tencentcloud-sdk-python-organization-3.0.1092 → tencentcloud-sdk-python-organization-3.0.1098}/setup.cfg +0 -0
- {tencentcloud-sdk-python-organization-3.0.1092 → tencentcloud-sdk-python-organization-3.0.1098}/tencentcloud/organization/__init__.py +0 -0
- {tencentcloud-sdk-python-organization-3.0.1092 → tencentcloud-sdk-python-organization-3.0.1098}/tencentcloud/organization/v20181225/__init__.py +0 -0
- {tencentcloud-sdk-python-organization-3.0.1092 → tencentcloud-sdk-python-organization-3.0.1098}/tencentcloud/organization/v20181225/errorcodes.py +0 -0
- {tencentcloud-sdk-python-organization-3.0.1092 → tencentcloud-sdk-python-organization-3.0.1098}/tencentcloud/organization/v20181225/models.py +0 -0
- {tencentcloud-sdk-python-organization-3.0.1092 → tencentcloud-sdk-python-organization-3.0.1098}/tencentcloud/organization/v20181225/organization_client.py +0 -0
- {tencentcloud-sdk-python-organization-3.0.1092 → tencentcloud-sdk-python-organization-3.0.1098}/tencentcloud/organization/v20210331/__init__.py +0 -0
- {tencentcloud-sdk-python-organization-3.0.1092 → tencentcloud-sdk-python-organization-3.0.1098}/tencentcloud/organization/v20210331/errorcodes.py +0 -0
- {tencentcloud-sdk-python-organization-3.0.1092 → tencentcloud-sdk-python-organization-3.0.1098}/tencentcloud_sdk_python_organization.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-organization-3.0.1092 → tencentcloud-sdk-python-organization-3.0.1098}/tencentcloud_sdk_python_organization.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-organization-3.0.1092 → tencentcloud-sdk-python-organization-3.0.1098}/tencentcloud_sdk_python_organization.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-organization',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1098"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Organization SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -725,6 +725,90 @@ class CancelOrganizationMemberAuthAccountResponse(AbstractModel):
|
|
|
725
725
|
self._RequestId = params.get("RequestId")
|
|
726
726
|
|
|
727
727
|
|
|
728
|
+
class CheckAccountDeleteRequest(AbstractModel):
|
|
729
|
+
"""CheckAccountDelete请求参数结构体
|
|
730
|
+
|
|
731
|
+
"""
|
|
732
|
+
|
|
733
|
+
def __init__(self):
|
|
734
|
+
r"""
|
|
735
|
+
:param _MemberUin: 成员uin。
|
|
736
|
+
:type MemberUin: int
|
|
737
|
+
"""
|
|
738
|
+
self._MemberUin = None
|
|
739
|
+
|
|
740
|
+
@property
|
|
741
|
+
def MemberUin(self):
|
|
742
|
+
return self._MemberUin
|
|
743
|
+
|
|
744
|
+
@MemberUin.setter
|
|
745
|
+
def MemberUin(self, MemberUin):
|
|
746
|
+
self._MemberUin = MemberUin
|
|
747
|
+
|
|
748
|
+
|
|
749
|
+
def _deserialize(self, params):
|
|
750
|
+
self._MemberUin = params.get("MemberUin")
|
|
751
|
+
memeber_set = set(params.keys())
|
|
752
|
+
for name, value in vars(self).items():
|
|
753
|
+
property_name = name[1:]
|
|
754
|
+
if property_name in memeber_set:
|
|
755
|
+
memeber_set.remove(property_name)
|
|
756
|
+
if len(memeber_set) > 0:
|
|
757
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
758
|
+
|
|
759
|
+
|
|
760
|
+
|
|
761
|
+
class CheckAccountDeleteResponse(AbstractModel):
|
|
762
|
+
"""CheckAccountDelete返回参数结构体
|
|
763
|
+
|
|
764
|
+
"""
|
|
765
|
+
|
|
766
|
+
def __init__(self):
|
|
767
|
+
r"""
|
|
768
|
+
:param _AllowDelete: 成员是否允许删除。 true-是、false-否
|
|
769
|
+
:type AllowDelete: bool
|
|
770
|
+
:param _NotAllowReason: 不允许删除原因。
|
|
771
|
+
:type NotAllowReason: :class:`tencentcloud.organization.v20210331.models.NotAllowReason`
|
|
772
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
773
|
+
:type RequestId: str
|
|
774
|
+
"""
|
|
775
|
+
self._AllowDelete = None
|
|
776
|
+
self._NotAllowReason = None
|
|
777
|
+
self._RequestId = None
|
|
778
|
+
|
|
779
|
+
@property
|
|
780
|
+
def AllowDelete(self):
|
|
781
|
+
return self._AllowDelete
|
|
782
|
+
|
|
783
|
+
@AllowDelete.setter
|
|
784
|
+
def AllowDelete(self, AllowDelete):
|
|
785
|
+
self._AllowDelete = AllowDelete
|
|
786
|
+
|
|
787
|
+
@property
|
|
788
|
+
def NotAllowReason(self):
|
|
789
|
+
return self._NotAllowReason
|
|
790
|
+
|
|
791
|
+
@NotAllowReason.setter
|
|
792
|
+
def NotAllowReason(self, NotAllowReason):
|
|
793
|
+
self._NotAllowReason = NotAllowReason
|
|
794
|
+
|
|
795
|
+
@property
|
|
796
|
+
def RequestId(self):
|
|
797
|
+
return self._RequestId
|
|
798
|
+
|
|
799
|
+
@RequestId.setter
|
|
800
|
+
def RequestId(self, RequestId):
|
|
801
|
+
self._RequestId = RequestId
|
|
802
|
+
|
|
803
|
+
|
|
804
|
+
def _deserialize(self, params):
|
|
805
|
+
self._AllowDelete = params.get("AllowDelete")
|
|
806
|
+
if params.get("NotAllowReason") is not None:
|
|
807
|
+
self._NotAllowReason = NotAllowReason()
|
|
808
|
+
self._NotAllowReason._deserialize(params.get("NotAllowReason"))
|
|
809
|
+
self._RequestId = params.get("RequestId")
|
|
810
|
+
|
|
811
|
+
|
|
728
812
|
class CreateOrganizationIdentityRequest(AbstractModel):
|
|
729
813
|
"""CreateOrganizationIdentity请求参数结构体
|
|
730
814
|
|
|
@@ -4600,6 +4684,144 @@ class MoveOrganizationNodeMembersResponse(AbstractModel):
|
|
|
4600
4684
|
self._RequestId = params.get("RequestId")
|
|
4601
4685
|
|
|
4602
4686
|
|
|
4687
|
+
class NotAllowReason(AbstractModel):
|
|
4688
|
+
"""不允许删除的原因。
|
|
4689
|
+
|
|
4690
|
+
"""
|
|
4691
|
+
|
|
4692
|
+
def __init__(self):
|
|
4693
|
+
r"""
|
|
4694
|
+
:param _IsCreateMember: 是否创建的成员。true-是、false-否;成员不是创建的成员不允许删除
|
|
4695
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4696
|
+
:type IsCreateMember: bool
|
|
4697
|
+
:param _DeletionPermission: 成员删除许可。true-开启、false-关闭;成员删除许可关闭时不允许删除
|
|
4698
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4699
|
+
:type DeletionPermission: bool
|
|
4700
|
+
:param _IsAssignManager: 是否可信服务委派管理员。true-是、false-否;成员是可信服务委派管理员不允许删除
|
|
4701
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4702
|
+
:type IsAssignManager: bool
|
|
4703
|
+
:param _IsAuthManager: 是否主体管理员。true-是、false-否;成员是主体管理员不允许删除
|
|
4704
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4705
|
+
:type IsAuthManager: bool
|
|
4706
|
+
:param _IsShareManager: 是否共享资源管理员。true-是、false-否;成员是共享资源管理员不允许删除
|
|
4707
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4708
|
+
:type IsShareManager: bool
|
|
4709
|
+
:param _OperateProcess: 成员是否设置了操作审批。true-是、false-否;成员设置了操作审批时不允许删除
|
|
4710
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4711
|
+
:type OperateProcess: bool
|
|
4712
|
+
:param _BillingPermission: 是否允许解除成员财务权限。true-是、false-否;成员不能解除财务权限时不允许删除
|
|
4713
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4714
|
+
:type BillingPermission: bool
|
|
4715
|
+
:param _ExistResources: 存在的资源列表。账号存在资源时不允许删除
|
|
4716
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4717
|
+
:type ExistResources: list of str
|
|
4718
|
+
:param _DetectFailedResources: 检测失败的资源列表。账号有资源检测失败时不允许删除。
|
|
4719
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4720
|
+
:type DetectFailedResources: list of str
|
|
4721
|
+
"""
|
|
4722
|
+
self._IsCreateMember = None
|
|
4723
|
+
self._DeletionPermission = None
|
|
4724
|
+
self._IsAssignManager = None
|
|
4725
|
+
self._IsAuthManager = None
|
|
4726
|
+
self._IsShareManager = None
|
|
4727
|
+
self._OperateProcess = None
|
|
4728
|
+
self._BillingPermission = None
|
|
4729
|
+
self._ExistResources = None
|
|
4730
|
+
self._DetectFailedResources = None
|
|
4731
|
+
|
|
4732
|
+
@property
|
|
4733
|
+
def IsCreateMember(self):
|
|
4734
|
+
return self._IsCreateMember
|
|
4735
|
+
|
|
4736
|
+
@IsCreateMember.setter
|
|
4737
|
+
def IsCreateMember(self, IsCreateMember):
|
|
4738
|
+
self._IsCreateMember = IsCreateMember
|
|
4739
|
+
|
|
4740
|
+
@property
|
|
4741
|
+
def DeletionPermission(self):
|
|
4742
|
+
return self._DeletionPermission
|
|
4743
|
+
|
|
4744
|
+
@DeletionPermission.setter
|
|
4745
|
+
def DeletionPermission(self, DeletionPermission):
|
|
4746
|
+
self._DeletionPermission = DeletionPermission
|
|
4747
|
+
|
|
4748
|
+
@property
|
|
4749
|
+
def IsAssignManager(self):
|
|
4750
|
+
return self._IsAssignManager
|
|
4751
|
+
|
|
4752
|
+
@IsAssignManager.setter
|
|
4753
|
+
def IsAssignManager(self, IsAssignManager):
|
|
4754
|
+
self._IsAssignManager = IsAssignManager
|
|
4755
|
+
|
|
4756
|
+
@property
|
|
4757
|
+
def IsAuthManager(self):
|
|
4758
|
+
return self._IsAuthManager
|
|
4759
|
+
|
|
4760
|
+
@IsAuthManager.setter
|
|
4761
|
+
def IsAuthManager(self, IsAuthManager):
|
|
4762
|
+
self._IsAuthManager = IsAuthManager
|
|
4763
|
+
|
|
4764
|
+
@property
|
|
4765
|
+
def IsShareManager(self):
|
|
4766
|
+
return self._IsShareManager
|
|
4767
|
+
|
|
4768
|
+
@IsShareManager.setter
|
|
4769
|
+
def IsShareManager(self, IsShareManager):
|
|
4770
|
+
self._IsShareManager = IsShareManager
|
|
4771
|
+
|
|
4772
|
+
@property
|
|
4773
|
+
def OperateProcess(self):
|
|
4774
|
+
return self._OperateProcess
|
|
4775
|
+
|
|
4776
|
+
@OperateProcess.setter
|
|
4777
|
+
def OperateProcess(self, OperateProcess):
|
|
4778
|
+
self._OperateProcess = OperateProcess
|
|
4779
|
+
|
|
4780
|
+
@property
|
|
4781
|
+
def BillingPermission(self):
|
|
4782
|
+
return self._BillingPermission
|
|
4783
|
+
|
|
4784
|
+
@BillingPermission.setter
|
|
4785
|
+
def BillingPermission(self, BillingPermission):
|
|
4786
|
+
self._BillingPermission = BillingPermission
|
|
4787
|
+
|
|
4788
|
+
@property
|
|
4789
|
+
def ExistResources(self):
|
|
4790
|
+
return self._ExistResources
|
|
4791
|
+
|
|
4792
|
+
@ExistResources.setter
|
|
4793
|
+
def ExistResources(self, ExistResources):
|
|
4794
|
+
self._ExistResources = ExistResources
|
|
4795
|
+
|
|
4796
|
+
@property
|
|
4797
|
+
def DetectFailedResources(self):
|
|
4798
|
+
return self._DetectFailedResources
|
|
4799
|
+
|
|
4800
|
+
@DetectFailedResources.setter
|
|
4801
|
+
def DetectFailedResources(self, DetectFailedResources):
|
|
4802
|
+
self._DetectFailedResources = DetectFailedResources
|
|
4803
|
+
|
|
4804
|
+
|
|
4805
|
+
def _deserialize(self, params):
|
|
4806
|
+
self._IsCreateMember = params.get("IsCreateMember")
|
|
4807
|
+
self._DeletionPermission = params.get("DeletionPermission")
|
|
4808
|
+
self._IsAssignManager = params.get("IsAssignManager")
|
|
4809
|
+
self._IsAuthManager = params.get("IsAuthManager")
|
|
4810
|
+
self._IsShareManager = params.get("IsShareManager")
|
|
4811
|
+
self._OperateProcess = params.get("OperateProcess")
|
|
4812
|
+
self._BillingPermission = params.get("BillingPermission")
|
|
4813
|
+
self._ExistResources = params.get("ExistResources")
|
|
4814
|
+
self._DetectFailedResources = params.get("DetectFailedResources")
|
|
4815
|
+
memeber_set = set(params.keys())
|
|
4816
|
+
for name, value in vars(self).items():
|
|
4817
|
+
property_name = name[1:]
|
|
4818
|
+
if property_name in memeber_set:
|
|
4819
|
+
memeber_set.remove(property_name)
|
|
4820
|
+
if len(memeber_set) > 0:
|
|
4821
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4822
|
+
|
|
4823
|
+
|
|
4824
|
+
|
|
4603
4825
|
class OrgFinancialByMonth(AbstractModel):
|
|
4604
4826
|
"""按月获取组织财务信息
|
|
4605
4827
|
|
|
@@ -187,6 +187,29 @@ class OrganizationClient(AbstractClient):
|
|
|
187
187
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
188
188
|
|
|
189
189
|
|
|
190
|
+
def CheckAccountDelete(self, request):
|
|
191
|
+
"""成员账号删除检查
|
|
192
|
+
|
|
193
|
+
:param request: Request instance for CheckAccountDelete.
|
|
194
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.CheckAccountDeleteRequest`
|
|
195
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.CheckAccountDeleteResponse`
|
|
196
|
+
|
|
197
|
+
"""
|
|
198
|
+
try:
|
|
199
|
+
params = request._serialize()
|
|
200
|
+
headers = request.headers
|
|
201
|
+
body = self.call("CheckAccountDelete", params, headers=headers)
|
|
202
|
+
response = json.loads(body)
|
|
203
|
+
model = models.CheckAccountDeleteResponse()
|
|
204
|
+
model._deserialize(response["Response"])
|
|
205
|
+
return model
|
|
206
|
+
except Exception as e:
|
|
207
|
+
if isinstance(e, TencentCloudSDKException):
|
|
208
|
+
raise
|
|
209
|
+
else:
|
|
210
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
211
|
+
|
|
212
|
+
|
|
190
213
|
def CreateOrganization(self, request):
|
|
191
214
|
"""创建企业组织
|
|
192
215
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1098
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1092
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|