tencentcloud-sdk-python-organization 3.0.1482__py2.py3-none-any.whl → 3.1.44__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 CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1482'
17
+ __version__ = '3.1.44'
@@ -0,0 +1,386 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+
17
+
18
+ from tencentcloud.common.abstract_client_async import AbstractClient
19
+ from tencentcloud.organization.v20181225 import models
20
+ from typing import Dict
21
+
22
+
23
+ class OrganizationClient(AbstractClient):
24
+ _apiVersion = '2018-12-25'
25
+ _endpoint = 'organization.tencentcloudapi.com'
26
+ _service = 'organization'
27
+
28
+ async def AcceptOrganizationInvitation(
29
+ self,
30
+ request: models.AcceptOrganizationInvitationRequest,
31
+ opts: Dict = None,
32
+ ) -> models.AcceptOrganizationInvitationResponse:
33
+ """
34
+ 接受加入企业组织邀请
35
+ """
36
+
37
+ kwargs = {}
38
+ kwargs["action"] = "AcceptOrganizationInvitation"
39
+ kwargs["params"] = request._serialize()
40
+ kwargs["resp_cls"] = models.AcceptOrganizationInvitationResponse
41
+ kwargs["headers"] = request.headers
42
+ kwargs["opts"] = opts or {}
43
+
44
+ return await self.call_and_deserialize(**kwargs)
45
+
46
+ async def AddOrganizationNode(
47
+ self,
48
+ request: models.AddOrganizationNodeRequest,
49
+ opts: Dict = None,
50
+ ) -> models.AddOrganizationNodeResponse:
51
+ """
52
+ 添加企业组织单元
53
+ """
54
+
55
+ kwargs = {}
56
+ kwargs["action"] = "AddOrganizationNode"
57
+ kwargs["params"] = request._serialize()
58
+ kwargs["resp_cls"] = models.AddOrganizationNodeResponse
59
+ kwargs["headers"] = request.headers
60
+ kwargs["opts"] = opts or {}
61
+
62
+ return await self.call_and_deserialize(**kwargs)
63
+
64
+ async def CancelOrganizationInvitation(
65
+ self,
66
+ request: models.CancelOrganizationInvitationRequest,
67
+ opts: Dict = None,
68
+ ) -> models.CancelOrganizationInvitationResponse:
69
+ """
70
+ 取消企业组织邀请
71
+ """
72
+
73
+ kwargs = {}
74
+ kwargs["action"] = "CancelOrganizationInvitation"
75
+ kwargs["params"] = request._serialize()
76
+ kwargs["resp_cls"] = models.CancelOrganizationInvitationResponse
77
+ kwargs["headers"] = request.headers
78
+ kwargs["opts"] = opts or {}
79
+
80
+ return await self.call_and_deserialize(**kwargs)
81
+
82
+ async def CreateOrganization(
83
+ self,
84
+ request: models.CreateOrganizationRequest,
85
+ opts: Dict = None,
86
+ ) -> models.CreateOrganizationResponse:
87
+ """
88
+ 创建企业组织
89
+ """
90
+
91
+ kwargs = {}
92
+ kwargs["action"] = "CreateOrganization"
93
+ kwargs["params"] = request._serialize()
94
+ kwargs["resp_cls"] = models.CreateOrganizationResponse
95
+ kwargs["headers"] = request.headers
96
+ kwargs["opts"] = opts or {}
97
+
98
+ return await self.call_and_deserialize(**kwargs)
99
+
100
+ async def DeleteOrganization(
101
+ self,
102
+ request: models.DeleteOrganizationRequest,
103
+ opts: Dict = None,
104
+ ) -> models.DeleteOrganizationResponse:
105
+ """
106
+ 删除企业组织
107
+ """
108
+
109
+ kwargs = {}
110
+ kwargs["action"] = "DeleteOrganization"
111
+ kwargs["params"] = request._serialize()
112
+ kwargs["resp_cls"] = models.DeleteOrganizationResponse
113
+ kwargs["headers"] = request.headers
114
+ kwargs["opts"] = opts or {}
115
+
116
+ return await self.call_and_deserialize(**kwargs)
117
+
118
+ async def DeleteOrganizationMemberFromNode(
119
+ self,
120
+ request: models.DeleteOrganizationMemberFromNodeRequest,
121
+ opts: Dict = None,
122
+ ) -> models.DeleteOrganizationMemberFromNodeResponse:
123
+ """
124
+ 删除企业组织成员
125
+ """
126
+
127
+ kwargs = {}
128
+ kwargs["action"] = "DeleteOrganizationMemberFromNode"
129
+ kwargs["params"] = request._serialize()
130
+ kwargs["resp_cls"] = models.DeleteOrganizationMemberFromNodeResponse
131
+ kwargs["headers"] = request.headers
132
+ kwargs["opts"] = opts or {}
133
+
134
+ return await self.call_and_deserialize(**kwargs)
135
+
136
+ async def DeleteOrganizationMembers(
137
+ self,
138
+ request: models.DeleteOrganizationMembersRequest,
139
+ opts: Dict = None,
140
+ ) -> models.DeleteOrganizationMembersResponse:
141
+ """
142
+ 批量删除企业组织成员
143
+ """
144
+
145
+ kwargs = {}
146
+ kwargs["action"] = "DeleteOrganizationMembers"
147
+ kwargs["params"] = request._serialize()
148
+ kwargs["resp_cls"] = models.DeleteOrganizationMembersResponse
149
+ kwargs["headers"] = request.headers
150
+ kwargs["opts"] = opts or {}
151
+
152
+ return await self.call_and_deserialize(**kwargs)
153
+
154
+ async def DeleteOrganizationNodes(
155
+ self,
156
+ request: models.DeleteOrganizationNodesRequest,
157
+ opts: Dict = None,
158
+ ) -> models.DeleteOrganizationNodesResponse:
159
+ """
160
+ 批量删除企业组织单元
161
+ """
162
+
163
+ kwargs = {}
164
+ kwargs["action"] = "DeleteOrganizationNodes"
165
+ kwargs["params"] = request._serialize()
166
+ kwargs["resp_cls"] = models.DeleteOrganizationNodesResponse
167
+ kwargs["headers"] = request.headers
168
+ kwargs["opts"] = opts or {}
169
+
170
+ return await self.call_and_deserialize(**kwargs)
171
+
172
+ async def DenyOrganizationInvitation(
173
+ self,
174
+ request: models.DenyOrganizationInvitationRequest,
175
+ opts: Dict = None,
176
+ ) -> models.DenyOrganizationInvitationResponse:
177
+ """
178
+ 拒绝企业组织邀请
179
+ """
180
+
181
+ kwargs = {}
182
+ kwargs["action"] = "DenyOrganizationInvitation"
183
+ kwargs["params"] = request._serialize()
184
+ kwargs["resp_cls"] = models.DenyOrganizationInvitationResponse
185
+ kwargs["headers"] = request.headers
186
+ kwargs["opts"] = opts or {}
187
+
188
+ return await self.call_and_deserialize(**kwargs)
189
+
190
+ async def GetOrganization(
191
+ self,
192
+ request: models.GetOrganizationRequest,
193
+ opts: Dict = None,
194
+ ) -> models.GetOrganizationResponse:
195
+ """
196
+ 获取企业组织信息
197
+ """
198
+
199
+ kwargs = {}
200
+ kwargs["action"] = "GetOrganization"
201
+ kwargs["params"] = request._serialize()
202
+ kwargs["resp_cls"] = models.GetOrganizationResponse
203
+ kwargs["headers"] = request.headers
204
+ kwargs["opts"] = opts or {}
205
+
206
+ return await self.call_and_deserialize(**kwargs)
207
+
208
+ async def GetOrganizationMember(
209
+ self,
210
+ request: models.GetOrganizationMemberRequest,
211
+ opts: Dict = None,
212
+ ) -> models.GetOrganizationMemberResponse:
213
+ """
214
+ 获取企业组织成员
215
+ """
216
+
217
+ kwargs = {}
218
+ kwargs["action"] = "GetOrganizationMember"
219
+ kwargs["params"] = request._serialize()
220
+ kwargs["resp_cls"] = models.GetOrganizationMemberResponse
221
+ kwargs["headers"] = request.headers
222
+ kwargs["opts"] = opts or {}
223
+
224
+ return await self.call_and_deserialize(**kwargs)
225
+
226
+ async def ListOrganizationInvitations(
227
+ self,
228
+ request: models.ListOrganizationInvitationsRequest,
229
+ opts: Dict = None,
230
+ ) -> models.ListOrganizationInvitationsResponse:
231
+ """
232
+ 获取邀请信息列表
233
+ """
234
+
235
+ kwargs = {}
236
+ kwargs["action"] = "ListOrganizationInvitations"
237
+ kwargs["params"] = request._serialize()
238
+ kwargs["resp_cls"] = models.ListOrganizationInvitationsResponse
239
+ kwargs["headers"] = request.headers
240
+ kwargs["opts"] = opts or {}
241
+
242
+ return await self.call_and_deserialize(**kwargs)
243
+
244
+ async def ListOrganizationMembers(
245
+ self,
246
+ request: models.ListOrganizationMembersRequest,
247
+ opts: Dict = None,
248
+ ) -> models.ListOrganizationMembersResponse:
249
+ """
250
+ 获取企业组织成员列表
251
+ """
252
+
253
+ kwargs = {}
254
+ kwargs["action"] = "ListOrganizationMembers"
255
+ kwargs["params"] = request._serialize()
256
+ kwargs["resp_cls"] = models.ListOrganizationMembersResponse
257
+ kwargs["headers"] = request.headers
258
+ kwargs["opts"] = opts or {}
259
+
260
+ return await self.call_and_deserialize(**kwargs)
261
+
262
+ async def ListOrganizationNodeMembers(
263
+ self,
264
+ request: models.ListOrganizationNodeMembersRequest,
265
+ opts: Dict = None,
266
+ ) -> models.ListOrganizationNodeMembersResponse:
267
+ """
268
+ 获取企业组织单元成员列表
269
+ """
270
+
271
+ kwargs = {}
272
+ kwargs["action"] = "ListOrganizationNodeMembers"
273
+ kwargs["params"] = request._serialize()
274
+ kwargs["resp_cls"] = models.ListOrganizationNodeMembersResponse
275
+ kwargs["headers"] = request.headers
276
+ kwargs["opts"] = opts or {}
277
+
278
+ return await self.call_and_deserialize(**kwargs)
279
+
280
+ async def ListOrganizationNodes(
281
+ self,
282
+ request: models.ListOrganizationNodesRequest,
283
+ opts: Dict = None,
284
+ ) -> models.ListOrganizationNodesResponse:
285
+ """
286
+ 获取企业组织单元列表
287
+ """
288
+
289
+ kwargs = {}
290
+ kwargs["action"] = "ListOrganizationNodes"
291
+ kwargs["params"] = request._serialize()
292
+ kwargs["resp_cls"] = models.ListOrganizationNodesResponse
293
+ kwargs["headers"] = request.headers
294
+ kwargs["opts"] = opts or {}
295
+
296
+ return await self.call_and_deserialize(**kwargs)
297
+
298
+ async def MoveOrganizationMembersToNode(
299
+ self,
300
+ request: models.MoveOrganizationMembersToNodeRequest,
301
+ opts: Dict = None,
302
+ ) -> models.MoveOrganizationMembersToNodeResponse:
303
+ """
304
+ 移动成员到指定企业组织单元
305
+ """
306
+
307
+ kwargs = {}
308
+ kwargs["action"] = "MoveOrganizationMembersToNode"
309
+ kwargs["params"] = request._serialize()
310
+ kwargs["resp_cls"] = models.MoveOrganizationMembersToNodeResponse
311
+ kwargs["headers"] = request.headers
312
+ kwargs["opts"] = opts or {}
313
+
314
+ return await self.call_and_deserialize(**kwargs)
315
+
316
+ async def QuitOrganization(
317
+ self,
318
+ request: models.QuitOrganizationRequest,
319
+ opts: Dict = None,
320
+ ) -> models.QuitOrganizationResponse:
321
+ """
322
+ 退出企业组织
323
+ """
324
+
325
+ kwargs = {}
326
+ kwargs["action"] = "QuitOrganization"
327
+ kwargs["params"] = request._serialize()
328
+ kwargs["resp_cls"] = models.QuitOrganizationResponse
329
+ kwargs["headers"] = request.headers
330
+ kwargs["opts"] = opts or {}
331
+
332
+ return await self.call_and_deserialize(**kwargs)
333
+
334
+ async def SendOrganizationInvitation(
335
+ self,
336
+ request: models.SendOrganizationInvitationRequest,
337
+ opts: Dict = None,
338
+ ) -> models.SendOrganizationInvitationResponse:
339
+ """
340
+ 发送企业组织邀请
341
+ """
342
+
343
+ kwargs = {}
344
+ kwargs["action"] = "SendOrganizationInvitation"
345
+ kwargs["params"] = request._serialize()
346
+ kwargs["resp_cls"] = models.SendOrganizationInvitationResponse
347
+ kwargs["headers"] = request.headers
348
+ kwargs["opts"] = opts or {}
349
+
350
+ return await self.call_and_deserialize(**kwargs)
351
+
352
+ async def UpdateOrganizationMember(
353
+ self,
354
+ request: models.UpdateOrganizationMemberRequest,
355
+ opts: Dict = None,
356
+ ) -> models.UpdateOrganizationMemberResponse:
357
+ """
358
+ 更新企业成员信息
359
+ """
360
+
361
+ kwargs = {}
362
+ kwargs["action"] = "UpdateOrganizationMember"
363
+ kwargs["params"] = request._serialize()
364
+ kwargs["resp_cls"] = models.UpdateOrganizationMemberResponse
365
+ kwargs["headers"] = request.headers
366
+ kwargs["opts"] = opts or {}
367
+
368
+ return await self.call_and_deserialize(**kwargs)
369
+
370
+ async def UpdateOrganizationNode(
371
+ self,
372
+ request: models.UpdateOrganizationNodeRequest,
373
+ opts: Dict = None,
374
+ ) -> models.UpdateOrganizationNodeResponse:
375
+ """
376
+ 更新企业组织单元
377
+ """
378
+
379
+ kwargs = {}
380
+ kwargs["action"] = "UpdateOrganizationNode"
381
+ kwargs["params"] = request._serialize()
382
+ kwargs["resp_cls"] = models.UpdateOrganizationNodeResponse
383
+ kwargs["headers"] = request.headers
384
+ kwargs["opts"] = opts or {}
385
+
386
+ return await self.call_and_deserialize(**kwargs)
@@ -341,6 +341,9 @@ FAILEDOPERATION_SHAREAREANOTEXIST = 'FailedOperation.ShareAreaNotExist'
341
341
  # 共享成员不存在。
