volcengine-python-sdk 4.0.18__py2.py3-none-any.whl → 4.0.20__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of volcengine-python-sdk might be problematic. Click here for more details.
- {volcengine_python_sdk-4.0.18.dist-info → volcengine_python_sdk-4.0.20.dist-info}/METADATA +1 -1
- {volcengine_python_sdk-4.0.18.dist-info → volcengine_python_sdk-4.0.20.dist-info}/RECORD +242 -115
- volcenginesdkalb/__init__.py +41 -0
- volcenginesdkalb/models/__init__.py +41 -0
- volcenginesdkalb/models/clone_load_balancer_request.py +1 -1
- volcenginesdkalb/models/convert_forward_group_config_for_create_rules_input.py +149 -0
- volcenginesdkalb/models/convert_forward_group_config_for_describe_rules_output.py +149 -0
- volcenginesdkalb/models/convert_forward_group_config_for_modify_rules_input.py +149 -0
- volcenginesdkalb/models/convert_redirect_config_for_create_rules_input.py +227 -0
- volcenginesdkalb/models/convert_redirect_config_for_describe_rules_output.py +227 -0
- volcenginesdkalb/models/convert_redirect_config_for_modify_rules_input.py +227 -0
- volcenginesdkalb/models/convert_rewrite_config_for_create_rules_input.py +123 -0
- volcenginesdkalb/models/convert_rewrite_config_for_describe_rules_output.py +123 -0
- volcenginesdkalb/models/convert_rewrite_config_for_modify_rules_input.py +123 -0
- volcenginesdkalb/models/create_listener_request.py +105 -1
- volcenginesdkalb/models/create_load_balancer_request.py +27 -1
- volcenginesdkalb/models/create_server_group_request.py +27 -1
- volcenginesdkalb/models/describe_listener_attributes_response.py +105 -1
- volcenginesdkalb/models/describe_server_group_attributes_response.py +27 -1
- volcenginesdkalb/models/domain_extension_for_create_listener_input.py +29 -3
- volcenginesdkalb/models/domain_extension_for_describe_listener_attributes_output.py +27 -1
- volcenginesdkalb/models/domain_extension_for_describe_listeners_output.py +29 -3
- volcenginesdkalb/models/domain_extension_for_modify_listener_attributes_input.py +29 -3
- volcenginesdkalb/models/fixed_response_config_for_create_rules_input.py +175 -0
- volcenginesdkalb/models/fixed_response_config_for_describe_rules_output.py +175 -0
- volcenginesdkalb/models/fixed_response_config_for_modify_rules_input.py +175 -0
- volcenginesdkalb/models/header_config_for_create_rules_input.py +149 -0
- volcenginesdkalb/models/header_config_for_describe_rules_output.py +149 -0
- volcenginesdkalb/models/header_config_for_modify_rules_input.py +149 -0
- volcenginesdkalb/models/health_check_for_create_server_group_input.py +2 -3
- volcenginesdkalb/models/health_check_for_modify_server_group_attributes_input.py +2 -3
- volcenginesdkalb/models/health_check_templates_tag_for_create_health_check_templates_input.py +2 -3
- volcenginesdkalb/models/host_config_for_create_rules_input.py +123 -0
- volcenginesdkalb/models/host_config_for_describe_rules_output.py +123 -0
- volcenginesdkalb/models/host_config_for_modify_rules_input.py +123 -0
- volcenginesdkalb/models/listener_for_describe_listeners_output.py +105 -1
- volcenginesdkalb/models/method_config_for_create_rules_input.py +123 -0
- volcenginesdkalb/models/method_config_for_describe_rules_output.py +123 -0
- volcenginesdkalb/models/method_config_for_modify_rules_input.py +123 -0
- volcenginesdkalb/models/modify_listener_attributes_request.py +105 -1
- volcenginesdkalb/models/modify_server_group_attributes_request.py +27 -1
- volcenginesdkalb/models/path_config_for_create_rules_input.py +123 -0
- volcenginesdkalb/models/path_config_for_describe_rules_output.py +123 -0
- volcenginesdkalb/models/path_config_for_modify_rules_input.py +123 -0
- volcenginesdkalb/models/query_string_config_for_create_rules_input.py +123 -0
- volcenginesdkalb/models/query_string_config_for_describe_rules_output.py +123 -0
- volcenginesdkalb/models/query_string_config_for_modify_rules_input.py +123 -0
- volcenginesdkalb/models/query_string_config_value_for_create_rules_input.py +149 -0
- volcenginesdkalb/models/query_string_config_value_for_modify_rules_input.py +149 -0
- volcenginesdkalb/models/rule_action_for_describe_rules_output.py +253 -0
- volcenginesdkalb/models/rule_condition_for_describe_rules_output.py +253 -0
- volcenginesdkalb/models/rule_for_create_rules_input.py +85 -1
- volcenginesdkalb/models/rule_for_describe_rules_output.py +79 -1
- volcenginesdkalb/models/rule_for_modify_rules_input.py +85 -1
- volcenginesdkalb/models/rules_rule_action_for_create_rules_input.py +253 -0
- volcenginesdkalb/models/rules_rule_action_for_modify_rules_input.py +253 -0
- volcenginesdkalb/models/rules_rule_condition_for_create_rules_input.py +253 -0
- volcenginesdkalb/models/rules_rule_condition_for_modify_rules_input.py +253 -0
- volcenginesdkalb/models/server_group_for_describe_server_groups_output.py +27 -1
- volcenginesdklivesaas/models/update_activity_menu_api_request.py → volcenginesdkalb/models/server_group_sticky_session_for_create_rules_input.py +39 -40
- volcenginesdkalb/models/server_group_sticky_session_for_describe_rules_output.py +149 -0
- volcenginesdkalb/models/server_group_sticky_session_for_modify_rules_input.py +149 -0
- volcenginesdkalb/models/traffic_limit_config_for_create_rules_input.py +123 -0
- volcenginesdkalb/models/traffic_limit_config_for_describe_rules_output.py +123 -0
- volcenginesdkalb/models/traffic_limit_config_for_modify_rules_input.py +123 -0
- volcenginesdkcore/api_client.py +1 -1
- volcenginesdkcore/configuration.py +1 -1
- volcenginesdkdirectconnect/__init__.py +45 -6
- volcenginesdkdirectconnect/api/directconnect_api.py +2015 -366
- volcenginesdkdirectconnect/models/__init__.py +45 -4
- volcenginesdkdirectconnect/models/allocate_direct_connect_virtual_interface_request.py +560 -0
- volcenginesdkdirectconnect/models/allocate_direct_connect_virtual_interface_response.py +149 -0
- volcenginesdkdirectconnect/models/confirm_direct_connect_virtual_interface_request.py +151 -0
- volcenginesdkdirectconnect/models/confirm_direct_connect_virtual_interface_response.py +123 -0
- volcenginesdkdirectconnect/models/create_direct_connect_gateway_request.py +27 -1
- volcenginesdkdirectconnect/models/create_direct_connect_traffic_qos_policy_request.py +175 -0
- volcenginesdkdirectconnect/models/create_direct_connect_traffic_qos_policy_response.py +149 -0
- volcenginesdkdirectconnect/models/create_direct_connect_traffic_qos_queue_request.py +255 -0
- volcenginesdkdirectconnect/models/create_direct_connect_traffic_qos_queue_response.py +149 -0
- volcenginesdkdirectconnect/models/create_direct_connect_traffic_qos_rule_request.py +496 -0
- volcenginesdkdirectconnect/models/create_direct_connect_traffic_qos_rule_response.py +149 -0
- volcenginesdkdirectconnect/models/create_direct_connect_virtual_interface_request.py +27 -1
- volcenginesdkdirectconnect/models/delete_direct_connect_traffic_qos_policy_request.py +124 -0
- volcenginesdkdirectconnect/models/delete_direct_connect_traffic_qos_policy_response.py +123 -0
- volcenginesdkdirectconnect/models/delete_direct_connect_traffic_qos_queue_request.py +124 -0
- volcenginesdkdirectconnect/models/delete_direct_connect_traffic_qos_queue_response.py +123 -0
- volcenginesdkdirectconnect/models/delete_direct_connect_traffic_qos_rule_request.py +124 -0
- volcenginesdkdirectconnect/models/delete_direct_connect_traffic_qos_rule_response.py +123 -0
- volcenginesdkdirectconnect/models/describe_direct_connect_gateways_request.py +27 -1
- volcenginesdkdirectconnect/models/describe_direct_connect_traffic_qos_policies_request.py +201 -0
- volcenginesdkdirectconnect/models/describe_direct_connect_traffic_qos_policies_response.py +227 -0
- volcenginesdkdirectconnect/models/describe_direct_connect_traffic_qos_queues_request.py +201 -0
- volcenginesdkdirectconnect/models/describe_direct_connect_traffic_qos_queues_response.py +227 -0
- volcenginesdkdirectconnect/models/describe_direct_connect_traffic_qos_rules_request.py +331 -0
- volcenginesdkdirectconnect/models/describe_direct_connect_traffic_qos_rules_response.py +227 -0
- volcenginesdkdirectconnect/models/describe_direct_connect_virtual_interface_attributes_response.py +27 -1
- volcenginesdkdirectconnect/models/direct_connect_traffic_qos_rule_for_describe_direct_connect_traffic_qos_rules_output.py +513 -0
- volcenginesdkdirectconnect/models/list_tags_for_resources_request.py +254 -0
- volcenginesdkdirectconnect/models/list_tags_for_resources_response.py +149 -0
- volcenginesdkdirectconnect/models/models.py +592 -0
- volcenginesdkdirectconnect/models/modify_direct_connect_traffic_qos_policy_attributes_request.py +202 -0
- volcenginesdkdirectconnect/models/modify_direct_connect_traffic_qos_policy_attributes_response.py +123 -0
- volcenginesdkdirectconnect/models/modify_direct_connect_traffic_qos_queue_attributes_request.py +202 -0
- volcenginesdkdirectconnect/models/modify_direct_connect_traffic_qos_queue_attributes_response.py +123 -0
- volcenginesdkdirectconnect/models/modify_direct_connect_traffic_qos_rule_attributes_request.py +151 -0
- volcenginesdkdirectconnect/models/modify_direct_connect_traffic_qos_rule_attributes_response.py +123 -0
- volcenginesdkdirectconnect/models/modify_direct_connect_virtual_interface_attributes_request.py +27 -1
- volcenginesdkdirectconnect/models/resource_tag_for_list_tags_for_resources_output.py +201 -0
- volcenginesdkdirectconnect/models/tag_filter_for_list_tags_for_resources_input.py +149 -0
- volcenginesdkdirectconnect/models/tag_for_allocate_direct_connect_virtual_interface_input.py +149 -0
- volcenginesdkdirectconnect/models/tag_for_tag_resources_input.py +150 -0
- volcenginesdkdirectconnect/models/tag_resources_request.py +176 -0
- volcenginesdkdirectconnect/models/tag_resources_response.py +95 -0
- volcenginesdkdirectconnect/models/untag_resources_request.py +176 -0
- volcenginesdkdirectconnect/models/untag_resources_response.py +95 -0
- volcenginesdkgraph20250815/models/get_table_response.py +29 -29
- volcenginesdklivesaas/__init__.py +0 -3
- volcenginesdklivesaas/api/livesaas_api.py +0 -97
- volcenginesdklivesaas/models/__init__.py +0 -3
- volcenginesdklivesaas/models/task_award_record_list_for_get_task_award_record_statistics_api_output.py +27 -1
- volcenginesdklivesaas20230801/models/award_record_for_list_award_record_statistics_output.py +27 -1
- volcenginesdklivesaas20230801/models/robot_comment_for_list_robot_comments_output.py +1 -1
- volcenginesdkmlplatform20240701/__init__.py +31 -0
- volcenginesdkmlplatform20240701/api/ml_platform20240701_api.py +194 -0
- volcenginesdkmlplatform20240701/models/__init__.py +31 -0
- volcenginesdkmlplatform20240701/models/allocated_compute_resource_for_list_resource_reservation_records_output.py +27 -1
- volcenginesdkmlplatform20240701/models/available_resource_for_list_resource_reservation_plan_available_resources_output.py +149 -0
- volcenginesdkmlplatform20240701/models/compute_resource_for_create_resource_reservation_plan_input.py +27 -1
- volcenginesdkmlplatform20240701/models/compute_resource_for_list_resource_reservation_plan_available_resources_input.py +201 -0
- volcenginesdkmlplatform20240701/models/config_for_create_deployment_input.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_create_dev_instance_input.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_create_job_input.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_get_deployment_output.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_get_dev_instance_output.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_get_job_output.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_list_dev_instances_output.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_update_deployment_input.py +55 -3
- volcenginesdkmlplatform20240701/models/config_for_update_dev_instance_input.py +55 -3
- volcenginesdkmlplatform20240701/models/create_dev_instance_request.py +87 -4
- volcenginesdkmlplatform20240701/models/create_job_request.py +33 -1
- volcenginesdkmlplatform20240701/models/create_resource_group_request.py +59 -1
- volcenginesdkmlplatform20240701/models/create_resource_queue_request.py +33 -1
- volcenginesdkmlplatform20240701/models/create_resource_reservation_plan_request.py +87 -3
- volcenginesdkmlplatform20240701/models/create_service_request.py +33 -1
- volcenginesdkmlplatform20240701/models/delivered_compute_resource_for_list_resource_reservation_records_output.py +27 -1
- volcenginesdkmlplatform20240701/models/desired_compute_resource_for_get_resource_reservation_plan_output.py +27 -1
- volcenginesdkmlplatform20240701/models/desired_compute_resource_for_list_resource_reservation_plans_output.py +27 -1
- volcenginesdkmlplatform20240701/models/desired_compute_resource_for_list_resource_reservation_records_output.py +27 -1
- volcenginesdkmlplatform20240701/models/get_deployment_response.py +27 -1
- volcenginesdkmlplatform20240701/models/get_dev_instance_response.py +79 -1
- volcenginesdkmlplatform20240701/models/get_job_response.py +27 -1
- volcenginesdkmlplatform20240701/models/get_resource_group_response.py +53 -1
- volcenginesdkmlplatform20240701/models/get_resource_queue_response.py +27 -1
- volcenginesdkmlplatform20240701/models/get_resource_reservation_plan_response.py +81 -3
- volcenginesdkmlplatform20240701/models/get_service_response.py +27 -1
- volcenginesdkmlplatform20240701/models/item_for_list_jobs_output.py +27 -1
- volcenginesdkmlplatform20240701/models/item_for_list_resource_groups_output.py +53 -1
- volcenginesdkmlplatform20240701/models/item_for_list_resource_queues_output.py +27 -1
- volcenginesdkmlplatform20240701/models/item_for_list_resource_reservation_plans_output.py +81 -3
- volcenginesdkmlplatform20240701/models/list_dev_instances_request.py +59 -1
- volcenginesdkmlplatform20240701/models/list_for_list_dev_instances_output.py +79 -1
- volcenginesdkmlplatform20240701/models/list_jobs_request.py +33 -1
- volcenginesdkmlplatform20240701/models/list_resource_claim_options_request.py +27 -1
- volcenginesdkmlplatform20240701/models/list_resource_groups_request.py +33 -1
- volcenginesdkmlplatform20240701/models/list_resource_queues_request.py +33 -1
- volcenginesdkmlplatform20240701/models/list_resource_reservation_plan_available_resources_request.py +243 -0
- volcenginesdkmlplatform20240701/models/list_resource_reservation_plan_available_resources_response.py +123 -0
- volcenginesdkmlplatform20240701/models/list_resource_reservation_plans_request.py +59 -1
- volcenginesdkmlplatform20240701/models/list_services_request.py +33 -1
- volcenginesdkmlplatform20240701/models/nas_ap_for_create_deployment_input.py +149 -0
- volcenginesdkmlplatform20240701/models/nas_ap_for_create_dev_instance_input.py +149 -0
- volcenginesdkmlplatform20240701/models/nas_ap_for_create_job_input.py +149 -0
- volcenginesdkmlplatform20240701/models/nas_ap_for_get_deployment_output.py +149 -0
- volcenginesdkmlplatform20240701/models/nas_ap_for_get_dev_instance_output.py +149 -0
- volcenginesdkmlplatform20240701/models/nas_ap_for_get_job_output.py +149 -0
- volcenginesdkmlplatform20240701/models/nas_ap_for_list_dev_instances_output.py +149 -0
- volcenginesdkmlplatform20240701/models/nas_ap_for_update_deployment_input.py +149 -0
- volcenginesdkmlplatform20240701/models/nas_ap_for_update_dev_instance_input.py +149 -0
- volcenginesdkmlplatform20240701/models/reservation_config_for_create_resource_reservation_plan_input.py +27 -1
- volcenginesdkmlplatform20240701/models/reservation_config_for_get_resource_reservation_plan_output.py +29 -3
- volcenginesdkmlplatform20240701/models/reservation_config_for_list_resource_reservation_plans_output.py +29 -3
- volcenginesdkmlplatform20240701/models/resource_segment_for_get_resource_reservation_plan_output.py +175 -0
- volcenginesdkmlplatform20240701/models/resource_segment_for_list_resource_reservation_plans_output.py +175 -0
- volcenginesdkmlplatform20240701/models/schedule_config_for_create_resource_reservation_plan_input.py +123 -0
- volcenginesdkmlplatform20240701/models/schedule_config_for_get_resource_reservation_plan_output.py +123 -0
- volcenginesdkmlplatform20240701/models/schedule_config_for_list_resource_reservation_plans_output.py +123 -0
- volcenginesdkmlplatform20240701/models/schedule_config_for_update_resource_reservation_plan_input.py +123 -0
- volcenginesdkmlplatform20240701/models/segment_for_list_resource_reservation_plan_available_resources_output.py +175 -0
- volcenginesdklivesaas/models/menu_for_update_activity_menu_api_input.py → volcenginesdkmlplatform20240701/models/sign_jwt_token_request.py +33 -57
- volcenginesdklivesaas/models/update_activity_menu_api_response.py → volcenginesdkmlplatform20240701/models/sign_jwt_token_response.py +23 -23
- volcenginesdkmlplatform20240701/models/update_dev_instance_request.py +53 -1
- volcenginesdkmlplatform20240701/models/update_resource_reservation_plan_request.py +55 -3
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_create_deployment_input.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_create_dev_instance_input.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_create_job_input.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_get_deployment_output.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_get_dev_instance_output.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_get_job_output.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_list_dev_instances_output.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_update_deployment_input.py +149 -0
- volcenginesdkmlplatform20240701/models/vepfs_ap_for_update_dev_instance_input.py +149 -0
- volcenginesdkvod20250101/__init__.py +18 -0
- volcenginesdkvod20250101/api/vod20250101_api.py +485 -0
- volcenginesdkvod20250101/models/__init__.py +18 -0
- volcenginesdkvod20250101/models/background_audio_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/clip_audio_for_generate_ai_translation_utterance_audio_output.py +27 -1
- volcenginesdkvod20250101/models/clip_video_for_generate_ai_translation_utterance_audio_output.py +27 -1
- volcenginesdkvod20250101/models/create_ai_translation_speaker_request.py +205 -0
- volcenginesdkvod20250101/models/create_ai_translation_speaker_response.py +149 -0
- volcenginesdkvod20250101/models/create_ai_translation_speech_request.py +232 -0
- volcenginesdkvod20250101/models/create_ai_translation_speech_response.py +123 -0
- volcenginesdkvod20250101/models/delete_ai_translation_speech_request.py +151 -0
- volcenginesdkvod20250101/models/delete_ai_translation_speech_response.py +95 -0
- volcenginesdkvod20250101/models/erased_subtitle_video_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/facial_translation_video_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/foreground_audio_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/input_subtitle_for_get_ai_translation_project_output.py +253 -0
- volcenginesdkvod20250101/models/input_video_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/input_video_for_list_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/list_ai_translation_speech_request.py +178 -0
- volcenginesdkvod20250101/models/list_ai_translation_speech_response.py +149 -0
- volcenginesdkvod20250101/models/output_subtitle_for_get_ai_translation_project_output.py +253 -0
- volcenginesdkvod20250101/models/output_video_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/output_video_for_list_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/preset_speech_for_list_ai_translation_speech_output.py +253 -0
- volcenginesdkvod20250101/models/preview_video_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/preview_video_muted_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/project_base_info_for_create_ai_translation_speaker_output.py +149 -0
- volcenginesdkvod20250101/models/project_info_for_get_ai_translation_project_output.py +53 -1
- volcenginesdkvod20250101/models/speaker_for_create_ai_translation_speaker_output.py +227 -0
- volcenginesdkvod20250101/models/speaker_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/speaker_for_update_ai_translation_speakers_input.py +29 -3
- volcenginesdkvod20250101/models/speech_for_create_ai_translation_speech_output.py +253 -0
- volcenginesdkvod20250101/models/speech_for_update_ai_translation_speeches_input.py +149 -0
- volcenginesdkvod20250101/models/update_ai_translation_speeches_request.py +150 -0
- volcenginesdkvod20250101/models/update_ai_translation_speeches_response.py +95 -0
- volcenginesdkvod20250101/models/user_speech_for_list_ai_translation_speech_output.py +253 -0
- volcenginesdkvod20250101/models/voice_translation_video_for_get_ai_translation_project_output.py +27 -1
- {volcengine_python_sdk-4.0.18.dist-info → volcengine_python_sdk-4.0.20.dist-info}/LICENSE.txt +0 -0
- {volcengine_python_sdk-4.0.18.dist-info → volcengine_python_sdk-4.0.20.dist-info}/NOTICE.md +0 -0
- {volcengine_python_sdk-4.0.18.dist-info → volcengine_python_sdk-4.0.20.dist-info}/WHEEL +0 -0
- {volcengine_python_sdk-4.0.18.dist-info → volcengine_python_sdk-4.0.20.dist-info}/top_level.txt +0 -0
volcenginesdkvod20250101/models/facial_translation_video_for_get_ai_translation_project_output.py
CHANGED
|
@@ -34,6 +34,7 @@ class FacialTranslationVideoForGetAITranslationProjectOutput(object):
|
|
|
34
34
|
"""
|
|
35
35
|
swagger_types = {
|
|
36
36
|
'duration_second': 'float',
|
|
37
|
+
'file_name': 'str',
|
|
37
38
|
'is_audio': 'bool',
|
|
38
39
|
'uri': 'str',
|
|
39
40
|
'url': 'str',
|
|
@@ -42,19 +43,21 @@ class FacialTranslationVideoForGetAITranslationProjectOutput(object):
|
|
|
42
43
|
|
|
43
44
|
attribute_map = {
|
|
44
45
|
'duration_second': 'DurationSecond',
|
|
46
|
+
'file_name': 'FileName',
|
|
45
47
|
'is_audio': 'IsAudio',
|
|
46
48
|
'uri': 'Uri',
|
|
47
49
|
'url': 'Url',
|
|
48
50
|
'vid': 'Vid'
|
|
49
51
|
}
|
|
50
52
|
|
|
51
|
-
def __init__(self, duration_second=None, is_audio=None, uri=None, url=None, vid=None, _configuration=None): # noqa: E501
|
|
53
|
+
def __init__(self, duration_second=None, file_name=None, is_audio=None, uri=None, url=None, vid=None, _configuration=None): # noqa: E501
|
|
52
54
|
"""FacialTranslationVideoForGetAITranslationProjectOutput - a model defined in Swagger""" # noqa: E501
|
|
53
55
|
if _configuration is None:
|
|
54
56
|
_configuration = Configuration()
|
|
55
57
|
self._configuration = _configuration
|
|
56
58
|
|
|
57
59
|
self._duration_second = None
|
|
60
|
+
self._file_name = None
|
|
58
61
|
self._is_audio = None
|
|
59
62
|
self._uri = None
|
|
60
63
|
self._url = None
|
|
@@ -63,6 +66,8 @@ class FacialTranslationVideoForGetAITranslationProjectOutput(object):
|
|
|
63
66
|
|
|
64
67
|
if duration_second is not None:
|
|
65
68
|
self.duration_second = duration_second
|
|
69
|
+
if file_name is not None:
|
|
70
|
+
self.file_name = file_name
|
|
66
71
|
if is_audio is not None:
|
|
67
72
|
self.is_audio = is_audio
|
|
68
73
|
if uri is not None:
|
|
@@ -93,6 +98,27 @@ class FacialTranslationVideoForGetAITranslationProjectOutput(object):
|
|
|
93
98
|
|
|
94
99
|
self._duration_second = duration_second
|
|
95
100
|
|
|
101
|
+
@property
|
|
102
|
+
def file_name(self):
|
|
103
|
+
"""Gets the file_name of this FacialTranslationVideoForGetAITranslationProjectOutput. # noqa: E501
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:return: The file_name of this FacialTranslationVideoForGetAITranslationProjectOutput. # noqa: E501
|
|
107
|
+
:rtype: str
|
|
108
|
+
"""
|
|
109
|
+
return self._file_name
|
|
110
|
+
|
|
111
|
+
@file_name.setter
|
|
112
|
+
def file_name(self, file_name):
|
|
113
|
+
"""Sets the file_name of this FacialTranslationVideoForGetAITranslationProjectOutput.
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
:param file_name: The file_name of this FacialTranslationVideoForGetAITranslationProjectOutput. # noqa: E501
|
|
117
|
+
:type: str
|
|
118
|
+
"""
|
|
119
|
+
|
|
120
|
+
self._file_name = file_name
|
|
121
|
+
|
|
96
122
|
@property
|
|
97
123
|
def is_audio(self):
|
|
98
124
|
"""Gets the is_audio of this FacialTranslationVideoForGetAITranslationProjectOutput. # noqa: E501
|
|
@@ -34,6 +34,7 @@ class ForegroundAudioForGetAITranslationProjectOutput(object):
|
|
|
34
34
|
"""
|
|
35
35
|
swagger_types = {
|
|
36
36
|
'duration_second': 'float',
|
|
37
|
+
'file_name': 'str',
|
|
37
38
|
'is_audio': 'bool',
|
|
38
39
|
'uri': 'str',
|
|
39
40
|
'url': 'str',
|
|
@@ -42,19 +43,21 @@ class ForegroundAudioForGetAITranslationProjectOutput(object):
|
|
|
42
43
|
|
|
43
44
|
attribute_map = {
|
|
44
45
|
'duration_second': 'DurationSecond',
|
|
46
|
+
'file_name': 'FileName',
|
|
45
47
|
'is_audio': 'IsAudio',
|
|
46
48
|
'uri': 'Uri',
|
|
47
49
|
'url': 'Url',
|
|
48
50
|
'vid': 'Vid'
|
|
49
51
|
}
|
|
50
52
|
|
|
51
|
-
def __init__(self, duration_second=None, is_audio=None, uri=None, url=None, vid=None, _configuration=None): # noqa: E501
|
|
53
|
+
def __init__(self, duration_second=None, file_name=None, is_audio=None, uri=None, url=None, vid=None, _configuration=None): # noqa: E501
|
|
52
54
|
"""ForegroundAudioForGetAITranslationProjectOutput - a model defined in Swagger""" # noqa: E501
|
|
53
55
|
if _configuration is None:
|
|
54
56
|
_configuration = Configuration()
|
|
55
57
|
self._configuration = _configuration
|
|
56
58
|
|
|
57
59
|
self._duration_second = None
|
|
60
|
+
self._file_name = None
|
|
58
61
|
self._is_audio = None
|
|
59
62
|
self._uri = None
|
|
60
63
|
self._url = None
|
|
@@ -63,6 +66,8 @@ class ForegroundAudioForGetAITranslationProjectOutput(object):
|
|
|
63
66
|
|
|
64
67
|
if duration_second is not None:
|
|
65
68
|
self.duration_second = duration_second
|
|
69
|
+
if file_name is not None:
|
|
70
|
+
self.file_name = file_name
|
|
66
71
|
if is_audio is not None:
|
|
67
72
|
self.is_audio = is_audio
|
|
68
73
|
if uri is not None:
|
|
@@ -93,6 +98,27 @@ class ForegroundAudioForGetAITranslationProjectOutput(object):
|
|
|
93
98
|
|
|
94
99
|
self._duration_second = duration_second
|
|
95
100
|
|
|
101
|
+
@property
|
|
102
|
+
def file_name(self):
|
|
103
|
+
"""Gets the file_name of this ForegroundAudioForGetAITranslationProjectOutput. # noqa: E501
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:return: The file_name of this ForegroundAudioForGetAITranslationProjectOutput. # noqa: E501
|
|
107
|
+
:rtype: str
|
|
108
|
+
"""
|
|
109
|
+
return self._file_name
|
|
110
|
+
|
|
111
|
+
@file_name.setter
|
|
112
|
+
def file_name(self, file_name):
|
|
113
|
+
"""Sets the file_name of this ForegroundAudioForGetAITranslationProjectOutput.
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
:param file_name: The file_name of this ForegroundAudioForGetAITranslationProjectOutput. # noqa: E501
|
|
117
|
+
:type: str
|
|
118
|
+
"""
|
|
119
|
+
|
|
120
|
+
self._file_name = file_name
|
|
121
|
+
|
|
96
122
|
@property
|
|
97
123
|
def is_audio(self):
|
|
98
124
|
"""Gets the is_audio of this ForegroundAudioForGetAITranslationProjectOutput. # noqa: E501
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
vod20250101
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class InputSubtitleForGetAITranslationProjectOutput(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'duration_second': 'float',
|
|
37
|
+
'file_name': 'str',
|
|
38
|
+
'is_audio': 'bool',
|
|
39
|
+
'uri': 'str',
|
|
40
|
+
'url': 'str',
|
|
41
|
+
'vid': 'str'
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
attribute_map = {
|
|
45
|
+
'duration_second': 'DurationSecond',
|
|
46
|
+
'file_name': 'FileName',
|
|
47
|
+
'is_audio': 'IsAudio',
|
|
48
|
+
'uri': 'Uri',
|
|
49
|
+
'url': 'Url',
|
|
50
|
+
'vid': 'Vid'
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
def __init__(self, duration_second=None, file_name=None, is_audio=None, uri=None, url=None, vid=None, _configuration=None): # noqa: E501
|
|
54
|
+
"""InputSubtitleForGetAITranslationProjectOutput - a model defined in Swagger""" # noqa: E501
|
|
55
|
+
if _configuration is None:
|
|
56
|
+
_configuration = Configuration()
|
|
57
|
+
self._configuration = _configuration
|
|
58
|
+
|
|
59
|
+
self._duration_second = None
|
|
60
|
+
self._file_name = None
|
|
61
|
+
self._is_audio = None
|
|
62
|
+
self._uri = None
|
|
63
|
+
self._url = None
|
|
64
|
+
self._vid = None
|
|
65
|
+
self.discriminator = None
|
|
66
|
+
|
|
67
|
+
if duration_second is not None:
|
|
68
|
+
self.duration_second = duration_second
|
|
69
|
+
if file_name is not None:
|
|
70
|
+
self.file_name = file_name
|
|
71
|
+
if is_audio is not None:
|
|
72
|
+
self.is_audio = is_audio
|
|
73
|
+
if uri is not None:
|
|
74
|
+
self.uri = uri
|
|
75
|
+
if url is not None:
|
|
76
|
+
self.url = url
|
|
77
|
+
if vid is not None:
|
|
78
|
+
self.vid = vid
|
|
79
|
+
|
|
80
|
+
@property
|
|
81
|
+
def duration_second(self):
|
|
82
|
+
"""Gets the duration_second of this InputSubtitleForGetAITranslationProjectOutput. # noqa: E501
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
:return: The duration_second of this InputSubtitleForGetAITranslationProjectOutput. # noqa: E501
|
|
86
|
+
:rtype: float
|
|
87
|
+
"""
|
|
88
|
+
return self._duration_second
|
|
89
|
+
|
|
90
|
+
@duration_second.setter
|
|
91
|
+
def duration_second(self, duration_second):
|
|
92
|
+
"""Sets the duration_second of this InputSubtitleForGetAITranslationProjectOutput.
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
:param duration_second: The duration_second of this InputSubtitleForGetAITranslationProjectOutput. # noqa: E501
|
|
96
|
+
:type: float
|
|
97
|
+
"""
|
|
98
|
+
|
|
99
|
+
self._duration_second = duration_second
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
def file_name(self):
|
|
103
|
+
"""Gets the file_name of this InputSubtitleForGetAITranslationProjectOutput. # noqa: E501
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:return: The file_name of this InputSubtitleForGetAITranslationProjectOutput. # noqa: E501
|
|
107
|
+
:rtype: str
|
|
108
|
+
"""
|
|
109
|
+
return self._file_name
|
|
110
|
+
|
|
111
|
+
@file_name.setter
|
|
112
|
+
def file_name(self, file_name):
|
|
113
|
+
"""Sets the file_name of this InputSubtitleForGetAITranslationProjectOutput.
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
:param file_name: The file_name of this InputSubtitleForGetAITranslationProjectOutput. # noqa: E501
|
|
117
|
+
:type: str
|
|
118
|
+
"""
|
|
119
|
+
|
|
120
|
+
self._file_name = file_name
|
|
121
|
+
|
|
122
|
+
@property
|
|
123
|
+
def is_audio(self):
|
|
124
|
+
"""Gets the is_audio of this InputSubtitleForGetAITranslationProjectOutput. # noqa: E501
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
:return: The is_audio of this InputSubtitleForGetAITranslationProjectOutput. # noqa: E501
|
|
128
|
+
:rtype: bool
|
|
129
|
+
"""
|
|
130
|
+
return self._is_audio
|
|
131
|
+
|
|
132
|
+
@is_audio.setter
|
|
133
|
+
def is_audio(self, is_audio):
|
|
134
|
+
"""Sets the is_audio of this InputSubtitleForGetAITranslationProjectOutput.
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
:param is_audio: The is_audio of this InputSubtitleForGetAITranslationProjectOutput. # noqa: E501
|
|
138
|
+
:type: bool
|
|
139
|
+
"""
|
|
140
|
+
|
|
141
|
+
self._is_audio = is_audio
|
|
142
|
+
|
|
143
|
+
@property
|
|
144
|
+
def uri(self):
|
|
145
|
+
"""Gets the uri of this InputSubtitleForGetAITranslationProjectOutput. # noqa: E501
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
:return: The uri of this InputSubtitleForGetAITranslationProjectOutput. # noqa: E501
|
|
149
|
+
:rtype: str
|
|
150
|
+
"""
|
|
151
|
+
return self._uri
|
|
152
|
+
|
|
153
|
+
@uri.setter
|
|
154
|
+
def uri(self, uri):
|
|
155
|
+
"""Sets the uri of this InputSubtitleForGetAITranslationProjectOutput.
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
:param uri: The uri of this InputSubtitleForGetAITranslationProjectOutput. # noqa: E501
|
|
159
|
+
:type: str
|
|
160
|
+
"""
|
|
161
|
+
|
|
162
|
+
self._uri = uri
|
|
163
|
+
|
|
164
|
+
@property
|
|
165
|
+
def url(self):
|
|
166
|
+
"""Gets the url of this InputSubtitleForGetAITranslationProjectOutput. # noqa: E501
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
:return: The url of this InputSubtitleForGetAITranslationProjectOutput. # noqa: E501
|
|
170
|
+
:rtype: str
|
|
171
|
+
"""
|
|
172
|
+
return self._url
|
|
173
|
+
|
|
174
|
+
@url.setter
|
|
175
|
+
def url(self, url):
|
|
176
|
+
"""Sets the url of this InputSubtitleForGetAITranslationProjectOutput.
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
:param url: The url of this InputSubtitleForGetAITranslationProjectOutput. # noqa: E501
|
|
180
|
+
:type: str
|
|
181
|
+
"""
|
|
182
|
+
|
|
183
|
+
self._url = url
|
|
184
|
+
|
|
185
|
+
@property
|
|
186
|
+
def vid(self):
|
|
187
|
+
"""Gets the vid of this InputSubtitleForGetAITranslationProjectOutput. # noqa: E501
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
:return: The vid of this InputSubtitleForGetAITranslationProjectOutput. # noqa: E501
|
|
191
|
+
:rtype: str
|
|
192
|
+
"""
|
|
193
|
+
return self._vid
|
|
194
|
+
|
|
195
|
+
@vid.setter
|
|
196
|
+
def vid(self, vid):
|
|
197
|
+
"""Sets the vid of this InputSubtitleForGetAITranslationProjectOutput.
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
:param vid: The vid of this InputSubtitleForGetAITranslationProjectOutput. # noqa: E501
|
|
201
|
+
:type: str
|
|
202
|
+
"""
|
|
203
|
+
|
|
204
|
+
self._vid = vid
|
|
205
|
+
|
|
206
|
+
def to_dict(self):
|
|
207
|
+
"""Returns the model properties as a dict"""
|
|
208
|
+
result = {}
|
|
209
|
+
|
|
210
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
211
|
+
value = getattr(self, attr)
|
|
212
|
+
if isinstance(value, list):
|
|
213
|
+
result[attr] = list(map(
|
|
214
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
215
|
+
value
|
|
216
|
+
))
|
|
217
|
+
elif hasattr(value, "to_dict"):
|
|
218
|
+
result[attr] = value.to_dict()
|
|
219
|
+
elif isinstance(value, dict):
|
|
220
|
+
result[attr] = dict(map(
|
|
221
|
+
lambda item: (item[0], item[1].to_dict())
|
|
222
|
+
if hasattr(item[1], "to_dict") else item,
|
|
223
|
+
value.items()
|
|
224
|
+
))
|
|
225
|
+
else:
|
|
226
|
+
result[attr] = value
|
|
227
|
+
if issubclass(InputSubtitleForGetAITranslationProjectOutput, dict):
|
|
228
|
+
for key, value in self.items():
|
|
229
|
+
result[key] = value
|
|
230
|
+
|
|
231
|
+
return result
|
|
232
|
+
|
|
233
|
+
def to_str(self):
|
|
234
|
+
"""Returns the string representation of the model"""
|
|
235
|
+
return pprint.pformat(self.to_dict())
|
|
236
|
+
|
|
237
|
+
def __repr__(self):
|
|
238
|
+
"""For `print` and `pprint`"""
|
|
239
|
+
return self.to_str()
|
|
240
|
+
|
|
241
|
+
def __eq__(self, other):
|
|
242
|
+
"""Returns true if both objects are equal"""
|
|
243
|
+
if not isinstance(other, InputSubtitleForGetAITranslationProjectOutput):
|
|
244
|
+
return False
|
|
245
|
+
|
|
246
|
+
return self.to_dict() == other.to_dict()
|
|
247
|
+
|
|
248
|
+
def __ne__(self, other):
|
|
249
|
+
"""Returns true if both objects are not equal"""
|
|
250
|
+
if not isinstance(other, InputSubtitleForGetAITranslationProjectOutput):
|
|
251
|
+
return True
|
|
252
|
+
|
|
253
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -34,6 +34,7 @@ class InputVideoForGetAITranslationProjectOutput(object):
|
|
|
34
34
|
"""
|
|
35
35
|
swagger_types = {
|
|
36
36
|
'duration_second': 'float',
|
|
37
|
+
'file_name': 'str',
|
|
37
38
|
'is_audio': 'bool',
|
|
38
39
|
'uri': 'str',
|
|
39
40
|
'url': 'str',
|
|
@@ -42,19 +43,21 @@ class InputVideoForGetAITranslationProjectOutput(object):
|
|
|
42
43
|
|
|
43
44
|
attribute_map = {
|
|
44
45
|
'duration_second': 'DurationSecond',
|
|
46
|
+
'file_name': 'FileName',
|
|
45
47
|
'is_audio': 'IsAudio',
|
|
46
48
|
'uri': 'Uri',
|
|
47
49
|
'url': 'Url',
|
|
48
50
|
'vid': 'Vid'
|
|
49
51
|
}
|
|
50
52
|
|
|
51
|
-
def __init__(self, duration_second=None, is_audio=None, uri=None, url=None, vid=None, _configuration=None): # noqa: E501
|
|
53
|
+
def __init__(self, duration_second=None, file_name=None, is_audio=None, uri=None, url=None, vid=None, _configuration=None): # noqa: E501
|
|
52
54
|
"""InputVideoForGetAITranslationProjectOutput - a model defined in Swagger""" # noqa: E501
|
|
53
55
|
if _configuration is None:
|
|
54
56
|
_configuration = Configuration()
|
|
55
57
|
self._configuration = _configuration
|
|
56
58
|
|
|
57
59
|
self._duration_second = None
|
|
60
|
+
self._file_name = None
|
|
58
61
|
self._is_audio = None
|
|
59
62
|
self._uri = None
|
|
60
63
|
self._url = None
|
|
@@ -63,6 +66,8 @@ class InputVideoForGetAITranslationProjectOutput(object):
|
|
|
63
66
|
|
|
64
67
|
if duration_second is not None:
|
|
65
68
|
self.duration_second = duration_second
|
|
69
|
+
if file_name is not None:
|
|
70
|
+
self.file_name = file_name
|
|
66
71
|
if is_audio is not None:
|
|
67
72
|
self.is_audio = is_audio
|
|
68
73
|
if uri is not None:
|
|
@@ -93,6 +98,27 @@ class InputVideoForGetAITranslationProjectOutput(object):
|
|
|
93
98
|
|
|
94
99
|
self._duration_second = duration_second
|
|
95
100
|
|
|
101
|
+
@property
|
|
102
|
+
def file_name(self):
|
|
103
|
+
"""Gets the file_name of this InputVideoForGetAITranslationProjectOutput. # noqa: E501
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:return: The file_name of this InputVideoForGetAITranslationProjectOutput. # noqa: E501
|
|
107
|
+
:rtype: str
|
|
108
|
+
"""
|
|
109
|
+
return self._file_name
|
|
110
|
+
|
|
111
|
+
@file_name.setter
|
|
112
|
+
def file_name(self, file_name):
|
|
113
|
+
"""Sets the file_name of this InputVideoForGetAITranslationProjectOutput.
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
:param file_name: The file_name of this InputVideoForGetAITranslationProjectOutput. # noqa: E501
|
|
117
|
+
:type: str
|
|
118
|
+
"""
|
|
119
|
+
|
|
120
|
+
self._file_name = file_name
|
|
121
|
+
|
|
96
122
|
@property
|
|
97
123
|
def is_audio(self):
|
|
98
124
|
"""Gets the is_audio of this InputVideoForGetAITranslationProjectOutput. # noqa: E501
|
|
@@ -34,6 +34,7 @@ class InputVideoForListAITranslationProjectOutput(object):
|
|
|
34
34
|
"""
|
|
35
35
|
swagger_types = {
|
|
36
36
|
'duration_second': 'float',
|
|
37
|
+
'file_name': 'str',
|
|
37
38
|
'is_audio': 'bool',
|
|
38
39
|
'uri': 'str',
|
|
39
40
|
'url': 'str',
|
|
@@ -42,19 +43,21 @@ class InputVideoForListAITranslationProjectOutput(object):
|
|
|
42
43
|
|
|
43
44
|
attribute_map = {
|
|
44
45
|
'duration_second': 'DurationSecond',
|
|
46
|
+
'file_name': 'FileName',
|
|
45
47
|
'is_audio': 'IsAudio',
|
|
46
48
|
'uri': 'Uri',
|
|
47
49
|
'url': 'Url',
|
|
48
50
|
'vid': 'Vid'
|
|
49
51
|
}
|
|
50
52
|
|
|
51
|
-
def __init__(self, duration_second=None, is_audio=None, uri=None, url=None, vid=None, _configuration=None): # noqa: E501
|
|
53
|
+
def __init__(self, duration_second=None, file_name=None, is_audio=None, uri=None, url=None, vid=None, _configuration=None): # noqa: E501
|
|
52
54
|
"""InputVideoForListAITranslationProjectOutput - a model defined in Swagger""" # noqa: E501
|
|
53
55
|
if _configuration is None:
|
|
54
56
|
_configuration = Configuration()
|
|
55
57
|
self._configuration = _configuration
|
|
56
58
|
|
|
57
59
|
self._duration_second = None
|
|
60
|
+
self._file_name = None
|
|
58
61
|
self._is_audio = None
|
|
59
62
|
self._uri = None
|
|
60
63
|
self._url = None
|
|
@@ -63,6 +66,8 @@ class InputVideoForListAITranslationProjectOutput(object):
|
|
|
63
66
|
|
|
64
67
|
if duration_second is not None:
|
|
65
68
|
self.duration_second = duration_second
|
|
69
|
+
if file_name is not None:
|
|
70
|
+
self.file_name = file_name
|
|
66
71
|
if is_audio is not None:
|
|
67
72
|
self.is_audio = is_audio
|
|
68
73
|
if uri is not None:
|
|
@@ -93,6 +98,27 @@ class InputVideoForListAITranslationProjectOutput(object):
|
|
|
93
98
|
|
|
94
99
|
self._duration_second = duration_second
|
|
95
100
|
|
|
101
|
+
@property
|
|
102
|
+
def file_name(self):
|
|
103
|
+
"""Gets the file_name of this InputVideoForListAITranslationProjectOutput. # noqa: E501
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:return: The file_name of this InputVideoForListAITranslationProjectOutput. # noqa: E501
|
|
107
|
+
:rtype: str
|
|
108
|
+
"""
|
|
109
|
+
return self._file_name
|
|
110
|
+
|
|
111
|
+
@file_name.setter
|
|
112
|
+
def file_name(self, file_name):
|
|
113
|
+
"""Sets the file_name of this InputVideoForListAITranslationProjectOutput.
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
:param file_name: The file_name of this InputVideoForListAITranslationProjectOutput. # noqa: E501
|
|
117
|
+
:type: str
|
|
118
|
+
"""
|
|
119
|
+
|
|
120
|
+
self._file_name = file_name
|
|
121
|
+
|
|
96
122
|
@property
|
|
97
123
|
def is_audio(self):
|
|
98
124
|
"""Gets the is_audio of this InputVideoForListAITranslationProjectOutput. # noqa: E501
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
vod20250101
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class ListAITranslationSpeechRequest(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'language': 'str',
|
|
37
|
+
'space_name': 'str',
|
|
38
|
+
'speech_type_filter': 'str'
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
attribute_map = {
|
|
42
|
+
'language': 'Language',
|
|
43
|
+
'space_name': 'SpaceName',
|
|
44
|
+
'speech_type_filter': 'SpeechTypeFilter'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
def __init__(self, language=None, space_name=None, speech_type_filter=None, _configuration=None): # noqa: E501
|
|
48
|
+
"""ListAITranslationSpeechRequest - a model defined in Swagger""" # noqa: E501
|
|
49
|
+
if _configuration is None:
|
|
50
|
+
_configuration = Configuration()
|
|
51
|
+
self._configuration = _configuration
|
|
52
|
+
|
|
53
|
+
self._language = None
|
|
54
|
+
self._space_name = None
|
|
55
|
+
self._speech_type_filter = None
|
|
56
|
+
self.discriminator = None
|
|
57
|
+
|
|
58
|
+
self.language = language
|
|
59
|
+
self.space_name = space_name
|
|
60
|
+
self.speech_type_filter = speech_type_filter
|
|
61
|
+
|
|
62
|
+
@property
|
|
63
|
+
def language(self):
|
|
64
|
+
"""Gets the language of this ListAITranslationSpeechRequest. # noqa: E501
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
:return: The language of this ListAITranslationSpeechRequest. # noqa: E501
|
|
68
|
+
:rtype: str
|
|
69
|
+
"""
|
|
70
|
+
return self._language
|
|
71
|
+
|
|
72
|
+
@language.setter
|
|
73
|
+
def language(self, language):
|
|
74
|
+
"""Sets the language of this ListAITranslationSpeechRequest.
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
:param language: The language of this ListAITranslationSpeechRequest. # noqa: E501
|
|
78
|
+
:type: str
|
|
79
|
+
"""
|
|
80
|
+
if self._configuration.client_side_validation and language is None:
|
|
81
|
+
raise ValueError("Invalid value for `language`, must not be `None`") # noqa: E501
|
|
82
|
+
|
|
83
|
+
self._language = language
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
def space_name(self):
|
|
87
|
+
"""Gets the space_name of this ListAITranslationSpeechRequest. # noqa: E501
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
:return: The space_name of this ListAITranslationSpeechRequest. # noqa: E501
|
|
91
|
+
:rtype: str
|
|
92
|
+
"""
|
|
93
|
+
return self._space_name
|
|
94
|
+
|
|
95
|
+
@space_name.setter
|
|
96
|
+
def space_name(self, space_name):
|
|
97
|
+
"""Sets the space_name of this ListAITranslationSpeechRequest.
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
:param space_name: The space_name of this ListAITranslationSpeechRequest. # noqa: E501
|
|
101
|
+
:type: str
|
|
102
|
+
"""
|
|
103
|
+
if self._configuration.client_side_validation and space_name is None:
|
|
104
|
+
raise ValueError("Invalid value for `space_name`, must not be `None`") # noqa: E501
|
|
105
|
+
|
|
106
|
+
self._space_name = space_name
|
|
107
|
+
|
|
108
|
+
@property
|
|
109
|
+
def speech_type_filter(self):
|
|
110
|
+
"""Gets the speech_type_filter of this ListAITranslationSpeechRequest. # noqa: E501
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
:return: The speech_type_filter of this ListAITranslationSpeechRequest. # noqa: E501
|
|
114
|
+
:rtype: str
|
|
115
|
+
"""
|
|
116
|
+
return self._speech_type_filter
|
|
117
|
+
|
|
118
|
+
@speech_type_filter.setter
|
|
119
|
+
def speech_type_filter(self, speech_type_filter):
|
|
120
|
+
"""Sets the speech_type_filter of this ListAITranslationSpeechRequest.
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
:param speech_type_filter: The speech_type_filter of this ListAITranslationSpeechRequest. # noqa: E501
|
|
124
|
+
:type: str
|
|
125
|
+
"""
|
|
126
|
+
if self._configuration.client_side_validation and speech_type_filter is None:
|
|
127
|
+
raise ValueError("Invalid value for `speech_type_filter`, must not be `None`") # noqa: E501
|
|
128
|
+
|
|
129
|
+
self._speech_type_filter = speech_type_filter
|
|
130
|
+
|
|
131
|
+
def to_dict(self):
|
|
132
|
+
"""Returns the model properties as a dict"""
|
|
133
|
+
result = {}
|
|
134
|
+
|
|
135
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
136
|
+
value = getattr(self, attr)
|
|
137
|
+
if isinstance(value, list):
|
|
138
|
+
result[attr] = list(map(
|
|
139
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
140
|
+
value
|
|
141
|
+
))
|
|
142
|
+
elif hasattr(value, "to_dict"):
|
|
143
|
+
result[attr] = value.to_dict()
|
|
144
|
+
elif isinstance(value, dict):
|
|
145
|
+
result[attr] = dict(map(
|
|
146
|
+
lambda item: (item[0], item[1].to_dict())
|
|
147
|
+
if hasattr(item[1], "to_dict") else item,
|
|
148
|
+
value.items()
|
|
149
|
+
))
|
|
150
|
+
else:
|
|
151
|
+
result[attr] = value
|
|
152
|
+
if issubclass(ListAITranslationSpeechRequest, dict):
|
|
153
|
+
for key, value in self.items():
|
|
154
|
+
result[key] = value
|
|
155
|
+
|
|
156
|
+
return result
|
|
157
|
+
|
|
158
|
+
def to_str(self):
|
|
159
|
+
"""Returns the string representation of the model"""
|
|
160
|
+
return pprint.pformat(self.to_dict())
|
|
161
|
+
|
|
162
|
+
def __repr__(self):
|
|
163
|
+
"""For `print` and `pprint`"""
|
|
164
|
+
return self.to_str()
|
|
165
|
+
|
|
166
|
+
def __eq__(self, other):
|
|
167
|
+
"""Returns true if both objects are equal"""
|
|
168
|
+
if not isinstance(other, ListAITranslationSpeechRequest):
|
|
169
|
+
return False
|
|
170
|
+
|
|
171
|
+
return self.to_dict() == other.to_dict()
|
|
172
|
+
|
|
173
|
+
def __ne__(self, other):
|
|
174
|
+
"""Returns true if both objects are not equal"""
|
|
175
|
+
if not isinstance(other, ListAITranslationSpeechRequest):
|
|
176
|
+
return True
|
|
177
|
+
|
|
178
|
+
return self.to_dict() != other.to_dict()
|