alibabacloud-aliding20230426 2.44.4__tar.gz → 2.45.0__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.
- {alibabacloud_aliding20230426-2.44.4 → alibabacloud_aliding20230426-2.45.0}/ChangeLog.md +3 -0
- {alibabacloud_aliding20230426-2.44.4 → alibabacloud_aliding20230426-2.45.0}/PKG-INFO +1 -1
- alibabacloud_aliding20230426-2.45.0/alibabacloud_aliding20230426/__init__.py +1 -0
- {alibabacloud_aliding20230426-2.44.4 → alibabacloud_aliding20230426-2.45.0}/alibabacloud_aliding20230426/client.py +284 -0
- {alibabacloud_aliding20230426-2.44.4 → alibabacloud_aliding20230426-2.45.0}/alibabacloud_aliding20230426/models.py +600 -0
- {alibabacloud_aliding20230426-2.44.4 → alibabacloud_aliding20230426-2.45.0}/alibabacloud_aliding20230426.egg-info/PKG-INFO +1 -1
- alibabacloud_aliding20230426-2.44.4/alibabacloud_aliding20230426/__init__.py +0 -1
- {alibabacloud_aliding20230426-2.44.4 → alibabacloud_aliding20230426-2.45.0}/LICENSE +0 -0
- {alibabacloud_aliding20230426-2.44.4 → alibabacloud_aliding20230426-2.45.0}/MANIFEST.in +0 -0
- {alibabacloud_aliding20230426-2.44.4 → alibabacloud_aliding20230426-2.45.0}/README-CN.md +0 -0
- {alibabacloud_aliding20230426-2.44.4 → alibabacloud_aliding20230426-2.45.0}/README.md +0 -0
- {alibabacloud_aliding20230426-2.44.4 → alibabacloud_aliding20230426-2.45.0}/alibabacloud_aliding20230426.egg-info/SOURCES.txt +0 -0
- {alibabacloud_aliding20230426-2.44.4 → alibabacloud_aliding20230426-2.45.0}/alibabacloud_aliding20230426.egg-info/dependency_links.txt +0 -0
- {alibabacloud_aliding20230426-2.44.4 → alibabacloud_aliding20230426-2.45.0}/alibabacloud_aliding20230426.egg-info/requires.txt +0 -0
- {alibabacloud_aliding20230426-2.44.4 → alibabacloud_aliding20230426-2.45.0}/alibabacloud_aliding20230426.egg-info/top_level.txt +0 -0
- {alibabacloud_aliding20230426-2.44.4 → alibabacloud_aliding20230426-2.45.0}/setup.cfg +0 -0
- {alibabacloud_aliding20230426-2.44.4 → alibabacloud_aliding20230426-2.45.0}/setup.py +0 -0
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
2025-10-14 Version: 2.44.4
|
|
2
|
+
- Generated python 2023-04-26 for aliding.
|
|
3
|
+
|
|
1
4
|
2025-08-20 Version: 2.44.3
|
|
2
5
|
- Update API GetOrgLiveList: add response parameters Body.result.NewLive.LiveList.$.AnchorUnionIdInAlibaba.
|
|
3
6
|
- Update API GetOrgLiveList: add response parameters Body.result.UpdateLive.LiveList.$.AnchorUnionIdInAlibaba.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '2.45.0'
|
|
@@ -11099,6 +11099,290 @@ class Client(OpenApiClient):
|
|
|
11099
11099
|
headers = aliding_20230426_models.DeleteWorkspaceMembersHeaders()
|
|
11100
11100
|
return await self.delete_workspace_members_with_options_async(request, headers, runtime)
|
|
11101
11101
|
|
|
11102
|
+
def doc_blocks_delete_with_options(
|
|
11103
|
+
self,
|
|
11104
|
+
tmp_req: aliding_20230426_models.DocBlocksDeleteRequest,
|
|
11105
|
+
tmp_header: aliding_20230426_models.DocBlocksDeleteHeaders,
|
|
11106
|
+
runtime: util_models.RuntimeOptions,
|
|
11107
|
+
) -> aliding_20230426_models.DocBlocksDeleteResponse:
|
|
11108
|
+
"""
|
|
11109
|
+
@summary 删除块元素
|
|
11110
|
+
|
|
11111
|
+
@param tmp_req: DocBlocksDeleteRequest
|
|
11112
|
+
@param tmp_header: DocBlocksDeleteHeaders
|
|
11113
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
11114
|
+
@return: DocBlocksDeleteResponse
|
|
11115
|
+
"""
|
|
11116
|
+
UtilClient.validate_model(tmp_req)
|
|
11117
|
+
request = aliding_20230426_models.DocBlocksDeleteShrinkRequest()
|
|
11118
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
11119
|
+
headers = aliding_20230426_models.DocBlocksDeleteShrinkHeaders()
|
|
11120
|
+
OpenApiUtilClient.convert(tmp_header, headers)
|
|
11121
|
+
if not UtilClient.is_unset(tmp_header.account_context):
|
|
11122
|
+
headers.account_context_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_header.account_context, 'AccountContext', 'json')
|
|
11123
|
+
if not UtilClient.is_unset(tmp_req.tenant_context):
|
|
11124
|
+
request.tenant_context_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.tenant_context, 'TenantContext', 'json')
|
|
11125
|
+
body = {}
|
|
11126
|
+
if not UtilClient.is_unset(request.block_id):
|
|
11127
|
+
body['BlockId'] = request.block_id
|
|
11128
|
+
if not UtilClient.is_unset(request.dentry_uuid):
|
|
11129
|
+
body['DentryUuid'] = request.dentry_uuid
|
|
11130
|
+
if not UtilClient.is_unset(request.tenant_context_shrink):
|
|
11131
|
+
body['TenantContext'] = request.tenant_context_shrink
|
|
11132
|
+
real_headers = {}
|
|
11133
|
+
if not UtilClient.is_unset(headers.common_headers):
|
|
11134
|
+
real_headers = headers.common_headers
|
|
11135
|
+
if not UtilClient.is_unset(headers.account_context_shrink):
|
|
11136
|
+
real_headers['AccountContext'] = UtilClient.to_jsonstring(headers.account_context_shrink)
|
|
11137
|
+
req = open_api_models.OpenApiRequest(
|
|
11138
|
+
headers=real_headers,
|
|
11139
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
11140
|
+
)
|
|
11141
|
+
params = open_api_models.Params(
|
|
11142
|
+
action='DocBlocksDelete',
|
|
11143
|
+
version='2023-04-26',
|
|
11144
|
+
protocol='HTTPS',
|
|
11145
|
+
pathname=f'/dingtalk/v1/documents/docBlocksDelete',
|
|
11146
|
+
method='POST',
|
|
11147
|
+
auth_type='AK',
|
|
11148
|
+
style='ROA',
|
|
11149
|
+
req_body_type='formData',
|
|
11150
|
+
body_type='json'
|
|
11151
|
+
)
|
|
11152
|
+
return TeaCore.from_map(
|
|
11153
|
+
aliding_20230426_models.DocBlocksDeleteResponse(),
|
|
11154
|
+
self.call_api(params, req, runtime)
|
|
11155
|
+
)
|
|
11156
|
+
|
|
11157
|
+
async def doc_blocks_delete_with_options_async(
|
|
11158
|
+
self,
|
|
11159
|
+
tmp_req: aliding_20230426_models.DocBlocksDeleteRequest,
|
|
11160
|
+
tmp_header: aliding_20230426_models.DocBlocksDeleteHeaders,
|
|
11161
|
+
runtime: util_models.RuntimeOptions,
|
|
11162
|
+
) -> aliding_20230426_models.DocBlocksDeleteResponse:
|
|
11163
|
+
"""
|
|
11164
|
+
@summary 删除块元素
|
|
11165
|
+
|
|
11166
|
+
@param tmp_req: DocBlocksDeleteRequest
|
|
11167
|
+
@param tmp_header: DocBlocksDeleteHeaders
|
|
11168
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
11169
|
+
@return: DocBlocksDeleteResponse
|
|
11170
|
+
"""
|
|
11171
|
+
UtilClient.validate_model(tmp_req)
|
|
11172
|
+
request = aliding_20230426_models.DocBlocksDeleteShrinkRequest()
|
|
11173
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
11174
|
+
headers = aliding_20230426_models.DocBlocksDeleteShrinkHeaders()
|
|
11175
|
+
OpenApiUtilClient.convert(tmp_header, headers)
|
|
11176
|
+
if not UtilClient.is_unset(tmp_header.account_context):
|
|
11177
|
+
headers.account_context_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_header.account_context, 'AccountContext', 'json')
|
|
11178
|
+
if not UtilClient.is_unset(tmp_req.tenant_context):
|
|
11179
|
+
request.tenant_context_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.tenant_context, 'TenantContext', 'json')
|
|
11180
|
+
body = {}
|
|
11181
|
+
if not UtilClient.is_unset(request.block_id):
|
|
11182
|
+
body['BlockId'] = request.block_id
|
|
11183
|
+
if not UtilClient.is_unset(request.dentry_uuid):
|
|
11184
|
+
body['DentryUuid'] = request.dentry_uuid
|
|
11185
|
+
if not UtilClient.is_unset(request.tenant_context_shrink):
|
|
11186
|
+
body['TenantContext'] = request.tenant_context_shrink
|
|
11187
|
+
real_headers = {}
|
|
11188
|
+
if not UtilClient.is_unset(headers.common_headers):
|
|
11189
|
+
real_headers = headers.common_headers
|
|
11190
|
+
if not UtilClient.is_unset(headers.account_context_shrink):
|
|
11191
|
+
real_headers['AccountContext'] = UtilClient.to_jsonstring(headers.account_context_shrink)
|
|
11192
|
+
req = open_api_models.OpenApiRequest(
|
|
11193
|
+
headers=real_headers,
|
|
11194
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
11195
|
+
)
|
|
11196
|
+
params = open_api_models.Params(
|
|
11197
|
+
action='DocBlocksDelete',
|
|
11198
|
+
version='2023-04-26',
|
|
11199
|
+
protocol='HTTPS',
|
|
11200
|
+
pathname=f'/dingtalk/v1/documents/docBlocksDelete',
|
|
11201
|
+
method='POST',
|
|
11202
|
+
auth_type='AK',
|
|
11203
|
+
style='ROA',
|
|
11204
|
+
req_body_type='formData',
|
|
11205
|
+
body_type='json'
|
|
11206
|
+
)
|
|
11207
|
+
return TeaCore.from_map(
|
|
11208
|
+
aliding_20230426_models.DocBlocksDeleteResponse(),
|
|
11209
|
+
await self.call_api_async(params, req, runtime)
|
|
11210
|
+
)
|
|
11211
|
+
|
|
11212
|
+
def doc_blocks_delete(
|
|
11213
|
+
self,
|
|
11214
|
+
request: aliding_20230426_models.DocBlocksDeleteRequest,
|
|
11215
|
+
) -> aliding_20230426_models.DocBlocksDeleteResponse:
|
|
11216
|
+
"""
|
|
11217
|
+
@summary 删除块元素
|
|
11218
|
+
|
|
11219
|
+
@param request: DocBlocksDeleteRequest
|
|
11220
|
+
@return: DocBlocksDeleteResponse
|
|
11221
|
+
"""
|
|
11222
|
+
runtime = util_models.RuntimeOptions()
|
|
11223
|
+
headers = aliding_20230426_models.DocBlocksDeleteHeaders()
|
|
11224
|
+
return self.doc_blocks_delete_with_options(request, headers, runtime)
|
|
11225
|
+
|
|
11226
|
+
async def doc_blocks_delete_async(
|
|
11227
|
+
self,
|
|
11228
|
+
request: aliding_20230426_models.DocBlocksDeleteRequest,
|
|
11229
|
+
) -> aliding_20230426_models.DocBlocksDeleteResponse:
|
|
11230
|
+
"""
|
|
11231
|
+
@summary 删除块元素
|
|
11232
|
+
|
|
11233
|
+
@param request: DocBlocksDeleteRequest
|
|
11234
|
+
@return: DocBlocksDeleteResponse
|
|
11235
|
+
"""
|
|
11236
|
+
runtime = util_models.RuntimeOptions()
|
|
11237
|
+
headers = aliding_20230426_models.DocBlocksDeleteHeaders()
|
|
11238
|
+
return await self.doc_blocks_delete_with_options_async(request, headers, runtime)
|
|
11239
|
+
|
|
11240
|
+
def doc_blocks_modify_with_options(
|
|
11241
|
+
self,
|
|
11242
|
+
tmp_req: aliding_20230426_models.DocBlocksModifyRequest,
|
|
11243
|
+
tmp_header: aliding_20230426_models.DocBlocksModifyHeaders,
|
|
11244
|
+
runtime: util_models.RuntimeOptions,
|
|
11245
|
+
) -> aliding_20230426_models.DocBlocksModifyResponse:
|
|
11246
|
+
"""
|
|
11247
|
+
@summary 更新块元素
|
|
11248
|
+
|
|
11249
|
+
@param tmp_req: DocBlocksModifyRequest
|
|
11250
|
+
@param tmp_header: DocBlocksModifyHeaders
|
|
11251
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
11252
|
+
@return: DocBlocksModifyResponse
|
|
11253
|
+
"""
|
|
11254
|
+
UtilClient.validate_model(tmp_req)
|
|
11255
|
+
request = aliding_20230426_models.DocBlocksModifyShrinkRequest()
|
|
11256
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
11257
|
+
headers = aliding_20230426_models.DocBlocksModifyShrinkHeaders()
|
|
11258
|
+
OpenApiUtilClient.convert(tmp_header, headers)
|
|
11259
|
+
if not UtilClient.is_unset(tmp_header.account_context):
|
|
11260
|
+
headers.account_context_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_header.account_context, 'AccountContext', 'json')
|
|
11261
|
+
if not UtilClient.is_unset(tmp_req.element):
|
|
11262
|
+
request.element_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.element, 'Element', 'json')
|
|
11263
|
+
if not UtilClient.is_unset(tmp_req.tenant_context):
|
|
11264
|
+
request.tenant_context_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.tenant_context, 'TenantContext', 'json')
|
|
11265
|
+
body = {}
|
|
11266
|
+
if not UtilClient.is_unset(request.block_id):
|
|
11267
|
+
body['BlockId'] = request.block_id
|
|
11268
|
+
if not UtilClient.is_unset(request.dentry_uuid):
|
|
11269
|
+
body['DentryUuid'] = request.dentry_uuid
|
|
11270
|
+
if not UtilClient.is_unset(request.element_shrink):
|
|
11271
|
+
body['Element'] = request.element_shrink
|
|
11272
|
+
if not UtilClient.is_unset(request.tenant_context_shrink):
|
|
11273
|
+
body['TenantContext'] = request.tenant_context_shrink
|
|
11274
|
+
real_headers = {}
|
|
11275
|
+
if not UtilClient.is_unset(headers.common_headers):
|
|
11276
|
+
real_headers = headers.common_headers
|
|
11277
|
+
if not UtilClient.is_unset(headers.account_context_shrink):
|
|
11278
|
+
real_headers['AccountContext'] = UtilClient.to_jsonstring(headers.account_context_shrink)
|
|
11279
|
+
req = open_api_models.OpenApiRequest(
|
|
11280
|
+
headers=real_headers,
|
|
11281
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
11282
|
+
)
|
|
11283
|
+
params = open_api_models.Params(
|
|
11284
|
+
action='DocBlocksModify',
|
|
11285
|
+
version='2023-04-26',
|
|
11286
|
+
protocol='HTTPS',
|
|
11287
|
+
pathname=f'/dingtalk/v1/documents/docBlocksModify',
|
|
11288
|
+
method='POST',
|
|
11289
|
+
auth_type='AK',
|
|
11290
|
+
style='ROA',
|
|
11291
|
+
req_body_type='formData',
|
|
11292
|
+
body_type='json'
|
|
11293
|
+
)
|
|
11294
|
+
return TeaCore.from_map(
|
|
11295
|
+
aliding_20230426_models.DocBlocksModifyResponse(),
|
|
11296
|
+
self.call_api(params, req, runtime)
|
|
11297
|
+
)
|
|
11298
|
+
|
|
11299
|
+
async def doc_blocks_modify_with_options_async(
|
|
11300
|
+
self,
|
|
11301
|
+
tmp_req: aliding_20230426_models.DocBlocksModifyRequest,
|
|
11302
|
+
tmp_header: aliding_20230426_models.DocBlocksModifyHeaders,
|
|
11303
|
+
runtime: util_models.RuntimeOptions,
|
|
11304
|
+
) -> aliding_20230426_models.DocBlocksModifyResponse:
|
|
11305
|
+
"""
|
|
11306
|
+
@summary 更新块元素
|
|
11307
|
+
|
|
11308
|
+
@param tmp_req: DocBlocksModifyRequest
|
|
11309
|
+
@param tmp_header: DocBlocksModifyHeaders
|
|
11310
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
11311
|
+
@return: DocBlocksModifyResponse
|
|
11312
|
+
"""
|
|
11313
|
+
UtilClient.validate_model(tmp_req)
|
|
11314
|
+
request = aliding_20230426_models.DocBlocksModifyShrinkRequest()
|
|
11315
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
11316
|
+
headers = aliding_20230426_models.DocBlocksModifyShrinkHeaders()
|
|
11317
|
+
OpenApiUtilClient.convert(tmp_header, headers)
|
|
11318
|
+
if not UtilClient.is_unset(tmp_header.account_context):
|
|
11319
|
+
headers.account_context_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_header.account_context, 'AccountContext', 'json')
|
|
11320
|
+
if not UtilClient.is_unset(tmp_req.element):
|
|
11321
|
+
request.element_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.element, 'Element', 'json')
|
|
11322
|
+
if not UtilClient.is_unset(tmp_req.tenant_context):
|
|
11323
|
+
request.tenant_context_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.tenant_context, 'TenantContext', 'json')
|
|
11324
|
+
body = {}
|
|
11325
|
+
if not UtilClient.is_unset(request.block_id):
|
|
11326
|
+
body['BlockId'] = request.block_id
|
|
11327
|
+
if not UtilClient.is_unset(request.dentry_uuid):
|
|
11328
|
+
body['DentryUuid'] = request.dentry_uuid
|
|
11329
|
+
if not UtilClient.is_unset(request.element_shrink):
|
|
11330
|
+
body['Element'] = request.element_shrink
|
|
11331
|
+
if not UtilClient.is_unset(request.tenant_context_shrink):
|
|
11332
|
+
body['TenantContext'] = request.tenant_context_shrink
|
|
11333
|
+
real_headers = {}
|
|
11334
|
+
if not UtilClient.is_unset(headers.common_headers):
|
|
11335
|
+
real_headers = headers.common_headers
|
|
11336
|
+
if not UtilClient.is_unset(headers.account_context_shrink):
|
|
11337
|
+
real_headers['AccountContext'] = UtilClient.to_jsonstring(headers.account_context_shrink)
|
|
11338
|
+
req = open_api_models.OpenApiRequest(
|
|
11339
|
+
headers=real_headers,
|
|
11340
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
11341
|
+
)
|
|
11342
|
+
params = open_api_models.Params(
|
|
11343
|
+
action='DocBlocksModify',
|
|
11344
|
+
version='2023-04-26',
|
|
11345
|
+
protocol='HTTPS',
|
|
11346
|
+
pathname=f'/dingtalk/v1/documents/docBlocksModify',
|
|
11347
|
+
method='POST',
|
|
11348
|
+
auth_type='AK',
|
|
11349
|
+
style='ROA',
|
|
11350
|
+
req_body_type='formData',
|
|
11351
|
+
body_type='json'
|
|
11352
|
+
)
|
|
11353
|
+
return TeaCore.from_map(
|
|
11354
|
+
aliding_20230426_models.DocBlocksModifyResponse(),
|
|
11355
|
+
await self.call_api_async(params, req, runtime)
|
|
11356
|
+
)
|
|
11357
|
+
|
|
11358
|
+
def doc_blocks_modify(
|
|
11359
|
+
self,
|
|
11360
|
+
request: aliding_20230426_models.DocBlocksModifyRequest,
|
|
11361
|
+
) -> aliding_20230426_models.DocBlocksModifyResponse:
|
|
11362
|
+
"""
|
|
11363
|
+
@summary 更新块元素
|
|
11364
|
+
|
|
11365
|
+
@param request: DocBlocksModifyRequest
|
|
11366
|
+
@return: DocBlocksModifyResponse
|
|
11367
|
+
"""
|
|
11368
|
+
runtime = util_models.RuntimeOptions()
|
|
11369
|
+
headers = aliding_20230426_models.DocBlocksModifyHeaders()
|
|
11370
|
+
return self.doc_blocks_modify_with_options(request, headers, runtime)
|
|
11371
|
+
|
|
11372
|
+
async def doc_blocks_modify_async(
|
|
11373
|
+
self,
|
|
11374
|
+
request: aliding_20230426_models.DocBlocksModifyRequest,
|
|
11375
|
+
) -> aliding_20230426_models.DocBlocksModifyResponse:
|
|
11376
|
+
"""
|
|
11377
|
+
@summary 更新块元素
|
|
11378
|
+
|
|
11379
|
+
@param request: DocBlocksModifyRequest
|
|
11380
|
+
@return: DocBlocksModifyResponse
|
|
11381
|
+
"""
|
|
11382
|
+
runtime = util_models.RuntimeOptions()
|
|
11383
|
+
headers = aliding_20230426_models.DocBlocksModifyHeaders()
|
|
11384
|
+
return await self.doc_blocks_modify_with_options_async(request, headers, runtime)
|
|
11385
|
+
|
|
11102
11386
|
def doc_blocks_query_with_options(
|
|
11103
11387
|
self,
|
|
11104
11388
|
tmp_req: aliding_20230426_models.DocBlocksQueryRequest,
|
|
@@ -30207,6 +30207,606 @@ class DeleteWorkspaceMembersResponse(TeaModel):
|
|
|
30207
30207
|
return self
|
|
30208
30208
|
|
|
30209
30209
|
|
|
30210
|
+
class DocBlocksDeleteHeadersAccountContext(TeaModel):
|
|
30211
|
+
def __init__(
|
|
30212
|
+
self,
|
|
30213
|
+
account_id: str = None,
|
|
30214
|
+
):
|
|
30215
|
+
# This parameter is required.
|
|
30216
|
+
self.account_id = account_id
|
|
30217
|
+
|
|
30218
|
+
def validate(self):
|
|
30219
|
+
pass
|
|
30220
|
+
|
|
30221
|
+
def to_map(self):
|
|
30222
|
+
_map = super().to_map()
|
|
30223
|
+
if _map is not None:
|
|
30224
|
+
return _map
|
|
30225
|
+
|
|
30226
|
+
result = dict()
|
|
30227
|
+
if self.account_id is not None:
|
|
30228
|
+
result['accountId'] = self.account_id
|
|
30229
|
+
return result
|
|
30230
|
+
|
|
30231
|
+
def from_map(self, m: dict = None):
|
|
30232
|
+
m = m or dict()
|
|
30233
|
+
if m.get('accountId') is not None:
|
|
30234
|
+
self.account_id = m.get('accountId')
|
|
30235
|
+
return self
|
|
30236
|
+
|
|
30237
|
+
|
|
30238
|
+
class DocBlocksDeleteHeaders(TeaModel):
|
|
30239
|
+
def __init__(
|
|
30240
|
+
self,
|
|
30241
|
+
common_headers: Dict[str, str] = None,
|
|
30242
|
+
account_context: DocBlocksDeleteHeadersAccountContext = None,
|
|
30243
|
+
):
|
|
30244
|
+
self.common_headers = common_headers
|
|
30245
|
+
self.account_context = account_context
|
|
30246
|
+
|
|
30247
|
+
def validate(self):
|
|
30248
|
+
if self.account_context:
|
|
30249
|
+
self.account_context.validate()
|
|
30250
|
+
|
|
30251
|
+
def to_map(self):
|
|
30252
|
+
_map = super().to_map()
|
|
30253
|
+
if _map is not None:
|
|
30254
|
+
return _map
|
|
30255
|
+
|
|
30256
|
+
result = dict()
|
|
30257
|
+
if self.common_headers is not None:
|
|
30258
|
+
result['commonHeaders'] = self.common_headers
|
|
30259
|
+
if self.account_context is not None:
|
|
30260
|
+
result['AccountContext'] = self.account_context.to_map()
|
|
30261
|
+
return result
|
|
30262
|
+
|
|
30263
|
+
def from_map(self, m: dict = None):
|
|
30264
|
+
m = m or dict()
|
|
30265
|
+
if m.get('commonHeaders') is not None:
|
|
30266
|
+
self.common_headers = m.get('commonHeaders')
|
|
30267
|
+
if m.get('AccountContext') is not None:
|
|
30268
|
+
temp_model = DocBlocksDeleteHeadersAccountContext()
|
|
30269
|
+
self.account_context = temp_model.from_map(m['AccountContext'])
|
|
30270
|
+
return self
|
|
30271
|
+
|
|
30272
|
+
|
|
30273
|
+
class DocBlocksDeleteShrinkHeaders(TeaModel):
|
|
30274
|
+
def __init__(
|
|
30275
|
+
self,
|
|
30276
|
+
common_headers: Dict[str, str] = None,
|
|
30277
|
+
account_context_shrink: str = None,
|
|
30278
|
+
):
|
|
30279
|
+
self.common_headers = common_headers
|
|
30280
|
+
self.account_context_shrink = account_context_shrink
|
|
30281
|
+
|
|
30282
|
+
def validate(self):
|
|
30283
|
+
pass
|
|
30284
|
+
|
|
30285
|
+
def to_map(self):
|
|
30286
|
+
_map = super().to_map()
|
|
30287
|
+
if _map is not None:
|
|
30288
|
+
return _map
|
|
30289
|
+
|
|
30290
|
+
result = dict()
|
|
30291
|
+
if self.common_headers is not None:
|
|
30292
|
+
result['commonHeaders'] = self.common_headers
|
|
30293
|
+
if self.account_context_shrink is not None:
|
|
30294
|
+
result['AccountContext'] = self.account_context_shrink
|
|
30295
|
+
return result
|
|
30296
|
+
|
|
30297
|
+
def from_map(self, m: dict = None):
|
|
30298
|
+
m = m or dict()
|
|
30299
|
+
if m.get('commonHeaders') is not None:
|
|
30300
|
+
self.common_headers = m.get('commonHeaders')
|
|
30301
|
+
if m.get('AccountContext') is not None:
|
|
30302
|
+
self.account_context_shrink = m.get('AccountContext')
|
|
30303
|
+
return self
|
|
30304
|
+
|
|
30305
|
+
|
|
30306
|
+
class DocBlocksDeleteRequestTenantContext(TeaModel):
|
|
30307
|
+
def __init__(
|
|
30308
|
+
self,
|
|
30309
|
+
tenant_id: str = None,
|
|
30310
|
+
):
|
|
30311
|
+
self.tenant_id = tenant_id
|
|
30312
|
+
|
|
30313
|
+
def validate(self):
|
|
30314
|
+
pass
|
|
30315
|
+
|
|
30316
|
+
def to_map(self):
|
|
30317
|
+
_map = super().to_map()
|
|
30318
|
+
if _map is not None:
|
|
30319
|
+
return _map
|
|
30320
|
+
|
|
30321
|
+
result = dict()
|
|
30322
|
+
if self.tenant_id is not None:
|
|
30323
|
+
result['tenantId'] = self.tenant_id
|
|
30324
|
+
return result
|
|
30325
|
+
|
|
30326
|
+
def from_map(self, m: dict = None):
|
|
30327
|
+
m = m or dict()
|
|
30328
|
+
if m.get('tenantId') is not None:
|
|
30329
|
+
self.tenant_id = m.get('tenantId')
|
|
30330
|
+
return self
|
|
30331
|
+
|
|
30332
|
+
|
|
30333
|
+
class DocBlocksDeleteRequest(TeaModel):
|
|
30334
|
+
def __init__(
|
|
30335
|
+
self,
|
|
30336
|
+
block_id: str = None,
|
|
30337
|
+
dentry_uuid: str = None,
|
|
30338
|
+
tenant_context: DocBlocksDeleteRequestTenantContext = None,
|
|
30339
|
+
):
|
|
30340
|
+
# This parameter is required.
|
|
30341
|
+
self.block_id = block_id
|
|
30342
|
+
# This parameter is required.
|
|
30343
|
+
self.dentry_uuid = dentry_uuid
|
|
30344
|
+
self.tenant_context = tenant_context
|
|
30345
|
+
|
|
30346
|
+
def validate(self):
|
|
30347
|
+
if self.tenant_context:
|
|
30348
|
+
self.tenant_context.validate()
|
|
30349
|
+
|
|
30350
|
+
def to_map(self):
|
|
30351
|
+
_map = super().to_map()
|
|
30352
|
+
if _map is not None:
|
|
30353
|
+
return _map
|
|
30354
|
+
|
|
30355
|
+
result = dict()
|
|
30356
|
+
if self.block_id is not None:
|
|
30357
|
+
result['BlockId'] = self.block_id
|
|
30358
|
+
if self.dentry_uuid is not None:
|
|
30359
|
+
result['DentryUuid'] = self.dentry_uuid
|
|
30360
|
+
if self.tenant_context is not None:
|
|
30361
|
+
result['TenantContext'] = self.tenant_context.to_map()
|
|
30362
|
+
return result
|
|
30363
|
+
|
|
30364
|
+
def from_map(self, m: dict = None):
|
|
30365
|
+
m = m or dict()
|
|
30366
|
+
if m.get('BlockId') is not None:
|
|
30367
|
+
self.block_id = m.get('BlockId')
|
|
30368
|
+
if m.get('DentryUuid') is not None:
|
|
30369
|
+
self.dentry_uuid = m.get('DentryUuid')
|
|
30370
|
+
if m.get('TenantContext') is not None:
|
|
30371
|
+
temp_model = DocBlocksDeleteRequestTenantContext()
|
|
30372
|
+
self.tenant_context = temp_model.from_map(m['TenantContext'])
|
|
30373
|
+
return self
|
|
30374
|
+
|
|
30375
|
+
|
|
30376
|
+
class DocBlocksDeleteShrinkRequest(TeaModel):
|
|
30377
|
+
def __init__(
|
|
30378
|
+
self,
|
|
30379
|
+
block_id: str = None,
|
|
30380
|
+
dentry_uuid: str = None,
|
|
30381
|
+
tenant_context_shrink: str = None,
|
|
30382
|
+
):
|
|
30383
|
+
# This parameter is required.
|
|
30384
|
+
self.block_id = block_id
|
|
30385
|
+
# This parameter is required.
|
|
30386
|
+
self.dentry_uuid = dentry_uuid
|
|
30387
|
+
self.tenant_context_shrink = tenant_context_shrink
|
|
30388
|
+
|
|
30389
|
+
def validate(self):
|
|
30390
|
+
pass
|
|
30391
|
+
|
|
30392
|
+
def to_map(self):
|
|
30393
|
+
_map = super().to_map()
|
|
30394
|
+
if _map is not None:
|
|
30395
|
+
return _map
|
|
30396
|
+
|
|
30397
|
+
result = dict()
|
|
30398
|
+
if self.block_id is not None:
|
|
30399
|
+
result['BlockId'] = self.block_id
|
|
30400
|
+
if self.dentry_uuid is not None:
|
|
30401
|
+
result['DentryUuid'] = self.dentry_uuid
|
|
30402
|
+
if self.tenant_context_shrink is not None:
|
|
30403
|
+
result['TenantContext'] = self.tenant_context_shrink
|
|
30404
|
+
return result
|
|
30405
|
+
|
|
30406
|
+
def from_map(self, m: dict = None):
|
|
30407
|
+
m = m or dict()
|
|
30408
|
+
if m.get('BlockId') is not None:
|
|
30409
|
+
self.block_id = m.get('BlockId')
|
|
30410
|
+
if m.get('DentryUuid') is not None:
|
|
30411
|
+
self.dentry_uuid = m.get('DentryUuid')
|
|
30412
|
+
if m.get('TenantContext') is not None:
|
|
30413
|
+
self.tenant_context_shrink = m.get('TenantContext')
|
|
30414
|
+
return self
|
|
30415
|
+
|
|
30416
|
+
|
|
30417
|
+
class DocBlocksDeleteResponseBody(TeaModel):
|
|
30418
|
+
def __init__(
|
|
30419
|
+
self,
|
|
30420
|
+
success: bool = None,
|
|
30421
|
+
request_id: str = None,
|
|
30422
|
+
vendor_request_id: str = None,
|
|
30423
|
+
vendor_type: str = None,
|
|
30424
|
+
):
|
|
30425
|
+
self.success = success
|
|
30426
|
+
self.request_id = request_id
|
|
30427
|
+
self.vendor_request_id = vendor_request_id
|
|
30428
|
+
self.vendor_type = vendor_type
|
|
30429
|
+
|
|
30430
|
+
def validate(self):
|
|
30431
|
+
pass
|
|
30432
|
+
|
|
30433
|
+
def to_map(self):
|
|
30434
|
+
_map = super().to_map()
|
|
30435
|
+
if _map is not None:
|
|
30436
|
+
return _map
|
|
30437
|
+
|
|
30438
|
+
result = dict()
|
|
30439
|
+
if self.success is not None:
|
|
30440
|
+
result['Success'] = self.success
|
|
30441
|
+
if self.request_id is not None:
|
|
30442
|
+
result['requestId'] = self.request_id
|
|
30443
|
+
if self.vendor_request_id is not None:
|
|
30444
|
+
result['vendorRequestId'] = self.vendor_request_id
|
|
30445
|
+
if self.vendor_type is not None:
|
|
30446
|
+
result['vendorType'] = self.vendor_type
|
|
30447
|
+
return result
|
|
30448
|
+
|
|
30449
|
+
def from_map(self, m: dict = None):
|
|
30450
|
+
m = m or dict()
|
|
30451
|
+
if m.get('Success') is not None:
|
|
30452
|
+
self.success = m.get('Success')
|
|
30453
|
+
if m.get('requestId') is not None:
|
|
30454
|
+
self.request_id = m.get('requestId')
|
|
30455
|
+
if m.get('vendorRequestId') is not None:
|
|
30456
|
+
self.vendor_request_id = m.get('vendorRequestId')
|
|
30457
|
+
if m.get('vendorType') is not None:
|
|
30458
|
+
self.vendor_type = m.get('vendorType')
|
|
30459
|
+
return self
|
|
30460
|
+
|
|
30461
|
+
|
|
30462
|
+
class DocBlocksDeleteResponse(TeaModel):
|
|
30463
|
+
def __init__(
|
|
30464
|
+
self,
|
|
30465
|
+
headers: Dict[str, str] = None,
|
|
30466
|
+
status_code: int = None,
|
|
30467
|
+
body: DocBlocksDeleteResponseBody = None,
|
|
30468
|
+
):
|
|
30469
|
+
self.headers = headers
|
|
30470
|
+
self.status_code = status_code
|
|
30471
|
+
self.body = body
|
|
30472
|
+
|
|
30473
|
+
def validate(self):
|
|
30474
|
+
if self.body:
|
|
30475
|
+
self.body.validate()
|
|
30476
|
+
|
|
30477
|
+
def to_map(self):
|
|
30478
|
+
_map = super().to_map()
|
|
30479
|
+
if _map is not None:
|
|
30480
|
+
return _map
|
|
30481
|
+
|
|
30482
|
+
result = dict()
|
|
30483
|
+
if self.headers is not None:
|
|
30484
|
+
result['headers'] = self.headers
|
|
30485
|
+
if self.status_code is not None:
|
|
30486
|
+
result['statusCode'] = self.status_code
|
|
30487
|
+
if self.body is not None:
|
|
30488
|
+
result['body'] = self.body.to_map()
|
|
30489
|
+
return result
|
|
30490
|
+
|
|
30491
|
+
def from_map(self, m: dict = None):
|
|
30492
|
+
m = m or dict()
|
|
30493
|
+
if m.get('headers') is not None:
|
|
30494
|
+
self.headers = m.get('headers')
|
|
30495
|
+
if m.get('statusCode') is not None:
|
|
30496
|
+
self.status_code = m.get('statusCode')
|
|
30497
|
+
if m.get('body') is not None:
|
|
30498
|
+
temp_model = DocBlocksDeleteResponseBody()
|
|
30499
|
+
self.body = temp_model.from_map(m['body'])
|
|
30500
|
+
return self
|
|
30501
|
+
|
|
30502
|
+
|
|
30503
|
+
class DocBlocksModifyHeadersAccountContext(TeaModel):
|
|
30504
|
+
def __init__(
|
|
30505
|
+
self,
|
|
30506
|
+
account_id: str = None,
|
|
30507
|
+
):
|
|
30508
|
+
# This parameter is required.
|
|
30509
|
+
self.account_id = account_id
|
|
30510
|
+
|
|
30511
|
+
def validate(self):
|
|
30512
|
+
pass
|
|
30513
|
+
|
|
30514
|
+
def to_map(self):
|
|
30515
|
+
_map = super().to_map()
|
|
30516
|
+
if _map is not None:
|
|
30517
|
+
return _map
|
|
30518
|
+
|
|
30519
|
+
result = dict()
|
|
30520
|
+
if self.account_id is not None:
|
|
30521
|
+
result['accountId'] = self.account_id
|
|
30522
|
+
return result
|
|
30523
|
+
|
|
30524
|
+
def from_map(self, m: dict = None):
|
|
30525
|
+
m = m or dict()
|
|
30526
|
+
if m.get('accountId') is not None:
|
|
30527
|
+
self.account_id = m.get('accountId')
|
|
30528
|
+
return self
|
|
30529
|
+
|
|
30530
|
+
|
|
30531
|
+
class DocBlocksModifyHeaders(TeaModel):
|
|
30532
|
+
def __init__(
|
|
30533
|
+
self,
|
|
30534
|
+
common_headers: Dict[str, str] = None,
|
|
30535
|
+
account_context: DocBlocksModifyHeadersAccountContext = None,
|
|
30536
|
+
):
|
|
30537
|
+
self.common_headers = common_headers
|
|
30538
|
+
self.account_context = account_context
|
|
30539
|
+
|
|
30540
|
+
def validate(self):
|
|
30541
|
+
if self.account_context:
|
|
30542
|
+
self.account_context.validate()
|
|
30543
|
+
|
|
30544
|
+
def to_map(self):
|
|
30545
|
+
_map = super().to_map()
|
|
30546
|
+
if _map is not None:
|
|
30547
|
+
return _map
|
|
30548
|
+
|
|
30549
|
+
result = dict()
|
|
30550
|
+
if self.common_headers is not None:
|
|
30551
|
+
result['commonHeaders'] = self.common_headers
|
|
30552
|
+
if self.account_context is not None:
|
|
30553
|
+
result['AccountContext'] = self.account_context.to_map()
|
|
30554
|
+
return result
|
|
30555
|
+
|
|
30556
|
+
def from_map(self, m: dict = None):
|
|
30557
|
+
m = m or dict()
|
|
30558
|
+
if m.get('commonHeaders') is not None:
|
|
30559
|
+
self.common_headers = m.get('commonHeaders')
|
|
30560
|
+
if m.get('AccountContext') is not None:
|
|
30561
|
+
temp_model = DocBlocksModifyHeadersAccountContext()
|
|
30562
|
+
self.account_context = temp_model.from_map(m['AccountContext'])
|
|
30563
|
+
return self
|
|
30564
|
+
|
|
30565
|
+
|
|
30566
|
+
class DocBlocksModifyShrinkHeaders(TeaModel):
|
|
30567
|
+
def __init__(
|
|
30568
|
+
self,
|
|
30569
|
+
common_headers: Dict[str, str] = None,
|
|
30570
|
+
account_context_shrink: str = None,
|
|
30571
|
+
):
|
|
30572
|
+
self.common_headers = common_headers
|
|
30573
|
+
self.account_context_shrink = account_context_shrink
|
|
30574
|
+
|
|
30575
|
+
def validate(self):
|
|
30576
|
+
pass
|
|
30577
|
+
|
|
30578
|
+
def to_map(self):
|
|
30579
|
+
_map = super().to_map()
|
|
30580
|
+
if _map is not None:
|
|
30581
|
+
return _map
|
|
30582
|
+
|
|
30583
|
+
result = dict()
|
|
30584
|
+
if self.common_headers is not None:
|
|
30585
|
+
result['commonHeaders'] = self.common_headers
|
|
30586
|
+
if self.account_context_shrink is not None:
|
|
30587
|
+
result['AccountContext'] = self.account_context_shrink
|
|
30588
|
+
return result
|
|
30589
|
+
|
|
30590
|
+
def from_map(self, m: dict = None):
|
|
30591
|
+
m = m or dict()
|
|
30592
|
+
if m.get('commonHeaders') is not None:
|
|
30593
|
+
self.common_headers = m.get('commonHeaders')
|
|
30594
|
+
if m.get('AccountContext') is not None:
|
|
30595
|
+
self.account_context_shrink = m.get('AccountContext')
|
|
30596
|
+
return self
|
|
30597
|
+
|
|
30598
|
+
|
|
30599
|
+
class DocBlocksModifyRequestTenantContext(TeaModel):
|
|
30600
|
+
def __init__(
|
|
30601
|
+
self,
|
|
30602
|
+
tenant_id: str = None,
|
|
30603
|
+
):
|
|
30604
|
+
self.tenant_id = tenant_id
|
|
30605
|
+
|
|
30606
|
+
def validate(self):
|
|
30607
|
+
pass
|
|
30608
|
+
|
|
30609
|
+
def to_map(self):
|
|
30610
|
+
_map = super().to_map()
|
|
30611
|
+
if _map is not None:
|
|
30612
|
+
return _map
|
|
30613
|
+
|
|
30614
|
+
result = dict()
|
|
30615
|
+
if self.tenant_id is not None:
|
|
30616
|
+
result['tenantId'] = self.tenant_id
|
|
30617
|
+
return result
|
|
30618
|
+
|
|
30619
|
+
def from_map(self, m: dict = None):
|
|
30620
|
+
m = m or dict()
|
|
30621
|
+
if m.get('tenantId') is not None:
|
|
30622
|
+
self.tenant_id = m.get('tenantId')
|
|
30623
|
+
return self
|
|
30624
|
+
|
|
30625
|
+
|
|
30626
|
+
class DocBlocksModifyRequest(TeaModel):
|
|
30627
|
+
def __init__(
|
|
30628
|
+
self,
|
|
30629
|
+
block_id: str = None,
|
|
30630
|
+
dentry_uuid: str = None,
|
|
30631
|
+
element: Dict[str, Any] = None,
|
|
30632
|
+
tenant_context: DocBlocksModifyRequestTenantContext = None,
|
|
30633
|
+
):
|
|
30634
|
+
# This parameter is required.
|
|
30635
|
+
self.block_id = block_id
|
|
30636
|
+
# This parameter is required.
|
|
30637
|
+
self.dentry_uuid = dentry_uuid
|
|
30638
|
+
# This parameter is required.
|
|
30639
|
+
self.element = element
|
|
30640
|
+
self.tenant_context = tenant_context
|
|
30641
|
+
|
|
30642
|
+
def validate(self):
|
|
30643
|
+
if self.tenant_context:
|
|
30644
|
+
self.tenant_context.validate()
|
|
30645
|
+
|
|
30646
|
+
def to_map(self):
|
|
30647
|
+
_map = super().to_map()
|
|
30648
|
+
if _map is not None:
|
|
30649
|
+
return _map
|
|
30650
|
+
|
|
30651
|
+
result = dict()
|
|
30652
|
+
if self.block_id is not None:
|
|
30653
|
+
result['BlockId'] = self.block_id
|
|
30654
|
+
if self.dentry_uuid is not None:
|
|
30655
|
+
result['DentryUuid'] = self.dentry_uuid
|
|
30656
|
+
if self.element is not None:
|
|
30657
|
+
result['Element'] = self.element
|
|
30658
|
+
if self.tenant_context is not None:
|
|
30659
|
+
result['TenantContext'] = self.tenant_context.to_map()
|
|
30660
|
+
return result
|
|
30661
|
+
|
|
30662
|
+
def from_map(self, m: dict = None):
|
|
30663
|
+
m = m or dict()
|
|
30664
|
+
if m.get('BlockId') is not None:
|
|
30665
|
+
self.block_id = m.get('BlockId')
|
|
30666
|
+
if m.get('DentryUuid') is not None:
|
|
30667
|
+
self.dentry_uuid = m.get('DentryUuid')
|
|
30668
|
+
if m.get('Element') is not None:
|
|
30669
|
+
self.element = m.get('Element')
|
|
30670
|
+
if m.get('TenantContext') is not None:
|
|
30671
|
+
temp_model = DocBlocksModifyRequestTenantContext()
|
|
30672
|
+
self.tenant_context = temp_model.from_map(m['TenantContext'])
|
|
30673
|
+
return self
|
|
30674
|
+
|
|
30675
|
+
|
|
30676
|
+
class DocBlocksModifyShrinkRequest(TeaModel):
|
|
30677
|
+
def __init__(
|
|
30678
|
+
self,
|
|
30679
|
+
block_id: str = None,
|
|
30680
|
+
dentry_uuid: str = None,
|
|
30681
|
+
element_shrink: str = None,
|
|
30682
|
+
tenant_context_shrink: str = None,
|
|
30683
|
+
):
|
|
30684
|
+
# This parameter is required.
|
|
30685
|
+
self.block_id = block_id
|
|
30686
|
+
# This parameter is required.
|
|
30687
|
+
self.dentry_uuid = dentry_uuid
|
|
30688
|
+
# This parameter is required.
|
|
30689
|
+
self.element_shrink = element_shrink
|
|
30690
|
+
self.tenant_context_shrink = tenant_context_shrink
|
|
30691
|
+
|
|
30692
|
+
def validate(self):
|
|
30693
|
+
pass
|
|
30694
|
+
|
|
30695
|
+
def to_map(self):
|
|
30696
|
+
_map = super().to_map()
|
|
30697
|
+
if _map is not None:
|
|
30698
|
+
return _map
|
|
30699
|
+
|
|
30700
|
+
result = dict()
|
|
30701
|
+
if self.block_id is not None:
|
|
30702
|
+
result['BlockId'] = self.block_id
|
|
30703
|
+
if self.dentry_uuid is not None:
|
|
30704
|
+
result['DentryUuid'] = self.dentry_uuid
|
|
30705
|
+
if self.element_shrink is not None:
|
|
30706
|
+
result['Element'] = self.element_shrink
|
|
30707
|
+
if self.tenant_context_shrink is not None:
|
|
30708
|
+
result['TenantContext'] = self.tenant_context_shrink
|
|
30709
|
+
return result
|
|
30710
|
+
|
|
30711
|
+
def from_map(self, m: dict = None):
|
|
30712
|
+
m = m or dict()
|
|
30713
|
+
if m.get('BlockId') is not None:
|
|
30714
|
+
self.block_id = m.get('BlockId')
|
|
30715
|
+
if m.get('DentryUuid') is not None:
|
|
30716
|
+
self.dentry_uuid = m.get('DentryUuid')
|
|
30717
|
+
if m.get('Element') is not None:
|
|
30718
|
+
self.element_shrink = m.get('Element')
|
|
30719
|
+
if m.get('TenantContext') is not None:
|
|
30720
|
+
self.tenant_context_shrink = m.get('TenantContext')
|
|
30721
|
+
return self
|
|
30722
|
+
|
|
30723
|
+
|
|
30724
|
+
class DocBlocksModifyResponseBody(TeaModel):
|
|
30725
|
+
def __init__(
|
|
30726
|
+
self,
|
|
30727
|
+
success: bool = None,
|
|
30728
|
+
request_id: str = None,
|
|
30729
|
+
vendor_request_id: str = None,
|
|
30730
|
+
vendor_type: str = None,
|
|
30731
|
+
):
|
|
30732
|
+
self.success = success
|
|
30733
|
+
self.request_id = request_id
|
|
30734
|
+
self.vendor_request_id = vendor_request_id
|
|
30735
|
+
self.vendor_type = vendor_type
|
|
30736
|
+
|
|
30737
|
+
def validate(self):
|
|
30738
|
+
pass
|
|
30739
|
+
|
|
30740
|
+
def to_map(self):
|
|
30741
|
+
_map = super().to_map()
|
|
30742
|
+
if _map is not None:
|
|
30743
|
+
return _map
|
|
30744
|
+
|
|
30745
|
+
result = dict()
|
|
30746
|
+
if self.success is not None:
|
|
30747
|
+
result['Success'] = self.success
|
|
30748
|
+
if self.request_id is not None:
|
|
30749
|
+
result['requestId'] = self.request_id
|
|
30750
|
+
if self.vendor_request_id is not None:
|
|
30751
|
+
result['vendorRequestId'] = self.vendor_request_id
|
|
30752
|
+
if self.vendor_type is not None:
|
|
30753
|
+
result['vendorType'] = self.vendor_type
|
|
30754
|
+
return result
|
|
30755
|
+
|
|
30756
|
+
def from_map(self, m: dict = None):
|
|
30757
|
+
m = m or dict()
|
|
30758
|
+
if m.get('Success') is not None:
|
|
30759
|
+
self.success = m.get('Success')
|
|
30760
|
+
if m.get('requestId') is not None:
|
|
30761
|
+
self.request_id = m.get('requestId')
|
|
30762
|
+
if m.get('vendorRequestId') is not None:
|
|
30763
|
+
self.vendor_request_id = m.get('vendorRequestId')
|
|
30764
|
+
if m.get('vendorType') is not None:
|
|
30765
|
+
self.vendor_type = m.get('vendorType')
|
|
30766
|
+
return self
|
|
30767
|
+
|
|
30768
|
+
|
|
30769
|
+
class DocBlocksModifyResponse(TeaModel):
|
|
30770
|
+
def __init__(
|
|
30771
|
+
self,
|
|
30772
|
+
headers: Dict[str, str] = None,
|
|
30773
|
+
status_code: int = None,
|
|
30774
|
+
body: DocBlocksModifyResponseBody = None,
|
|
30775
|
+
):
|
|
30776
|
+
self.headers = headers
|
|
30777
|
+
self.status_code = status_code
|
|
30778
|
+
self.body = body
|
|
30779
|
+
|
|
30780
|
+
def validate(self):
|
|
30781
|
+
if self.body:
|
|
30782
|
+
self.body.validate()
|
|
30783
|
+
|
|
30784
|
+
def to_map(self):
|
|
30785
|
+
_map = super().to_map()
|
|
30786
|
+
if _map is not None:
|
|
30787
|
+
return _map
|
|
30788
|
+
|
|
30789
|
+
result = dict()
|
|
30790
|
+
if self.headers is not None:
|
|
30791
|
+
result['headers'] = self.headers
|
|
30792
|
+
if self.status_code is not None:
|
|
30793
|
+
result['statusCode'] = self.status_code
|
|
30794
|
+
if self.body is not None:
|
|
30795
|
+
result['body'] = self.body.to_map()
|
|
30796
|
+
return result
|
|
30797
|
+
|
|
30798
|
+
def from_map(self, m: dict = None):
|
|
30799
|
+
m = m or dict()
|
|
30800
|
+
if m.get('headers') is not None:
|
|
30801
|
+
self.headers = m.get('headers')
|
|
30802
|
+
if m.get('statusCode') is not None:
|
|
30803
|
+
self.status_code = m.get('statusCode')
|
|
30804
|
+
if m.get('body') is not None:
|
|
30805
|
+
temp_model = DocBlocksModifyResponseBody()
|
|
30806
|
+
self.body = temp_model.from_map(m['body'])
|
|
30807
|
+
return self
|
|
30808
|
+
|
|
30809
|
+
|
|
30210
30810
|
class DocBlocksQueryHeadersAccountContext(TeaModel):
|
|
30211
30811
|
def __init__(
|
|
30212
30812
|
self,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '2.44.4'
|
|
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
|