342
342
  FAILEDOPERATION_SHAREMEMBERNOTEXIST = 'FailedOperation.ShareMemberNotExist'
343
343
 
344
+ # 部门在共享单元中。
345
+ FAILEDOPERATION_SHARENODEEXISTED = 'FailedOperation.ShareNodeExisted'
346
+
344
347
  # 成员正在使用共享资源。
345
348
  FAILEDOPERATION_SHARERESOURCEMEMBERINUSE = 'FailedOperation.ShareResourceMemberInUse'
346
349
 
@@ -1026,13 +1026,13 @@ class AttachPolicyRequest(AbstractModel):
1026
1026
 
1027
1027
  def __init__(self):
1028
1028
  r"""
1029
- :param _TargetId: 绑定策略目标ID。成员Uin或部门ID
1029
+ :param _TargetId: <p>绑定策略目标ID。成员Uin或部门ID</p>
1030
1030
  :type TargetId: int
1031
- :param _TargetType: 目标类型。取值范围:NODE-部门、MEMBER-成员
1031
+ :param _TargetType: <p>目标类型。取值范围:NODE-部门、MEMBER-成员</p>
1032
1032
  :type TargetType: str
1033
- :param _PolicyId: 策略ID。
1033
+ :param _PolicyId: <p>策略Id。可以调用<a href="https://cloud.tencent.com/document/product/850/105311">ListPolicies</a>获取</p>
1034
1034
  :type PolicyId: int
1035
- :param _Type: 策略类型。默认值SERVICE_CONTROL_POLICY,取值范围:SERVICE_CONTROL_POLICY-服务控制策略、TAG_POLICY-标签策略
1035
+ :param _Type: <p>策略类型。默认值SERVICE_CONTROL_POLICY,取值范围:SERVICE_CONTROL_POLICY-服务控制策略、TAG_POLICY-标签策略</p>
1036
1036
  :type Type: str
1037
1037
  """
