alibabacloud-aliding20230426 2.45.2__py3-none-any.whl → 2.46.0__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.
- alibabacloud_aliding20230426/__init__.py +1 -1
- alibabacloud_aliding20230426/client.py +150 -0
- alibabacloud_aliding20230426/models.py +353 -0
- {alibabacloud_aliding20230426-2.45.2.dist-info → alibabacloud_aliding20230426-2.46.0.dist-info}/METADATA +1 -1
- alibabacloud_aliding20230426-2.46.0.dist-info/RECORD +8 -0
- alibabacloud_aliding20230426-2.45.2.dist-info/RECORD +0 -8
- {alibabacloud_aliding20230426-2.45.2.dist-info → alibabacloud_aliding20230426-2.46.0.dist-info}/LICENSE +0 -0
- {alibabacloud_aliding20230426-2.45.2.dist-info → alibabacloud_aliding20230426-2.46.0.dist-info}/WHEEL +0 -0
- {alibabacloud_aliding20230426-2.45.2.dist-info → alibabacloud_aliding20230426-2.46.0.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '2.
|
|
1
|
+
__version__ = '2.46.0'
|
|
@@ -4207,6 +4207,156 @@ class Client(OpenApiClient):
|
|
|
4207
4207
|
headers = aliding_20230426_models.CopyDentryHeaders()
|
|
4208
4208
|
return await self.copy_dentry_with_options_async(request, headers, runtime)
|
|
4209
4209
|
|
|
4210
|
+
def copy_dentry_by_node_id_with_options(
|
|
4211
|
+
self,
|
|
4212
|
+
tmp_req: aliding_20230426_models.CopyDentryByNodeIdRequest,
|
|
4213
|
+
tmp_header: aliding_20230426_models.CopyDentryByNodeIdHeaders,
|
|
4214
|
+
runtime: util_models.RuntimeOptions,
|
|
4215
|
+
) -> aliding_20230426_models.CopyDentryByNodeIdResponse:
|
|
4216
|
+
"""
|
|
4217
|
+
@summary 通过NodeId创建知识库节点副本
|
|
4218
|
+
|
|
4219
|
+
@param tmp_req: CopyDentryByNodeIdRequest
|
|
4220
|
+
@param tmp_header: CopyDentryByNodeIdHeaders
|
|
4221
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
4222
|
+
@return: CopyDentryByNodeIdResponse
|
|
4223
|
+
"""
|
|
4224
|
+
UtilClient.validate_model(tmp_req)
|
|
4225
|
+
request = aliding_20230426_models.CopyDentryByNodeIdShrinkRequest()
|
|
4226
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
4227
|
+
headers = aliding_20230426_models.CopyDentryByNodeIdShrinkHeaders()
|
|
4228
|
+
OpenApiUtilClient.convert(tmp_header, headers)
|
|
4229
|
+
if not UtilClient.is_unset(tmp_header.account_context):
|
|
4230
|
+
headers.account_context_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_header.account_context, 'AccountContext', 'json')
|
|
4231
|
+
if not UtilClient.is_unset(tmp_req.tenant_context):
|
|
4232
|
+
request.tenant_context_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.tenant_context, 'TenantContext', 'json')
|
|
4233
|
+
body = {}
|
|
4234
|
+
if not UtilClient.is_unset(request.dentry_uuid):
|
|
4235
|
+
body['DentryUuid'] = request.dentry_uuid
|
|
4236
|
+
if not UtilClient.is_unset(request.name):
|
|
4237
|
+
body['Name'] = request.name
|
|
4238
|
+
if not UtilClient.is_unset(request.tenant_context_shrink):
|
|
4239
|
+
body['TenantContext'] = request.tenant_context_shrink
|
|
4240
|
+
if not UtilClient.is_unset(request.to_next_node_id):
|
|
4241
|
+
body['ToNextNodeId'] = request.to_next_node_id
|
|
4242
|
+
if not UtilClient.is_unset(request.to_parent_node_id):
|
|
4243
|
+
body['ToParentNodeId'] = request.to_parent_node_id
|
|
4244
|
+
if not UtilClient.is_unset(request.to_prev_node_id):
|
|
4245
|
+
body['ToPrevNodeId'] = request.to_prev_node_id
|
|
4246
|
+
real_headers = {}
|
|
4247
|
+
if not UtilClient.is_unset(headers.common_headers):
|
|
4248
|
+
real_headers = headers.common_headers
|
|
4249
|
+
if not UtilClient.is_unset(headers.account_context_shrink):
|
|
4250
|
+
real_headers['AccountContext'] = UtilClient.to_jsonstring(headers.account_context_shrink)
|
|
4251
|
+
req = open_api_models.OpenApiRequest(
|
|
4252
|
+
headers=real_headers,
|
|
4253
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
4254
|
+
)
|
|
4255
|
+
params = open_api_models.Params(
|
|
4256
|
+
action='CopyDentryByNodeId',
|
|
4257
|
+
version='2023-04-26',
|
|
4258
|
+
protocol='HTTPS',
|
|
4259
|
+
pathname=f'/dingtalk/v2/documents/copyDentryByNodeId',
|
|
4260
|
+
method='POST',
|
|
4261
|
+
auth_type='AK',
|
|
4262
|
+
style='ROA',
|
|
4263
|
+
req_body_type='formData',
|
|
4264
|
+
body_type='json'
|
|
4265
|
+
)
|
|
4266
|
+
return TeaCore.from_map(
|
|
4267
|
+
aliding_20230426_models.CopyDentryByNodeIdResponse(),
|
|
4268
|
+
self.call_api(params, req, runtime)
|
|
4269
|
+
)
|
|
4270
|
+
|
|
4271
|
+
async def copy_dentry_by_node_id_with_options_async(
|
|
4272
|
+
self,
|
|
4273
|
+
tmp_req: aliding_20230426_models.CopyDentryByNodeIdRequest,
|
|
4274
|
+
tmp_header: aliding_20230426_models.CopyDentryByNodeIdHeaders,
|
|
4275
|
+
runtime: util_models.RuntimeOptions,
|
|
4276
|
+
) -> aliding_20230426_models.CopyDentryByNodeIdResponse:
|
|
4277
|
+
"""
|
|
4278
|
+
@summary 通过NodeId创建知识库节点副本
|
|
4279
|
+
|
|
4280
|
+
@param tmp_req: CopyDentryByNodeIdRequest
|
|
4281
|
+
@param tmp_header: CopyDentryByNodeIdHeaders
|
|
4282
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
4283
|
+
@return: CopyDentryByNodeIdResponse
|
|
4284
|
+
"""
|
|
4285
|
+
UtilClient.validate_model(tmp_req)
|
|
4286
|
+
request = aliding_20230426_models.CopyDentryByNodeIdShrinkRequest()
|
|
4287
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
4288
|
+
headers = aliding_20230426_models.CopyDentryByNodeIdShrinkHeaders()
|
|
4289
|
+
OpenApiUtilClient.convert(tmp_header, headers)
|
|
4290
|
+
if not UtilClient.is_unset(tmp_header.account_context):
|
|
4291
|
+
headers.account_context_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_header.account_context, 'AccountContext', 'json')
|
|
4292
|
+
if not UtilClient.is_unset(tmp_req.tenant_context):
|
|
4293
|
+
request.tenant_context_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.tenant_context, 'TenantContext', 'json')
|
|
4294
|
+
body = {}
|
|
4295
|
+
if not UtilClient.is_unset(request.dentry_uuid):
|
|
4296
|
+
body['DentryUuid'] = request.dentry_uuid
|
|
4297
|
+
if not UtilClient.is_unset(request.name):
|
|
4298
|
+
body['Name'] = request.name
|
|
4299
|
+
if not UtilClient.is_unset(request.tenant_context_shrink):
|
|
4300
|
+
body['TenantContext'] = request.tenant_context_shrink
|
|
4301
|
+
if not UtilClient.is_unset(request.to_next_node_id):
|
|
4302
|
+
body['ToNextNodeId'] = request.to_next_node_id
|
|
4303
|
+
if not UtilClient.is_unset(request.to_parent_node_id):
|
|
4304
|
+
body['ToParentNodeId'] = request.to_parent_node_id
|
|
4305
|
+
if not UtilClient.is_unset(request.to_prev_node_id):
|
|
4306
|
+
body['ToPrevNodeId'] = request.to_prev_node_id
|
|
4307
|
+
real_headers = {}
|
|
4308
|
+
if not UtilClient.is_unset(headers.common_headers):
|
|
4309
|
+
real_headers = headers.common_headers
|
|
4310
|
+
if not UtilClient.is_unset(headers.account_context_shrink):
|
|
4311
|
+
real_headers['AccountContext'] = UtilClient.to_jsonstring(headers.account_context_shrink)
|
|
4312
|
+
req = open_api_models.OpenApiRequest(
|
|
4313
|
+
headers=real_headers,
|
|
4314
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
4315
|
+
)
|
|
4316
|
+
params = open_api_models.Params(
|
|
4317
|
+
action='CopyDentryByNodeId',
|
|
4318
|
+
version='2023-04-26',
|
|
4319
|
+
protocol='HTTPS',
|
|
4320
|
+
pathname=f'/dingtalk/v2/documents/copyDentryByNodeId',
|
|
4321
|
+
method='POST',
|
|
4322
|
+
auth_type='AK',
|
|
4323
|
+
style='ROA',
|
|
4324
|
+
req_body_type='formData',
|
|
4325
|
+
body_type='json'
|
|
4326
|
+
)
|
|
4327
|
+
return TeaCore.from_map(
|
|
4328
|
+
aliding_20230426_models.CopyDentryByNodeIdResponse(),
|
|
4329
|
+
await self.call_api_async(params, req, runtime)
|
|
4330
|
+
)
|
|
4331
|
+
|
|
4332
|
+
def copy_dentry_by_node_id(
|
|
4333
|
+
self,
|
|
4334
|
+
request: aliding_20230426_models.CopyDentryByNodeIdRequest,
|
|
4335
|
+
) -> aliding_20230426_models.CopyDentryByNodeIdResponse:
|
|
4336
|
+
"""
|
|
4337
|
+
@summary 通过NodeId创建知识库节点副本
|
|
4338
|
+
|
|
4339
|
+
@param request: CopyDentryByNodeIdRequest
|
|
4340
|
+
@return: CopyDentryByNodeIdResponse
|
|
4341
|
+
"""
|
|
4342
|
+
runtime = util_models.RuntimeOptions()
|
|
4343
|
+
headers = aliding_20230426_models.CopyDentryByNodeIdHeaders()
|
|
4344
|
+
return self.copy_dentry_by_node_id_with_options(request, headers, runtime)
|
|
4345
|
+
|
|
4346
|
+
async def copy_dentry_by_node_id_async(
|
|
4347
|
+
self,
|
|
4348
|
+
request: aliding_20230426_models.CopyDentryByNodeIdRequest,
|
|
4349
|
+
) -> aliding_20230426_models.CopyDentryByNodeIdResponse:
|
|
4350
|
+
"""
|
|
4351
|
+
@summary 通过NodeId创建知识库节点副本
|
|
4352
|
+
|
|
4353
|
+
@param request: CopyDentryByNodeIdRequest
|
|
4354
|
+
@return: CopyDentryByNodeIdResponse
|
|
4355
|
+
"""
|
|
4356
|
+
runtime = util_models.RuntimeOptions()
|
|
4357
|
+
headers = aliding_20230426_models.CopyDentryByNodeIdHeaders()
|
|
4358
|
+
return await self.copy_dentry_by_node_id_with_options_async(request, headers, runtime)
|
|
4359
|
+
|
|
4210
4360
|
def create_aliding_assistant_with_options(
|
|
4211
4361
|
self,
|
|
4212
4362
|
tmp_req: aliding_20230426_models.CreateAlidingAssistantRequest,
|
|
@@ -10989,6 +10989,359 @@ class CopyDentryResponse(TeaModel):
|
|
|
10989
10989
|
return self
|
|
10990
10990
|
|
|
10991
10991
|
|
|
10992
|
+
class CopyDentryByNodeIdHeadersAccountContext(TeaModel):
|
|
10993
|
+
def __init__(
|
|
10994
|
+
self,
|
|
10995
|
+
account_id: str = None,
|
|
10996
|
+
):
|
|
10997
|
+
# This parameter is required.
|
|
10998
|
+
self.account_id = account_id
|
|
10999
|
+
|
|
11000
|
+
def validate(self):
|
|
11001
|
+
pass
|
|
11002
|
+
|
|
11003
|
+
def to_map(self):
|
|
11004
|
+
_map = super().to_map()
|
|
11005
|
+
if _map is not None:
|
|
11006
|
+
return _map
|
|
11007
|
+
|
|
11008
|
+
result = dict()
|
|
11009
|
+
if self.account_id is not None:
|
|
11010
|
+
result['accountId'] = self.account_id
|
|
11011
|
+
return result
|
|
11012
|
+
|
|
11013
|
+
def from_map(self, m: dict = None):
|
|
11014
|
+
m = m or dict()
|
|
11015
|
+
if m.get('accountId') is not None:
|
|
11016
|
+
self.account_id = m.get('accountId')
|
|
11017
|
+
return self
|
|
11018
|
+
|
|
11019
|
+
|
|
11020
|
+
class CopyDentryByNodeIdHeaders(TeaModel):
|
|
11021
|
+
def __init__(
|
|
11022
|
+
self,
|
|
11023
|
+
common_headers: Dict[str, str] = None,
|
|
11024
|
+
account_context: CopyDentryByNodeIdHeadersAccountContext = None,
|
|
11025
|
+
):
|
|
11026
|
+
self.common_headers = common_headers
|
|
11027
|
+
self.account_context = account_context
|
|
11028
|
+
|
|
11029
|
+
def validate(self):
|
|
11030
|
+
if self.account_context:
|
|
11031
|
+
self.account_context.validate()
|
|
11032
|
+
|
|
11033
|
+
def to_map(self):
|
|
11034
|
+
_map = super().to_map()
|
|
11035
|
+
if _map is not None:
|
|
11036
|
+
return _map
|
|
11037
|
+
|
|
11038
|
+
result = dict()
|
|
11039
|
+
if self.common_headers is not None:
|
|
11040
|
+
result['commonHeaders'] = self.common_headers
|
|
11041
|
+
if self.account_context is not None:
|
|
11042
|
+
result['AccountContext'] = self.account_context.to_map()
|
|
11043
|
+
return result
|
|
11044
|
+
|
|
11045
|
+
def from_map(self, m: dict = None):
|
|
11046
|
+
m = m or dict()
|
|
11047
|
+
if m.get('commonHeaders') is not None:
|
|
11048
|
+
self.common_headers = m.get('commonHeaders')
|
|
11049
|
+
if m.get('AccountContext') is not None:
|
|
11050
|
+
temp_model = CopyDentryByNodeIdHeadersAccountContext()
|
|
11051
|
+
self.account_context = temp_model.from_map(m['AccountContext'])
|
|
11052
|
+
return self
|
|
11053
|
+
|
|
11054
|
+
|
|
11055
|
+
class CopyDentryByNodeIdShrinkHeaders(TeaModel):
|
|
11056
|
+
def __init__(
|
|
11057
|
+
self,
|
|
11058
|
+
common_headers: Dict[str, str] = None,
|
|
11059
|
+
account_context_shrink: str = None,
|
|
11060
|
+
):
|
|
11061
|
+
self.common_headers = common_headers
|
|
11062
|
+
self.account_context_shrink = account_context_shrink
|
|
11063
|
+
|
|
11064
|
+
def validate(self):
|
|
11065
|
+
pass
|
|
11066
|
+
|
|
11067
|
+
def to_map(self):
|
|
11068
|
+
_map = super().to_map()
|
|
11069
|
+
if _map is not None:
|
|
11070
|
+
return _map
|
|
11071
|
+
|
|
11072
|
+
result = dict()
|
|
11073
|
+
if self.common_headers is not None:
|
|
11074
|
+
result['commonHeaders'] = self.common_headers
|
|
11075
|
+
if self.account_context_shrink is not None:
|
|
11076
|
+
result['AccountContext'] = self.account_context_shrink
|
|
11077
|
+
return result
|
|
11078
|
+
|
|
11079
|
+
def from_map(self, m: dict = None):
|
|
11080
|
+
m = m or dict()
|
|
11081
|
+
if m.get('commonHeaders') is not None:
|
|
11082
|
+
self.common_headers = m.get('commonHeaders')
|
|
11083
|
+
if m.get('AccountContext') is not None:
|
|
11084
|
+
self.account_context_shrink = m.get('AccountContext')
|
|
11085
|
+
return self
|
|
11086
|
+
|
|
11087
|
+
|
|
11088
|
+
class CopyDentryByNodeIdRequestTenantContext(TeaModel):
|
|
11089
|
+
def __init__(
|
|
11090
|
+
self,
|
|
11091
|
+
tenant_id: str = None,
|
|
11092
|
+
):
|
|
11093
|
+
self.tenant_id = tenant_id
|
|
11094
|
+
|
|
11095
|
+
def validate(self):
|
|
11096
|
+
pass
|
|
11097
|
+
|
|
11098
|
+
def to_map(self):
|
|
11099
|
+
_map = super().to_map()
|
|
11100
|
+
if _map is not None:
|
|
11101
|
+
return _map
|
|
11102
|
+
|
|
11103
|
+
result = dict()
|
|
11104
|
+
if self.tenant_id is not None:
|
|
11105
|
+
result['tenantId'] = self.tenant_id
|
|
11106
|
+
return result
|
|
11107
|
+
|
|
11108
|
+
def from_map(self, m: dict = None):
|
|
11109
|
+
m = m or dict()
|
|
11110
|
+
if m.get('tenantId') is not None:
|
|
11111
|
+
self.tenant_id = m.get('tenantId')
|
|
11112
|
+
return self
|
|
11113
|
+
|
|
11114
|
+
|
|
11115
|
+
class CopyDentryByNodeIdRequest(TeaModel):
|
|
11116
|
+
def __init__(
|
|
11117
|
+
self,
|
|
11118
|
+
dentry_uuid: str = None,
|
|
11119
|
+
name: str = None,
|
|
11120
|
+
tenant_context: CopyDentryByNodeIdRequestTenantContext = None,
|
|
11121
|
+
to_next_node_id: str = None,
|
|
11122
|
+
to_parent_node_id: str = None,
|
|
11123
|
+
to_prev_node_id: str = None,
|
|
11124
|
+
):
|
|
11125
|
+
# This parameter is required.
|
|
11126
|
+
self.dentry_uuid = dentry_uuid
|
|
11127
|
+
# This parameter is required.
|
|
11128
|
+
self.name = name
|
|
11129
|
+
self.tenant_context = tenant_context
|
|
11130
|
+
self.to_next_node_id = to_next_node_id
|
|
11131
|
+
self.to_parent_node_id = to_parent_node_id
|
|
11132
|
+
self.to_prev_node_id = to_prev_node_id
|
|
11133
|
+
|
|
11134
|
+
def validate(self):
|
|
11135
|
+
if self.tenant_context:
|
|
11136
|
+
self.tenant_context.validate()
|
|
11137
|
+
|
|
11138
|
+
def to_map(self):
|
|
11139
|
+
_map = super().to_map()
|
|
11140
|
+
if _map is not None:
|
|
11141
|
+
return _map
|
|
11142
|
+
|
|
11143
|
+
result = dict()
|
|
11144
|
+
if self.dentry_uuid is not None:
|
|
11145
|
+
result['DentryUuid'] = self.dentry_uuid
|
|
11146
|
+
if self.name is not None:
|
|
11147
|
+
result['Name'] = self.name
|
|
11148
|
+
if self.tenant_context is not None:
|
|
11149
|
+
result['TenantContext'] = self.tenant_context.to_map()
|
|
11150
|
+
if self.to_next_node_id is not None:
|
|
11151
|
+
result['ToNextNodeId'] = self.to_next_node_id
|
|
11152
|
+
if self.to_parent_node_id is not None:
|
|
11153
|
+
result['ToParentNodeId'] = self.to_parent_node_id
|
|
11154
|
+
if self.to_prev_node_id is not None:
|
|
11155
|
+
result['ToPrevNodeId'] = self.to_prev_node_id
|
|
11156
|
+
return result
|
|
11157
|
+
|
|
11158
|
+
def from_map(self, m: dict = None):
|
|
11159
|
+
m = m or dict()
|
|
11160
|
+
if m.get('DentryUuid') is not None:
|
|
11161
|
+
self.dentry_uuid = m.get('DentryUuid')
|
|
11162
|
+
if m.get('Name') is not None:
|
|
11163
|
+
self.name = m.get('Name')
|
|
11164
|
+
if m.get('TenantContext') is not None:
|
|
11165
|
+
temp_model = CopyDentryByNodeIdRequestTenantContext()
|
|
11166
|
+
self.tenant_context = temp_model.from_map(m['TenantContext'])
|
|
11167
|
+
if m.get('ToNextNodeId') is not None:
|
|
11168
|
+
self.to_next_node_id = m.get('ToNextNodeId')
|
|
11169
|
+
if m.get('ToParentNodeId') is not None:
|
|
11170
|
+
self.to_parent_node_id = m.get('ToParentNodeId')
|
|
11171
|
+
if m.get('ToPrevNodeId') is not None:
|
|
11172
|
+
self.to_prev_node_id = m.get('ToPrevNodeId')
|
|
11173
|
+
return self
|
|
11174
|
+
|
|
11175
|
+
|
|
11176
|
+
class CopyDentryByNodeIdShrinkRequest(TeaModel):
|
|
11177
|
+
def __init__(
|
|
11178
|
+
self,
|
|
11179
|
+
dentry_uuid: str = None,
|
|
11180
|
+
name: str = None,
|
|
11181
|
+
tenant_context_shrink: str = None,
|
|
11182
|
+
to_next_node_id: str = None,
|
|
11183
|
+
to_parent_node_id: str = None,
|
|
11184
|
+
to_prev_node_id: str = None,
|
|
11185
|
+
):
|
|
11186
|
+
# This parameter is required.
|
|
11187
|
+
self.dentry_uuid = dentry_uuid
|
|
11188
|
+
# This parameter is required.
|
|
11189
|
+
self.name = name
|
|
11190
|
+
self.tenant_context_shrink = tenant_context_shrink
|
|
11191
|
+
self.to_next_node_id = to_next_node_id
|
|
11192
|
+
self.to_parent_node_id = to_parent_node_id
|
|
11193
|
+
self.to_prev_node_id = to_prev_node_id
|
|
11194
|
+
|
|
11195
|
+
def validate(self):
|
|
11196
|
+
pass
|
|
11197
|
+
|
|
11198
|
+
def to_map(self):
|
|
11199
|
+
_map = super().to_map()
|
|
11200
|
+
if _map is not None:
|
|
11201
|
+
return _map
|
|
11202
|
+
|
|
11203
|
+
result = dict()
|
|
11204
|
+
if self.dentry_uuid is not None:
|
|
11205
|
+
result['DentryUuid'] = self.dentry_uuid
|
|
11206
|
+
if self.name is not None:
|
|
11207
|
+
result['Name'] = self.name
|
|
11208
|
+
if self.tenant_context_shrink is not None:
|
|
11209
|
+
result['TenantContext'] = self.tenant_context_shrink
|
|
11210
|
+
if self.to_next_node_id is not None:
|
|
11211
|
+
result['ToNextNodeId'] = self.to_next_node_id
|
|
11212
|
+
if self.to_parent_node_id is not None:
|
|
11213
|
+
result['ToParentNodeId'] = self.to_parent_node_id
|
|
11214
|
+
if self.to_prev_node_id is not None:
|
|
11215
|
+
result['ToPrevNodeId'] = self.to_prev_node_id
|
|
11216
|
+
return result
|
|
11217
|
+
|
|
11218
|
+
def from_map(self, m: dict = None):
|
|
11219
|
+
m = m or dict()
|
|
11220
|
+
if m.get('DentryUuid') is not None:
|
|
11221
|
+
self.dentry_uuid = m.get('DentryUuid')
|
|
11222
|
+
if m.get('Name') is not None:
|
|
11223
|
+
self.name = m.get('Name')
|
|
11224
|
+
if m.get('TenantContext') is not None:
|
|
11225
|
+
self.tenant_context_shrink = m.get('TenantContext')
|
|
11226
|
+
if m.get('ToNextNodeId') is not None:
|
|
11227
|
+
self.to_next_node_id = m.get('ToNextNodeId')
|
|
11228
|
+
if m.get('ToParentNodeId') is not None:
|
|
11229
|
+
self.to_parent_node_id = m.get('ToParentNodeId')
|
|
11230
|
+
if m.get('ToPrevNodeId') is not None:
|
|
11231
|
+
self.to_prev_node_id = m.get('ToPrevNodeId')
|
|
11232
|
+
return self
|
|
11233
|
+
|
|
11234
|
+
|
|
11235
|
+
class CopyDentryByNodeIdResponseBody(TeaModel):
|
|
11236
|
+
def __init__(
|
|
11237
|
+
self,
|
|
11238
|
+
content_type: str = None,
|
|
11239
|
+
created_time: int = None,
|
|
11240
|
+
dentry_uuid: str = None,
|
|
11241
|
+
extension: str = None,
|
|
11242
|
+
request_id: str = None,
|
|
11243
|
+
space_id: str = None,
|
|
11244
|
+
vendor_request_id: str = None,
|
|
11245
|
+
vendor_type: str = None,
|
|
11246
|
+
):
|
|
11247
|
+
self.content_type = content_type
|
|
11248
|
+
self.created_time = created_time
|
|
11249
|
+
self.dentry_uuid = dentry_uuid
|
|
11250
|
+
self.extension = extension
|
|
11251
|
+
self.request_id = request_id
|
|
11252
|
+
self.space_id = space_id
|
|
11253
|
+
self.vendor_request_id = vendor_request_id
|
|
11254
|
+
self.vendor_type = vendor_type
|
|
11255
|
+
|
|
11256
|
+
def validate(self):
|
|
11257
|
+
pass
|
|
11258
|
+
|
|
11259
|
+
def to_map(self):
|
|
11260
|
+
_map = super().to_map()
|
|
11261
|
+
if _map is not None:
|
|
11262
|
+
return _map
|
|
11263
|
+
|
|
11264
|
+
result = dict()
|
|
11265
|
+
if self.content_type is not None:
|
|
11266
|
+
result['contentType'] = self.content_type
|
|
11267
|
+
if self.created_time is not None:
|
|
11268
|
+
result['createdTime'] = self.created_time
|
|
11269
|
+
if self.dentry_uuid is not None:
|
|
11270
|
+
result['dentryUuid'] = self.dentry_uuid
|
|
11271
|
+
if self.extension is not None:
|
|
11272
|
+
result['extension'] = self.extension
|
|
11273
|
+
if self.request_id is not None:
|
|
11274
|
+
result['requestId'] = self.request_id
|
|
11275
|
+
if self.space_id is not None:
|
|
11276
|
+
result['spaceId'] = self.space_id
|
|
11277
|
+
if self.vendor_request_id is not None:
|
|
11278
|
+
result['vendorRequestId'] = self.vendor_request_id
|
|
11279
|
+
if self.vendor_type is not None:
|
|
11280
|
+
result['vendorType'] = self.vendor_type
|
|
11281
|
+
return result
|
|
11282
|
+
|
|
11283
|
+
def from_map(self, m: dict = None):
|
|
11284
|
+
m = m or dict()
|
|
11285
|
+
if m.get('contentType') is not None:
|
|
11286
|
+
self.content_type = m.get('contentType')
|
|
11287
|
+
if m.get('createdTime') is not None:
|
|
11288
|
+
self.created_time = m.get('createdTime')
|
|
11289
|
+
if m.get('dentryUuid') is not None:
|
|
11290
|
+
self.dentry_uuid = m.get('dentryUuid')
|
|
11291
|
+
if m.get('extension') is not None:
|
|
11292
|
+
self.extension = m.get('extension')
|
|
11293
|
+
if m.get('requestId') is not None:
|
|
11294
|
+
self.request_id = m.get('requestId')
|
|
11295
|
+
if m.get('spaceId') is not None:
|
|
11296
|
+
self.space_id = m.get('spaceId')
|
|
11297
|
+
if m.get('vendorRequestId') is not None:
|
|
11298
|
+
self.vendor_request_id = m.get('vendorRequestId')
|
|
11299
|
+
if m.get('vendorType') is not None:
|
|
11300
|
+
self.vendor_type = m.get('vendorType')
|
|
11301
|
+
return self
|
|
11302
|
+
|
|
11303
|
+
|
|
11304
|
+
class CopyDentryByNodeIdResponse(TeaModel):
|
|
11305
|
+
def __init__(
|
|
11306
|
+
self,
|
|
11307
|
+
headers: Dict[str, str] = None,
|
|
11308
|
+
status_code: int = None,
|
|
11309
|
+
body: CopyDentryByNodeIdResponseBody = None,
|
|
11310
|
+
):
|
|
11311
|
+
self.headers = headers
|
|
11312
|
+
self.status_code = status_code
|
|
11313
|
+
self.body = body
|
|
11314
|
+
|
|
11315
|
+
def validate(self):
|
|
11316
|
+
if self.body:
|
|
11317
|
+
self.body.validate()
|
|
11318
|
+
|
|
11319
|
+
def to_map(self):
|
|
11320
|
+
_map = super().to_map()
|
|
11321
|
+
if _map is not None:
|
|
11322
|
+
return _map
|
|
11323
|
+
|
|
11324
|
+
result = dict()
|
|
11325
|
+
if self.headers is not None:
|
|
11326
|
+
result['headers'] = self.headers
|
|
11327
|
+
if self.status_code is not None:
|
|
11328
|
+
result['statusCode'] = self.status_code
|
|
11329
|
+
if self.body is not None:
|
|
11330
|
+
result['body'] = self.body.to_map()
|
|
11331
|
+
return result
|
|
11332
|
+
|
|
11333
|
+
def from_map(self, m: dict = None):
|
|
11334
|
+
m = m or dict()
|
|
11335
|
+
if m.get('headers') is not None:
|
|
11336
|
+
self.headers = m.get('headers')
|
|
11337
|
+
if m.get('statusCode') is not None:
|
|
11338
|
+
self.status_code = m.get('statusCode')
|
|
11339
|
+
if m.get('body') is not None:
|
|
11340
|
+
temp_model = CopyDentryByNodeIdResponseBody()
|
|
11341
|
+
self.body = temp_model.from_map(m['body'])
|
|
11342
|
+
return self
|
|
11343
|
+
|
|
11344
|
+
|
|
10992
11345
|
class CreateAlidingAssistantHeadersAccountContext(TeaModel):
|
|
10993
11346
|
def __init__(
|
|
10994
11347
|
self,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
alibabacloud_aliding20230426/__init__.py,sha256=6TiXRcMclqQ8xF4RUjmgigSjpovRxa78q8xZLrQH4KA,22
|
|
2
|
+
alibabacloud_aliding20230426/client.py,sha256=6aL26Dg-VS-JQcs6z-73JlAo-d0nno8WRlblm2s3iBA,1821621
|
|
3
|
+
alibabacloud_aliding20230426/models.py,sha256=wGzCZb39e-6pWq_GilYerGdV3lA7PBiI61N9gnKX5II,3384786
|
|
4
|
+
alibabacloud_aliding20230426-2.46.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
+
alibabacloud_aliding20230426-2.46.0.dist-info/METADATA,sha256=6C6KqFrWrD3mLcFtb5mirscOFONqFkEAZMFIXCm2mBI,2341
|
|
6
|
+
alibabacloud_aliding20230426-2.46.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
+
alibabacloud_aliding20230426-2.46.0.dist-info/top_level.txt,sha256=-PldRiL4BaIcC8lMj_rfQts3uDrz2FNYlwzb82aQOAs,29
|
|
8
|
+
alibabacloud_aliding20230426-2.46.0.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
alibabacloud_aliding20230426/__init__.py,sha256=7nLxmiISBI5m-t_WSoDigpeGYMvsQiC5z8l8rcexPCw,22
|
|
2
|
-
alibabacloud_aliding20230426/client.py,sha256=RRs51pQn270QcSkfHo2s1TacIX4aEak5tZI5D_D6bjM,1814381
|
|
3
|
-
alibabacloud_aliding20230426/models.py,sha256=QZnts-8dWwxZJ09duw0X8Pmykfy3ADSaqLlnSD0iy30,3373289
|
|
4
|
-
alibabacloud_aliding20230426-2.45.2.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
-
alibabacloud_aliding20230426-2.45.2.dist-info/METADATA,sha256=Rk1RP6_EScfLqjUre_WSzNyb63CU2KUVK0G3jMLow3c,2341
|
|
6
|
-
alibabacloud_aliding20230426-2.45.2.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
-
alibabacloud_aliding20230426-2.45.2.dist-info/top_level.txt,sha256=-PldRiL4BaIcC8lMj_rfQts3uDrz2FNYlwzb82aQOAs,29
|
|
8
|
-
alibabacloud_aliding20230426-2.45.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|