alibabacloud-lingmou20250527 1.5.4__tar.gz → 1.6.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_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/ChangeLog.md +4 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/PKG-INFO +1 -1
- alibabacloud_lingmou20250527-1.6.0/alibabacloud_lingmou20250527/__init__.py +1 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/client.py +164 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/__init__.py +16 -0
- alibabacloud_lingmou20250527-1.6.0/alibabacloud_lingmou20250527/models/_broadcast_audio.py +73 -0
- alibabacloud_lingmou20250527-1.6.0/alibabacloud_lingmou20250527/models/_create_broadcast_audio_request.py +41 -0
- alibabacloud_lingmou20250527-1.6.0/alibabacloud_lingmou20250527/models/_create_broadcast_audio_response.py +54 -0
- alibabacloud_lingmou20250527-1.6.0/alibabacloud_lingmou20250527/models/_create_broadcast_audio_response_body.py +76 -0
- alibabacloud_lingmou20250527-1.6.0/alibabacloud_lingmou20250527/models/_list_broadcast_audios_by_id_request.py +35 -0
- alibabacloud_lingmou20250527-1.6.0/alibabacloud_lingmou20250527/models/_list_broadcast_audios_by_id_response.py +54 -0
- alibabacloud_lingmou20250527-1.6.0/alibabacloud_lingmou20250527/models/_list_broadcast_audios_by_id_response_body.py +84 -0
- alibabacloud_lingmou20250527-1.6.0/alibabacloud_lingmou20250527/models/_list_broadcast_audios_by_id_shrink_request.py +33 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527.egg-info/PKG-INFO +1 -1
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527.egg-info/SOURCES.txt +8 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/setup.py +1 -1
- alibabacloud_lingmou20250527-1.5.4/alibabacloud_lingmou20250527/__init__.py +0 -1
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/LICENSE +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/MANIFEST.in +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/README-CN.md +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/README.md +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_broadcast_template.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_broadcast_video.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_chat_session_info.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_close_chat_instance_sessions_request.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_close_chat_instance_sessions_response.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_close_chat_instance_sessions_response_body.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_close_chat_instance_sessions_shrink_request.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_confirm_train_pic_avatar_request.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_confirm_train_pic_avatar_response.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_confirm_train_pic_avatar_response_body.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_create_background_pic_request.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_create_background_pic_response.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_create_background_pic_response_body.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_create_broadcast_sticker_request.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_create_broadcast_sticker_response.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_create_broadcast_sticker_response_body.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_create_broadcast_video_from_template_request.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_create_broadcast_video_from_template_response.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_create_broadcast_video_from_template_response_body.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_create_chat_config_request.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_create_chat_config_response.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_create_chat_config_response_body.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_create_chat_session_request.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_create_chat_session_response.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_create_chat_session_response_body.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_create_no_train_pic_avatar_request.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_create_no_train_pic_avatar_response.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_create_no_train_pic_avatar_response_body.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_create_train_pic_avatar_request.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_create_train_pic_avatar_response.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_create_train_pic_avatar_response_body.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_create_ttsvoice_custom_request.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_create_ttsvoice_custom_response.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_create_ttsvoice_custom_response_body.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_get_broadcast_template_request.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_get_broadcast_template_response.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_get_broadcast_template_response_body.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_get_train_pic_avatar_status_request.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_get_train_pic_avatar_status_response.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_get_train_pic_avatar_status_response_body.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_get_ttsvoice_by_id_custom_request.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_get_ttsvoice_by_id_custom_response.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_get_ttsvoice_by_id_custom_response_body.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_get_upload_policy_request.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_get_upload_policy_response.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_get_upload_policy_response_body.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_list_broadcast_templates_request.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_list_broadcast_templates_response.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_list_broadcast_templates_response_body.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_list_broadcast_videos_by_id_request.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_list_broadcast_videos_by_id_response.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_list_broadcast_videos_by_id_response_body.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_list_broadcast_videos_by_id_shrink_request.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_list_private_ttsvoices_custom_request.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_list_private_ttsvoices_custom_response.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_list_private_ttsvoices_custom_response_body.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_list_template_material_request.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_list_template_material_response.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_list_template_material_response_body.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_query_chat_instance_sessions_request.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_query_chat_instance_sessions_response.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_query_chat_instance_sessions_response_body.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_query_chat_instance_sessions_shrink_request.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527/models/_template_variable.py +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527.egg-info/dependency_links.txt +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527.egg-info/requires.txt +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/alibabacloud_lingmou20250527.egg-info/top_level.txt +0 -0
- {alibabacloud_lingmou20250527-1.5.4 → alibabacloud_lingmou20250527-1.6.0}/setup.cfg +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '1.6.0'
|
|
@@ -289,6 +289,86 @@ class Client(OpenApiClient):
|
|
|
289
289
|
headers = {}
|
|
290
290
|
return await self.create_background_pic_with_options_async(request, headers, runtime)
|
|
291
291
|
|
|
292
|
+
def create_broadcast_audio_with_options(
|
|
293
|
+
self,
|
|
294
|
+
request: main_models.CreateBroadcastAudioRequest,
|
|
295
|
+
headers: Dict[str, str],
|
|
296
|
+
runtime: RuntimeOptions,
|
|
297
|
+
) -> main_models.CreateBroadcastAudioResponse:
|
|
298
|
+
request.validate()
|
|
299
|
+
body = {}
|
|
300
|
+
if not DaraCore.is_null(request.file_name):
|
|
301
|
+
body['fileName'] = request.file_name
|
|
302
|
+
if not DaraCore.is_null(request.oss_key):
|
|
303
|
+
body['ossKey'] = request.oss_key
|
|
304
|
+
req = open_api_util_models.OpenApiRequest(
|
|
305
|
+
headers = headers,
|
|
306
|
+
body = Utils.parse_to_map(body)
|
|
307
|
+
)
|
|
308
|
+
params = open_api_util_models.Params(
|
|
309
|
+
action = 'CreateBroadcastAudio',
|
|
310
|
+
version = '2025-05-27',
|
|
311
|
+
protocol = 'HTTPS',
|
|
312
|
+
pathname = f'/openapi/customer/broadcast/material/audio/create',
|
|
313
|
+
method = 'POST',
|
|
314
|
+
auth_type = 'AK',
|
|
315
|
+
style = 'ROA',
|
|
316
|
+
req_body_type = 'json',
|
|
317
|
+
body_type = 'json'
|
|
318
|
+
)
|
|
319
|
+
return DaraCore.from_map(
|
|
320
|
+
main_models.CreateBroadcastAudioResponse(),
|
|
321
|
+
self.call_api(params, req, runtime)
|
|
322
|
+
)
|
|
323
|
+
|
|
324
|
+
async def create_broadcast_audio_with_options_async(
|
|
325
|
+
self,
|
|
326
|
+
request: main_models.CreateBroadcastAudioRequest,
|
|
327
|
+
headers: Dict[str, str],
|
|
328
|
+
runtime: RuntimeOptions,
|
|
329
|
+
) -> main_models.CreateBroadcastAudioResponse:
|
|
330
|
+
request.validate()
|
|
331
|
+
body = {}
|
|
332
|
+
if not DaraCore.is_null(request.file_name):
|
|
333
|
+
body['fileName'] = request.file_name
|
|
334
|
+
if not DaraCore.is_null(request.oss_key):
|
|
335
|
+
body['ossKey'] = request.oss_key
|
|
336
|
+
req = open_api_util_models.OpenApiRequest(
|
|
337
|
+
headers = headers,
|
|
338
|
+
body = Utils.parse_to_map(body)
|
|
339
|
+
)
|
|
340
|
+
params = open_api_util_models.Params(
|
|
341
|
+
action = 'CreateBroadcastAudio',
|
|
342
|
+
version = '2025-05-27',
|
|
343
|
+
protocol = 'HTTPS',
|
|
344
|
+
pathname = f'/openapi/customer/broadcast/material/audio/create',
|
|
345
|
+
method = 'POST',
|
|
346
|
+
auth_type = 'AK',
|
|
347
|
+
style = 'ROA',
|
|
348
|
+
req_body_type = 'json',
|
|
349
|
+
body_type = 'json'
|
|
350
|
+
)
|
|
351
|
+
return DaraCore.from_map(
|
|
352
|
+
main_models.CreateBroadcastAudioResponse(),
|
|
353
|
+
await self.call_api_async(params, req, runtime)
|
|
354
|
+
)
|
|
355
|
+
|
|
356
|
+
def create_broadcast_audio(
|
|
357
|
+
self,
|
|
358
|
+
request: main_models.CreateBroadcastAudioRequest,
|
|
359
|
+
) -> main_models.CreateBroadcastAudioResponse:
|
|
360
|
+
runtime = RuntimeOptions()
|
|
361
|
+
headers = {}
|
|
362
|
+
return self.create_broadcast_audio_with_options(request, headers, runtime)
|
|
363
|
+
|
|
364
|
+
async def create_broadcast_audio_async(
|
|
365
|
+
self,
|
|
366
|
+
request: main_models.CreateBroadcastAudioRequest,
|
|
367
|
+
) -> main_models.CreateBroadcastAudioResponse:
|
|
368
|
+
runtime = RuntimeOptions()
|
|
369
|
+
headers = {}
|
|
370
|
+
return await self.create_broadcast_audio_with_options_async(request, headers, runtime)
|
|
371
|
+
|
|
292
372
|
def create_broadcast_sticker_with_options(
|
|
293
373
|
self,
|
|
294
374
|
request: main_models.CreateBroadcastStickerRequest,
|
|
@@ -1221,6 +1301,90 @@ class Client(OpenApiClient):
|
|
|
1221
1301
|
headers = {}
|
|
1222
1302
|
return await self.get_upload_policy_with_options_async(request, headers, runtime)
|
|
1223
1303
|
|
|
1304
|
+
def list_broadcast_audios_by_id_with_options(
|
|
1305
|
+
self,
|
|
1306
|
+
tmp_req: main_models.ListBroadcastAudiosByIdRequest,
|
|
1307
|
+
headers: Dict[str, str],
|
|
1308
|
+
runtime: RuntimeOptions,
|
|
1309
|
+
) -> main_models.ListBroadcastAudiosByIdResponse:
|
|
1310
|
+
tmp_req.validate()
|
|
1311
|
+
request = main_models.ListBroadcastAudiosByIdShrinkRequest()
|
|
1312
|
+
Utils.convert(tmp_req, request)
|
|
1313
|
+
if not DaraCore.is_null(tmp_req.audio_ids):
|
|
1314
|
+
request.audio_ids_shrink = Utils.array_to_string_with_specified_style(tmp_req.audio_ids, 'audioIds', 'json')
|
|
1315
|
+
query = {}
|
|
1316
|
+
if not DaraCore.is_null(request.audio_ids_shrink):
|
|
1317
|
+
query['audioIds'] = request.audio_ids_shrink
|
|
1318
|
+
req = open_api_util_models.OpenApiRequest(
|
|
1319
|
+
headers = headers,
|
|
1320
|
+
query = Utils.query(query)
|
|
1321
|
+
)
|
|
1322
|
+
params = open_api_util_models.Params(
|
|
1323
|
+
action = 'ListBroadcastAudiosById',
|
|
1324
|
+
version = '2025-05-27',
|
|
1325
|
+
protocol = 'HTTPS',
|
|
1326
|
+
pathname = f'/openapi/customer/broadcast/material/audio/batchQuery',
|
|
1327
|
+
method = 'GET',
|
|
1328
|
+
auth_type = 'AK',
|
|
1329
|
+
style = 'ROA',
|
|
1330
|
+
req_body_type = 'json',
|
|
1331
|
+
body_type = 'json'
|
|
1332
|
+
)
|
|
1333
|
+
return DaraCore.from_map(
|
|
1334
|
+
main_models.ListBroadcastAudiosByIdResponse(),
|
|
1335
|
+
self.call_api(params, req, runtime)
|
|
1336
|
+
)
|
|
1337
|
+
|
|
1338
|
+
async def list_broadcast_audios_by_id_with_options_async(
|
|
1339
|
+
self,
|
|
1340
|
+
tmp_req: main_models.ListBroadcastAudiosByIdRequest,
|
|
1341
|
+
headers: Dict[str, str],
|
|
1342
|
+
runtime: RuntimeOptions,
|
|
1343
|
+
) -> main_models.ListBroadcastAudiosByIdResponse:
|
|
1344
|
+
tmp_req.validate()
|
|
1345
|
+
request = main_models.ListBroadcastAudiosByIdShrinkRequest()
|
|
1346
|
+
Utils.convert(tmp_req, request)
|
|
1347
|
+
if not DaraCore.is_null(tmp_req.audio_ids):
|
|
1348
|
+
request.audio_ids_shrink = Utils.array_to_string_with_specified_style(tmp_req.audio_ids, 'audioIds', 'json')
|
|
1349
|
+
query = {}
|
|
1350
|
+
if not DaraCore.is_null(request.audio_ids_shrink):
|
|
1351
|
+
query['audioIds'] = request.audio_ids_shrink
|
|
1352
|
+
req = open_api_util_models.OpenApiRequest(
|
|
1353
|
+
headers = headers,
|
|
1354
|
+
query = Utils.query(query)
|
|
1355
|
+
)
|
|
1356
|
+
params = open_api_util_models.Params(
|
|
1357
|
+
action = 'ListBroadcastAudiosById',
|
|
1358
|
+
version = '2025-05-27',
|
|
1359
|
+
protocol = 'HTTPS',
|
|
1360
|
+
pathname = f'/openapi/customer/broadcast/material/audio/batchQuery',
|
|
1361
|
+
method = 'GET',
|
|
1362
|
+
auth_type = 'AK',
|
|
1363
|
+
style = 'ROA',
|
|
1364
|
+
req_body_type = 'json',
|
|
1365
|
+
body_type = 'json'
|
|
1366
|
+
)
|
|
1367
|
+
return DaraCore.from_map(
|
|
1368
|
+
main_models.ListBroadcastAudiosByIdResponse(),
|
|
1369
|
+
await self.call_api_async(params, req, runtime)
|
|
1370
|
+
)
|
|
1371
|
+
|
|
1372
|
+
def list_broadcast_audios_by_id(
|
|
1373
|
+
self,
|
|
1374
|
+
request: main_models.ListBroadcastAudiosByIdRequest,
|
|
1375
|
+
) -> main_models.ListBroadcastAudiosByIdResponse:
|
|
1376
|
+
runtime = RuntimeOptions()
|
|
1377
|
+
headers = {}
|
|
1378
|
+
return self.list_broadcast_audios_by_id_with_options(request, headers, runtime)
|
|
1379
|
+
|
|
1380
|
+
async def list_broadcast_audios_by_id_async(
|
|
1381
|
+
self,
|
|
1382
|
+
request: main_models.ListBroadcastAudiosByIdRequest,
|
|
1383
|
+
) -> main_models.ListBroadcastAudiosByIdResponse:
|
|
1384
|
+
runtime = RuntimeOptions()
|
|
1385
|
+
headers = {}
|
|
1386
|
+
return await self.list_broadcast_audios_by_id_with_options_async(request, headers, runtime)
|
|
1387
|
+
|
|
1224
1388
|
def list_broadcast_templates_with_options(
|
|
1225
1389
|
self,
|
|
1226
1390
|
request: main_models.ListBroadcastTemplatesRequest,
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# This file is auto-generated, don't edit it. Thanks.
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
+
from ._broadcast_audio import BroadcastAudio
|
|
5
6
|
from ._broadcast_template import BroadcastTemplate
|
|
6
7
|
from ._broadcast_video import BroadcastVideo
|
|
7
8
|
from ._chat_session_info import ChatSessionInfo
|
|
@@ -16,6 +17,9 @@ from ._confirm_train_pic_avatar_response import ConfirmTrainPicAvatarResponse
|
|
|
16
17
|
from ._create_background_pic_request import CreateBackgroundPicRequest
|
|
17
18
|
from ._create_background_pic_response_body import CreateBackgroundPicResponseBody
|
|
18
19
|
from ._create_background_pic_response import CreateBackgroundPicResponse
|
|
20
|
+
from ._create_broadcast_audio_request import CreateBroadcastAudioRequest
|
|
21
|
+
from ._create_broadcast_audio_response_body import CreateBroadcastAudioResponseBody
|
|
22
|
+
from ._create_broadcast_audio_response import CreateBroadcastAudioResponse
|
|
19
23
|
from ._create_broadcast_sticker_request import CreateBroadcastStickerRequest
|
|
20
24
|
from ._create_broadcast_sticker_response_body import CreateBroadcastStickerResponseBody
|
|
21
25
|
from ._create_broadcast_sticker_response import CreateBroadcastStickerResponse
|
|
@@ -49,6 +53,10 @@ from ._get_train_pic_avatar_status_response import GetTrainPicAvatarStatusRespon
|
|
|
49
53
|
from ._get_upload_policy_request import GetUploadPolicyRequest
|
|
50
54
|
from ._get_upload_policy_response_body import GetUploadPolicyResponseBody
|
|
51
55
|
from ._get_upload_policy_response import GetUploadPolicyResponse
|
|
56
|
+
from ._list_broadcast_audios_by_id_request import ListBroadcastAudiosByIdRequest
|
|
57
|
+
from ._list_broadcast_audios_by_id_shrink_request import ListBroadcastAudiosByIdShrinkRequest
|
|
58
|
+
from ._list_broadcast_audios_by_id_response_body import ListBroadcastAudiosByIdResponseBody
|
|
59
|
+
from ._list_broadcast_audios_by_id_response import ListBroadcastAudiosByIdResponse
|
|
52
60
|
from ._list_broadcast_templates_request import ListBroadcastTemplatesRequest
|
|
53
61
|
from ._list_broadcast_templates_response_body import ListBroadcastTemplatesResponseBody
|
|
54
62
|
from ._list_broadcast_templates_response import ListBroadcastTemplatesResponse
|
|
@@ -85,6 +93,7 @@ from ._list_private_ttsvoices_custom_response_body import ListPrivateTTSVoicesCu
|
|
|
85
93
|
from ._list_template_material_response_body import ListTemplateMaterialResponseBodyData
|
|
86
94
|
|
|
87
95
|
__all__ = [
|
|
96
|
+
BroadcastAudio,
|
|
88
97
|
BroadcastTemplate,
|
|
89
98
|
BroadcastVideo,
|
|
90
99
|
ChatSessionInfo,
|
|
@@ -99,6 +108,9 @@ __all__ = [
|
|
|
99
108
|
CreateBackgroundPicRequest,
|
|
100
109
|
CreateBackgroundPicResponseBody,
|
|
101
110
|
CreateBackgroundPicResponse,
|
|
111
|
+
CreateBroadcastAudioRequest,
|
|
112
|
+
CreateBroadcastAudioResponseBody,
|
|
113
|
+
CreateBroadcastAudioResponse,
|
|
102
114
|
CreateBroadcastStickerRequest,
|
|
103
115
|
CreateBroadcastStickerResponseBody,
|
|
104
116
|
CreateBroadcastStickerResponse,
|
|
@@ -132,6 +144,10 @@ __all__ = [
|
|
|
132
144
|
GetUploadPolicyRequest,
|
|
133
145
|
GetUploadPolicyResponseBody,
|
|
134
146
|
GetUploadPolicyResponse,
|
|
147
|
+
ListBroadcastAudiosByIdRequest,
|
|
148
|
+
ListBroadcastAudiosByIdShrinkRequest,
|
|
149
|
+
ListBroadcastAudiosByIdResponseBody,
|
|
150
|
+
ListBroadcastAudiosByIdResponse,
|
|
135
151
|
ListBroadcastTemplatesRequest,
|
|
136
152
|
ListBroadcastTemplatesResponseBody,
|
|
137
153
|
ListBroadcastTemplatesResponse,
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from darabonba.model import DaraModel
|
|
6
|
+
|
|
7
|
+
class BroadcastAudio(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
audio_length: int = None,
|
|
11
|
+
create_time: str = None,
|
|
12
|
+
id: str = None,
|
|
13
|
+
modified_time: str = None,
|
|
14
|
+
name: str = None,
|
|
15
|
+
status: str = None,
|
|
16
|
+
):
|
|
17
|
+
self.audio_length = audio_length
|
|
18
|
+
self.create_time = create_time
|
|
19
|
+
self.id = id
|
|
20
|
+
self.modified_time = modified_time
|
|
21
|
+
self.name = name
|
|
22
|
+
self.status = status
|
|
23
|
+
|
|
24
|
+
def validate(self):
|
|
25
|
+
pass
|
|
26
|
+
|
|
27
|
+
def to_map(self):
|
|
28
|
+
result = dict()
|
|
29
|
+
_map = super().to_map()
|
|
30
|
+
if _map is not None:
|
|
31
|
+
result = _map
|
|
32
|
+
if self.audio_length is not None:
|
|
33
|
+
result['audioLength'] = self.audio_length
|
|
34
|
+
|
|
35
|
+
if self.create_time is not None:
|
|
36
|
+
result['createTime'] = self.create_time
|
|
37
|
+
|
|
38
|
+
if self.id is not None:
|
|
39
|
+
result['id'] = self.id
|
|
40
|
+
|
|
41
|
+
if self.modified_time is not None:
|
|
42
|
+
result['modifiedTime'] = self.modified_time
|
|
43
|
+
|
|
44
|
+
if self.name is not None:
|
|
45
|
+
result['name'] = self.name
|
|
46
|
+
|
|
47
|
+
if self.status is not None:
|
|
48
|
+
result['status'] = self.status
|
|
49
|
+
|
|
50
|
+
return result
|
|
51
|
+
|
|
52
|
+
def from_map(self, m: dict = None):
|
|
53
|
+
m = m or dict()
|
|
54
|
+
if m.get('audioLength') is not None:
|
|
55
|
+
self.audio_length = m.get('audioLength')
|
|
56
|
+
|
|
57
|
+
if m.get('createTime') is not None:
|
|
58
|
+
self.create_time = m.get('createTime')
|
|
59
|
+
|
|
60
|
+
if m.get('id') is not None:
|
|
61
|
+
self.id = m.get('id')
|
|
62
|
+
|
|
63
|
+
if m.get('modifiedTime') is not None:
|
|
64
|
+
self.modified_time = m.get('modifiedTime')
|
|
65
|
+
|
|
66
|
+
if m.get('name') is not None:
|
|
67
|
+
self.name = m.get('name')
|
|
68
|
+
|
|
69
|
+
if m.get('status') is not None:
|
|
70
|
+
self.status = m.get('status')
|
|
71
|
+
|
|
72
|
+
return self
|
|
73
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from darabonba.model import DaraModel
|
|
6
|
+
|
|
7
|
+
class CreateBroadcastAudioRequest(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
file_name: str = None,
|
|
11
|
+
oss_key: str = None,
|
|
12
|
+
):
|
|
13
|
+
self.file_name = file_name
|
|
14
|
+
self.oss_key = oss_key
|
|
15
|
+
|
|
16
|
+
def validate(self):
|
|
17
|
+
pass
|
|
18
|
+
|
|
19
|
+
def to_map(self):
|
|
20
|
+
result = dict()
|
|
21
|
+
_map = super().to_map()
|
|
22
|
+
if _map is not None:
|
|
23
|
+
result = _map
|
|
24
|
+
if self.file_name is not None:
|
|
25
|
+
result['fileName'] = self.file_name
|
|
26
|
+
|
|
27
|
+
if self.oss_key is not None:
|
|
28
|
+
result['ossKey'] = self.oss_key
|
|
29
|
+
|
|
30
|
+
return result
|
|
31
|
+
|
|
32
|
+
def from_map(self, m: dict = None):
|
|
33
|
+
m = m or dict()
|
|
34
|
+
if m.get('fileName') is not None:
|
|
35
|
+
self.file_name = m.get('fileName')
|
|
36
|
+
|
|
37
|
+
if m.get('ossKey') is not None:
|
|
38
|
+
self.oss_key = m.get('ossKey')
|
|
39
|
+
|
|
40
|
+
return self
|
|
41
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Dict
|
|
6
|
+
|
|
7
|
+
from alibabacloud_lingmou20250527 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class CreateBroadcastAudioResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.CreateBroadcastAudioResponseBody = None,
|
|
16
|
+
):
|
|
17
|
+
self.headers = headers
|
|
18
|
+
self.status_code = status_code
|
|
19
|
+
self.body = body
|
|
20
|
+
|
|
21
|
+
def validate(self):
|
|
22
|
+
if self.body:
|
|
23
|
+
self.body.validate()
|
|
24
|
+
|
|
25
|
+
def to_map(self):
|
|
26
|
+
result = dict()
|
|
27
|
+
_map = super().to_map()
|
|
28
|
+
if _map is not None:
|
|
29
|
+
result = _map
|
|
30
|
+
if self.headers is not None:
|
|
31
|
+
result['headers'] = self.headers
|
|
32
|
+
|
|
33
|
+
if self.status_code is not None:
|
|
34
|
+
result['statusCode'] = self.status_code
|
|
35
|
+
|
|
36
|
+
if self.body is not None:
|
|
37
|
+
result['body'] = self.body.to_map()
|
|
38
|
+
|
|
39
|
+
return result
|
|
40
|
+
|
|
41
|
+
def from_map(self, m: dict = None):
|
|
42
|
+
m = m or dict()
|
|
43
|
+
if m.get('headers') is not None:
|
|
44
|
+
self.headers = m.get('headers')
|
|
45
|
+
|
|
46
|
+
if m.get('statusCode') is not None:
|
|
47
|
+
self.status_code = m.get('statusCode')
|
|
48
|
+
|
|
49
|
+
if m.get('body') is not None:
|
|
50
|
+
temp_model = main_models.CreateBroadcastAudioResponseBody()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from alibabacloud_lingmou20250527 import models as main_models
|
|
6
|
+
from darabonba.model import DaraModel
|
|
7
|
+
|
|
8
|
+
class CreateBroadcastAudioResponseBody(DaraModel):
|
|
9
|
+
def __init__(
|
|
10
|
+
self,
|
|
11
|
+
code: str = None,
|
|
12
|
+
data: main_models.BroadcastAudio = None,
|
|
13
|
+
http_status_code: int = None,
|
|
14
|
+
message: str = None,
|
|
15
|
+
request_id: str = None,
|
|
16
|
+
success: bool = None,
|
|
17
|
+
):
|
|
18
|
+
self.code = code
|
|
19
|
+
self.data = data
|
|
20
|
+
self.http_status_code = http_status_code
|
|
21
|
+
self.message = message
|
|
22
|
+
self.request_id = request_id
|
|
23
|
+
self.success = success
|
|
24
|
+
|
|
25
|
+
def validate(self):
|
|
26
|
+
if self.data:
|
|
27
|
+
self.data.validate()
|
|
28
|
+
|
|
29
|
+
def to_map(self):
|
|
30
|
+
result = dict()
|
|
31
|
+
_map = super().to_map()
|
|
32
|
+
if _map is not None:
|
|
33
|
+
result = _map
|
|
34
|
+
if self.code is not None:
|
|
35
|
+
result['code'] = self.code
|
|
36
|
+
|
|
37
|
+
if self.data is not None:
|
|
38
|
+
result['data'] = self.data.to_map()
|
|
39
|
+
|
|
40
|
+
if self.http_status_code is not None:
|
|
41
|
+
result['httpStatusCode'] = self.http_status_code
|
|
42
|
+
|
|
43
|
+
if self.message is not None:
|
|
44
|
+
result['message'] = self.message
|
|
45
|
+
|
|
46
|
+
if self.request_id is not None:
|
|
47
|
+
result['requestId'] = self.request_id
|
|
48
|
+
|
|
49
|
+
if self.success is not None:
|
|
50
|
+
result['success'] = self.success
|
|
51
|
+
|
|
52
|
+
return result
|
|
53
|
+
|
|
54
|
+
def from_map(self, m: dict = None):
|
|
55
|
+
m = m or dict()
|
|
56
|
+
if m.get('code') is not None:
|
|
57
|
+
self.code = m.get('code')
|
|
58
|
+
|
|
59
|
+
if m.get('data') is not None:
|
|
60
|
+
temp_model = main_models.BroadcastAudio()
|
|
61
|
+
self.data = temp_model.from_map(m.get('data'))
|
|
62
|
+
|
|
63
|
+
if m.get('httpStatusCode') is not None:
|
|
64
|
+
self.http_status_code = m.get('httpStatusCode')
|
|
65
|
+
|
|
66
|
+
if m.get('message') is not None:
|
|
67
|
+
self.message = m.get('message')
|
|
68
|
+
|
|
69
|
+
if m.get('requestId') is not None:
|
|
70
|
+
self.request_id = m.get('requestId')
|
|
71
|
+
|
|
72
|
+
if m.get('success') is not None:
|
|
73
|
+
self.success = m.get('success')
|
|
74
|
+
|
|
75
|
+
return self
|
|
76
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import List
|
|
6
|
+
|
|
7
|
+
from darabonba.model import DaraModel
|
|
8
|
+
|
|
9
|
+
class ListBroadcastAudiosByIdRequest(DaraModel):
|
|
10
|
+
def __init__(
|
|
11
|
+
self,
|
|
12
|
+
audio_ids: List[str] = None,
|
|
13
|
+
):
|
|
14
|
+
self.audio_ids = audio_ids
|
|
15
|
+
|
|
16
|
+
def validate(self):
|
|
17
|
+
pass
|
|
18
|
+
|
|
19
|
+
def to_map(self):
|
|
20
|
+
result = dict()
|
|
21
|
+
_map = super().to_map()
|
|
22
|
+
if _map is not None:
|
|
23
|
+
result = _map
|
|
24
|
+
if self.audio_ids is not None:
|
|
25
|
+
result['audioIds'] = self.audio_ids
|
|
26
|
+
|
|
27
|
+
return result
|
|
28
|
+
|
|
29
|
+
def from_map(self, m: dict = None):
|
|
30
|
+
m = m or dict()
|
|
31
|
+
if m.get('audioIds') is not None:
|
|
32
|
+
self.audio_ids = m.get('audioIds')
|
|
33
|
+
|
|
34
|
+
return self
|
|
35
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Dict
|
|
6
|
+
|
|
7
|
+
from alibabacloud_lingmou20250527 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class ListBroadcastAudiosByIdResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.ListBroadcastAudiosByIdResponseBody = None,
|
|
16
|
+
):
|
|
17
|
+
self.headers = headers
|
|
18
|
+
self.status_code = status_code
|
|
19
|
+
self.body = body
|
|
20
|
+
|
|
21
|
+
def validate(self):
|
|
22
|
+
if self.body:
|
|
23
|
+
self.body.validate()
|
|
24
|
+
|
|
25
|
+
def to_map(self):
|
|
26
|
+
result = dict()
|
|
27
|
+
_map = super().to_map()
|
|
28
|
+
if _map is not None:
|
|
29
|
+
result = _map
|
|
30
|
+
if self.headers is not None:
|
|
31
|
+
result['headers'] = self.headers
|
|
32
|
+
|
|
33
|
+
if self.status_code is not None:
|
|
34
|
+
result['statusCode'] = self.status_code
|
|
35
|
+
|
|
36
|
+
if self.body is not None:
|
|
37
|
+
result['body'] = self.body.to_map()
|
|
38
|
+
|
|
39
|
+
return result
|
|
40
|
+
|
|
41
|
+
def from_map(self, m: dict = None):
|
|
42
|
+
m = m or dict()
|
|
43
|
+
if m.get('headers') is not None:
|
|
44
|
+
self.headers = m.get('headers')
|
|
45
|
+
|
|
46
|
+
if m.get('statusCode') is not None:
|
|
47
|
+
self.status_code = m.get('statusCode')
|
|
48
|
+
|
|
49
|
+
if m.get('body') is not None:
|
|
50
|
+
temp_model = main_models.ListBroadcastAudiosByIdResponseBody()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import List
|
|
6
|
+
|
|
7
|
+
from alibabacloud_lingmou20250527 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class ListBroadcastAudiosByIdResponseBody(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
code: str = None,
|
|
14
|
+
data: List[main_models.BroadcastAudio] = None,
|
|
15
|
+
http_status_code: int = None,
|
|
16
|
+
message: str = None,
|
|
17
|
+
request_id: str = None,
|
|
18
|
+
success: bool = None,
|
|
19
|
+
):
|
|
20
|
+
self.code = code
|
|
21
|
+
self.data = data
|
|
22
|
+
self.http_status_code = http_status_code
|
|
23
|
+
self.message = message
|
|
24
|
+
self.request_id = request_id
|
|
25
|
+
self.success = success
|
|
26
|
+
|
|
27
|
+
def validate(self):
|
|
28
|
+
if self.data:
|
|
29
|
+
for v1 in self.data:
|
|
30
|
+
if v1:
|
|
31
|
+
v1.validate()
|
|
32
|
+
|
|
33
|
+
def to_map(self):
|
|
34
|
+
result = dict()
|
|
35
|
+
_map = super().to_map()
|
|
36
|
+
if _map is not None:
|
|
37
|
+
result = _map
|
|
38
|
+
if self.code is not None:
|
|
39
|
+
result['code'] = self.code
|
|
40
|
+
|
|
41
|
+
result['data'] = []
|
|
42
|
+
if self.data is not None:
|
|
43
|
+
for k1 in self.data:
|
|
44
|
+
result['data'].append(k1.to_map() if k1 else None)
|
|
45
|
+
|
|
46
|
+
if self.http_status_code is not None:
|
|
47
|
+
result['httpStatusCode'] = self.http_status_code
|
|
48
|
+
|
|
49
|
+
if self.message is not None:
|
|
50
|
+
result['message'] = self.message
|
|
51
|
+
|
|
52
|
+
if self.request_id is not None:
|
|
53
|
+
result['requestId'] = self.request_id
|
|
54
|
+
|
|
55
|
+
if self.success is not None:
|
|
56
|
+
result['success'] = self.success
|
|
57
|
+
|
|
58
|
+
return result
|
|
59
|
+
|
|
60
|
+
def from_map(self, m: dict = None):
|
|
61
|
+
m = m or dict()
|
|
62
|
+
if m.get('code') is not None:
|
|
63
|
+
self.code = m.get('code')
|
|
64
|
+
|
|
65
|
+
self.data = []
|
|
66
|
+
if m.get('data') is not None:
|
|
67
|
+
for k1 in m.get('data'):
|
|
68
|
+
temp_model = main_models.BroadcastAudio()
|
|
69
|
+
self.data.append(temp_model.from_map(k1))
|
|
70
|
+
|
|
71
|
+
if m.get('httpStatusCode') is not None:
|
|
72
|
+
self.http_status_code = m.get('httpStatusCode')
|
|
73
|
+
|
|
74
|
+
if m.get('message') is not None:
|
|
75
|
+
self.message = m.get('message')
|
|
76
|
+
|
|
77
|
+
if m.get('requestId') is not None:
|
|
78
|
+
self.request_id = m.get('requestId')
|
|
79
|
+
|
|
80
|
+
if m.get('success') is not None:
|
|
81
|
+
self.success = m.get('success')
|
|
82
|
+
|
|
83
|
+
return self
|
|
84
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from darabonba.model import DaraModel
|
|
6
|
+
|
|
7
|
+
class ListBroadcastAudiosByIdShrinkRequest(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
audio_ids_shrink: str = None,
|
|
11
|
+
):
|
|
12
|
+
self.audio_ids_shrink = audio_ids_shrink
|
|
13
|
+
|
|
14
|
+
def validate(self):
|
|
15
|
+
pass
|
|
16
|
+
|
|
17
|
+
def to_map(self):
|
|
18
|
+
result = dict()
|
|
19
|
+
_map = super().to_map()
|
|
20
|
+
if _map is not None:
|
|
21
|
+
result = _map
|
|
22
|
+
if self.audio_ids_shrink is not None:
|
|
23
|
+
result['audioIds'] = self.audio_ids_shrink
|
|
24
|
+
|
|
25
|
+
return result
|
|
26
|
+
|
|
27
|
+
def from_map(self, m: dict = None):
|
|
28
|
+
m = m or dict()
|
|
29
|
+
if m.get('audioIds') is not None:
|
|
30
|
+
self.audio_ids_shrink = m.get('audioIds')
|
|
31
|
+
|
|
32
|
+
return self
|
|
33
|
+
|
|
@@ -13,6 +13,7 @@ alibabacloud_lingmou20250527.egg-info/dependency_links.txt
|
|
|
13
13
|
alibabacloud_lingmou20250527.egg-info/requires.txt
|
|
14
14
|
alibabacloud_lingmou20250527.egg-info/top_level.txt
|
|
15
15
|
alibabacloud_lingmou20250527/models/__init__.py
|
|
16
|
+
alibabacloud_lingmou20250527/models/_broadcast_audio.py
|
|
16
17
|
alibabacloud_lingmou20250527/models/_broadcast_template.py
|
|
17
18
|
alibabacloud_lingmou20250527/models/_broadcast_video.py
|
|
18
19
|
alibabacloud_lingmou20250527/models/_chat_session_info.py
|
|
@@ -26,6 +27,9 @@ alibabacloud_lingmou20250527/models/_confirm_train_pic_avatar_response_body.py
|
|
|
26
27
|
alibabacloud_lingmou20250527/models/_create_background_pic_request.py
|
|
27
28
|
alibabacloud_lingmou20250527/models/_create_background_pic_response.py
|
|
28
29
|
alibabacloud_lingmou20250527/models/_create_background_pic_response_body.py
|
|
30
|
+
alibabacloud_lingmou20250527/models/_create_broadcast_audio_request.py
|
|
31
|
+
alibabacloud_lingmou20250527/models/_create_broadcast_audio_response.py
|
|
32
|
+
alibabacloud_lingmou20250527/models/_create_broadcast_audio_response_body.py
|
|
29
33
|
alibabacloud_lingmou20250527/models/_create_broadcast_sticker_request.py
|
|
30
34
|
alibabacloud_lingmou20250527/models/_create_broadcast_sticker_response.py
|
|
31
35
|
alibabacloud_lingmou20250527/models/_create_broadcast_sticker_response_body.py
|
|
@@ -59,6 +63,10 @@ alibabacloud_lingmou20250527/models/_get_ttsvoice_by_id_custom_response_body.py
|
|
|
59
63
|
alibabacloud_lingmou20250527/models/_get_upload_policy_request.py
|
|
60
64
|
alibabacloud_lingmou20250527/models/_get_upload_policy_response.py
|
|
61
65
|
alibabacloud_lingmou20250527/models/_get_upload_policy_response_body.py
|
|
66
|
+
alibabacloud_lingmou20250527/models/_list_broadcast_audios_by_id_request.py
|
|
67
|
+
alibabacloud_lingmou20250527/models/_list_broadcast_audios_by_id_response.py
|
|
68
|
+
alibabacloud_lingmou20250527/models/_list_broadcast_audios_by_id_response_body.py
|
|
69
|
+
alibabacloud_lingmou20250527/models/_list_broadcast_audios_by_id_shrink_request.py
|
|
62
70
|
alibabacloud_lingmou20250527/models/_list_broadcast_templates_request.py
|
|
63
71
|
alibabacloud_lingmou20250527/models/_list_broadcast_templates_response.py
|
|
64
72
|
alibabacloud_lingmou20250527/models/_list_broadcast_templates_response_body.py
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '1.5.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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|