1038
1038
  self._TargetId = None
@@ -1042,7 +1042,7 @@ class AttachPolicyRequest(AbstractModel):
1042
1042
 
1043
1043
  @property
1044
1044
  def TargetId(self):
1045
- r"""绑定策略目标ID。成员Uin或部门ID
1045
+ r"""<p>绑定策略目标ID。成员Uin或部门ID</p>
1046
1046
  :rtype: int
1047
1047
  """
1048
1048
  return self._TargetId
@@ -1053,7 +1053,7 @@ class AttachPolicyRequest(AbstractModel):
1053
1053
 
1054
1054
  @property
1055
1055
  def TargetType(self):
1056
- r"""目标类型。取值范围:NODE-部门、MEMBER-成员
1056
+ r"""<p>目标类型。取值范围:NODE-部门、MEMBER-成员</p>
1057
1057
  :rtype: str
1058
1058
  """
1059
1059
  return self._TargetType
@@ -1064,7 +1064,7 @@ class AttachPolicyRequest(AbstractModel):
1064
1064
 
1065
1065
  @property
1066
1066
  def PolicyId(self):
1067
- r"""策略ID。
1067
+ r"""<p>策略Id。可以调用<a href="https://cloud.tencent.com/document/product/850/105311">ListPolicies</a>获取</p>
1068
1068
  :rtype: int
