tencentcloud-sdk-python-organization 3.0.1181__tar.gz → 3.0.1208__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.1181 → tencentcloud-sdk-python-organization-3.0.1208}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-organization-3.0.1181 → tencentcloud-sdk-python-organization-3.0.1208}/setup.py +1 -1
- {tencentcloud-sdk-python-organization-3.0.1181 → tencentcloud-sdk-python-organization-3.0.1208}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-organization-3.0.1181 → tencentcloud-sdk-python-organization-3.0.1208}/tencentcloud/organization/v20210331/errorcodes.py +12 -0
- {tencentcloud-sdk-python-organization-3.0.1181 → tencentcloud-sdk-python-organization-3.0.1208}/tencentcloud/organization/v20210331/models.py +821 -33
- {tencentcloud-sdk-python-organization-3.0.1181 → tencentcloud-sdk-python-organization-3.0.1208}/tencentcloud/organization/v20210331/organization_client.py +93 -1
- {tencentcloud-sdk-python-organization-3.0.1181 → tencentcloud-sdk-python-organization-3.0.1208}/tencentcloud_sdk_python_organization.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-organization-3.0.1208/tencentcloud_sdk_python_organization.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-organization-3.0.1181/tencentcloud_sdk_python_organization.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-organization-3.0.1181 → tencentcloud-sdk-python-organization-3.0.1208}/README.rst +0 -0
- {tencentcloud-sdk-python-organization-3.0.1181 → tencentcloud-sdk-python-organization-3.0.1208}/setup.cfg +0 -0
- {tencentcloud-sdk-python-organization-3.0.1181 → tencentcloud-sdk-python-organization-3.0.1208}/tencentcloud/organization/__init__.py +0 -0
- {tencentcloud-sdk-python-organization-3.0.1181 → tencentcloud-sdk-python-organization-3.0.1208}/tencentcloud/organization/v20181225/__init__.py +0 -0
- {tencentcloud-sdk-python-organization-3.0.1181 → tencentcloud-sdk-python-organization-3.0.1208}/tencentcloud/organization/v20181225/errorcodes.py +0 -0
- {tencentcloud-sdk-python-organization-3.0.1181 → tencentcloud-sdk-python-organization-3.0.1208}/tencentcloud/organization/v20181225/models.py +0 -0
- {tencentcloud-sdk-python-organization-3.0.1181 → tencentcloud-sdk-python-organization-3.0.1208}/tencentcloud/organization/v20181225/organization_client.py +0 -0
- {tencentcloud-sdk-python-organization-3.0.1181 → tencentcloud-sdk-python-organization-3.0.1208}/tencentcloud/organization/v20210331/__init__.py +0 -0
- {tencentcloud-sdk-python-organization-3.0.1181 → tencentcloud-sdk-python-organization-3.0.1208}/tencentcloud_sdk_python_organization.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-organization-3.0.1181 → tencentcloud-sdk-python-organization-3.0.1208}/tencentcloud_sdk_python_organization.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-organization-3.0.1181 → tencentcloud-sdk-python-organization-3.0.1208}/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.1208"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Organization SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -68,6 +68,9 @@ FAILEDOPERATION_CREATEROLE = 'FailedOperation.CreateRole'
|
|
|
68
68
|
# 删除授权策略异常。
|
|
69
69
|
FAILEDOPERATION_DELETEPOLICY = 'FailedOperation.DeletePolicy'
|
|
70
70
|
|
|
71
|
+
# 查询集团服务使用状态出错。
|
|
72
|
+
FAILEDOPERATION_DESCRIBEORGSERVICEUSAGESTATUSERR = 'FailedOperation.DescribeOrgServiceUsageStatusErr'
|
|
73
|
+
|
|
71
74
|
# 不能退出自己创建的企业组织。
|
|
72
75
|
FAILEDOPERATION_DISABLEQUITSELFCREATEDORGANIZATION = 'FailedOperation.DisableQuitSelfCreatedOrganization'
|
|
73
76
|
|
|
@@ -179,6 +182,9 @@ FAILEDOPERATION_ORGANIZATIONPOLICYISNOTDISABLED = 'FailedOperation.OrganizationP
|
|
|
179
182
|
# 集团策略不是启用状态。
|
|
180
183
|
FAILEDOPERATION_ORGANIZATIONPOLICYISNOTENABLED = 'FailedOperation.OrganizationPolicyIsNotEnabled'
|
|
181
184
|
|
|
185
|
+
# 集团服务委派在使用中。
|
|
186
|
+
FAILEDOPERATION_ORGANIZATIONSERVICEASSIGNISUSE = 'FailedOperation.OrganizationServiceAssignIsUse'
|
|
187
|
+
|
|
182
188
|
# 调用经销系统报错。
|
|
183
189
|
FAILEDOPERATION_PARTNERMANAGEMENTERR = 'FailedOperation.PartnerManagementErr'
|
|
184
190
|
|
|
@@ -377,6 +383,9 @@ INVALIDPARAMETERVALUE_POLICYCONTENTINVALID = 'InvalidParameterValue.PolicyConten
|
|
|
377
383
|
# 创建成员超过上限。
|
|
378
384
|
LIMITEXCEEDED_CREATEMEMBEROVERLIMIT = 'LimitExceeded.CreateMemberOverLimit'
|
|
379
385
|
|
|
386
|
+
# 服务委派管理员超过上限。
|
|
387
|
+
LIMITEXCEEDED_CREATEORGSERVICEASSIGNOVERLIMIT = 'LimitExceeded.CreateOrgServiceAssignOverLimit'
|
|
388
|
+
|
|
380
389
|
# 配置邮箱超过当日上限。
|
|
381
390
|
LIMITEXCEEDED_EMAILBINDOVERLIMIT = 'LimitExceeded.EmailBindOverLimit'
|
|
382
391
|
|
|
@@ -583,3 +592,6 @@ UNSUPPORTEDOPERATION_PAYEREXISTACCOUNTLEVELDISCOUNTINHERIT = 'UnsupportedOperati
|
|
|
583
592
|
|
|
584
593
|
# 存在二级经销商子客,不支持代付费。
|
|
585
594
|
UNSUPPORTEDOPERATION_SECONDARYDISTRIBUTORSUBCLIENTEXISTED = 'UnsupportedOperation.SecondaryDistributorSubClientExisted'
|
|
595
|
+
|
|
596
|
+
# 不支持共享给其他组织成员。
|
|
597
|
+
UNSUPPORTEDOPERATION_SHARINGTOOTHERORGANIZATIONMEMBER = 'UnsupportedOperation.SharingToOtherOrganizationMember'
|
|
@@ -973,6 +973,112 @@ class CheckAccountDeleteResponse(AbstractModel):
|
|
|
973
973
|
self._RequestId = params.get("RequestId")
|
|
974
974
|
|
|
975
975
|
|
|
976
|
+
class CreateOrgServiceAssignRequest(AbstractModel):
|
|
977
|
+
"""CreateOrgServiceAssign请求参数结构体
|
|
978
|
+
|
|
979
|
+
"""
|
|
980
|
+
|
|
981
|
+
def __init__(self):
|
|
982
|
+
r"""
|
|
983
|
+
:param _ServiceId: 集团服务ID。可以通过[ListOrganizationService](https://cloud.tencent.com/document/product/850/109561)获取
|
|
984
|
+
:type ServiceId: int
|
|
985
|
+
:param _MemberUins: 委派管理员Uin列表。 最大长度20个
|
|
986
|
+
:type MemberUins: list of int
|
|
987
|
+
:param _ManagementScope: 委派管理员管理范围。 取值:1-全部成员 2-部分成员,默认值1
|
|
988
|
+
:type ManagementScope: int
|
|
989
|
+
:param _ManagementScopeUins: 管理的成员Uin列表。ManagementScope为2时该参数有效
|
|
990
|
+
:type ManagementScopeUins: list of int
|
|
991
|
+
:param _ManagementScopeNodeIds: 管理的部门ID列表。ManagementScope为2时该参数有效
|
|
992
|
+
:type ManagementScopeNodeIds: list of int
|
|
993
|
+
"""
|
|
994
|
+
self._ServiceId = None
|
|
995
|
+
self._MemberUins = None
|
|
996
|
+
self._ManagementScope = None
|
|
997
|
+
self._ManagementScopeUins = None
|
|
998
|
+
self._ManagementScopeNodeIds = None
|
|
999
|
+
|
|
1000
|
+
@property
|
|
1001
|
+
def ServiceId(self):
|
|
1002
|
+
return self._ServiceId
|
|
1003
|
+
|
|
1004
|
+
@ServiceId.setter
|
|
1005
|
+
def ServiceId(self, ServiceId):
|
|
1006
|
+
self._ServiceId = ServiceId
|
|
1007
|
+
|
|
1008
|
+
@property
|
|
1009
|
+
def MemberUins(self):
|
|
1010
|
+
return self._MemberUins
|
|
1011
|
+
|
|
1012
|
+
@MemberUins.setter
|
|
1013
|
+
def MemberUins(self, MemberUins):
|
|
1014
|
+
self._MemberUins = MemberUins
|
|
1015
|
+
|
|
1016
|
+
@property
|
|
1017
|
+
def ManagementScope(self):
|
|
1018
|
+
return self._ManagementScope
|
|
1019
|
+
|
|
1020
|
+
@ManagementScope.setter
|
|
1021
|
+
def ManagementScope(self, ManagementScope):
|
|
1022
|
+
self._ManagementScope = ManagementScope
|
|
1023
|
+
|
|
1024
|
+
@property
|
|
1025
|
+
def ManagementScopeUins(self):
|
|
1026
|
+
return self._ManagementScopeUins
|
|
1027
|
+
|
|
1028
|
+
@ManagementScopeUins.setter
|
|
1029
|
+
def ManagementScopeUins(self, ManagementScopeUins):
|
|
1030
|
+
self._ManagementScopeUins = ManagementScopeUins
|
|
1031
|
+
|
|
1032
|
+
@property
|
|
1033
|
+
def ManagementScopeNodeIds(self):
|
|
1034
|
+
return self._ManagementScopeNodeIds
|
|
1035
|
+
|
|
1036
|
+
@ManagementScopeNodeIds.setter
|
|
1037
|
+
def ManagementScopeNodeIds(self, ManagementScopeNodeIds):
|
|
1038
|
+
self._ManagementScopeNodeIds = ManagementScopeNodeIds
|
|
1039
|
+
|
|
1040
|
+
|
|
1041
|
+
def _deserialize(self, params):
|
|
1042
|
+
self._ServiceId = params.get("ServiceId")
|
|
1043
|
+
self._MemberUins = params.get("MemberUins")
|
|
1044
|
+
self._ManagementScope = params.get("ManagementScope")
|
|
1045
|
+
self._ManagementScopeUins = params.get("ManagementScopeUins")
|
|
1046
|
+
self._ManagementScopeNodeIds = params.get("ManagementScopeNodeIds")
|
|
1047
|
+
memeber_set = set(params.keys())
|
|
1048
|
+
for name, value in vars(self).items():
|
|
1049
|
+
property_name = name[1:]
|
|
1050
|
+
if property_name in memeber_set:
|
|
1051
|
+
memeber_set.remove(property_name)
|
|
1052
|
+
if len(memeber_set) > 0:
|
|
1053
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1054
|
+
|
|
1055
|
+
|
|
1056
|
+
|
|
1057
|
+
class CreateOrgServiceAssignResponse(AbstractModel):
|
|
1058
|
+
"""CreateOrgServiceAssign返回参数结构体
|
|
1059
|
+
|
|
1060
|
+
"""
|
|
1061
|
+
|
|
1062
|
+
def __init__(self):
|
|
1063
|
+
r"""
|
|
1064
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1065
|
+
:type RequestId: str
|
|
1066
|
+
"""
|
|
1067
|
+
self._RequestId = None
|
|
1068
|
+
|
|
1069
|
+
@property
|
|
1070
|
+
def RequestId(self):
|
|
1071
|
+
return self._RequestId
|
|
1072
|
+
|
|
1073
|
+
@RequestId.setter
|
|
1074
|
+
def RequestId(self, RequestId):
|
|
1075
|
+
self._RequestId = RequestId
|
|
1076
|
+
|
|
1077
|
+
|
|
1078
|
+
def _deserialize(self, params):
|
|
1079
|
+
self._RequestId = params.get("RequestId")
|
|
1080
|
+
|
|
1081
|
+
|
|
976
1082
|
class CreateOrganizationIdentityRequest(AbstractModel):
|
|
977
1083
|
"""CreateOrganizationIdentity请求参数结构体
|
|
978
1084
|
|
|
@@ -1756,6 +1862,76 @@ class DeleteAccountResponse(AbstractModel):
|
|
|
1756
1862
|
self._RequestId = params.get("RequestId")
|
|
1757
1863
|
|
|
1758
1864
|
|
|
1865
|
+
class DeleteOrgServiceAssignRequest(AbstractModel):
|
|
1866
|
+
"""DeleteOrgServiceAssign请求参数结构体
|
|
1867
|
+
|
|
1868
|
+
"""
|
|
1869
|
+
|
|
1870
|
+
def __init__(self):
|
|
1871
|
+
r"""
|
|
1872
|
+
:param _ServiceId: 集团服务ID。可以通过[ListOrganizationService](https://cloud.tencent.com/document/product/850/109561)获取
|
|
1873
|
+
:type ServiceId: int
|
|
1874
|
+
:param _MemberUin: 委派管理员Uin。
|
|
1875
|
+
:type MemberUin: int
|
|
1876
|
+
"""
|
|
1877
|
+
self._ServiceId = None
|
|
1878
|
+
self._MemberUin = None
|
|
1879
|
+
|
|
1880
|
+
@property
|
|
1881
|
+
def ServiceId(self):
|
|
1882
|
+
return self._ServiceId
|
|
1883
|
+
|
|
1884
|
+
@ServiceId.setter
|
|
1885
|
+
def ServiceId(self, ServiceId):
|
|
1886
|
+
self._ServiceId = ServiceId
|
|
1887
|
+
|
|
1888
|
+
@property
|
|
1889
|
+
def MemberUin(self):
|
|
1890
|
+
return self._MemberUin
|
|
1891
|
+
|
|
1892
|
+
@MemberUin.setter
|
|
1893
|
+
def MemberUin(self, MemberUin):
|
|
1894
|
+
self._MemberUin = MemberUin
|
|
1895
|
+
|
|
1896
|
+
|
|
1897
|
+
def _deserialize(self, params):
|
|
1898
|
+
self._ServiceId = params.get("ServiceId")
|
|
1899
|
+
self._MemberUin = params.get("MemberUin")
|
|
1900
|
+
memeber_set = set(params.keys())
|
|
1901
|
+
for name, value in vars(self).items():
|
|
1902
|
+
property_name = name[1:]
|
|
1903
|
+
if property_name in memeber_set:
|
|
1904
|
+
memeber_set.remove(property_name)
|
|
1905
|
+
if len(memeber_set) > 0:
|
|
1906
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1907
|
+
|
|
1908
|
+
|
|
1909
|
+
|
|
1910
|
+
class DeleteOrgServiceAssignResponse(AbstractModel):
|
|
1911
|
+
"""DeleteOrgServiceAssign返回参数结构体
|
|
1912
|
+
|
|
1913
|
+
"""
|
|
1914
|
+
|
|
1915
|
+
def __init__(self):
|
|
1916
|
+
r"""
|
|
1917
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1918
|
+
:type RequestId: str
|
|
1919
|
+
"""
|
|
1920
|
+
self._RequestId = None
|
|
1921
|
+
|
|
1922
|
+
@property
|
|
1923
|
+
def RequestId(self):
|
|
1924
|
+
return self._RequestId
|
|
1925
|
+
|
|
1926
|
+
@RequestId.setter
|
|
1927
|
+
def RequestId(self, RequestId):
|
|
1928
|
+
self._RequestId = RequestId
|
|
1929
|
+
|
|
1930
|
+
|
|
1931
|
+
def _deserialize(self, params):
|
|
1932
|
+
self._RequestId = params.get("RequestId")
|
|
1933
|
+
|
|
1934
|
+
|
|
1759
1935
|
class DeleteOrganizationIdentityRequest(AbstractModel):
|
|
1760
1936
|
"""DeleteOrganizationIdentity请求参数结构体
|
|
1761
1937
|
|
|
@@ -5335,6 +5511,119 @@ class ListNonCompliantResourceResponse(AbstractModel):
|
|
|
5335
5511
|
self._RequestId = params.get("RequestId")
|
|
5336
5512
|
|
|
5337
5513
|
|
|
5514
|
+
class ListOrgServiceAssignMemberRequest(AbstractModel):
|
|
5515
|
+
"""ListOrgServiceAssignMember请求参数结构体
|
|
5516
|
+
|
|
5517
|
+
"""
|
|
5518
|
+
|
|
5519
|
+
def __init__(self):
|
|
5520
|
+
r"""
|
|
5521
|
+
:param _Offset: 偏移量。取值是limit的整数倍,默认值 : 0
|
|
5522
|
+
:type Offset: int
|
|
5523
|
+
:param _Limit: 限制数目。取值范围:1~50,默认值:10
|
|
5524
|
+
:type Limit: int
|
|
5525
|
+
:param _ServiceId: 集团服务ID。可以通过[ListOrganizationService](https://cloud.tencent.com/document/product/850/109561)获取
|
|
5526
|
+
:type ServiceId: int
|
|
5527
|
+
"""
|
|
5528
|
+
self._Offset = None
|
|
5529
|
+
self._Limit = None
|
|
5530
|
+
self._ServiceId = None
|
|
5531
|
+
|
|
5532
|
+
@property
|
|
5533
|
+
def Offset(self):
|
|
5534
|
+
return self._Offset
|
|
5535
|
+
|
|
5536
|
+
@Offset.setter
|
|
5537
|
+
def Offset(self, Offset):
|
|
5538
|
+
self._Offset = Offset
|
|
5539
|
+
|
|
5540
|
+
@property
|
|
5541
|
+
def Limit(self):
|
|
5542
|
+
return self._Limit
|
|
5543
|
+
|
|
5544
|
+
@Limit.setter
|
|
5545
|
+
def Limit(self, Limit):
|
|
5546
|
+
self._Limit = Limit
|
|
5547
|
+
|
|
5548
|
+
@property
|
|
5549
|
+
def ServiceId(self):
|
|
5550
|
+
return self._ServiceId
|
|
5551
|
+
|
|
5552
|
+
@ServiceId.setter
|
|
5553
|
+
def ServiceId(self, ServiceId):
|
|
5554
|
+
self._ServiceId = ServiceId
|
|
5555
|
+
|
|
5556
|
+
|
|
5557
|
+
def _deserialize(self, params):
|
|
5558
|
+
self._Offset = params.get("Offset")
|
|
5559
|
+
self._Limit = params.get("Limit")
|
|
5560
|
+
self._ServiceId = params.get("ServiceId")
|
|
5561
|
+
memeber_set = set(params.keys())
|
|
5562
|
+
for name, value in vars(self).items():
|
|
5563
|
+
property_name = name[1:]
|
|
5564
|
+
if property_name in memeber_set:
|
|
5565
|
+
memeber_set.remove(property_name)
|
|
5566
|
+
if len(memeber_set) > 0:
|
|
5567
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5568
|
+
|
|
5569
|
+
|
|
5570
|
+
|
|
5571
|
+
class ListOrgServiceAssignMemberResponse(AbstractModel):
|
|
5572
|
+
"""ListOrgServiceAssignMember返回参数结构体
|
|
5573
|
+
|
|
5574
|
+
"""
|
|
5575
|
+
|
|
5576
|
+
def __init__(self):
|
|
5577
|
+
r"""
|
|
5578
|
+
:param _Total: 总数。
|
|
5579
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5580
|
+
:type Total: int
|
|
5581
|
+
:param _Items: 委派管理员列表。
|
|
5582
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5583
|
+
:type Items: list of OrganizationServiceAssignMember
|
|
5584
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5585
|
+
:type RequestId: str
|
|
5586
|
+
"""
|
|
5587
|
+
self._Total = None
|
|
5588
|
+
self._Items = None
|
|
5589
|
+
self._RequestId = None
|
|
5590
|
+
|
|
5591
|
+
@property
|
|
5592
|
+
def Total(self):
|
|
5593
|
+
return self._Total
|
|
5594
|
+
|
|
5595
|
+
@Total.setter
|
|
5596
|
+
def Total(self, Total):
|
|
5597
|
+
self._Total = Total
|
|
5598
|
+
|
|
5599
|
+
@property
|
|
5600
|
+
def Items(self):
|
|
5601
|
+
return self._Items
|
|
5602
|
+
|
|
5603
|
+
@Items.setter
|
|
5604
|
+
def Items(self, Items):
|
|
5605
|
+
self._Items = Items
|
|
5606
|
+
|
|
5607
|
+
@property
|
|
5608
|
+
def RequestId(self):
|
|
5609
|
+
return self._RequestId
|
|
5610
|
+
|
|
5611
|
+
@RequestId.setter
|
|
5612
|
+
def RequestId(self, RequestId):
|
|
5613
|
+
self._RequestId = RequestId
|
|
5614
|
+
|
|
5615
|
+
|
|
5616
|
+
def _deserialize(self, params):
|
|
5617
|
+
self._Total = params.get("Total")
|
|
5618
|
+
if params.get("Items") is not None:
|
|
5619
|
+
self._Items = []
|
|
5620
|
+
for item in params.get("Items"):
|
|
5621
|
+
obj = OrganizationServiceAssignMember()
|
|
5622
|
+
obj._deserialize(item)
|
|
5623
|
+
self._Items.append(obj)
|
|
5624
|
+
self._RequestId = params.get("RequestId")
|
|
5625
|
+
|
|
5626
|
+
|
|
5338
5627
|
class ListOrganizationIdentityRequest(AbstractModel):
|
|
5339
5628
|
"""ListOrganizationIdentity请求参数结构体
|
|
5340
5629
|
|
|
@@ -5472,45 +5761,158 @@ class ListOrganizationIdentityResponse(AbstractModel):
|
|
|
5472
5761
|
self._RequestId = params.get("RequestId")
|
|
5473
5762
|
|
|
5474
5763
|
|
|
5475
|
-
class
|
|
5476
|
-
"""
|
|
5764
|
+
class ListOrganizationServiceRequest(AbstractModel):
|
|
5765
|
+
"""ListOrganizationService请求参数结构体
|
|
5477
5766
|
|
|
5478
5767
|
"""
|
|
5479
5768
|
|
|
5480
5769
|
def __init__(self):
|
|
5481
5770
|
r"""
|
|
5482
|
-
:param
|
|
5483
|
-
:type
|
|
5484
|
-
:param
|
|
5485
|
-
:type
|
|
5486
|
-
:param
|
|
5487
|
-
|
|
5488
|
-
:type Remark: str
|
|
5489
|
-
:param _Uin: 关联的账号或节点
|
|
5490
|
-
:type Uin: int
|
|
5491
|
-
:param _Type: 关联类型 1-节点 2-用户
|
|
5492
|
-
:type Type: int
|
|
5493
|
-
:param _AddTime: 策略创建时间
|
|
5494
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5495
|
-
:type AddTime: str
|
|
5496
|
-
:param _UpdateTime: 策略更新时间
|
|
5497
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5498
|
-
:type UpdateTime: str
|
|
5499
|
-
:param _Name: 部门名称
|
|
5500
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5501
|
-
:type Name: str
|
|
5502
|
-
:param _AttachTime: 策略绑定时间
|
|
5503
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5504
|
-
:type AttachTime: str
|
|
5771
|
+
:param _Offset: 偏移量。取值是limit的整数倍,默认值 : 0
|
|
5772
|
+
:type Offset: int
|
|
5773
|
+
:param _Limit: 限制数目。取值范围:1~50,默认值:10
|
|
5774
|
+
:type Limit: int
|
|
5775
|
+
:param _SearchKey: 名称搜索关键字。
|
|
5776
|
+
:type SearchKey: str
|
|
5505
5777
|
"""
|
|
5506
|
-
self.
|
|
5507
|
-
self.
|
|
5508
|
-
self.
|
|
5509
|
-
|
|
5510
|
-
|
|
5511
|
-
|
|
5512
|
-
self.
|
|
5513
|
-
|
|
5778
|
+
self._Offset = None
|
|
5779
|
+
self._Limit = None
|
|
5780
|
+
self._SearchKey = None
|
|
5781
|
+
|
|
5782
|
+
@property
|
|
5783
|
+
def Offset(self):
|
|
5784
|
+
return self._Offset
|
|
5785
|
+
|
|
5786
|
+
@Offset.setter
|
|
5787
|
+
def Offset(self, Offset):
|
|
5788
|
+
self._Offset = Offset
|
|
5789
|
+
|
|
5790
|
+
@property
|
|
5791
|
+
def Limit(self):
|
|
5792
|
+
return self._Limit
|
|
5793
|
+
|
|
5794
|
+
@Limit.setter
|
|
5795
|
+
def Limit(self, Limit):
|
|
5796
|
+
self._Limit = Limit
|
|
5797
|
+
|
|
5798
|
+
@property
|
|
5799
|
+
def SearchKey(self):
|
|
5800
|
+
return self._SearchKey
|
|
5801
|
+
|
|
5802
|
+
@SearchKey.setter
|
|
5803
|
+
def SearchKey(self, SearchKey):
|
|
5804
|
+
self._SearchKey = SearchKey
|
|
5805
|
+
|
|
5806
|
+
|
|
5807
|
+
def _deserialize(self, params):
|
|
5808
|
+
self._Offset = params.get("Offset")
|
|
5809
|
+
self._Limit = params.get("Limit")
|
|
5810
|
+
self._SearchKey = params.get("SearchKey")
|
|
5811
|
+
memeber_set = set(params.keys())
|
|
5812
|
+
for name, value in vars(self).items():
|
|
5813
|
+
property_name = name[1:]
|
|
5814
|
+
if property_name in memeber_set:
|
|
5815
|
+
memeber_set.remove(property_name)
|
|
5816
|
+
if len(memeber_set) > 0:
|
|
5817
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5818
|
+
|
|
5819
|
+
|
|
5820
|
+
|
|
5821
|
+
class ListOrganizationServiceResponse(AbstractModel):
|
|
5822
|
+
"""ListOrganizationService返回参数结构体
|
|
5823
|
+
|
|
5824
|
+
"""
|
|
5825
|
+
|
|
5826
|
+
def __init__(self):
|
|
5827
|
+
r"""
|
|
5828
|
+
:param _Total: 总数。
|
|
5829
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5830
|
+
:type Total: int
|
|
5831
|
+
:param _Items: 集团服务列表。
|
|
5832
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5833
|
+
:type Items: list of OrganizationServiceAssign
|
|
5834
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5835
|
+
:type RequestId: str
|
|
5836
|
+
"""
|
|
5837
|
+
self._Total = None
|
|
5838
|
+
self._Items = None
|
|
5839
|
+
self._RequestId = None
|
|
5840
|
+
|
|
5841
|
+
@property
|
|
5842
|
+
def Total(self):
|
|
5843
|
+
return self._Total
|
|
5844
|
+
|
|
5845
|
+
@Total.setter
|
|
5846
|
+
def Total(self, Total):
|
|
5847
|
+
self._Total = Total
|
|
5848
|
+
|
|
5849
|
+
@property
|
|
5850
|
+
def Items(self):
|
|
5851
|
+
return self._Items
|
|
5852
|
+
|
|
5853
|
+
@Items.setter
|
|
5854
|
+
def Items(self, Items):
|
|
5855
|
+
self._Items = Items
|
|
5856
|
+
|
|
5857
|
+
@property
|
|
5858
|
+
def RequestId(self):
|
|
5859
|
+
return self._RequestId
|
|
5860
|
+
|
|
5861
|
+
@RequestId.setter
|
|
5862
|
+
def RequestId(self, RequestId):
|
|
5863
|
+
self._RequestId = RequestId
|
|
5864
|
+
|
|
5865
|
+
|
|
5866
|
+
def _deserialize(self, params):
|
|
5867
|
+
self._Total = params.get("Total")
|
|
5868
|
+
if params.get("Items") is not None:
|
|
5869
|
+
self._Items = []
|
|
5870
|
+
for item in params.get("Items"):
|
|
5871
|
+
obj = OrganizationServiceAssign()
|
|
5872
|
+
obj._deserialize(item)
|
|
5873
|
+
self._Items.append(obj)
|
|
5874
|
+
self._RequestId = params.get("RequestId")
|
|
5875
|
+
|
|
5876
|
+
|
|
5877
|
+
class ListPoliciesForTarget(AbstractModel):
|
|
5878
|
+
"""查询目标关联的SCP策略列表
|
|
5879
|
+
|
|
5880
|
+
"""
|
|
5881
|
+
|
|
5882
|
+
def __init__(self):
|
|
5883
|
+
r"""
|
|
5884
|
+
:param _StrategyId: 策略Id
|
|
5885
|
+
:type StrategyId: int
|
|
5886
|
+
:param _StrategyName: 策略名称
|
|
5887
|
+
:type StrategyName: str
|
|
5888
|
+
:param _Remark: 备注信息
|
|
5889
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5890
|
+
:type Remark: str
|
|
5891
|
+
:param _Uin: 关联的账号或节点
|
|
5892
|
+
:type Uin: int
|
|
5893
|
+
:param _Type: 关联类型 1-节点 2-用户
|
|
5894
|
+
:type Type: int
|
|
5895
|
+
:param _AddTime: 策略创建时间
|
|
5896
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5897
|
+
:type AddTime: str
|
|
5898
|
+
:param _UpdateTime: 策略更新时间
|
|
5899
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5900
|
+
:type UpdateTime: str
|
|
5901
|
+
:param _Name: 部门名称
|
|
5902
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5903
|
+
:type Name: str
|
|
5904
|
+
:param _AttachTime: 策略绑定时间
|
|
5905
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5906
|
+
:type AttachTime: str
|
|
5907
|
+
"""
|
|
5908
|
+
self._StrategyId = None
|
|
5909
|
+
self._StrategyName = None
|
|
5910
|
+
self._Remark = None
|
|
5911
|
+
self._Uin = None
|
|
5912
|
+
self._Type = None
|
|
5913
|
+
self._AddTime = None
|
|
5914
|
+
self._UpdateTime = None
|
|
5915
|
+
self._Name = None
|
|
5514
5916
|
self._AttachTime = None
|
|
5515
5917
|
|
|
5516
5918
|
@property
|
|
@@ -6515,6 +6917,53 @@ class MoveOrganizationNodeMembersResponse(AbstractModel):
|
|
|
6515
6917
|
self._RequestId = params.get("RequestId")
|
|
6516
6918
|
|
|
6517
6919
|
|
|
6920
|
+
class NodeMainInfo(AbstractModel):
|
|
6921
|
+
"""部门主要信息
|
|
6922
|
+
|
|
6923
|
+
"""
|
|
6924
|
+
|
|
6925
|
+
def __init__(self):
|
|
6926
|
+
r"""
|
|
6927
|
+
:param _NodeId: 部门ID
|
|
6928
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6929
|
+
:type NodeId: int
|
|
6930
|
+
:param _NodeName: 部门名称
|
|
6931
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6932
|
+
:type NodeName: str
|
|
6933
|
+
"""
|
|
6934
|
+
self._NodeId = None
|
|
6935
|
+
self._NodeName = None
|
|
6936
|
+
|
|
6937
|
+
@property
|
|
6938
|
+
def NodeId(self):
|
|
6939
|
+
return self._NodeId
|
|
6940
|
+
|
|
6941
|
+
@NodeId.setter
|
|
6942
|
+
def NodeId(self, NodeId):
|
|
6943
|
+
self._NodeId = NodeId
|
|
6944
|
+
|
|
6945
|
+
@property
|
|
6946
|
+
def NodeName(self):
|
|
6947
|
+
return self._NodeName
|
|
6948
|
+
|
|
6949
|
+
@NodeName.setter
|
|
6950
|
+
def NodeName(self, NodeName):
|
|
6951
|
+
self._NodeName = NodeName
|
|
6952
|
+
|
|
6953
|
+
|
|
6954
|
+
def _deserialize(self, params):
|
|
6955
|
+
self._NodeId = params.get("NodeId")
|
|
6956
|
+
self._NodeName = params.get("NodeName")
|
|
6957
|
+
memeber_set = set(params.keys())
|
|
6958
|
+
for name, value in vars(self).items():
|
|
6959
|
+
property_name = name[1:]
|
|
6960
|
+
if property_name in memeber_set:
|
|
6961
|
+
memeber_set.remove(property_name)
|
|
6962
|
+
if len(memeber_set) > 0:
|
|
6963
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6964
|
+
|
|
6965
|
+
|
|
6966
|
+
|
|
6518
6967
|
class NotAllowReason(AbstractModel):
|
|
6519
6968
|
"""不允许删除的原因。
|
|
6520
6969
|
|
|
@@ -7786,6 +8235,345 @@ class OrgProductFinancial(AbstractModel):
|
|
|
7786
8235
|
|
|
7787
8236
|
|
|
7788
8237
|
|
|
8238
|
+
class OrganizationServiceAssign(AbstractModel):
|
|
8239
|
+
"""集团服务设置
|
|
8240
|
+
|
|
8241
|
+
"""
|
|
8242
|
+
|
|
8243
|
+
def __init__(self):
|
|
8244
|
+
r"""
|
|
8245
|
+
:param _ServiceId: 集团服务ID。
|
|
8246
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8247
|
+
:type ServiceId: int
|
|
8248
|
+
:param _ProductName: 集团服务产品名称。
|
|
8249
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8250
|
+
:type ProductName: str
|
|
8251
|
+
:param _IsAssign: 是否支持委派。取值: 1-是 2-否
|
|
8252
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8253
|
+
:type IsAssign: int
|
|
8254
|
+
:param _Description: 集团服务描述。
|
|
8255
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8256
|
+
:type Description: str
|
|
8257
|
+
:param _MemberNum: 当前委派管理员数。
|
|
8258
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8259
|
+
:type MemberNum: str
|
|
8260
|
+
:param _Document: 帮助文档。
|
|
8261
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8262
|
+
:type Document: str
|
|
8263
|
+
:param _ConsoleUrl: 集团服务产品控制台路径。
|
|
8264
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8265
|
+
:type ConsoleUrl: str
|
|
8266
|
+
:param _IsUsageStatus: 是否接入使用状态。取值: 1-是
|
|
8267
|
+
2-否
|
|
8268
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8269
|
+
:type IsUsageStatus: int
|
|
8270
|
+
:param _CanAssignCount: 委派管理员数量限制。
|
|
8271
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8272
|
+
:type CanAssignCount: int
|
|
8273
|
+
:param _Product: 集团服务产品标识。
|
|
8274
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8275
|
+
:type Product: str
|
|
8276
|
+
:param _ServiceGrant: 是否支持集团服务授权。取值 1-是、2-否
|
|
8277
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8278
|
+
:type ServiceGrant: int
|
|
8279
|
+
:param _GrantStatus: 集团服务授权启用状态。ServiceGrant值为1时该字段有效 ,取值:Enabled-开启 Disabled-关闭
|
|
8280
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8281
|
+
:type GrantStatus: str
|
|
8282
|
+
:param _IsSetManagementScope: 是否支持设置委派管理范围。取值: 1-是 2-否
|
|
8283
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8284
|
+
:type IsSetManagementScope: int
|
|
8285
|
+
"""
|
|
8286
|
+
self._ServiceId = None
|
|
8287
|
+
self._ProductName = None
|
|
8288
|
+
self._IsAssign = None
|
|
8289
|
+
self._Description = None
|
|
8290
|
+
self._MemberNum = None
|
|
8291
|
+
self._Document = None
|
|
8292
|
+
self._ConsoleUrl = None
|
|
8293
|
+
self._IsUsageStatus = None
|
|
8294
|
+
self._CanAssignCount = None
|
|
8295
|
+
self._Product = None
|
|
8296
|
+
self._ServiceGrant = None
|
|
8297
|
+
self._GrantStatus = None
|
|
8298
|
+
self._IsSetManagementScope = None
|
|
8299
|
+
|
|
8300
|
+
@property
|
|
8301
|
+
def ServiceId(self):
|
|
8302
|
+
return self._ServiceId
|
|
8303
|
+
|
|
8304
|
+
@ServiceId.setter
|
|
8305
|
+
def ServiceId(self, ServiceId):
|
|
8306
|
+
self._ServiceId = ServiceId
|
|
8307
|
+
|
|
8308
|
+
@property
|
|
8309
|
+
def ProductName(self):
|
|
8310
|
+
return self._ProductName
|
|
8311
|
+
|
|
8312
|
+
@ProductName.setter
|
|
8313
|
+
def ProductName(self, ProductName):
|
|
8314
|
+
self._ProductName = ProductName
|
|
8315
|
+
|
|
8316
|
+
@property
|
|
8317
|
+
def IsAssign(self):
|
|
8318
|
+
return self._IsAssign
|
|
8319
|
+
|
|
8320
|
+
@IsAssign.setter
|
|
8321
|
+
def IsAssign(self, IsAssign):
|
|
8322
|
+
self._IsAssign = IsAssign
|
|
8323
|
+
|
|
8324
|
+
@property
|
|
8325
|
+
def Description(self):
|
|
8326
|
+
return self._Description
|
|
8327
|
+
|
|
8328
|
+
@Description.setter
|
|
8329
|
+
def Description(self, Description):
|
|
8330
|
+
self._Description = Description
|
|
8331
|
+
|
|
8332
|
+
@property
|
|
8333
|
+
def MemberNum(self):
|
|
8334
|
+
return self._MemberNum
|
|
8335
|
+
|
|
8336
|
+
@MemberNum.setter
|
|
8337
|
+
def MemberNum(self, MemberNum):
|
|
8338
|
+
self._MemberNum = MemberNum
|
|
8339
|
+
|
|
8340
|
+
@property
|
|
8341
|
+
def Document(self):
|
|
8342
|
+
return self._Document
|
|
8343
|
+
|
|
8344
|
+
@Document.setter
|
|
8345
|
+
def Document(self, Document):
|
|
8346
|
+
self._Document = Document
|
|
8347
|
+
|
|
8348
|
+
@property
|
|
8349
|
+
def ConsoleUrl(self):
|
|
8350
|
+
return self._ConsoleUrl
|
|
8351
|
+
|
|
8352
|
+
@ConsoleUrl.setter
|
|
8353
|
+
def ConsoleUrl(self, ConsoleUrl):
|
|
8354
|
+
self._ConsoleUrl = ConsoleUrl
|
|
8355
|
+
|
|
8356
|
+
@property
|
|
8357
|
+
def IsUsageStatus(self):
|
|
8358
|
+
return self._IsUsageStatus
|
|
8359
|
+
|
|
8360
|
+
@IsUsageStatus.setter
|
|
8361
|
+
def IsUsageStatus(self, IsUsageStatus):
|
|
8362
|
+
self._IsUsageStatus = IsUsageStatus
|
|
8363
|
+
|
|
8364
|
+
@property
|
|
8365
|
+
def CanAssignCount(self):
|
|
8366
|
+
return self._CanAssignCount
|
|
8367
|
+
|
|
8368
|
+
@CanAssignCount.setter
|
|
8369
|
+
def CanAssignCount(self, CanAssignCount):
|
|
8370
|
+
self._CanAssignCount = CanAssignCount
|
|
8371
|
+
|
|
8372
|
+
@property
|
|
8373
|
+
def Product(self):
|
|
8374
|
+
return self._Product
|
|
8375
|
+
|
|
8376
|
+
@Product.setter
|
|
8377
|
+
def Product(self, Product):
|
|
8378
|
+
self._Product = Product
|
|
8379
|
+
|
|
8380
|
+
@property
|
|
8381
|
+
def ServiceGrant(self):
|
|
8382
|
+
return self._ServiceGrant
|
|
8383
|
+
|
|
8384
|
+
@ServiceGrant.setter
|
|
8385
|
+
def ServiceGrant(self, ServiceGrant):
|
|
8386
|
+
self._ServiceGrant = ServiceGrant
|
|
8387
|
+
|
|
8388
|
+
@property
|
|
8389
|
+
def GrantStatus(self):
|
|
8390
|
+
return self._GrantStatus
|
|
8391
|
+
|
|
8392
|
+
@GrantStatus.setter
|
|
8393
|
+
def GrantStatus(self, GrantStatus):
|
|
8394
|
+
self._GrantStatus = GrantStatus
|
|
8395
|
+
|
|
8396
|
+
@property
|
|
8397
|
+
def IsSetManagementScope(self):
|
|
8398
|
+
return self._IsSetManagementScope
|
|
8399
|
+
|
|
8400
|
+
@IsSetManagementScope.setter
|
|
8401
|
+
def IsSetManagementScope(self, IsSetManagementScope):
|
|
8402
|
+
self._IsSetManagementScope = IsSetManagementScope
|
|
8403
|
+
|
|
8404
|
+
|
|
8405
|
+
def _deserialize(self, params):
|
|
8406
|
+
self._ServiceId = params.get("ServiceId")
|
|
8407
|
+
self._ProductName = params.get("ProductName")
|
|
8408
|
+
self._IsAssign = params.get("IsAssign")
|
|
8409
|
+
self._Description = params.get("Description")
|
|
8410
|
+
self._MemberNum = params.get("MemberNum")
|
|
8411
|
+
self._Document = params.get("Document")
|
|
8412
|
+
self._ConsoleUrl = params.get("ConsoleUrl")
|
|
8413
|
+
self._IsUsageStatus = params.get("IsUsageStatus")
|
|
8414
|
+
self._CanAssignCount = params.get("CanAssignCount")
|
|
8415
|
+
self._Product = params.get("Product")
|
|
8416
|
+
self._ServiceGrant = params.get("ServiceGrant")
|
|
8417
|
+
self._GrantStatus = params.get("GrantStatus")
|
|
8418
|
+
self._IsSetManagementScope = params.get("IsSetManagementScope")
|
|
8419
|
+
memeber_set = set(params.keys())
|
|
8420
|
+
for name, value in vars(self).items():
|
|
8421
|
+
property_name = name[1:]
|
|
8422
|
+
if property_name in memeber_set:
|
|
8423
|
+
memeber_set.remove(property_name)
|
|
8424
|
+
if len(memeber_set) > 0:
|
|
8425
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8426
|
+
|
|
8427
|
+
|
|
8428
|
+
|
|
8429
|
+
class OrganizationServiceAssignMember(AbstractModel):
|
|
8430
|
+
"""集团服务委派成员信息
|
|
8431
|
+
|
|
8432
|
+
"""
|
|
8433
|
+
|
|
8434
|
+
def __init__(self):
|
|
8435
|
+
r"""
|
|
8436
|
+
:param _ServiceId: 集团服务ID。
|
|
8437
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8438
|
+
:type ServiceId: int
|
|
8439
|
+
:param _ProductName: 集团服务产品名称。
|
|
8440
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8441
|
+
:type ProductName: str
|
|
8442
|
+
:param _MemberUin: 委派管理员Uin。
|
|
8443
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8444
|
+
:type MemberUin: int
|
|
8445
|
+
:param _MemberName: 委派管理员名称。
|
|
8446
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8447
|
+
:type MemberName: str
|
|
8448
|
+
:param _UsageStatus: 启用状态 。取值:0-服务无启用状态 1-已启用 2-未启用
|
|
8449
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8450
|
+
:type UsageStatus: int
|
|
8451
|
+
:param _CreateTime: 委派时间。
|
|
8452
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8453
|
+
:type CreateTime: str
|
|
8454
|
+
:param _ManagementScope: 委派管理员管理范围。取值: 1-全部成员 2-部分成员
|
|
8455
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8456
|
+
:type ManagementScope: int
|
|
8457
|
+
:param _ManagementScopeMembers: 管理的成员Uin列表。ManagementScope值为2时该参数有效
|
|
8458
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8459
|
+
:type ManagementScopeMembers: list of MemberMainInfo
|
|
8460
|
+
:param _ManagementScopeNodes: 管理的部门ID列表。ManagementScope值为2时该参数有效
|
|
8461
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8462
|
+
:type ManagementScopeNodes: list of NodeMainInfo
|
|
8463
|
+
"""
|
|
8464
|
+
self._ServiceId = None
|
|
8465
|
+
self._ProductName = None
|
|
8466
|
+
self._MemberUin = None
|
|
8467
|
+
self._MemberName = None
|
|
8468
|
+
self._UsageStatus = None
|
|
8469
|
+
self._CreateTime = None
|
|
8470
|
+
self._ManagementScope = None
|
|
8471
|
+
self._ManagementScopeMembers = None
|
|
8472
|
+
self._ManagementScopeNodes = None
|
|
8473
|
+
|
|
8474
|
+
@property
|
|
8475
|
+
def ServiceId(self):
|
|
8476
|
+
return self._ServiceId
|
|
8477
|
+
|
|
8478
|
+
@ServiceId.setter
|
|
8479
|
+
def ServiceId(self, ServiceId):
|
|
8480
|
+
self._ServiceId = ServiceId
|
|
8481
|
+
|
|
8482
|
+
@property
|
|
8483
|
+
def ProductName(self):
|
|
8484
|
+
return self._ProductName
|
|
8485
|
+
|
|
8486
|
+
@ProductName.setter
|
|
8487
|
+
def ProductName(self, ProductName):
|
|
8488
|
+
self._ProductName = ProductName
|
|
8489
|
+
|
|
8490
|
+
@property
|
|
8491
|
+
def MemberUin(self):
|
|
8492
|
+
return self._MemberUin
|
|
8493
|
+
|
|
8494
|
+
@MemberUin.setter
|
|
8495
|
+
def MemberUin(self, MemberUin):
|
|
8496
|
+
self._MemberUin = MemberUin
|
|
8497
|
+
|
|
8498
|
+
@property
|
|
8499
|
+
def MemberName(self):
|
|
8500
|
+
return self._MemberName
|
|
8501
|
+
|
|
8502
|
+
@MemberName.setter
|
|
8503
|
+
def MemberName(self, MemberName):
|
|
8504
|
+
self._MemberName = MemberName
|
|
8505
|
+
|
|
8506
|
+
@property
|
|
8507
|
+
def UsageStatus(self):
|
|
8508
|
+
return self._UsageStatus
|
|
8509
|
+
|
|
8510
|
+
@UsageStatus.setter
|
|
8511
|
+
def UsageStatus(self, UsageStatus):
|
|
8512
|
+
self._UsageStatus = UsageStatus
|
|
8513
|
+
|
|
8514
|
+
@property
|
|
8515
|
+
def CreateTime(self):
|
|
8516
|
+
return self._CreateTime
|
|
8517
|
+
|
|
8518
|
+
@CreateTime.setter
|
|
8519
|
+
def CreateTime(self, CreateTime):
|
|
8520
|
+
self._CreateTime = CreateTime
|
|
8521
|
+
|
|
8522
|
+
@property
|
|
8523
|
+
def ManagementScope(self):
|
|
8524
|
+
return self._ManagementScope
|
|
8525
|
+
|
|
8526
|
+
@ManagementScope.setter
|
|
8527
|
+
def ManagementScope(self, ManagementScope):
|
|
8528
|
+
self._ManagementScope = ManagementScope
|
|
8529
|
+
|
|
8530
|
+
@property
|
|
8531
|
+
def ManagementScopeMembers(self):
|
|
8532
|
+
return self._ManagementScopeMembers
|
|
8533
|
+
|
|
8534
|
+
@ManagementScopeMembers.setter
|
|
8535
|
+
def ManagementScopeMembers(self, ManagementScopeMembers):
|
|
8536
|
+
self._ManagementScopeMembers = ManagementScopeMembers
|
|
8537
|
+
|
|
8538
|
+
@property
|
|
8539
|
+
def ManagementScopeNodes(self):
|
|
8540
|
+
return self._ManagementScopeNodes
|
|
8541
|
+
|
|
8542
|
+
@ManagementScopeNodes.setter
|
|
8543
|
+
def ManagementScopeNodes(self, ManagementScopeNodes):
|
|
8544
|
+
self._ManagementScopeNodes = ManagementScopeNodes
|
|
8545
|
+
|
|
8546
|
+
|
|
8547
|
+
def _deserialize(self, params):
|
|
8548
|
+
self._ServiceId = params.get("ServiceId")
|
|
8549
|
+
self._ProductName = params.get("ProductName")
|
|
8550
|
+
self._MemberUin = params.get("MemberUin")
|
|
8551
|
+
self._MemberName = params.get("MemberName")
|
|
8552
|
+
self._UsageStatus = params.get("UsageStatus")
|
|
8553
|
+
self._CreateTime = params.get("CreateTime")
|
|
8554
|
+
self._ManagementScope = params.get("ManagementScope")
|
|
8555
|
+
if params.get("ManagementScopeMembers") is not None:
|
|
8556
|
+
self._ManagementScopeMembers = []
|
|
8557
|
+
for item in params.get("ManagementScopeMembers"):
|
|
8558
|
+
obj = MemberMainInfo()
|
|
8559
|
+
obj._deserialize(item)
|
|
8560
|
+
self._ManagementScopeMembers.append(obj)
|
|
8561
|
+
if params.get("ManagementScopeNodes") is not None:
|
|
8562
|
+
self._ManagementScopeNodes = []
|
|
8563
|
+
for item in params.get("ManagementScopeNodes"):
|
|
8564
|
+
obj = NodeMainInfo()
|
|
8565
|
+
obj._deserialize(item)
|
|
8566
|
+
self._ManagementScopeNodes.append(obj)
|
|
8567
|
+
memeber_set = set(params.keys())
|
|
8568
|
+
for name, value in vars(self).items():
|
|
8569
|
+
property_name = name[1:]
|
|
8570
|
+
if property_name in memeber_set:
|
|
8571
|
+
memeber_set.remove(property_name)
|
|
8572
|
+
if len(memeber_set) > 0:
|
|
8573
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8574
|
+
|
|
8575
|
+
|
|
8576
|
+
|
|
7789
8577
|
class ProductResource(AbstractModel):
|
|
7790
8578
|
"""产品资源
|
|
7791
8579
|
|
|
@@ -96,7 +96,7 @@ class OrganizationClient(AbstractClient):
|
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
def AddShareUnit(self, request):
|
|
99
|
-
"""
|
|
99
|
+
"""创建共享单元。
|
|
100
100
|
|
|
101
101
|
:param request: Request instance for AddShareUnit.
|
|
102
102
|
:type request: :class:`tencentcloud.organization.v20210331.models.AddShareUnitRequest`
|
|
@@ -256,6 +256,29 @@ class OrganizationClient(AbstractClient):
|
|
|
256
256
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
257
257
|
|
|
258
258
|
|
|
259
|
+
def CreateOrgServiceAssign(self, request):
|
|
260
|
+
"""添加集团服务委派管理员
|
|
261
|
+
|
|
262
|
+
:param request: Request instance for CreateOrgServiceAssign.
|
|
263
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.CreateOrgServiceAssignRequest`
|
|
264
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.CreateOrgServiceAssignResponse`
|
|
265
|
+
|
|
266
|
+
"""
|
|
267
|
+
try:
|
|
268
|
+
params = request._serialize()
|
|
269
|
+
headers = request.headers
|
|
270
|
+
body = self.call("CreateOrgServiceAssign", params, headers=headers)
|
|
271
|
+
response = json.loads(body)
|
|
272
|
+
model = models.CreateOrgServiceAssignResponse()
|
|
273
|
+
model._deserialize(response["Response"])
|
|
274
|
+
return model
|
|
275
|
+
except Exception as e:
|
|
276
|
+
if isinstance(e, TencentCloudSDKException):
|
|
277
|
+
raise
|
|
278
|
+
else:
|
|
279
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
280
|
+
|
|
281
|
+
|
|
259
282
|
def CreateOrganization(self, request):
|
|
260
283
|
"""创建企业组织
|
|
261
284
|
|
|
@@ -440,6 +463,29 @@ class OrganizationClient(AbstractClient):
|
|
|
440
463
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
441
464
|
|
|
442
465
|
|
|
466
|
+
def DeleteOrgServiceAssign(self, request):
|
|
467
|
+
"""删除集团服务委派管理员
|
|
468
|
+
|
|
469
|
+
:param request: Request instance for DeleteOrgServiceAssign.
|
|
470
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.DeleteOrgServiceAssignRequest`
|
|
471
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.DeleteOrgServiceAssignResponse`
|
|
472
|
+
|
|
473
|
+
"""
|
|
474
|
+
try:
|
|
475
|
+
params = request._serialize()
|
|
476
|
+
headers = request.headers
|
|
477
|
+
body = self.call("DeleteOrgServiceAssign", params, headers=headers)
|
|
478
|
+
response = json.loads(body)
|
|
479
|
+
model = models.DeleteOrgServiceAssignResponse()
|
|
480
|
+
model._deserialize(response["Response"])
|
|
481
|
+
return model
|
|
482
|
+
except Exception as e:
|
|
483
|
+
if isinstance(e, TencentCloudSDKException):
|
|
484
|
+
raise
|
|
485
|
+
else:
|
|
486
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
487
|
+
|
|
488
|
+
|
|
443
489
|
def DeleteOrganization(self, request):
|
|
444
490
|
"""删除企业组织
|
|
445
491
|
|
|
@@ -1176,6 +1222,29 @@ class OrganizationClient(AbstractClient):
|
|
|
1176
1222
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1177
1223
|
|
|
1178
1224
|
|
|
1225
|
+
def ListOrgServiceAssignMember(self, request):
|
|
1226
|
+
"""获取集团服务委派管理员列表
|
|
1227
|
+
|
|
1228
|
+
:param request: Request instance for ListOrgServiceAssignMember.
|
|
1229
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.ListOrgServiceAssignMemberRequest`
|
|
1230
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.ListOrgServiceAssignMemberResponse`
|
|
1231
|
+
|
|
1232
|
+
"""
|
|
1233
|
+
try:
|
|
1234
|
+
params = request._serialize()
|
|
1235
|
+
headers = request.headers
|
|
1236
|
+
body = self.call("ListOrgServiceAssignMember", params, headers=headers)
|
|
1237
|
+
response = json.loads(body)
|
|
1238
|
+
model = models.ListOrgServiceAssignMemberResponse()
|
|
1239
|
+
model._deserialize(response["Response"])
|
|
1240
|
+
return model
|
|
1241
|
+
except Exception as e:
|
|
1242
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1243
|
+
raise
|
|
1244
|
+
else:
|
|
1245
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1246
|
+
|
|
1247
|
+
|
|
1179
1248
|
def ListOrganizationIdentity(self, request):
|
|
1180
1249
|
"""获取组织成员访问身份列表
|
|
1181
1250
|
|
|
@@ -1199,6 +1268,29 @@ class OrganizationClient(AbstractClient):
|
|
|
1199
1268
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1200
1269
|
|
|
1201
1270
|
|
|
1271
|
+
def ListOrganizationService(self, request):
|
|
1272
|
+
"""获取集团服务设置列表
|
|
1273
|
+
|
|
1274
|
+
:param request: Request instance for ListOrganizationService.
|
|
1275
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.ListOrganizationServiceRequest`
|
|
1276
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.ListOrganizationServiceResponse`
|
|
1277
|
+
|
|
1278
|
+
"""
|
|
1279
|
+
try:
|
|
1280
|
+
params = request._serialize()
|
|
1281
|
+
headers = request.headers
|
|
1282
|
+
body = self.call("ListOrganizationService", params, headers=headers)
|
|
1283
|
+
response = json.loads(body)
|
|
1284
|
+
model = models.ListOrganizationServiceResponse()
|
|
1285
|
+
model._deserialize(response["Response"])
|
|
1286
|
+
return model
|
|
1287
|
+
except Exception as e:
|
|
1288
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1289
|
+
raise
|
|
1290
|
+
else:
|
|
1291
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1292
|
+
|
|
1293
|
+
|
|
1202
1294
|
def ListPolicies(self, request):
|
|
1203
1295
|
"""本接口(ListPolicies)可用于查询查看策略列表数据
|
|
1204
1296
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1208
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1181
|
|
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
|