alibabacloud-agentrun20250910 5.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- alibabacloud_agentrun20250910/__init__.py +1 -0
- alibabacloud_agentrun20250910/client.py +3712 -0
- alibabacloud_agentrun20250910/models/__init__.py +579 -0
- alibabacloud_agentrun20250910/models/_activate_template_mcprequest.py +43 -0
- alibabacloud_agentrun20250910/models/_activate_template_mcpresponse.py +54 -0
- alibabacloud_agentrun20250910/models/_agent_runtime.py +261 -0
- alibabacloud_agentrun20250910/models/_agent_runtime_endpoint.py +110 -0
- alibabacloud_agentrun20250910/models/_agent_runtime_endpoint_result.py +55 -0
- alibabacloud_agentrun20250910/models/_agent_runtime_result.py +55 -0
- alibabacloud_agentrun20250910/models/_agent_runtime_version.py +79 -0
- alibabacloud_agentrun20250910/models/_agent_runtime_version_result.py +55 -0
- alibabacloud_agentrun20250910/models/_ai_fallback_config.py +44 -0
- alibabacloud_agentrun20250910/models/_ai_fallback_service_config.py +49 -0
- alibabacloud_agentrun20250910/models/_ai_service_config.py +67 -0
- alibabacloud_agentrun20250910/models/_apig_llmmodel.py +137 -0
- alibabacloud_agentrun20250910/models/_arms_configuration.py +43 -0
- alibabacloud_agentrun20250910/models/_attach_policy_config.py +49 -0
- alibabacloud_agentrun20250910/models/_browser.py +145 -0
- alibabacloud_agentrun20250910/models/_browser_automation_stream.py +41 -0
- alibabacloud_agentrun20250910/models/_browser_configuration.py +73 -0
- alibabacloud_agentrun20250910/models/_browser_live_view_stream.py +33 -0
- alibabacloud_agentrun20250910/models/_browser_oss_location.py +41 -0
- alibabacloud_agentrun20250910/models/_browser_recording_configuration.py +44 -0
- alibabacloud_agentrun20250910/models/_browser_result.py +55 -0
- alibabacloud_agentrun20250910/models/_browser_session_list_out.py +68 -0
- alibabacloud_agentrun20250910/models/_browser_session_out.py +83 -0
- alibabacloud_agentrun20250910/models/_browser_streams.py +47 -0
- alibabacloud_agentrun20250910/models/_browser_view_port.py +41 -0
- alibabacloud_agentrun20250910/models/_capconfig.py +49 -0
- alibabacloud_agentrun20250910/models/_cert_config.py +52 -0
- alibabacloud_agentrun20250910/models/_code_configuration.py +79 -0
- alibabacloud_agentrun20250910/models/_code_info.py +41 -0
- alibabacloud_agentrun20250910/models/_code_interpreter.py +134 -0
- alibabacloud_agentrun20250910/models/_code_interpreter_result.py +55 -0
- alibabacloud_agentrun20250910/models/_code_interpreter_session_config.py +54 -0
- alibabacloud_agentrun20250910/models/_code_interpreter_session_list_out.py +68 -0
- alibabacloud_agentrun20250910/models/_code_interpreter_session_out.py +94 -0
- alibabacloud_agentrun20250910/models/_common_result.py +54 -0
- alibabacloud_agentrun20250910/models/_container_configuration.py +62 -0
- alibabacloud_agentrun20250910/models/_create_agent_runtime_endpoint_input.py +62 -0
- alibabacloud_agentrun20250910/models/_create_agent_runtime_endpoint_request.py +39 -0
- alibabacloud_agentrun20250910/models/_create_agent_runtime_endpoint_response.py +54 -0
- alibabacloud_agentrun20250910/models/_create_agent_runtime_input.py +219 -0
- alibabacloud_agentrun20250910/models/_create_agent_runtime_request.py +39 -0
- alibabacloud_agentrun20250910/models/_create_agent_runtime_response.py +54 -0
- alibabacloud_agentrun20250910/models/_create_agent_runtime_version_input.py +34 -0
- alibabacloud_agentrun20250910/models/_create_apig_llmmodel_input.py +83 -0
- alibabacloud_agentrun20250910/models/_create_browser_input.py +101 -0
- alibabacloud_agentrun20250910/models/_create_browser_request.py +37 -0
- alibabacloud_agentrun20250910/models/_create_browser_response.py +54 -0
- alibabacloud_agentrun20250910/models/_create_code_interpreter_input.py +107 -0
- alibabacloud_agentrun20250910/models/_create_code_interpreter_request.py +37 -0
- alibabacloud_agentrun20250910/models/_create_code_interpreter_response.py +54 -0
- alibabacloud_agentrun20250910/models/_create_credential_input.py +87 -0
- alibabacloud_agentrun20250910/models/_create_credential_output.py +124 -0
- alibabacloud_agentrun20250910/models/_create_credential_request.py +36 -0
- alibabacloud_agentrun20250910/models/_create_credential_response.py +54 -0
- alibabacloud_agentrun20250910/models/_create_custom_domain_input.py +92 -0
- alibabacloud_agentrun20250910/models/_create_domain_input.py +49 -0
- alibabacloud_agentrun20250910/models/_create_gateway_input.py +60 -0
- alibabacloud_agentrun20250910/models/_create_gateway_target_input.py +52 -0
- alibabacloud_agentrun20250910/models/_create_model_input.py +83 -0
- alibabacloud_agentrun20250910/models/_create_model_proxy_input.py +154 -0
- alibabacloud_agentrun20250910/models/_create_model_proxy_request.py +36 -0
- alibabacloud_agentrun20250910/models/_create_model_proxy_response.py +54 -0
- alibabacloud_agentrun20250910/models/_create_model_service_input.py +110 -0
- alibabacloud_agentrun20250910/models/_create_model_service_request.py +36 -0
- alibabacloud_agentrun20250910/models/_create_model_service_response.py +54 -0
- alibabacloud_agentrun20250910/models/_create_sandbox_input.py +75 -0
- alibabacloud_agentrun20250910/models/_create_sandbox_request.py +39 -0
- alibabacloud_agentrun20250910/models/_create_sandbox_response.py +54 -0
- alibabacloud_agentrun20250910/models/_create_template_input.py +210 -0
- alibabacloud_agentrun20250910/models/_create_template_request.py +39 -0
- alibabacloud_agentrun20250910/models/_create_template_response.py +54 -0
- alibabacloud_agentrun20250910/models/_create_tool_data.py +65 -0
- alibabacloud_agentrun20250910/models/_create_tool_input.py +80 -0
- alibabacloud_agentrun20250910/models/_create_tool_output.py +52 -0
- alibabacloud_agentrun20250910/models/_credential.py +124 -0
- alibabacloud_agentrun20250910/models/_credential_configuration.py +34 -0
- alibabacloud_agentrun20250910/models/_credential_list_item.py +89 -0
- alibabacloud_agentrun20250910/models/_credential_public_config.py +167 -0
- alibabacloud_agentrun20250910/models/_credential_result.py +52 -0
- alibabacloud_agentrun20250910/models/_custom_domain.py +106 -0
- alibabacloud_agentrun20250910/models/_custom_domain_result.py +55 -0
- alibabacloud_agentrun20250910/models/_custom_runtime_config.py +51 -0
- alibabacloud_agentrun20250910/models/_delete_agent_runtime_endpoint_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_agent_runtime_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_browser_out.py +49 -0
- alibabacloud_agentrun20250910/models/_delete_browser_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_browser_result.py +55 -0
- alibabacloud_agentrun20250910/models/_delete_code_interpreter_out.py +49 -0
- alibabacloud_agentrun20250910/models/_delete_code_interpreter_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_code_interpreter_result.py +55 -0
- alibabacloud_agentrun20250910/models/_delete_credential_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_model_proxy_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_model_proxy_result.py +52 -0
- alibabacloud_agentrun20250910/models/_delete_model_service_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_model_service_result.py +52 -0
- alibabacloud_agentrun20250910/models/_delete_sandbox_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_sandbox_result.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_template_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_template_result.py +54 -0
- alibabacloud_agentrun20250910/models/_deregister_service_input.py +36 -0
- alibabacloud_agentrun20250910/models/_domain_info.py +57 -0
- alibabacloud_agentrun20250910/models/_error_result.py +52 -0
- alibabacloud_agentrun20250910/models/_fclink_config.py +41 -0
- alibabacloud_agentrun20250910/models/_gateway.py +81 -0
- alibabacloud_agentrun20250910/models/_gateway_network_configuration.py +51 -0
- alibabacloud_agentrun20250910/models/_get_access_token_request.py +49 -0
- alibabacloud_agentrun20250910/models/_get_access_token_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_access_token_response_body.py +79 -0
- alibabacloud_agentrun20250910/models/_get_agent_runtime_endpoint_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_agent_runtime_request.py +34 -0
- alibabacloud_agentrun20250910/models/_get_agent_runtime_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_browser_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_browser_session_result.py +53 -0
- alibabacloud_agentrun20250910/models/_get_code_interpreter_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_code_interpreter_session_result.py +53 -0
- alibabacloud_agentrun20250910/models/_get_credential_output.py +124 -0
- alibabacloud_agentrun20250910/models/_get_credential_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_model_proxy_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_model_service_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_sandbox_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_template_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_tool_output.py +44 -0
- alibabacloud_agentrun20250910/models/_gray_traffic_weight.py +43 -0
- alibabacloud_agentrun20250910/models/_health_check_config.py +79 -0
- alibabacloud_agentrun20250910/models/_health_check_configuration.py +79 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtime_endpoints_input.py +63 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtime_endpoints_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtime_endpoints_request.py +61 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtime_endpoints_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtime_endpoints_result.py +55 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtime_versions_input.py +43 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtime_versions_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtime_versions_request.py +43 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtime_versions_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtime_versions_result.py +55 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtimes_input.py +63 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtimes_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtimes_request.py +70 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtimes_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtimes_result.py +55 -0
- alibabacloud_agentrun20250910/models/_list_browser_session_result.py +53 -0
- alibabacloud_agentrun20250910/models/_list_browsers_input.py +50 -0
- alibabacloud_agentrun20250910/models/_list_browsers_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_browsers_request.py +61 -0
- alibabacloud_agentrun20250910/models/_list_browsers_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_browsers_result.py +55 -0
- alibabacloud_agentrun20250910/models/_list_code_interpreter_session_result.py +53 -0
- alibabacloud_agentrun20250910/models/_list_code_interpreters_input.py +50 -0
- alibabacloud_agentrun20250910/models/_list_code_interpreters_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_code_interpreters_request.py +52 -0
- alibabacloud_agentrun20250910/models/_list_code_interpreters_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_code_interpreters_result.py +55 -0
- alibabacloud_agentrun20250910/models/_list_credentials_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_credentials_request.py +84 -0
- alibabacloud_agentrun20250910/models/_list_credentials_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_credentials_result.py +52 -0
- alibabacloud_agentrun20250910/models/_list_custom_domains_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_custom_domains_result.py +52 -0
- alibabacloud_agentrun20250910/models/_list_domains_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_gateways_output.py +60 -0
- alibabacloud_agentrun20250910/models/_list_model_providers_request.py +65 -0
- alibabacloud_agentrun20250910/models/_list_model_providers_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_model_providers_response_body.py +176 -0
- alibabacloud_agentrun20250910/models/_list_model_proxies_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_model_proxies_request.py +58 -0
- alibabacloud_agentrun20250910/models/_list_model_proxies_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_model_proxies_result.py +52 -0
- alibabacloud_agentrun20250910/models/_list_model_services_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_model_services_request.py +66 -0
- alibabacloud_agentrun20250910/models/_list_model_services_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_model_services_result.py +52 -0
- alibabacloud_agentrun20250910/models/_list_sandboxes_output.py +53 -0
- alibabacloud_agentrun20250910/models/_list_sandboxes_request.py +67 -0
- alibabacloud_agentrun20250910/models/_list_sandboxes_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_sandboxes_result.py +55 -0
- alibabacloud_agentrun20250910/models/_list_templates_output.py +72 -0
- alibabacloud_agentrun20250910/models/_list_templates_request.py +68 -0
- alibabacloud_agentrun20250910/models/_list_templates_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_templates_result.py +55 -0
- alibabacloud_agentrun20250910/models/_list_tools_output.py +68 -0
- alibabacloud_agentrun20250910/models/_llmapiconfiguration.py +101 -0
- alibabacloud_agentrun20250910/models/_llmdeploy_config.py +93 -0
- alibabacloud_agentrun20250910/models/_log_configuration.py +43 -0
- alibabacloud_agentrun20250910/models/_mcpapi.py +95 -0
- alibabacloud_agentrun20250910/models/_mcpapiconfiguration.py +65 -0
- alibabacloud_agentrun20250910/models/_mcpbackend_config.py +52 -0
- alibabacloud_agentrun20250910/models/_mcpmatch.py +36 -0
- alibabacloud_agentrun20250910/models/_mcppath_match.py +41 -0
- alibabacloud_agentrun20250910/models/_mcpserver_config.py +49 -0
- alibabacloud_agentrun20250910/models/_mcpservice_config.py +33 -0
- alibabacloud_agentrun20250910/models/_model.py +137 -0
- alibabacloud_agentrun20250910/models/_model_features.py +65 -0
- alibabacloud_agentrun20250910/models/_model_info_config.py +74 -0
- alibabacloud_agentrun20250910/models/_model_parameter_rule.py +75 -0
- alibabacloud_agentrun20250910/models/_model_properties.py +33 -0
- alibabacloud_agentrun20250910/models/_model_proxy.py +194 -0
- alibabacloud_agentrun20250910/models/_model_proxy_result.py +52 -0
- alibabacloud_agentrun20250910/models/_model_service.py +146 -0
- alibabacloud_agentrun20250910/models/_model_service_result.py +52 -0
- alibabacloud_agentrun20250910/models/_nasconfig.py +60 -0
- alibabacloud_agentrun20250910/models/_nasmount_config.py +49 -0
- alibabacloud_agentrun20250910/models/_network_configuration.py +59 -0
- alibabacloud_agentrun20250910/models/_oss_configuration.py +68 -0
- alibabacloud_agentrun20250910/models/_ossmount_config.py +44 -0
- alibabacloud_agentrun20250910/models/_ossmount_point.py +65 -0
- alibabacloud_agentrun20250910/models/_pagination_info.py +57 -0
- alibabacloud_agentrun20250910/models/_path_config.py +72 -0
- alibabacloud_agentrun20250910/models/_polar_fs_config.py +60 -0
- alibabacloud_agentrun20250910/models/_polar_fs_mount_config.py +49 -0
- alibabacloud_agentrun20250910/models/_policy_config.py +52 -0
- alibabacloud_agentrun20250910/models/_protocol_configuration.py +33 -0
- alibabacloud_agentrun20250910/models/_provider_settings.py +51 -0
- alibabacloud_agentrun20250910/models/_proxy_config.py +372 -0
- alibabacloud_agentrun20250910/models/_publish_runtime_version_input.py +43 -0
- alibabacloud_agentrun20250910/models/_publish_runtime_version_request.py +36 -0
- alibabacloud_agentrun20250910/models/_publish_runtime_version_response.py +54 -0
- alibabacloud_agentrun20250910/models/_recording_configuration.py +47 -0
- alibabacloud_agentrun20250910/models/_register_service_input.py +98 -0
- alibabacloud_agentrun20250910/models/_related_resource.py +49 -0
- alibabacloud_agentrun20250910/models/_related_workload.py +49 -0
- alibabacloud_agentrun20250910/models/_route_config.py +45 -0
- alibabacloud_agentrun20250910/models/_routing_configuration.py +45 -0
- alibabacloud_agentrun20250910/models/_sandbox.py +123 -0
- alibabacloud_agentrun20250910/models/_sandbox_health_check_out.py +36 -0
- alibabacloud_agentrun20250910/models/_sandbox_health_check_result.py +54 -0
- alibabacloud_agentrun20250910/models/_sandbox_result.py +57 -0
- alibabacloud_agentrun20250910/models/_service_config.py +44 -0
- alibabacloud_agentrun20250910/models/_service_result.py +54 -0
- alibabacloud_agentrun20250910/models/_start_browser_session_input.py +33 -0
- alibabacloud_agentrun20250910/models/_start_browser_session_result.py +53 -0
- alibabacloud_agentrun20250910/models/_start_code_interpreter_session_input.py +34 -0
- alibabacloud_agentrun20250910/models/_start_code_interpreter_session_result.py +53 -0
- alibabacloud_agentrun20250910/models/_stop_code_interpreter_session_result.py +42 -0
- alibabacloud_agentrun20250910/models/_stop_sandbox_response.py +54 -0
- alibabacloud_agentrun20250910/models/_stop_sandbox_result.py +52 -0
- alibabacloud_agentrun20250910/models/_stop_template_mcpresponse.py +54 -0
- alibabacloud_agentrun20250910/models/_target.py +55 -0
- alibabacloud_agentrun20250910/models/_target_configuration.py +55 -0
- alibabacloud_agentrun20250910/models/_target_service_config.py +57 -0
- alibabacloud_agentrun20250910/models/_template.py +352 -0
- alibabacloud_agentrun20250910/models/_template_result.py +57 -0
- alibabacloud_agentrun20250910/models/_tlsconfig.py +54 -0
- alibabacloud_agentrun20250910/models/_tool_info.py +100 -0
- alibabacloud_agentrun20250910/models/_tool_list_item.py +100 -0
- alibabacloud_agentrun20250910/models/_trigger_config.py +43 -0
- alibabacloud_agentrun20250910/models/_update_agent_runtime_endpoint_input.py +62 -0
- alibabacloud_agentrun20250910/models/_update_agent_runtime_endpoint_request.py +39 -0
- alibabacloud_agentrun20250910/models/_update_agent_runtime_endpoint_response.py +54 -0
- alibabacloud_agentrun20250910/models/_update_agent_runtime_input.py +193 -0
- alibabacloud_agentrun20250910/models/_update_agent_runtime_request.py +39 -0
- alibabacloud_agentrun20250910/models/_update_agent_runtime_response.py +54 -0
- alibabacloud_agentrun20250910/models/_update_apig_llmmodel_input.py +83 -0
- alibabacloud_agentrun20250910/models/_update_credential_input.py +60 -0
- alibabacloud_agentrun20250910/models/_update_credential_output.py +124 -0
- alibabacloud_agentrun20250910/models/_update_credential_request.py +36 -0
- alibabacloud_agentrun20250910/models/_update_credential_response.py +54 -0
- alibabacloud_agentrun20250910/models/_update_custom_domain_input.py +79 -0
- alibabacloud_agentrun20250910/models/_update_domain_input.py +41 -0
- alibabacloud_agentrun20250910/models/_update_model_input.py +83 -0
- alibabacloud_agentrun20250910/models/_update_model_proxy_input.py +93 -0
- alibabacloud_agentrun20250910/models/_update_model_proxy_request.py +36 -0
- alibabacloud_agentrun20250910/models/_update_model_proxy_response.py +54 -0
- alibabacloud_agentrun20250910/models/_update_model_service_input.py +98 -0
- alibabacloud_agentrun20250910/models/_update_model_service_request.py +36 -0
- alibabacloud_agentrun20250910/models/_update_model_service_response.py +54 -0
- alibabacloud_agentrun20250910/models/_update_target_configuration_input.py +44 -0
- alibabacloud_agentrun20250910/models/_update_template_input.py +177 -0
- alibabacloud_agentrun20250910/models/_update_template_request.py +48 -0
- alibabacloud_agentrun20250910/models/_update_template_response.py +54 -0
- alibabacloud_agentrun20250910/models/_update_tool_data.py +65 -0
- alibabacloud_agentrun20250910/models/_update_tool_input.py +49 -0
- alibabacloud_agentrun20250910/models/_update_tool_output.py +52 -0
- alibabacloud_agentrun20250910/models/_version_weight.py +43 -0
- alibabacloud_agentrun20250910/models/_view_port_configuration.py +47 -0
- alibabacloud_agentrun20250910-5.0.0.dist-info/LICENSE +13 -0
- alibabacloud_agentrun20250910-5.0.0.dist-info/METADATA +69 -0
- alibabacloud_agentrun20250910-5.0.0.dist-info/RECORD +282 -0
- alibabacloud_agentrun20250910-5.0.0.dist-info/WHEEL +5 -0
- alibabacloud_agentrun20250910-5.0.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,49 @@
|
|
|
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 AiFallbackServiceConfig(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
pass_through_model_name: bool = None,
|
|
11
|
+
service_id: str = None,
|
|
12
|
+
target_model_name: str = None,
|
|
13
|
+
):
|
|
14
|
+
self.pass_through_model_name = pass_through_model_name
|
|
15
|
+
self.service_id = service_id
|
|
16
|
+
self.target_model_name = target_model_name
|
|
17
|
+
|
|
18
|
+
def validate(self):
|
|
19
|
+
pass
|
|
20
|
+
|
|
21
|
+
def to_map(self):
|
|
22
|
+
result = dict()
|
|
23
|
+
_map = super().to_map()
|
|
24
|
+
if _map is not None:
|
|
25
|
+
result = _map
|
|
26
|
+
if self.pass_through_model_name is not None:
|
|
27
|
+
result['passThroughModelName'] = self.pass_through_model_name
|
|
28
|
+
|
|
29
|
+
if self.service_id is not None:
|
|
30
|
+
result['serviceId'] = self.service_id
|
|
31
|
+
|
|
32
|
+
if self.target_model_name is not None:
|
|
33
|
+
result['targetModelName'] = self.target_model_name
|
|
34
|
+
|
|
35
|
+
return result
|
|
36
|
+
|
|
37
|
+
def from_map(self, m: dict = None):
|
|
38
|
+
m = m or dict()
|
|
39
|
+
if m.get('passThroughModelName') is not None:
|
|
40
|
+
self.pass_through_model_name = m.get('passThroughModelName')
|
|
41
|
+
|
|
42
|
+
if m.get('serviceId') is not None:
|
|
43
|
+
self.service_id = m.get('serviceId')
|
|
44
|
+
|
|
45
|
+
if m.get('targetModelName') is not None:
|
|
46
|
+
self.target_model_name = m.get('targetModelName')
|
|
47
|
+
|
|
48
|
+
return self
|
|
49
|
+
|
|
@@ -0,0 +1,67 @@
|
|
|
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 AiServiceConfig(DaraModel):
|
|
10
|
+
def __init__(
|
|
11
|
+
self,
|
|
12
|
+
address: str = None,
|
|
13
|
+
api_keys: List[str] = None,
|
|
14
|
+
enable_health_check: bool = None,
|
|
15
|
+
protocols: List[str] = None,
|
|
16
|
+
provider: str = None,
|
|
17
|
+
):
|
|
18
|
+
self.address = address
|
|
19
|
+
self.api_keys = api_keys
|
|
20
|
+
self.enable_health_check = enable_health_check
|
|
21
|
+
self.protocols = protocols
|
|
22
|
+
self.provider = provider
|
|
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.address is not None:
|
|
33
|
+
result['address'] = self.address
|
|
34
|
+
|
|
35
|
+
if self.api_keys is not None:
|
|
36
|
+
result['apiKeys'] = self.api_keys
|
|
37
|
+
|
|
38
|
+
if self.enable_health_check is not None:
|
|
39
|
+
result['enableHealthCheck'] = self.enable_health_check
|
|
40
|
+
|
|
41
|
+
if self.protocols is not None:
|
|
42
|
+
result['protocols'] = self.protocols
|
|
43
|
+
|
|
44
|
+
if self.provider is not None:
|
|
45
|
+
result['provider'] = self.provider
|
|
46
|
+
|
|
47
|
+
return result
|
|
48
|
+
|
|
49
|
+
def from_map(self, m: dict = None):
|
|
50
|
+
m = m or dict()
|
|
51
|
+
if m.get('address') is not None:
|
|
52
|
+
self.address = m.get('address')
|
|
53
|
+
|
|
54
|
+
if m.get('apiKeys') is not None:
|
|
55
|
+
self.api_keys = m.get('apiKeys')
|
|
56
|
+
|
|
57
|
+
if m.get('enableHealthCheck') is not None:
|
|
58
|
+
self.enable_health_check = m.get('enableHealthCheck')
|
|
59
|
+
|
|
60
|
+
if m.get('protocols') is not None:
|
|
61
|
+
self.protocols = m.get('protocols')
|
|
62
|
+
|
|
63
|
+
if m.get('provider') is not None:
|
|
64
|
+
self.provider = m.get('provider')
|
|
65
|
+
|
|
66
|
+
return self
|
|
67
|
+
|
|
@@ -0,0 +1,137 @@
|
|
|
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 ApigLLMModel(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
address: str = None,
|
|
11
|
+
api_key: str = None,
|
|
12
|
+
created_time: str = None,
|
|
13
|
+
desc: str = None,
|
|
14
|
+
gateway_id: str = None,
|
|
15
|
+
model_id: str = None,
|
|
16
|
+
models: str = None,
|
|
17
|
+
models_weight: str = None,
|
|
18
|
+
name: str = None,
|
|
19
|
+
provider: str = None,
|
|
20
|
+
target_id: str = None,
|
|
21
|
+
tenant_id: str = None,
|
|
22
|
+
type: str = None,
|
|
23
|
+
update_time: str = None,
|
|
24
|
+
):
|
|
25
|
+
self.address = address
|
|
26
|
+
self.api_key = api_key
|
|
27
|
+
self.created_time = created_time
|
|
28
|
+
self.desc = desc
|
|
29
|
+
self.gateway_id = gateway_id
|
|
30
|
+
self.model_id = model_id
|
|
31
|
+
self.models = models
|
|
32
|
+
self.models_weight = models_weight
|
|
33
|
+
self.name = name
|
|
34
|
+
self.provider = provider
|
|
35
|
+
self.target_id = target_id
|
|
36
|
+
self.tenant_id = tenant_id
|
|
37
|
+
self.type = type
|
|
38
|
+
self.update_time = update_time
|
|
39
|
+
|
|
40
|
+
def validate(self):
|
|
41
|
+
pass
|
|
42
|
+
|
|
43
|
+
def to_map(self):
|
|
44
|
+
result = dict()
|
|
45
|
+
_map = super().to_map()
|
|
46
|
+
if _map is not None:
|
|
47
|
+
result = _map
|
|
48
|
+
if self.address is not None:
|
|
49
|
+
result['address'] = self.address
|
|
50
|
+
|
|
51
|
+
if self.api_key is not None:
|
|
52
|
+
result['apiKey'] = self.api_key
|
|
53
|
+
|
|
54
|
+
if self.created_time is not None:
|
|
55
|
+
result['createdTime'] = self.created_time
|
|
56
|
+
|
|
57
|
+
if self.desc is not None:
|
|
58
|
+
result['desc'] = self.desc
|
|
59
|
+
|
|
60
|
+
if self.gateway_id is not None:
|
|
61
|
+
result['gatewayId'] = self.gateway_id
|
|
62
|
+
|
|
63
|
+
if self.model_id is not None:
|
|
64
|
+
result['modelId'] = self.model_id
|
|
65
|
+
|
|
66
|
+
if self.models is not None:
|
|
67
|
+
result['models'] = self.models
|
|
68
|
+
|
|
69
|
+
if self.models_weight is not None:
|
|
70
|
+
result['modelsWeight'] = self.models_weight
|
|
71
|
+
|
|
72
|
+
if self.name is not None:
|
|
73
|
+
result['name'] = self.name
|
|
74
|
+
|
|
75
|
+
if self.provider is not None:
|
|
76
|
+
result['provider'] = self.provider
|
|
77
|
+
|
|
78
|
+
if self.target_id is not None:
|
|
79
|
+
result['targetId'] = self.target_id
|
|
80
|
+
|
|
81
|
+
if self.tenant_id is not None:
|
|
82
|
+
result['tenantId'] = self.tenant_id
|
|
83
|
+
|
|
84
|
+
if self.type is not None:
|
|
85
|
+
result['type'] = self.type
|
|
86
|
+
|
|
87
|
+
if self.update_time is not None:
|
|
88
|
+
result['updateTime'] = self.update_time
|
|
89
|
+
|
|
90
|
+
return result
|
|
91
|
+
|
|
92
|
+
def from_map(self, m: dict = None):
|
|
93
|
+
m = m or dict()
|
|
94
|
+
if m.get('address') is not None:
|
|
95
|
+
self.address = m.get('address')
|
|
96
|
+
|
|
97
|
+
if m.get('apiKey') is not None:
|
|
98
|
+
self.api_key = m.get('apiKey')
|
|
99
|
+
|
|
100
|
+
if m.get('createdTime') is not None:
|
|
101
|
+
self.created_time = m.get('createdTime')
|
|
102
|
+
|
|
103
|
+
if m.get('desc') is not None:
|
|
104
|
+
self.desc = m.get('desc')
|
|
105
|
+
|
|
106
|
+
if m.get('gatewayId') is not None:
|
|
107
|
+
self.gateway_id = m.get('gatewayId')
|
|
108
|
+
|
|
109
|
+
if m.get('modelId') is not None:
|
|
110
|
+
self.model_id = m.get('modelId')
|
|
111
|
+
|
|
112
|
+
if m.get('models') is not None:
|
|
113
|
+
self.models = m.get('models')
|
|
114
|
+
|
|
115
|
+
if m.get('modelsWeight') is not None:
|
|
116
|
+
self.models_weight = m.get('modelsWeight')
|
|
117
|
+
|
|
118
|
+
if m.get('name') is not None:
|
|
119
|
+
self.name = m.get('name')
|
|
120
|
+
|
|
121
|
+
if m.get('provider') is not None:
|
|
122
|
+
self.provider = m.get('provider')
|
|
123
|
+
|
|
124
|
+
if m.get('targetId') is not None:
|
|
125
|
+
self.target_id = m.get('targetId')
|
|
126
|
+
|
|
127
|
+
if m.get('tenantId') is not None:
|
|
128
|
+
self.tenant_id = m.get('tenantId')
|
|
129
|
+
|
|
130
|
+
if m.get('type') is not None:
|
|
131
|
+
self.type = m.get('type')
|
|
132
|
+
|
|
133
|
+
if m.get('updateTime') is not None:
|
|
134
|
+
self.update_time = m.get('updateTime')
|
|
135
|
+
|
|
136
|
+
return self
|
|
137
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
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 ArmsConfiguration(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
arms_license_key: str = None,
|
|
11
|
+
enable_arms: bool = None,
|
|
12
|
+
):
|
|
13
|
+
# 应用实时监控服务(ARMS)的许可证密钥
|
|
14
|
+
self.arms_license_key = arms_license_key
|
|
15
|
+
# 是否启用应用实时监控服务(ARMS)
|
|
16
|
+
self.enable_arms = enable_arms
|
|
17
|
+
|
|
18
|
+
def validate(self):
|
|
19
|
+
pass
|
|
20
|
+
|
|
21
|
+
def to_map(self):
|
|
22
|
+
result = dict()
|
|
23
|
+
_map = super().to_map()
|
|
24
|
+
if _map is not None:
|
|
25
|
+
result = _map
|
|
26
|
+
if self.arms_license_key is not None:
|
|
27
|
+
result['armsLicenseKey'] = self.arms_license_key
|
|
28
|
+
|
|
29
|
+
if self.enable_arms is not None:
|
|
30
|
+
result['enableArms'] = self.enable_arms
|
|
31
|
+
|
|
32
|
+
return result
|
|
33
|
+
|
|
34
|
+
def from_map(self, m: dict = None):
|
|
35
|
+
m = m or dict()
|
|
36
|
+
if m.get('armsLicenseKey') is not None:
|
|
37
|
+
self.arms_license_key = m.get('armsLicenseKey')
|
|
38
|
+
|
|
39
|
+
if m.get('enableArms') is not None:
|
|
40
|
+
self.enable_arms = m.get('enableArms')
|
|
41
|
+
|
|
42
|
+
return self
|
|
43
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
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 AttachPolicyConfig(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
class_name: str = None,
|
|
11
|
+
config: str = None,
|
|
12
|
+
name: str = None,
|
|
13
|
+
):
|
|
14
|
+
self.class_name = class_name
|
|
15
|
+
self.config = config
|
|
16
|
+
self.name = name
|
|
17
|
+
|
|
18
|
+
def validate(self):
|
|
19
|
+
pass
|
|
20
|
+
|
|
21
|
+
def to_map(self):
|
|
22
|
+
result = dict()
|
|
23
|
+
_map = super().to_map()
|
|
24
|
+
if _map is not None:
|
|
25
|
+
result = _map
|
|
26
|
+
if self.class_name is not None:
|
|
27
|
+
result['className'] = self.class_name
|
|
28
|
+
|
|
29
|
+
if self.config is not None:
|
|
30
|
+
result['config'] = self.config
|
|
31
|
+
|
|
32
|
+
if self.name is not None:
|
|
33
|
+
result['name'] = self.name
|
|
34
|
+
|
|
35
|
+
return result
|
|
36
|
+
|
|
37
|
+
def from_map(self, m: dict = None):
|
|
38
|
+
m = m or dict()
|
|
39
|
+
if m.get('className') is not None:
|
|
40
|
+
self.class_name = m.get('className')
|
|
41
|
+
|
|
42
|
+
if m.get('config') is not None:
|
|
43
|
+
self.config = m.get('config')
|
|
44
|
+
|
|
45
|
+
if m.get('name') is not None:
|
|
46
|
+
self.name = m.get('name')
|
|
47
|
+
|
|
48
|
+
return self
|
|
49
|
+
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from alibabacloud_agentrun20250910 import models as main_models
|
|
6
|
+
from darabonba.model import DaraModel
|
|
7
|
+
|
|
8
|
+
class Browser(DaraModel):
|
|
9
|
+
def __init__(
|
|
10
|
+
self,
|
|
11
|
+
browser_id: str = None,
|
|
12
|
+
browser_name: str = None,
|
|
13
|
+
cpu: float = None,
|
|
14
|
+
created_at: str = None,
|
|
15
|
+
credential_id: str = None,
|
|
16
|
+
description: str = None,
|
|
17
|
+
execution_role_arn: str = None,
|
|
18
|
+
last_updated_at: str = None,
|
|
19
|
+
memory: int = None,
|
|
20
|
+
network_configuration: main_models.NetworkConfiguration = None,
|
|
21
|
+
recording: main_models.BrowserRecordingConfiguration = None,
|
|
22
|
+
status: str = None,
|
|
23
|
+
status_reason: str = None,
|
|
24
|
+
tenant_id: str = None,
|
|
25
|
+
):
|
|
26
|
+
self.browser_id = browser_id
|
|
27
|
+
self.browser_name = browser_name
|
|
28
|
+
self.cpu = cpu
|
|
29
|
+
self.created_at = created_at
|
|
30
|
+
self.credential_id = credential_id
|
|
31
|
+
self.description = description
|
|
32
|
+
self.execution_role_arn = execution_role_arn
|
|
33
|
+
self.last_updated_at = last_updated_at
|
|
34
|
+
# 内存资源配置(单位:MB)
|
|
35
|
+
self.memory = memory
|
|
36
|
+
self.network_configuration = network_configuration
|
|
37
|
+
self.recording = recording
|
|
38
|
+
self.status = status
|
|
39
|
+
# 当前状态的原因说明(如适用)
|
|
40
|
+
self.status_reason = status_reason
|
|
41
|
+
self.tenant_id = tenant_id
|
|
42
|
+
|
|
43
|
+
def validate(self):
|
|
44
|
+
if self.network_configuration:
|
|
45
|
+
self.network_configuration.validate()
|
|
46
|
+
if self.recording:
|
|
47
|
+
self.recording.validate()
|
|
48
|
+
|
|
49
|
+
def to_map(self):
|
|
50
|
+
result = dict()
|
|
51
|
+
_map = super().to_map()
|
|
52
|
+
if _map is not None:
|
|
53
|
+
result = _map
|
|
54
|
+
if self.browser_id is not None:
|
|
55
|
+
result['browserId'] = self.browser_id
|
|
56
|
+
|
|
57
|
+
if self.browser_name is not None:
|
|
58
|
+
result['browserName'] = self.browser_name
|
|
59
|
+
|
|
60
|
+
if self.cpu is not None:
|
|
61
|
+
result['cpu'] = self.cpu
|
|
62
|
+
|
|
63
|
+
if self.created_at is not None:
|
|
64
|
+
result['createdAt'] = self.created_at
|
|
65
|
+
|
|
66
|
+
if self.credential_id is not None:
|
|
67
|
+
result['credentialId'] = self.credential_id
|
|
68
|
+
|
|
69
|
+
if self.description is not None:
|
|
70
|
+
result['description'] = self.description
|
|
71
|
+
|
|
72
|
+
if self.execution_role_arn is not None:
|
|
73
|
+
result['executionRoleArn'] = self.execution_role_arn
|
|
74
|
+
|
|
75
|
+
if self.last_updated_at is not None:
|
|
76
|
+
result['lastUpdatedAt'] = self.last_updated_at
|
|
77
|
+
|
|
78
|
+
if self.memory is not None:
|
|
79
|
+
result['memory'] = self.memory
|
|
80
|
+
|
|
81
|
+
if self.network_configuration is not None:
|
|
82
|
+
result['networkConfiguration'] = self.network_configuration.to_map()
|
|
83
|
+
|
|
84
|
+
if self.recording is not None:
|
|
85
|
+
result['recording'] = self.recording.to_map()
|
|
86
|
+
|
|
87
|
+
if self.status is not None:
|
|
88
|
+
result['status'] = self.status
|
|
89
|
+
|
|
90
|
+
if self.status_reason is not None:
|
|
91
|
+
result['statusReason'] = self.status_reason
|
|
92
|
+
|
|
93
|
+
if self.tenant_id is not None:
|
|
94
|
+
result['tenantId'] = self.tenant_id
|
|
95
|
+
|
|
96
|
+
return result
|
|
97
|
+
|
|
98
|
+
def from_map(self, m: dict = None):
|
|
99
|
+
m = m or dict()
|
|
100
|
+
if m.get('browserId') is not None:
|
|
101
|
+
self.browser_id = m.get('browserId')
|
|
102
|
+
|
|
103
|
+
if m.get('browserName') is not None:
|
|
104
|
+
self.browser_name = m.get('browserName')
|
|
105
|
+
|
|
106
|
+
if m.get('cpu') is not None:
|
|
107
|
+
self.cpu = m.get('cpu')
|
|
108
|
+
|
|
109
|
+
if m.get('createdAt') is not None:
|
|
110
|
+
self.created_at = m.get('createdAt')
|
|
111
|
+
|
|
112
|
+
if m.get('credentialId') is not None:
|
|
113
|
+
self.credential_id = m.get('credentialId')
|
|
114
|
+
|
|
115
|
+
if m.get('description') is not None:
|
|
116
|
+
self.description = m.get('description')
|
|
117
|
+
|
|
118
|
+
if m.get('executionRoleArn') is not None:
|
|
119
|
+
self.execution_role_arn = m.get('executionRoleArn')
|
|
120
|
+
|
|
121
|
+
if m.get('lastUpdatedAt') is not None:
|
|
122
|
+
self.last_updated_at = m.get('lastUpdatedAt')
|
|
123
|
+
|
|
124
|
+
if m.get('memory') is not None:
|
|
125
|
+
self.memory = m.get('memory')
|
|
126
|
+
|
|
127
|
+
if m.get('networkConfiguration') is not None:
|
|
128
|
+
temp_model = main_models.NetworkConfiguration()
|
|
129
|
+
self.network_configuration = temp_model.from_map(m.get('networkConfiguration'))
|
|
130
|
+
|
|
131
|
+
if m.get('recording') is not None:
|
|
132
|
+
temp_model = main_models.BrowserRecordingConfiguration()
|
|
133
|
+
self.recording = temp_model.from_map(m.get('recording'))
|
|
134
|
+
|
|
135
|
+
if m.get('status') is not None:
|
|
136
|
+
self.status = m.get('status')
|
|
137
|
+
|
|
138
|
+
if m.get('statusReason') is not None:
|
|
139
|
+
self.status_reason = m.get('statusReason')
|
|
140
|
+
|
|
141
|
+
if m.get('tenantId') is not None:
|
|
142
|
+
self.tenant_id = m.get('tenantId')
|
|
143
|
+
|
|
144
|
+
return self
|
|
145
|
+
|
|
@@ -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 BrowserAutomationStream(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
stream_endpoint: str = None,
|
|
11
|
+
stream_status: str = None,
|
|
12
|
+
):
|
|
13
|
+
self.stream_endpoint = stream_endpoint
|
|
14
|
+
self.stream_status = stream_status
|
|
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.stream_endpoint is not None:
|
|
25
|
+
result['streamEndpoint'] = self.stream_endpoint
|
|
26
|
+
|
|
27
|
+
if self.stream_status is not None:
|
|
28
|
+
result['streamStatus'] = self.stream_status
|
|
29
|
+
|
|
30
|
+
return result
|
|
31
|
+
|
|
32
|
+
def from_map(self, m: dict = None):
|
|
33
|
+
m = m or dict()
|
|
34
|
+
if m.get('streamEndpoint') is not None:
|
|
35
|
+
self.stream_endpoint = m.get('streamEndpoint')
|
|
36
|
+
|
|
37
|
+
if m.get('streamStatus') is not None:
|
|
38
|
+
self.stream_status = m.get('streamStatus')
|
|
39
|
+
|
|
40
|
+
return self
|
|
41
|
+
|
|
@@ -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 typing import List
|
|
6
|
+
|
|
7
|
+
from alibabacloud_agentrun20250910 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class BrowserConfiguration(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
browser_type: str = None,
|
|
14
|
+
enable_extension: List[str] = None,
|
|
15
|
+
headless: bool = None,
|
|
16
|
+
user_agent: str = None,
|
|
17
|
+
view_port: main_models.ViewPortConfiguration = None,
|
|
18
|
+
):
|
|
19
|
+
self.browser_type = browser_type
|
|
20
|
+
# 要启用的浏览器扩展列表
|
|
21
|
+
self.enable_extension = enable_extension
|
|
22
|
+
# 是否以无头模式运行浏览器
|
|
23
|
+
self.headless = headless
|
|
24
|
+
# 浏览器用户代理字符串
|
|
25
|
+
self.user_agent = user_agent
|
|
26
|
+
self.view_port = view_port
|
|
27
|
+
|
|
28
|
+
def validate(self):
|
|
29
|
+
if self.view_port:
|
|
30
|
+
self.view_port.validate()
|
|
31
|
+
|
|
32
|
+
def to_map(self):
|
|
33
|
+
result = dict()
|
|
34
|
+
_map = super().to_map()
|
|
35
|
+
if _map is not None:
|
|
36
|
+
result = _map
|
|
37
|
+
if self.browser_type is not None:
|
|
38
|
+
result['browserType'] = self.browser_type
|
|
39
|
+
|
|
40
|
+
if self.enable_extension is not None:
|
|
41
|
+
result['enableExtension'] = self.enable_extension
|
|
42
|
+
|
|
43
|
+
if self.headless is not None:
|
|
44
|
+
result['headless'] = self.headless
|
|
45
|
+
|
|
46
|
+
if self.user_agent is not None:
|
|
47
|
+
result['userAgent'] = self.user_agent
|
|
48
|
+
|
|
49
|
+
if self.view_port is not None:
|
|
50
|
+
result['viewPort'] = self.view_port.to_map()
|
|
51
|
+
|
|
52
|
+
return result
|
|
53
|
+
|
|
54
|
+
def from_map(self, m: dict = None):
|
|
55
|
+
m = m or dict()
|
|
56
|
+
if m.get('browserType') is not None:
|
|
57
|
+
self.browser_type = m.get('browserType')
|
|
58
|
+
|
|
59
|
+
if m.get('enableExtension') is not None:
|
|
60
|
+
self.enable_extension = m.get('enableExtension')
|
|
61
|
+
|
|
62
|
+
if m.get('headless') is not None:
|
|
63
|
+
self.headless = m.get('headless')
|
|
64
|
+
|
|
65
|
+
if m.get('userAgent') is not None:
|
|
66
|
+
self.user_agent = m.get('userAgent')
|
|
67
|
+
|
|
68
|
+
if m.get('viewPort') is not None:
|
|
69
|
+
temp_model = main_models.ViewPortConfiguration()
|
|
70
|
+
self.view_port = temp_model.from_map(m.get('viewPort'))
|
|
71
|
+
|
|
72
|
+
return self
|
|
73
|
+
|
|
@@ -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 BrowserLiveViewStream(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
stream_endpoint: str = None,
|
|
11
|
+
):
|
|
12
|
+
self.stream_endpoint = stream_endpoint
|
|
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.stream_endpoint is not None:
|
|
23
|
+
result['streamEndpoint'] = self.stream_endpoint
|
|
24
|
+
|
|
25
|
+
return result
|
|
26
|
+
|
|
27
|
+
def from_map(self, m: dict = None):
|
|
28
|
+
m = m or dict()
|
|
29
|
+
if m.get('streamEndpoint') is not None:
|
|
30
|
+
self.stream_endpoint = m.get('streamEndpoint')
|
|
31
|
+
|
|
32
|
+
return self
|
|
33
|
+
|
|
@@ -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 BrowserOssLocation(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
bucket: str = None,
|
|
11
|
+
prefix: str = None,
|
|
12
|
+
):
|
|
13
|
+
self.bucket = bucket
|
|
14
|
+
self.prefix = prefix
|
|
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.bucket is not None:
|
|
25
|
+
result['bucket'] = self.bucket
|
|
26
|
+
|
|
27
|
+
if self.prefix is not None:
|
|
28
|
+
result['prefix'] = self.prefix
|
|
29
|
+
|
|
30
|
+
return result
|
|
31
|
+
|
|
32
|
+
def from_map(self, m: dict = None):
|
|
33
|
+
m = m or dict()
|
|
34
|
+
if m.get('bucket') is not None:
|
|
35
|
+
self.bucket = m.get('bucket')
|
|
36
|
+
|
|
37
|
+
if m.get('prefix') is not None:
|
|
38
|
+
self.prefix = m.get('prefix')
|
|
39
|
+
|
|
40
|
+
return self
|
|
41
|
+
|