1069
1069
  """
1070
1070
  return self._PolicyId
@@ -1075,7 +1075,7 @@ class AttachPolicyRequest(AbstractModel):
1075
1075
 
1076
1076
  @property
1077
1077
  def Type(self):
1078
- r"""策略类型。默认值SERVICE_CONTROL_POLICY,取值范围:SERVICE_CONTROL_POLICY-服务控制策略、TAG_POLICY-标签策略
1078
+ r"""<p>策略类型。默认值SERVICE_CONTROL_POLICY,取值范围:SERVICE_CONTROL_POLICY-服务控制策略、TAG_POLICY-标签策略</p>
1079
1079
  :rtype: str
1080
1080
  """
1081
1081
  return self._Type
@@ -8456,13 +8456,13 @@ class DetachPolicyRequest(AbstractModel):
8456
8456
 
8457
8457
  def __init__(self):
8458
8458
  r"""
8459
- :param _TargetId: 解绑策略目标ID。成员Uin或部门ID
8459
+ :param _TargetId: <p>解绑策略目标ID。成员Uin或部门ID</p>
8460
8460
  :type TargetId: int
8461
- :param _TargetType: 目标类型。取值范围:NODE-部门、MEMBER-成员
8461
+ :param _TargetType: <p>目标类型。取值范围:NODE-部门、MEMBER-成员</p>
8462
8462
  :type TargetType: str
8463
- :param _PolicyId: 策略ID。
8463
+ :param _PolicyId: <p>策略Id。可以调用<a href="https://cloud.tencent.com/document/product/850/105311">ListPolicies</a>获取</p>
8464
8464
  :type PolicyId: int
8465
- :param _Type: 策略类型。默认值SERVICE_CONTROL_POLICY,取值范围:SERVICE_CONTROL_POLICY-服务控制策略、TAG_POLICY-标签策略
8465
+ :param _Type: <p>策略类型。默认值SERVICE_CONTROL_POLICY,取值范围:SERVICE_CONTROL_POLICY-服务控制策略、TAG_POLICY-标签策略</p>
8466
8466
  :type Type: str
8467
8467
  """
