alibabacloud-quanmiaolightapp20240801 2.11.1__py3-none-any.whl → 2.12.1__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_quanmiaolightapp20240801/__init__.py +1 -1
- alibabacloud_quanmiaolightapp20240801/client.py +128 -0
- alibabacloud_quanmiaolightapp20240801/models.py +246 -0
- {alibabacloud_quanmiaolightapp20240801-2.11.1.dist-info → alibabacloud_quanmiaolightapp20240801-2.12.1.dist-info}/METADATA +1 -1
- alibabacloud_quanmiaolightapp20240801-2.12.1.dist-info/RECORD +8 -0
- alibabacloud_quanmiaolightapp20240801-2.11.1.dist-info/RECORD +0 -8
- {alibabacloud_quanmiaolightapp20240801-2.11.1.dist-info → alibabacloud_quanmiaolightapp20240801-2.12.1.dist-info}/LICENSE +0 -0
- {alibabacloud_quanmiaolightapp20240801-2.11.1.dist-info → alibabacloud_quanmiaolightapp20240801-2.12.1.dist-info}/WHEEL +0 -0
- {alibabacloud_quanmiaolightapp20240801-2.11.1.dist-info → alibabacloud_quanmiaolightapp20240801-2.12.1.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '2.
|
|
1
|
+
__version__ = '2.12.1'
|
|
@@ -3410,6 +3410,8 @@ class Client(OpenApiClient):
|
|
|
3410
3410
|
body['snapshotInterval'] = request.snapshot_interval
|
|
3411
3411
|
if not UtilClient.is_unset(request.split_interval):
|
|
3412
3412
|
body['splitInterval'] = request.split_interval
|
|
3413
|
+
if not UtilClient.is_unset(request.split_type):
|
|
3414
|
+
body['splitType'] = request.split_type
|
|
3413
3415
|
if not UtilClient.is_unset(request.task_id):
|
|
3414
3416
|
body['taskId'] = request.task_id
|
|
3415
3417
|
if not UtilClient.is_unset(request.text_process_tasks_shrink):
|
|
@@ -3503,6 +3505,8 @@ class Client(OpenApiClient):
|
|
|
3503
3505
|
body['snapshotInterval'] = request.snapshot_interval
|
|
3504
3506
|
if not UtilClient.is_unset(request.split_interval):
|
|
3505
3507
|
body['splitInterval'] = request.split_interval
|
|
3508
|
+
if not UtilClient.is_unset(request.split_type):
|
|
3509
|
+
body['splitType'] = request.split_type
|
|
3506
3510
|
if not UtilClient.is_unset(request.task_id):
|
|
3507
3511
|
body['taskId'] = request.task_id
|
|
3508
3512
|
if not UtilClient.is_unset(request.text_process_tasks_shrink):
|
|
@@ -4082,6 +4086,8 @@ class Client(OpenApiClient):
|
|
|
4082
4086
|
body['snapshotInterval'] = request.snapshot_interval
|
|
4083
4087
|
if not UtilClient.is_unset(request.split_interval):
|
|
4084
4088
|
body['splitInterval'] = request.split_interval
|
|
4089
|
+
if not UtilClient.is_unset(request.split_type):
|
|
4090
|
+
body['splitType'] = request.split_type
|
|
4085
4091
|
if not UtilClient.is_unset(request.text_process_tasks_shrink):
|
|
4086
4092
|
body['textProcessTasks'] = request.text_process_tasks_shrink
|
|
4087
4093
|
if not UtilClient.is_unset(request.video_caption_info_shrink):
|
|
@@ -4173,6 +4179,8 @@ class Client(OpenApiClient):
|
|
|
4173
4179
|
body['snapshotInterval'] = request.snapshot_interval
|
|
4174
4180
|
if not UtilClient.is_unset(request.split_interval):
|
|
4175
4181
|
body['splitInterval'] = request.split_interval
|
|
4182
|
+
if not UtilClient.is_unset(request.split_type):
|
|
4183
|
+
body['splitType'] = request.split_type
|
|
4176
4184
|
if not UtilClient.is_unset(request.text_process_tasks_shrink):
|
|
4177
4185
|
body['textProcessTasks'] = request.text_process_tasks_shrink
|
|
4178
4186
|
if not UtilClient.is_unset(request.video_caption_info_shrink):
|
|
@@ -4458,3 +4466,123 @@ class Client(OpenApiClient):
|
|
|
4458
4466
|
runtime = util_models.RuntimeOptions()
|
|
4459
4467
|
headers = {}
|
|
4460
4468
|
return await self.update_video_analysis_task_with_options_async(workspace_id, request, headers, runtime)
|
|
4469
|
+
|
|
4470
|
+
def update_video_analysis_tasks_with_options(
|
|
4471
|
+
self,
|
|
4472
|
+
workspace_id: str,
|
|
4473
|
+
tmp_req: quan_miao_light_app_20240801_models.UpdateVideoAnalysisTasksRequest,
|
|
4474
|
+
headers: Dict[str, str],
|
|
4475
|
+
runtime: util_models.RuntimeOptions,
|
|
4476
|
+
) -> quan_miao_light_app_20240801_models.UpdateVideoAnalysisTasksResponse:
|
|
4477
|
+
"""
|
|
4478
|
+
@summary 视频理解-批量修改任务状态
|
|
4479
|
+
|
|
4480
|
+
@param tmp_req: UpdateVideoAnalysisTasksRequest
|
|
4481
|
+
@param headers: map
|
|
4482
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
4483
|
+
@return: UpdateVideoAnalysisTasksResponse
|
|
4484
|
+
"""
|
|
4485
|
+
UtilClient.validate_model(tmp_req)
|
|
4486
|
+
request = quan_miao_light_app_20240801_models.UpdateVideoAnalysisTasksShrinkRequest()
|
|
4487
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
4488
|
+
if not UtilClient.is_unset(tmp_req.task_ids):
|
|
4489
|
+
request.task_ids_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.task_ids, 'taskIds', 'json')
|
|
4490
|
+
body = {}
|
|
4491
|
+
if not UtilClient.is_unset(request.task_ids_shrink):
|
|
4492
|
+
body['taskIds'] = request.task_ids_shrink
|
|
4493
|
+
if not UtilClient.is_unset(request.task_status):
|
|
4494
|
+
body['taskStatus'] = request.task_status
|
|
4495
|
+
req = open_api_models.OpenApiRequest(
|
|
4496
|
+
headers=headers,
|
|
4497
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
4498
|
+
)
|
|
4499
|
+
params = open_api_models.Params(
|
|
4500
|
+
action='UpdateVideoAnalysisTasks',
|
|
4501
|
+
version='2024-08-01',
|
|
4502
|
+
protocol='HTTPS',
|
|
4503
|
+
pathname=f'/{OpenApiUtilClient.get_encode_param(workspace_id)}/quanmiao/lightapp/videoAnalysis/updateVideoAnalysisTasks',
|
|
4504
|
+
method='PUT',
|
|
4505
|
+
auth_type='AK',
|
|
4506
|
+
style='ROA',
|
|
4507
|
+
req_body_type='formData',
|
|
4508
|
+
body_type='json'
|
|
4509
|
+
)
|
|
4510
|
+
return TeaCore.from_map(
|
|
4511
|
+
quan_miao_light_app_20240801_models.UpdateVideoAnalysisTasksResponse(),
|
|
4512
|
+
self.call_api(params, req, runtime)
|
|
4513
|
+
)
|
|
4514
|
+
|
|
4515
|
+
async def update_video_analysis_tasks_with_options_async(
|
|
4516
|
+
self,
|
|
4517
|
+
workspace_id: str,
|
|
4518
|
+
tmp_req: quan_miao_light_app_20240801_models.UpdateVideoAnalysisTasksRequest,
|
|
4519
|
+
headers: Dict[str, str],
|
|
4520
|
+
runtime: util_models.RuntimeOptions,
|
|
4521
|
+
) -> quan_miao_light_app_20240801_models.UpdateVideoAnalysisTasksResponse:
|
|
4522
|
+
"""
|
|
4523
|
+
@summary 视频理解-批量修改任务状态
|
|
4524
|
+
|
|
4525
|
+
@param tmp_req: UpdateVideoAnalysisTasksRequest
|
|
4526
|
+
@param headers: map
|
|
4527
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
4528
|
+
@return: UpdateVideoAnalysisTasksResponse
|
|
4529
|
+
"""
|
|
4530
|
+
UtilClient.validate_model(tmp_req)
|
|
4531
|
+
request = quan_miao_light_app_20240801_models.UpdateVideoAnalysisTasksShrinkRequest()
|
|
4532
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
4533
|
+
if not UtilClient.is_unset(tmp_req.task_ids):
|
|
4534
|
+
request.task_ids_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.task_ids, 'taskIds', 'json')
|
|
4535
|
+
body = {}
|
|
4536
|
+
if not UtilClient.is_unset(request.task_ids_shrink):
|
|
4537
|
+
body['taskIds'] = request.task_ids_shrink
|
|
4538
|
+
if not UtilClient.is_unset(request.task_status):
|
|
4539
|
+
body['taskStatus'] = request.task_status
|
|
4540
|
+
req = open_api_models.OpenApiRequest(
|
|
4541
|
+
headers=headers,
|
|
4542
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
4543
|
+
)
|
|
4544
|
+
params = open_api_models.Params(
|
|
4545
|
+
action='UpdateVideoAnalysisTasks',
|
|
4546
|
+
version='2024-08-01',
|
|
4547
|
+
protocol='HTTPS',
|
|
4548
|
+
pathname=f'/{OpenApiUtilClient.get_encode_param(workspace_id)}/quanmiao/lightapp/videoAnalysis/updateVideoAnalysisTasks',
|
|
4549
|
+
method='PUT',
|
|
4550
|
+
auth_type='AK',
|
|
4551
|
+
style='ROA',
|
|
4552
|
+
req_body_type='formData',
|
|
4553
|
+
body_type='json'
|
|
4554
|
+
)
|
|
4555
|
+
return TeaCore.from_map(
|
|
4556
|
+
quan_miao_light_app_20240801_models.UpdateVideoAnalysisTasksResponse(),
|
|
4557
|
+
await self.call_api_async(params, req, runtime)
|
|
4558
|
+
)
|
|
4559
|
+
|
|
4560
|
+
def update_video_analysis_tasks(
|
|
4561
|
+
self,
|
|
4562
|
+
workspace_id: str,
|
|
4563
|
+
request: quan_miao_light_app_20240801_models.UpdateVideoAnalysisTasksRequest,
|
|
4564
|
+
) -> quan_miao_light_app_20240801_models.UpdateVideoAnalysisTasksResponse:
|
|
4565
|
+
"""
|
|
4566
|
+
@summary 视频理解-批量修改任务状态
|
|
4567
|
+
|
|
4568
|
+
@param request: UpdateVideoAnalysisTasksRequest
|
|
4569
|
+
@return: UpdateVideoAnalysisTasksResponse
|
|
4570
|
+
"""
|
|
4571
|
+
runtime = util_models.RuntimeOptions()
|
|
4572
|
+
headers = {}
|
|
4573
|
+
return self.update_video_analysis_tasks_with_options(workspace_id, request, headers, runtime)
|
|
4574
|
+
|
|
4575
|
+
async def update_video_analysis_tasks_async(
|
|
4576
|
+
self,
|
|
4577
|
+
workspace_id: str,
|
|
4578
|
+
request: quan_miao_light_app_20240801_models.UpdateVideoAnalysisTasksRequest,
|
|
4579
|
+
) -> quan_miao_light_app_20240801_models.UpdateVideoAnalysisTasksResponse:
|
|
4580
|
+
"""
|
|
4581
|
+
@summary 视频理解-批量修改任务状态
|
|
4582
|
+
|
|
4583
|
+
@param request: UpdateVideoAnalysisTasksRequest
|
|
4584
|
+
@return: UpdateVideoAnalysisTasksResponse
|
|
4585
|
+
"""
|
|
4586
|
+
runtime = util_models.RuntimeOptions()
|
|
4587
|
+
headers = {}
|
|
4588
|
+
return await self.update_video_analysis_tasks_with_options_async(workspace_id, request, headers, runtime)
|
|
@@ -10241,6 +10241,7 @@ class RunVideoAnalysisRequest(TeaModel):
|
|
|
10241
10241
|
original_session_id: str = None,
|
|
10242
10242
|
snapshot_interval: float = None,
|
|
10243
10243
|
split_interval: int = None,
|
|
10244
|
+
split_type: str = None,
|
|
10244
10245
|
task_id: str = None,
|
|
10245
10246
|
text_process_tasks: List[RunVideoAnalysisRequestTextProcessTasks] = None,
|
|
10246
10247
|
video_caption_info: RunVideoAnalysisRequestVideoCaptionInfo = None,
|
|
@@ -10263,6 +10264,7 @@ class RunVideoAnalysisRequest(TeaModel):
|
|
|
10263
10264
|
self.original_session_id = original_session_id
|
|
10264
10265
|
self.snapshot_interval = snapshot_interval
|
|
10265
10266
|
self.split_interval = split_interval
|
|
10267
|
+
self.split_type = split_type
|
|
10266
10268
|
self.task_id = task_id
|
|
10267
10269
|
self.text_process_tasks = text_process_tasks
|
|
10268
10270
|
self.video_caption_info = video_caption_info
|
|
@@ -10317,6 +10319,8 @@ class RunVideoAnalysisRequest(TeaModel):
|
|
|
10317
10319
|
result['snapshotInterval'] = self.snapshot_interval
|
|
10318
10320
|
if self.split_interval is not None:
|
|
10319
10321
|
result['splitInterval'] = self.split_interval
|
|
10322
|
+
if self.split_type is not None:
|
|
10323
|
+
result['splitType'] = self.split_type
|
|
10320
10324
|
if self.task_id is not None:
|
|
10321
10325
|
result['taskId'] = self.task_id
|
|
10322
10326
|
result['textProcessTasks'] = []
|
|
@@ -10368,6 +10372,8 @@ class RunVideoAnalysisRequest(TeaModel):
|
|
|
10368
10372
|
self.snapshot_interval = m.get('snapshotInterval')
|
|
10369
10373
|
if m.get('splitInterval') is not None:
|
|
10370
10374
|
self.split_interval = m.get('splitInterval')
|
|
10375
|
+
if m.get('splitType') is not None:
|
|
10376
|
+
self.split_type = m.get('splitType')
|
|
10371
10377
|
if m.get('taskId') is not None:
|
|
10372
10378
|
self.task_id = m.get('taskId')
|
|
10373
10379
|
self.text_process_tasks = []
|
|
@@ -10411,6 +10417,7 @@ class RunVideoAnalysisShrinkRequest(TeaModel):
|
|
|
10411
10417
|
original_session_id: str = None,
|
|
10412
10418
|
snapshot_interval: float = None,
|
|
10413
10419
|
split_interval: int = None,
|
|
10420
|
+
split_type: str = None,
|
|
10414
10421
|
task_id: str = None,
|
|
10415
10422
|
text_process_tasks_shrink: str = None,
|
|
10416
10423
|
video_caption_info_shrink: str = None,
|
|
@@ -10433,6 +10440,7 @@ class RunVideoAnalysisShrinkRequest(TeaModel):
|
|
|
10433
10440
|
self.original_session_id = original_session_id
|
|
10434
10441
|
self.snapshot_interval = snapshot_interval
|
|
10435
10442
|
self.split_interval = split_interval
|
|
10443
|
+
self.split_type = split_type
|
|
10436
10444
|
self.task_id = task_id
|
|
10437
10445
|
self.text_process_tasks_shrink = text_process_tasks_shrink
|
|
10438
10446
|
self.video_caption_info_shrink = video_caption_info_shrink
|
|
@@ -10476,6 +10484,8 @@ class RunVideoAnalysisShrinkRequest(TeaModel):
|
|
|
10476
10484
|
result['snapshotInterval'] = self.snapshot_interval
|
|
10477
10485
|
if self.split_interval is not None:
|
|
10478
10486
|
result['splitInterval'] = self.split_interval
|
|
10487
|
+
if self.split_type is not None:
|
|
10488
|
+
result['splitType'] = self.split_type
|
|
10479
10489
|
if self.task_id is not None:
|
|
10480
10490
|
result['taskId'] = self.task_id
|
|
10481
10491
|
if self.text_process_tasks_shrink is not None:
|
|
@@ -10522,6 +10532,8 @@ class RunVideoAnalysisShrinkRequest(TeaModel):
|
|
|
10522
10532
|
self.snapshot_interval = m.get('snapshotInterval')
|
|
10523
10533
|
if m.get('splitInterval') is not None:
|
|
10524
10534
|
self.split_interval = m.get('splitInterval')
|
|
10535
|
+
if m.get('splitType') is not None:
|
|
10536
|
+
self.split_type = m.get('splitType')
|
|
10525
10537
|
if m.get('taskId') is not None:
|
|
10526
10538
|
self.task_id = m.get('taskId')
|
|
10527
10539
|
if m.get('textProcessTasks') is not None:
|
|
@@ -13215,6 +13227,7 @@ class SubmitVideoAnalysisTaskRequest(TeaModel):
|
|
|
13215
13227
|
model_id: str = None,
|
|
13216
13228
|
snapshot_interval: float = None,
|
|
13217
13229
|
split_interval: int = None,
|
|
13230
|
+
split_type: str = None,
|
|
13218
13231
|
text_process_tasks: List[SubmitVideoAnalysisTaskRequestTextProcessTasks] = None,
|
|
13219
13232
|
video_caption_info: SubmitVideoAnalysisTaskRequestVideoCaptionInfo = None,
|
|
13220
13233
|
video_extra_info: str = None,
|
|
@@ -13236,6 +13249,7 @@ class SubmitVideoAnalysisTaskRequest(TeaModel):
|
|
|
13236
13249
|
self.model_id = model_id
|
|
13237
13250
|
self.snapshot_interval = snapshot_interval
|
|
13238
13251
|
self.split_interval = split_interval
|
|
13252
|
+
self.split_type = split_type
|
|
13239
13253
|
self.text_process_tasks = text_process_tasks
|
|
13240
13254
|
self.video_caption_info = video_caption_info
|
|
13241
13255
|
self.video_extra_info = video_extra_info
|
|
@@ -13290,6 +13304,8 @@ class SubmitVideoAnalysisTaskRequest(TeaModel):
|
|
|
13290
13304
|
result['snapshotInterval'] = self.snapshot_interval
|
|
13291
13305
|
if self.split_interval is not None:
|
|
13292
13306
|
result['splitInterval'] = self.split_interval
|
|
13307
|
+
if self.split_type is not None:
|
|
13308
|
+
result['splitType'] = self.split_type
|
|
13293
13309
|
result['textProcessTasks'] = []
|
|
13294
13310
|
if self.text_process_tasks is not None:
|
|
13295
13311
|
for k in self.text_process_tasks:
|
|
@@ -13339,6 +13355,8 @@ class SubmitVideoAnalysisTaskRequest(TeaModel):
|
|
|
13339
13355
|
self.snapshot_interval = m.get('snapshotInterval')
|
|
13340
13356
|
if m.get('splitInterval') is not None:
|
|
13341
13357
|
self.split_interval = m.get('splitInterval')
|
|
13358
|
+
if m.get('splitType') is not None:
|
|
13359
|
+
self.split_type = m.get('splitType')
|
|
13342
13360
|
self.text_process_tasks = []
|
|
13343
13361
|
if m.get('textProcessTasks') is not None:
|
|
13344
13362
|
for k in m.get('textProcessTasks'):
|
|
@@ -13380,6 +13398,7 @@ class SubmitVideoAnalysisTaskShrinkRequest(TeaModel):
|
|
|
13380
13398
|
model_id: str = None,
|
|
13381
13399
|
snapshot_interval: float = None,
|
|
13382
13400
|
split_interval: int = None,
|
|
13401
|
+
split_type: str = None,
|
|
13383
13402
|
text_process_tasks_shrink: str = None,
|
|
13384
13403
|
video_caption_info_shrink: str = None,
|
|
13385
13404
|
video_extra_info: str = None,
|
|
@@ -13401,6 +13420,7 @@ class SubmitVideoAnalysisTaskShrinkRequest(TeaModel):
|
|
|
13401
13420
|
self.model_id = model_id
|
|
13402
13421
|
self.snapshot_interval = snapshot_interval
|
|
13403
13422
|
self.split_interval = split_interval
|
|
13423
|
+
self.split_type = split_type
|
|
13404
13424
|
self.text_process_tasks_shrink = text_process_tasks_shrink
|
|
13405
13425
|
self.video_caption_info_shrink = video_caption_info_shrink
|
|
13406
13426
|
self.video_extra_info = video_extra_info
|
|
@@ -13444,6 +13464,8 @@ class SubmitVideoAnalysisTaskShrinkRequest(TeaModel):
|
|
|
13444
13464
|
result['snapshotInterval'] = self.snapshot_interval
|
|
13445
13465
|
if self.split_interval is not None:
|
|
13446
13466
|
result['splitInterval'] = self.split_interval
|
|
13467
|
+
if self.split_type is not None:
|
|
13468
|
+
result['splitType'] = self.split_type
|
|
13447
13469
|
if self.text_process_tasks_shrink is not None:
|
|
13448
13470
|
result['textProcessTasks'] = self.text_process_tasks_shrink
|
|
13449
13471
|
if self.video_caption_info_shrink is not None:
|
|
@@ -13488,6 +13510,8 @@ class SubmitVideoAnalysisTaskShrinkRequest(TeaModel):
|
|
|
13488
13510
|
self.snapshot_interval = m.get('snapshotInterval')
|
|
13489
13511
|
if m.get('splitInterval') is not None:
|
|
13490
13512
|
self.split_interval = m.get('splitInterval')
|
|
13513
|
+
if m.get('splitType') is not None:
|
|
13514
|
+
self.split_type = m.get('splitType')
|
|
13491
13515
|
if m.get('textProcessTasks') is not None:
|
|
13492
13516
|
self.text_process_tasks_shrink = m.get('textProcessTasks')
|
|
13493
13517
|
if m.get('videoCaptionInfo') is not None:
|
|
@@ -13929,3 +13953,225 @@ class UpdateVideoAnalysisTaskResponse(TeaModel):
|
|
|
13929
13953
|
return self
|
|
13930
13954
|
|
|
13931
13955
|
|
|
13956
|
+
class UpdateVideoAnalysisTasksRequest(TeaModel):
|
|
13957
|
+
def __init__(
|
|
13958
|
+
self,
|
|
13959
|
+
task_ids: List[str] = None,
|
|
13960
|
+
task_status: str = None,
|
|
13961
|
+
):
|
|
13962
|
+
# This parameter is required.
|
|
13963
|
+
self.task_ids = task_ids
|
|
13964
|
+
# This parameter is required.
|
|
13965
|
+
self.task_status = task_status
|
|
13966
|
+
|
|
13967
|
+
def validate(self):
|
|
13968
|
+
pass
|
|
13969
|
+
|
|
13970
|
+
def to_map(self):
|
|
13971
|
+
_map = super().to_map()
|
|
13972
|
+
if _map is not None:
|
|
13973
|
+
return _map
|
|
13974
|
+
|
|
13975
|
+
result = dict()
|
|
13976
|
+
if self.task_ids is not None:
|
|
13977
|
+
result['taskIds'] = self.task_ids
|
|
13978
|
+
if self.task_status is not None:
|
|
13979
|
+
result['taskStatus'] = self.task_status
|
|
13980
|
+
return result
|
|
13981
|
+
|
|
13982
|
+
def from_map(self, m: dict = None):
|
|
13983
|
+
m = m or dict()
|
|
13984
|
+
if m.get('taskIds') is not None:
|
|
13985
|
+
self.task_ids = m.get('taskIds')
|
|
13986
|
+
if m.get('taskStatus') is not None:
|
|
13987
|
+
self.task_status = m.get('taskStatus')
|
|
13988
|
+
return self
|
|
13989
|
+
|
|
13990
|
+
|
|
13991
|
+
class UpdateVideoAnalysisTasksShrinkRequest(TeaModel):
|
|
13992
|
+
def __init__(
|
|
13993
|
+
self,
|
|
13994
|
+
task_ids_shrink: str = None,
|
|
13995
|
+
task_status: str = None,
|
|
13996
|
+
):
|
|
13997
|
+
# This parameter is required.
|
|
13998
|
+
self.task_ids_shrink = task_ids_shrink
|
|
13999
|
+
# This parameter is required.
|
|
14000
|
+
self.task_status = task_status
|
|
14001
|
+
|
|
14002
|
+
def validate(self):
|
|
14003
|
+
pass
|
|
14004
|
+
|
|
14005
|
+
def to_map(self):
|
|
14006
|
+
_map = super().to_map()
|
|
14007
|
+
if _map is not None:
|
|
14008
|
+
return _map
|
|
14009
|
+
|
|
14010
|
+
result = dict()
|
|
14011
|
+
if self.task_ids_shrink is not None:
|
|
14012
|
+
result['taskIds'] = self.task_ids_shrink
|
|
14013
|
+
if self.task_status is not None:
|
|
14014
|
+
result['taskStatus'] = self.task_status
|
|
14015
|
+
return result
|
|
14016
|
+
|
|
14017
|
+
def from_map(self, m: dict = None):
|
|
14018
|
+
m = m or dict()
|
|
14019
|
+
if m.get('taskIds') is not None:
|
|
14020
|
+
self.task_ids_shrink = m.get('taskIds')
|
|
14021
|
+
if m.get('taskStatus') is not None:
|
|
14022
|
+
self.task_status = m.get('taskStatus')
|
|
14023
|
+
return self
|
|
14024
|
+
|
|
14025
|
+
|
|
14026
|
+
class UpdateVideoAnalysisTasksResponseBodyData(TeaModel):
|
|
14027
|
+
def __init__(
|
|
14028
|
+
self,
|
|
14029
|
+
task_error_code: str = None,
|
|
14030
|
+
task_error_message: str = None,
|
|
14031
|
+
task_id: str = None,
|
|
14032
|
+
task_status: str = None,
|
|
14033
|
+
):
|
|
14034
|
+
self.task_error_code = task_error_code
|
|
14035
|
+
self.task_error_message = task_error_message
|
|
14036
|
+
self.task_id = task_id
|
|
14037
|
+
self.task_status = task_status
|
|
14038
|
+
|
|
14039
|
+
def validate(self):
|
|
14040
|
+
pass
|
|
14041
|
+
|
|
14042
|
+
def to_map(self):
|
|
14043
|
+
_map = super().to_map()
|
|
14044
|
+
if _map is not None:
|
|
14045
|
+
return _map
|
|
14046
|
+
|
|
14047
|
+
result = dict()
|
|
14048
|
+
if self.task_error_code is not None:
|
|
14049
|
+
result['taskErrorCode'] = self.task_error_code
|
|
14050
|
+
if self.task_error_message is not None:
|
|
14051
|
+
result['taskErrorMessage'] = self.task_error_message
|
|
14052
|
+
if self.task_id is not None:
|
|
14053
|
+
result['taskId'] = self.task_id
|
|
14054
|
+
if self.task_status is not None:
|
|
14055
|
+
result['taskStatus'] = self.task_status
|
|
14056
|
+
return result
|
|
14057
|
+
|
|
14058
|
+
def from_map(self, m: dict = None):
|
|
14059
|
+
m = m or dict()
|
|
14060
|
+
if m.get('taskErrorCode') is not None:
|
|
14061
|
+
self.task_error_code = m.get('taskErrorCode')
|
|
14062
|
+
if m.get('taskErrorMessage') is not None:
|
|
14063
|
+
self.task_error_message = m.get('taskErrorMessage')
|
|
14064
|
+
if m.get('taskId') is not None:
|
|
14065
|
+
self.task_id = m.get('taskId')
|
|
14066
|
+
if m.get('taskStatus') is not None:
|
|
14067
|
+
self.task_status = m.get('taskStatus')
|
|
14068
|
+
return self
|
|
14069
|
+
|
|
14070
|
+
|
|
14071
|
+
class UpdateVideoAnalysisTasksResponseBody(TeaModel):
|
|
14072
|
+
def __init__(
|
|
14073
|
+
self,
|
|
14074
|
+
code: str = None,
|
|
14075
|
+
data: List[UpdateVideoAnalysisTasksResponseBodyData] = None,
|
|
14076
|
+
http_status_code: int = None,
|
|
14077
|
+
message: str = None,
|
|
14078
|
+
request_id: str = None,
|
|
14079
|
+
success: bool = None,
|
|
14080
|
+
):
|
|
14081
|
+
self.code = code
|
|
14082
|
+
self.data = data
|
|
14083
|
+
self.http_status_code = http_status_code
|
|
14084
|
+
self.message = message
|
|
14085
|
+
# Id of the request
|
|
14086
|
+
self.request_id = request_id
|
|
14087
|
+
self.success = success
|
|
14088
|
+
|
|
14089
|
+
def validate(self):
|
|
14090
|
+
if self.data:
|
|
14091
|
+
for k in self.data:
|
|
14092
|
+
if k:
|
|
14093
|
+
k.validate()
|
|
14094
|
+
|
|
14095
|
+
def to_map(self):
|
|
14096
|
+
_map = super().to_map()
|
|
14097
|
+
if _map is not None:
|
|
14098
|
+
return _map
|
|
14099
|
+
|
|
14100
|
+
result = dict()
|
|
14101
|
+
if self.code is not None:
|
|
14102
|
+
result['code'] = self.code
|
|
14103
|
+
result['data'] = []
|
|
14104
|
+
if self.data is not None:
|
|
14105
|
+
for k in self.data:
|
|
14106
|
+
result['data'].append(k.to_map() if k else None)
|
|
14107
|
+
if self.http_status_code is not None:
|
|
14108
|
+
result['httpStatusCode'] = self.http_status_code
|
|
14109
|
+
if self.message is not None:
|
|
14110
|
+
result['message'] = self.message
|
|
14111
|
+
if self.request_id is not None:
|
|
14112
|
+
result['requestId'] = self.request_id
|
|
14113
|
+
if self.success is not None:
|
|
14114
|
+
result['success'] = self.success
|
|
14115
|
+
return result
|
|
14116
|
+
|
|
14117
|
+
def from_map(self, m: dict = None):
|
|
14118
|
+
m = m or dict()
|
|
14119
|
+
if m.get('code') is not None:
|
|
14120
|
+
self.code = m.get('code')
|
|
14121
|
+
self.data = []
|
|
14122
|
+
if m.get('data') is not None:
|
|
14123
|
+
for k in m.get('data'):
|
|
14124
|
+
temp_model = UpdateVideoAnalysisTasksResponseBodyData()
|
|
14125
|
+
self.data.append(temp_model.from_map(k))
|
|
14126
|
+
if m.get('httpStatusCode') is not None:
|
|
14127
|
+
self.http_status_code = m.get('httpStatusCode')
|
|
14128
|
+
if m.get('message') is not None:
|
|
14129
|
+
self.message = m.get('message')
|
|
14130
|
+
if m.get('requestId') is not None:
|
|
14131
|
+
self.request_id = m.get('requestId')
|
|
14132
|
+
if m.get('success') is not None:
|
|
14133
|
+
self.success = m.get('success')
|
|
14134
|
+
return self
|
|
14135
|
+
|
|
14136
|
+
|
|
14137
|
+
class UpdateVideoAnalysisTasksResponse(TeaModel):
|
|
14138
|
+
def __init__(
|
|
14139
|
+
self,
|
|
14140
|
+
headers: Dict[str, str] = None,
|
|
14141
|
+
status_code: int = None,
|
|
14142
|
+
body: UpdateVideoAnalysisTasksResponseBody = None,
|
|
14143
|
+
):
|
|
14144
|
+
self.headers = headers
|
|
14145
|
+
self.status_code = status_code
|
|
14146
|
+
self.body = body
|
|
14147
|
+
|
|
14148
|
+
def validate(self):
|
|
14149
|
+
if self.body:
|
|
14150
|
+
self.body.validate()
|
|
14151
|
+
|
|
14152
|
+
def to_map(self):
|
|
14153
|
+
_map = super().to_map()
|
|
14154
|
+
if _map is not None:
|
|
14155
|
+
return _map
|
|
14156
|
+
|
|
14157
|
+
result = dict()
|
|
14158
|
+
if self.headers is not None:
|
|
14159
|
+
result['headers'] = self.headers
|
|
14160
|
+
if self.status_code is not None:
|
|
14161
|
+
result['statusCode'] = self.status_code
|
|
14162
|
+
if self.body is not None:
|
|
14163
|
+
result['body'] = self.body.to_map()
|
|
14164
|
+
return result
|
|
14165
|
+
|
|
14166
|
+
def from_map(self, m: dict = None):
|
|
14167
|
+
m = m or dict()
|
|
14168
|
+
if m.get('headers') is not None:
|
|
14169
|
+
self.headers = m.get('headers')
|
|
14170
|
+
if m.get('statusCode') is not None:
|
|
14171
|
+
self.status_code = m.get('statusCode')
|
|
14172
|
+
if m.get('body') is not None:
|
|
14173
|
+
temp_model = UpdateVideoAnalysisTasksResponseBody()
|
|
14174
|
+
self.body = temp_model.from_map(m['body'])
|
|
14175
|
+
return self
|
|
14176
|
+
|
|
14177
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: alibabacloud-quanmiaolightapp20240801
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.12.1
|
|
4
4
|
Summary: Alibaba Cloud QuanMiaoLightApp (20240801) SDK Library for Python
|
|
5
5
|
Home-page: https://github.com/aliyun/alibabacloud-python-sdk
|
|
6
6
|
Author: Alibaba Cloud SDK
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
alibabacloud_quanmiaolightapp20240801/__init__.py,sha256=rtmNKcIFEk8U_KEro50ecPj4EoxFWGsF66wtEh75DSk,22
|
|
2
|
+
alibabacloud_quanmiaolightapp20240801/client.py,sha256=EgZrtGn62hOdKAj31_GqiVPGux3gakQW7MTUx7p83jQ,202211
|
|
3
|
+
alibabacloud_quanmiaolightapp20240801/models.py,sha256=NVcIHbm7s3vI-mvrMmrqCuPEme6HREwGDQr_yHDNkKU,472657
|
|
4
|
+
alibabacloud_quanmiaolightapp20240801-2.12.1.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
+
alibabacloud_quanmiaolightapp20240801-2.12.1.dist-info/METADATA,sha256=_4KNbt-kg9TClG23rr6lE07NE_C5aVoLj5F52ujh2F0,2404
|
|
6
|
+
alibabacloud_quanmiaolightapp20240801-2.12.1.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
+
alibabacloud_quanmiaolightapp20240801-2.12.1.dist-info/top_level.txt,sha256=8OeD8NiIhtrm1c4lX_9fGb1YEX3tX01Q8FcLZMKbXlE,38
|
|
8
|
+
alibabacloud_quanmiaolightapp20240801-2.12.1.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
alibabacloud_quanmiaolightapp20240801/__init__.py,sha256=rWME_42XD6Gfttla18Ulg4geAN5QI-FeSJBg2S6fMoA,22
|
|
2
|
-
alibabacloud_quanmiaolightapp20240801/client.py,sha256=1pM69GyCY2pARwKSIzDjG7jc7p-TWa3Q2F20Xfc8BQs,196517
|
|
3
|
-
alibabacloud_quanmiaolightapp20240801/models.py,sha256=xIB8fd3RbjZNBq1VzZWHkZV9dx5xOQjmTVdD_6Z8fuU,464835
|
|
4
|
-
alibabacloud_quanmiaolightapp20240801-2.11.1.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
-
alibabacloud_quanmiaolightapp20240801-2.11.1.dist-info/METADATA,sha256=1QpKbB0d1ZpDaDi7BrBQnFZ70eZUoF_iYrvz4QTY0n0,2404
|
|
6
|
-
alibabacloud_quanmiaolightapp20240801-2.11.1.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
-
alibabacloud_quanmiaolightapp20240801-2.11.1.dist-info/top_level.txt,sha256=8OeD8NiIhtrm1c4lX_9fGb1YEX3tX01Q8FcLZMKbXlE,38
|
|
8
|
-
alibabacloud_quanmiaolightapp20240801-2.11.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|