8468
8468
  self._TargetId = None
@@ -8472,7 +8472,7 @@ class DetachPolicyRequest(AbstractModel):
8472
8472
 
8473
8473
  @property
8474
8474
  def TargetId(self):
8475
- r"""解绑策略目标ID。成员Uin或部门ID
8475
+ r"""<p>解绑策略目标ID。成员Uin或部门ID</p>
8476
8476
  :rtype: int
8477
8477
  """
8478
8478
  return self._TargetId
@@ -8483,7 +8483,7 @@ class DetachPolicyRequest(AbstractModel):
8483
8483
 
8484
8484
  @property
8485
8485
  def TargetType(self):
8486
- r"""目标类型。取值范围:NODE-部门、MEMBER-成员
8486
+ r"""<p>目标类型。取值范围:NODE-部门、MEMBER-成员</p>
8487
8487
  :rtype: str
8488
8488
  """
8489
8489
  return self._TargetType
@@ -8494,7 +8494,7 @@ class DetachPolicyRequest(AbstractModel):
8494
8494
 
8495
8495
  @property
8496
8496
  def PolicyId(self):
8497
- r"""策略ID。
8497
+ r"""<p>策略Id。可以调用<a href="https://cloud.tencent.com/document/product/850/105311">ListPolicies</a>获取</p>
8498
8498
  :rtype: int
8499
8499
  """
8500
8500
  return self._PolicyId
@@ -8505,7 +8505,7 @@ class DetachPolicyRequest(AbstractModel):
8505
8505
 
8506
8506
  @property
8507
8507
  def Type(self):
8508
- r"""策略类型。默认值SERVICE_CONTROL_POLICY,取值范围:SERVICE_CONTROL_POLICY-服务控制策略、TAG_POLICY-标签策略
8508
+ r"""<p>策略类型。默认值SERVICE_CONTROL_POLICY,取值范围:SERVICE_CONTROL_POLICY-服务控制策略、TAG_POLICY-标签策略</p>
8509
8509
  :rtype: str
8510
8510
  """
8511
8511
  return self._Type
@@ -14488,26 +14488,28 @@ class ManagerShareUnit(AbstractModel):
14488
14488
 
14489
14489
  def __init__(self):
14490
14490
  r"""
14491
- :param _UnitId: 共享单元ID。
14491
+ :param _UnitId: <p>共享单元ID。</p>
14492
14492
  :type UnitId: str
14493
- :param _Name: 共享单元名称。
14493
+ :param _Name: <p>共享单元名称。</p>
14494
14494
  :type Name: str
14495
- :param _Uin: 共享单元管理员Uin。
14495
+ :param _Uin: <p>共享单元管理员Uin。</p>
14496
14496
  :type Uin: int
14497
- :param _OwnerUin: 共享单元管理员OwnerUin。
14497
+ :param _OwnerUin: <p>共享单元管理员OwnerUin。</p>
14498
14498
  :type OwnerUin: int
14499
- :param _Area: 共享单元地域。
14499
+ :param _Area: <p>共享单元地域。</p>
14500
14500
  :type Area: str
14501
- :param _Description: 描述。
14501
+ :param _Description: <p>描述。</p>
14502
14502
  :type Description: str
14503
- :param _CreateTime: 创建时间。
14503
+ :param _CreateTime: <p>创建时间。</p>
14504
14504
  :type CreateTime: str
14505
- :param _ShareResourceNum: 共享单元资源数。
14505
+ :param _ShareResourceNum: <p>共享单元资源数。</p>
14506
14506
  :type ShareResourceNum: int
14507
- :param _ShareMemberNum: 共享单元成员数。
14507
+ :param _ShareMemberNum: <p>共享单元成员数。</p>
14508
14508
  :type ShareMemberNum: int
14509
- :param _ShareScope: 共享范围。取值:1-仅允许集团组织内共享 2-允许共享给任意账号
14509
+ :param _ShareScope: <p>共享范围。取值:1-仅允许集团组织内共享 2-允许共享给任意账号</p>
14510
14510
  :type ShareScope: int
14511
+ :param _ShareNodeNum: <p>共享单元部门数。</p>
14512
+ :type ShareNodeNum: int
14511
14513
  """
14512
14514
  self._UnitId = None
14513
14515
  self._Name = None
@@ -14519,10 +14521,11 @@ class ManagerShareUnit(AbstractModel):
14519
14521
  self._ShareResourceNum = None
14520
14522
  self._ShareMemberNum = None
14521
14523
  self._ShareScope = None
14524
+ self._ShareNodeNum = None
14522
14525
 
14523
14526
  @property
14524
14527
  def UnitId(self):
14525
- r"""共享单元ID。
14528
+ r"""<p>共享单元ID。</p>
14526
14529
  :rtype: str
14527
14530
  """
14528
14531
  return self._UnitId
@@ -14533,7 +14536,7 @@ class ManagerShareUnit(AbstractModel):
14533
14536
 
14534
14537
  @property
14535
14538
  def Name(self):
14536
- r"""共享单元名称。
14539
+ r"""<p>共享单元名称。</p>
14537
14540
  :rtype: str
14538
14541
  """
14539
14542
  return self._Name
@@ -14544,7 +14547,7 @@ class ManagerShareUnit(AbstractModel):
14544
14547
 
14545
14548
  @property
14546
14549
  def Uin(self):
14547
- r"""共享单元管理员Uin。
14550
+ r"""<p>共享单元管理员Uin。</p>
14548
14551
  :rtype: int
14549
14552
  """
14550
14553
  return self._Uin
@@ -14555,7 +14558,7 @@ class ManagerShareUnit(AbstractModel):
14555
14558
 
14556
14559
  @property
14557
14560
  def OwnerUin(self):
14558
- r"""共享单元管理员OwnerUin。
14561
+ r"""<p>共享单元管理员OwnerUin。</p>
14559
14562
  :rtype: int
14560
14563
  """
14561
14564
  return self._OwnerUin
@@ -14566,7 +14569,7 @@ class ManagerShareUnit(AbstractModel):
14566
14569
 
14567
14570
  @property
14568
14571
  def Area(self):
14569
- r"""共享单元地域。
14572
+ r"""<p>共享单元地域。</p>
14570
14573
  :rtype: str
14571
14574
  """
14572
14575
  return self._Area
@@ -14577,7 +14580,7 @@ class ManagerShareUnit(AbstractModel):
14577
14580
 
14578
14581
  @property
14579
14582
  def Description(self):
14580
- r"""描述。
14583
+ r"""<p>描述。</p>
14581
14584
  :rtype: str
14582
14585
  """
14583
14586
  return self._Description
@@ -14588,7 +14591,7 @@ class ManagerShareUnit(AbstractModel):
14588
14591
 
14589
14592
  @property
14590
14593
  def CreateTime(self):
14591
- r"""创建时间。
14594
+ r"""<p>创建时间。</p>
14592
14595
  :rtype: str
14593
14596
  """
14594
14597
  return self._CreateTime
@@ -14599,7 +14602,7 @@ class ManagerShareUnit(AbstractModel):
14599
14602
 
14600
14603
  @property
14601
14604
  def ShareResourceNum(self):
14602
- r"""共享单元资源数。
14605
+ r"""<p>共享单元资源数。</p>
14603
14606
  :rtype: int
14604
14607
  """
14605
14608
  return self._ShareResourceNum
@@ -14610,7 +14613,7 @@ class ManagerShareUnit(AbstractModel):
14610
14613
 
14611
14614
  @property
14612
14615
  def ShareMemberNum(self):
14613
- r"""共享单元成员数。
14616
+ r"""<p>共享单元成员数。</p>
14614
14617
  :rtype: int
14615
14618
  """
14616
14619
  return self._ShareMemberNum
@@ -14621,7 +14624,7 @@ class ManagerShareUnit(AbstractModel):
14621
14624
 
14622
14625
  @property
14623
14626
  def ShareScope(self):
14624
- r"""共享范围。取值:1-仅允许集团组织内共享 2-允许共享给任意账号
14627
+ r"""<p>共享范围。取值:1-仅允许集团组织内共享 2-允许共享给任意账号</p>
14625
14628
  :rtype: int
14626
14629
  """
14627
14630
  return self._ShareScope
@@ -14630,6 +14633,17 @@ class ManagerShareUnit(AbstractModel):
14630
14633
  def ShareScope(self, ShareScope):
14631
14634
  self._ShareScope = ShareScope
14632
14635
 
14636
+ @property
14637
+ def ShareNodeNum(self):
14638
+ r"""<p>共享单元部门数。</p>
14639
+ :rtype: int
14640
+ """
14641
+ return self._ShareNodeNum
14642
+
14643
+ @ShareNodeNum.setter
14644
+ def ShareNodeNum(self, ShareNodeNum):
14645
+ self._ShareNodeNum = ShareNodeNum
14646
+
14633
14647
 
14634
14648
  def _deserialize(self, params):
14635
14649
  self._UnitId = params.get("UnitId")
@@ -14642,6 +14656,7 @@ class ManagerShareUnit(AbstractModel):
14642
14656
  self._ShareResourceNum = params.get("ShareResourceNum")
14643
14657
  self._ShareMemberNum = params.get("ShareMemberNum")
14644
14658
  self._ShareScope = params.get("ShareScope")
14659
+ self._ShareNodeNum = params.get("ShareNodeNum")
14645
14660
  memeber_set = set(params.keys())
14646
14661
  for name, value in vars(self).items():
14647
14662
  property_name = name[1:]