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,352 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Dict, List, Any
|
|
6
|
+
|
|
7
|
+
from alibabacloud_agentrun20250910 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class Template(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
allow_anonymous_manage: bool = None,
|
|
14
|
+
container_configuration: main_models.ContainerConfiguration = None,
|
|
15
|
+
cpu: float = None,
|
|
16
|
+
created_at: str = None,
|
|
17
|
+
credential_configuration: main_models.CredentialConfiguration = None,
|
|
18
|
+
description: str = None,
|
|
19
|
+
disk_size: int = None,
|
|
20
|
+
environment_variables: Dict[str, str] = None,
|
|
21
|
+
execution_role_arn: str = None,
|
|
22
|
+
last_updated_at: str = None,
|
|
23
|
+
log_configuration: main_models.LogConfiguration = None,
|
|
24
|
+
mcp_options: main_models.TemplateMcpOptions = None,
|
|
25
|
+
mcp_state: main_models.TemplateMcpState = None,
|
|
26
|
+
memory: int = None,
|
|
27
|
+
network_configuration: main_models.NetworkConfiguration = None,
|
|
28
|
+
oss_configuration: List[main_models.OssConfiguration] = None,
|
|
29
|
+
resource_name: str = None,
|
|
30
|
+
sandbox_idle_timeout_in_seconds: str = None,
|
|
31
|
+
sandbox_ttlin_seconds: str = None,
|
|
32
|
+
status: str = None,
|
|
33
|
+
status_reason: str = None,
|
|
34
|
+
template_arn: str = None,
|
|
35
|
+
template_configuration: Dict[str, Any] = None,
|
|
36
|
+
template_id: str = None,
|
|
37
|
+
template_name: str = None,
|
|
38
|
+
template_type: str = None,
|
|
39
|
+
template_version: str = None,
|
|
40
|
+
):
|
|
41
|
+
self.allow_anonymous_manage = allow_anonymous_manage
|
|
42
|
+
self.container_configuration = container_configuration
|
|
43
|
+
# This parameter is required.
|
|
44
|
+
self.cpu = cpu
|
|
45
|
+
self.created_at = created_at
|
|
46
|
+
self.credential_configuration = credential_configuration
|
|
47
|
+
self.description = description
|
|
48
|
+
self.disk_size = disk_size
|
|
49
|
+
self.environment_variables = environment_variables
|
|
50
|
+
self.execution_role_arn = execution_role_arn
|
|
51
|
+
self.last_updated_at = last_updated_at
|
|
52
|
+
self.log_configuration = log_configuration
|
|
53
|
+
self.mcp_options = mcp_options
|
|
54
|
+
self.mcp_state = mcp_state
|
|
55
|
+
# This parameter is required.
|
|
56
|
+
self.memory = memory
|
|
57
|
+
self.network_configuration = network_configuration
|
|
58
|
+
self.oss_configuration = oss_configuration
|
|
59
|
+
self.resource_name = resource_name
|
|
60
|
+
self.sandbox_idle_timeout_in_seconds = sandbox_idle_timeout_in_seconds
|
|
61
|
+
self.sandbox_ttlin_seconds = sandbox_ttlin_seconds
|
|
62
|
+
self.status = status
|
|
63
|
+
self.status_reason = status_reason
|
|
64
|
+
self.template_arn = template_arn
|
|
65
|
+
self.template_configuration = template_configuration
|
|
66
|
+
# This parameter is required.
|
|
67
|
+
self.template_id = template_id
|
|
68
|
+
# This parameter is required.
|
|
69
|
+
self.template_name = template_name
|
|
70
|
+
self.template_type = template_type
|
|
71
|
+
self.template_version = template_version
|
|
72
|
+
|
|
73
|
+
def validate(self):
|
|
74
|
+
if self.container_configuration:
|
|
75
|
+
self.container_configuration.validate()
|
|
76
|
+
if self.credential_configuration:
|
|
77
|
+
self.credential_configuration.validate()
|
|
78
|
+
if self.log_configuration:
|
|
79
|
+
self.log_configuration.validate()
|
|
80
|
+
if self.mcp_options:
|
|
81
|
+
self.mcp_options.validate()
|
|
82
|
+
if self.mcp_state:
|
|
83
|
+
self.mcp_state.validate()
|
|
84
|
+
if self.network_configuration:
|
|
85
|
+
self.network_configuration.validate()
|
|
86
|
+
if self.oss_configuration:
|
|
87
|
+
for v1 in self.oss_configuration:
|
|
88
|
+
if v1:
|
|
89
|
+
v1.validate()
|
|
90
|
+
|
|
91
|
+
def to_map(self):
|
|
92
|
+
result = dict()
|
|
93
|
+
_map = super().to_map()
|
|
94
|
+
if _map is not None:
|
|
95
|
+
result = _map
|
|
96
|
+
if self.allow_anonymous_manage is not None:
|
|
97
|
+
result['allowAnonymousManage'] = self.allow_anonymous_manage
|
|
98
|
+
|
|
99
|
+
if self.container_configuration is not None:
|
|
100
|
+
result['containerConfiguration'] = self.container_configuration.to_map()
|
|
101
|
+
|
|
102
|
+
if self.cpu is not None:
|
|
103
|
+
result['cpu'] = self.cpu
|
|
104
|
+
|
|
105
|
+
if self.created_at is not None:
|
|
106
|
+
result['createdAt'] = self.created_at
|
|
107
|
+
|
|
108
|
+
if self.credential_configuration is not None:
|
|
109
|
+
result['credentialConfiguration'] = self.credential_configuration.to_map()
|
|
110
|
+
|
|
111
|
+
if self.description is not None:
|
|
112
|
+
result['description'] = self.description
|
|
113
|
+
|
|
114
|
+
if self.disk_size is not None:
|
|
115
|
+
result['diskSize'] = self.disk_size
|
|
116
|
+
|
|
117
|
+
if self.environment_variables is not None:
|
|
118
|
+
result['environmentVariables'] = self.environment_variables
|
|
119
|
+
|
|
120
|
+
if self.execution_role_arn is not None:
|
|
121
|
+
result['executionRoleArn'] = self.execution_role_arn
|
|
122
|
+
|
|
123
|
+
if self.last_updated_at is not None:
|
|
124
|
+
result['lastUpdatedAt'] = self.last_updated_at
|
|
125
|
+
|
|
126
|
+
if self.log_configuration is not None:
|
|
127
|
+
result['logConfiguration'] = self.log_configuration.to_map()
|
|
128
|
+
|
|
129
|
+
if self.mcp_options is not None:
|
|
130
|
+
result['mcpOptions'] = self.mcp_options.to_map()
|
|
131
|
+
|
|
132
|
+
if self.mcp_state is not None:
|
|
133
|
+
result['mcpState'] = self.mcp_state.to_map()
|
|
134
|
+
|
|
135
|
+
if self.memory is not None:
|
|
136
|
+
result['memory'] = self.memory
|
|
137
|
+
|
|
138
|
+
if self.network_configuration is not None:
|
|
139
|
+
result['networkConfiguration'] = self.network_configuration.to_map()
|
|
140
|
+
|
|
141
|
+
result['ossConfiguration'] = []
|
|
142
|
+
if self.oss_configuration is not None:
|
|
143
|
+
for k1 in self.oss_configuration:
|
|
144
|
+
result['ossConfiguration'].append(k1.to_map() if k1 else None)
|
|
145
|
+
|
|
146
|
+
if self.resource_name is not None:
|
|
147
|
+
result['resourceName'] = self.resource_name
|
|
148
|
+
|
|
149
|
+
if self.sandbox_idle_timeout_in_seconds is not None:
|
|
150
|
+
result['sandboxIdleTimeoutInSeconds'] = self.sandbox_idle_timeout_in_seconds
|
|
151
|
+
|
|
152
|
+
if self.sandbox_ttlin_seconds is not None:
|
|
153
|
+
result['sandboxTTLInSeconds'] = self.sandbox_ttlin_seconds
|
|
154
|
+
|
|
155
|
+
if self.status is not None:
|
|
156
|
+
result['status'] = self.status
|
|
157
|
+
|
|
158
|
+
if self.status_reason is not None:
|
|
159
|
+
result['statusReason'] = self.status_reason
|
|
160
|
+
|
|
161
|
+
if self.template_arn is not None:
|
|
162
|
+
result['templateArn'] = self.template_arn
|
|
163
|
+
|
|
164
|
+
if self.template_configuration is not None:
|
|
165
|
+
result['templateConfiguration'] = self.template_configuration
|
|
166
|
+
|
|
167
|
+
if self.template_id is not None:
|
|
168
|
+
result['templateId'] = self.template_id
|
|
169
|
+
|
|
170
|
+
if self.template_name is not None:
|
|
171
|
+
result['templateName'] = self.template_name
|
|
172
|
+
|
|
173
|
+
if self.template_type is not None:
|
|
174
|
+
result['templateType'] = self.template_type
|
|
175
|
+
|
|
176
|
+
if self.template_version is not None:
|
|
177
|
+
result['templateVersion'] = self.template_version
|
|
178
|
+
|
|
179
|
+
return result
|
|
180
|
+
|
|
181
|
+
def from_map(self, m: dict = None):
|
|
182
|
+
m = m or dict()
|
|
183
|
+
if m.get('allowAnonymousManage') is not None:
|
|
184
|
+
self.allow_anonymous_manage = m.get('allowAnonymousManage')
|
|
185
|
+
|
|
186
|
+
if m.get('containerConfiguration') is not None:
|
|
187
|
+
temp_model = main_models.ContainerConfiguration()
|
|
188
|
+
self.container_configuration = temp_model.from_map(m.get('containerConfiguration'))
|
|
189
|
+
|
|
190
|
+
if m.get('cpu') is not None:
|
|
191
|
+
self.cpu = m.get('cpu')
|
|
192
|
+
|
|
193
|
+
if m.get('createdAt') is not None:
|
|
194
|
+
self.created_at = m.get('createdAt')
|
|
195
|
+
|
|
196
|
+
if m.get('credentialConfiguration') is not None:
|
|
197
|
+
temp_model = main_models.CredentialConfiguration()
|
|
198
|
+
self.credential_configuration = temp_model.from_map(m.get('credentialConfiguration'))
|
|
199
|
+
|
|
200
|
+
if m.get('description') is not None:
|
|
201
|
+
self.description = m.get('description')
|
|
202
|
+
|
|
203
|
+
if m.get('diskSize') is not None:
|
|
204
|
+
self.disk_size = m.get('diskSize')
|
|
205
|
+
|
|
206
|
+
if m.get('environmentVariables') is not None:
|
|
207
|
+
self.environment_variables = m.get('environmentVariables')
|
|
208
|
+
|
|
209
|
+
if m.get('executionRoleArn') is not None:
|
|
210
|
+
self.execution_role_arn = m.get('executionRoleArn')
|
|
211
|
+
|
|
212
|
+
if m.get('lastUpdatedAt') is not None:
|
|
213
|
+
self.last_updated_at = m.get('lastUpdatedAt')
|
|
214
|
+
|
|
215
|
+
if m.get('logConfiguration') is not None:
|
|
216
|
+
temp_model = main_models.LogConfiguration()
|
|
217
|
+
self.log_configuration = temp_model.from_map(m.get('logConfiguration'))
|
|
218
|
+
|
|
219
|
+
if m.get('mcpOptions') is not None:
|
|
220
|
+
temp_model = main_models.TemplateMcpOptions()
|
|
221
|
+
self.mcp_options = temp_model.from_map(m.get('mcpOptions'))
|
|
222
|
+
|
|
223
|
+
if m.get('mcpState') is not None:
|
|
224
|
+
temp_model = main_models.TemplateMcpState()
|
|
225
|
+
self.mcp_state = temp_model.from_map(m.get('mcpState'))
|
|
226
|
+
|
|
227
|
+
if m.get('memory') is not None:
|
|
228
|
+
self.memory = m.get('memory')
|
|
229
|
+
|
|
230
|
+
if m.get('networkConfiguration') is not None:
|
|
231
|
+
temp_model = main_models.NetworkConfiguration()
|
|
232
|
+
self.network_configuration = temp_model.from_map(m.get('networkConfiguration'))
|
|
233
|
+
|
|
234
|
+
self.oss_configuration = []
|
|
235
|
+
if m.get('ossConfiguration') is not None:
|
|
236
|
+
for k1 in m.get('ossConfiguration'):
|
|
237
|
+
temp_model = main_models.OssConfiguration()
|
|
238
|
+
self.oss_configuration.append(temp_model.from_map(k1))
|
|
239
|
+
|
|
240
|
+
if m.get('resourceName') is not None:
|
|
241
|
+
self.resource_name = m.get('resourceName')
|
|
242
|
+
|
|
243
|
+
if m.get('sandboxIdleTimeoutInSeconds') is not None:
|
|
244
|
+
self.sandbox_idle_timeout_in_seconds = m.get('sandboxIdleTimeoutInSeconds')
|
|
245
|
+
|
|
246
|
+
if m.get('sandboxTTLInSeconds') is not None:
|
|
247
|
+
self.sandbox_ttlin_seconds = m.get('sandboxTTLInSeconds')
|
|
248
|
+
|
|
249
|
+
if m.get('status') is not None:
|
|
250
|
+
self.status = m.get('status')
|
|
251
|
+
|
|
252
|
+
if m.get('statusReason') is not None:
|
|
253
|
+
self.status_reason = m.get('statusReason')
|
|
254
|
+
|
|
255
|
+
if m.get('templateArn') is not None:
|
|
256
|
+
self.template_arn = m.get('templateArn')
|
|
257
|
+
|
|
258
|
+
if m.get('templateConfiguration') is not None:
|
|
259
|
+
self.template_configuration = m.get('templateConfiguration')
|
|
260
|
+
|
|
261
|
+
if m.get('templateId') is not None:
|
|
262
|
+
self.template_id = m.get('templateId')
|
|
263
|
+
|
|
264
|
+
if m.get('templateName') is not None:
|
|
265
|
+
self.template_name = m.get('templateName')
|
|
266
|
+
|
|
267
|
+
if m.get('templateType') is not None:
|
|
268
|
+
self.template_type = m.get('templateType')
|
|
269
|
+
|
|
270
|
+
if m.get('templateVersion') is not None:
|
|
271
|
+
self.template_version = m.get('templateVersion')
|
|
272
|
+
|
|
273
|
+
return self
|
|
274
|
+
|
|
275
|
+
class TemplateMcpState(DaraModel):
|
|
276
|
+
def __init__(
|
|
277
|
+
self,
|
|
278
|
+
access_endpoint: str = None,
|
|
279
|
+
status: str = None,
|
|
280
|
+
status_reason: str = None,
|
|
281
|
+
):
|
|
282
|
+
self.access_endpoint = access_endpoint
|
|
283
|
+
self.status = status
|
|
284
|
+
self.status_reason = status_reason
|
|
285
|
+
|
|
286
|
+
def validate(self):
|
|
287
|
+
pass
|
|
288
|
+
|
|
289
|
+
def to_map(self):
|
|
290
|
+
result = dict()
|
|
291
|
+
_map = super().to_map()
|
|
292
|
+
if _map is not None:
|
|
293
|
+
result = _map
|
|
294
|
+
if self.access_endpoint is not None:
|
|
295
|
+
result['accessEndpoint'] = self.access_endpoint
|
|
296
|
+
|
|
297
|
+
if self.status is not None:
|
|
298
|
+
result['status'] = self.status
|
|
299
|
+
|
|
300
|
+
if self.status_reason is not None:
|
|
301
|
+
result['statusReason'] = self.status_reason
|
|
302
|
+
|
|
303
|
+
return result
|
|
304
|
+
|
|
305
|
+
def from_map(self, m: dict = None):
|
|
306
|
+
m = m or dict()
|
|
307
|
+
if m.get('accessEndpoint') is not None:
|
|
308
|
+
self.access_endpoint = m.get('accessEndpoint')
|
|
309
|
+
|
|
310
|
+
if m.get('status') is not None:
|
|
311
|
+
self.status = m.get('status')
|
|
312
|
+
|
|
313
|
+
if m.get('statusReason') is not None:
|
|
314
|
+
self.status_reason = m.get('statusReason')
|
|
315
|
+
|
|
316
|
+
return self
|
|
317
|
+
|
|
318
|
+
class TemplateMcpOptions(DaraModel):
|
|
319
|
+
def __init__(
|
|
320
|
+
self,
|
|
321
|
+
enabled_tools: List[str] = None,
|
|
322
|
+
transport: str = None,
|
|
323
|
+
):
|
|
324
|
+
self.enabled_tools = enabled_tools
|
|
325
|
+
self.transport = transport
|
|
326
|
+
|
|
327
|
+
def validate(self):
|
|
328
|
+
pass
|
|
329
|
+
|
|
330
|
+
def to_map(self):
|
|
331
|
+
result = dict()
|
|
332
|
+
_map = super().to_map()
|
|
333
|
+
if _map is not None:
|
|
334
|
+
result = _map
|
|
335
|
+
if self.enabled_tools is not None:
|
|
336
|
+
result['enabledTools'] = self.enabled_tools
|
|
337
|
+
|
|
338
|
+
if self.transport is not None:
|
|
339
|
+
result['transport'] = self.transport
|
|
340
|
+
|
|
341
|
+
return result
|
|
342
|
+
|
|
343
|
+
def from_map(self, m: dict = None):
|
|
344
|
+
m = m or dict()
|
|
345
|
+
if m.get('enabledTools') is not None:
|
|
346
|
+
self.enabled_tools = m.get('enabledTools')
|
|
347
|
+
|
|
348
|
+
if m.get('transport') is not None:
|
|
349
|
+
self.transport = m.get('transport')
|
|
350
|
+
|
|
351
|
+
return self
|
|
352
|
+
|
|
@@ -0,0 +1,57 @@
|
|
|
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 TemplateResult(DaraModel):
|
|
9
|
+
def __init__(
|
|
10
|
+
self,
|
|
11
|
+
code: str = None,
|
|
12
|
+
data: main_models.Template = None,
|
|
13
|
+
request_id: str = None,
|
|
14
|
+
):
|
|
15
|
+
# SUCCESS 为成功,失败情况返回对应错误类型
|
|
16
|
+
self.code = code
|
|
17
|
+
# 模板的详细信息
|
|
18
|
+
#
|
|
19
|
+
# This parameter is required.
|
|
20
|
+
self.data = data
|
|
21
|
+
# 唯一的请求标识符,用于问题追踪
|
|
22
|
+
self.request_id = request_id
|
|
23
|
+
|
|
24
|
+
def validate(self):
|
|
25
|
+
if self.data:
|
|
26
|
+
self.data.validate()
|
|
27
|
+
|
|
28
|
+
def to_map(self):
|
|
29
|
+
result = dict()
|
|
30
|
+
_map = super().to_map()
|
|
31
|
+
if _map is not None:
|
|
32
|
+
result = _map
|
|
33
|
+
if self.code is not None:
|
|
34
|
+
result['code'] = self.code
|
|
35
|
+
|
|
36
|
+
if self.data is not None:
|
|
37
|
+
result['data'] = self.data.to_map()
|
|
38
|
+
|
|
39
|
+
if self.request_id is not None:
|
|
40
|
+
result['requestId'] = self.request_id
|
|
41
|
+
|
|
42
|
+
return result
|
|
43
|
+
|
|
44
|
+
def from_map(self, m: dict = None):
|
|
45
|
+
m = m or dict()
|
|
46
|
+
if m.get('code') is not None:
|
|
47
|
+
self.code = m.get('code')
|
|
48
|
+
|
|
49
|
+
if m.get('data') is not None:
|
|
50
|
+
temp_model = main_models.Template()
|
|
51
|
+
self.data = temp_model.from_map(m.get('data'))
|
|
52
|
+
|
|
53
|
+
if m.get('requestId') is not None:
|
|
54
|
+
self.request_id = m.get('requestId')
|
|
55
|
+
|
|
56
|
+
return self
|
|
57
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import List
|
|
6
|
+
|
|
7
|
+
from darabonba.model import DaraModel
|
|
8
|
+
|
|
9
|
+
class TLSConfig(DaraModel):
|
|
10
|
+
def __init__(
|
|
11
|
+
self,
|
|
12
|
+
cipher_suites: List[str] = None,
|
|
13
|
+
max_version: str = None,
|
|
14
|
+
min_version: str = None,
|
|
15
|
+
):
|
|
16
|
+
# TLS 加密套件列表。
|
|
17
|
+
self.cipher_suites = cipher_suites
|
|
18
|
+
# TLS 最大版本号。
|
|
19
|
+
self.max_version = max_version
|
|
20
|
+
# TLS 最小版本号。
|
|
21
|
+
self.min_version = min_version
|
|
22
|
+
|
|
23
|
+
def validate(self):
|
|
24
|
+
pass
|
|
25
|
+
|
|
26
|
+
def to_map(self):
|
|
27
|
+
result = dict()
|
|
28
|
+
_map = super().to_map()
|
|
29
|
+
if _map is not None:
|
|
30
|
+
result = _map
|
|
31
|
+
if self.cipher_suites is not None:
|
|
32
|
+
result['cipherSuites'] = self.cipher_suites
|
|
33
|
+
|
|
34
|
+
if self.max_version is not None:
|
|
35
|
+
result['maxVersion'] = self.max_version
|
|
36
|
+
|
|
37
|
+
if self.min_version is not None:
|
|
38
|
+
result['minVersion'] = self.min_version
|
|
39
|
+
|
|
40
|
+
return result
|
|
41
|
+
|
|
42
|
+
def from_map(self, m: dict = None):
|
|
43
|
+
m = m or dict()
|
|
44
|
+
if m.get('cipherSuites') is not None:
|
|
45
|
+
self.cipher_suites = m.get('cipherSuites')
|
|
46
|
+
|
|
47
|
+
if m.get('maxVersion') is not None:
|
|
48
|
+
self.max_version = m.get('maxVersion')
|
|
49
|
+
|
|
50
|
+
if m.get('minVersion') is not None:
|
|
51
|
+
self.min_version = m.get('minVersion')
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
|
@@ -0,0 +1,100 @@
|
|
|
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 ToolInfo(DaraModel):
|
|
9
|
+
def __init__(
|
|
10
|
+
self,
|
|
11
|
+
capconfig: main_models.CAPConfig = None,
|
|
12
|
+
created_at: str = None,
|
|
13
|
+
description: str = None,
|
|
14
|
+
id: str = None,
|
|
15
|
+
name: str = None,
|
|
16
|
+
schema: str = None,
|
|
17
|
+
source_type: str = None,
|
|
18
|
+
tool_type: str = None,
|
|
19
|
+
updated_at: str = None,
|
|
20
|
+
):
|
|
21
|
+
self.capconfig = capconfig
|
|
22
|
+
self.created_at = created_at
|
|
23
|
+
self.description = description
|
|
24
|
+
self.id = id
|
|
25
|
+
self.name = name
|
|
26
|
+
self.schema = schema
|
|
27
|
+
self.source_type = source_type
|
|
28
|
+
self.tool_type = tool_type
|
|
29
|
+
self.updated_at = updated_at
|
|
30
|
+
|
|
31
|
+
def validate(self):
|
|
32
|
+
if self.capconfig:
|
|
33
|
+
self.capconfig.validate()
|
|
34
|
+
|
|
35
|
+
def to_map(self):
|
|
36
|
+
result = dict()
|
|
37
|
+
_map = super().to_map()
|
|
38
|
+
if _map is not None:
|
|
39
|
+
result = _map
|
|
40
|
+
if self.capconfig is not None:
|
|
41
|
+
result['CAPConfig'] = self.capconfig.to_map()
|
|
42
|
+
|
|
43
|
+
if self.created_at is not None:
|
|
44
|
+
result['createdAt'] = self.created_at
|
|
45
|
+
|
|
46
|
+
if self.description is not None:
|
|
47
|
+
result['description'] = self.description
|
|
48
|
+
|
|
49
|
+
if self.id is not None:
|
|
50
|
+
result['id'] = self.id
|
|
51
|
+
|
|
52
|
+
if self.name is not None:
|
|
53
|
+
result['name'] = self.name
|
|
54
|
+
|
|
55
|
+
if self.schema is not None:
|
|
56
|
+
result['schema'] = self.schema
|
|
57
|
+
|
|
58
|
+
if self.source_type is not None:
|
|
59
|
+
result['sourceType'] = self.source_type
|
|
60
|
+
|
|
61
|
+
if self.tool_type is not None:
|
|
62
|
+
result['toolType'] = self.tool_type
|
|
63
|
+
|
|
64
|
+
if self.updated_at is not None:
|
|
65
|
+
result['updatedAt'] = self.updated_at
|
|
66
|
+
|
|
67
|
+
return result
|
|
68
|
+
|
|
69
|
+
def from_map(self, m: dict = None):
|
|
70
|
+
m = m or dict()
|
|
71
|
+
if m.get('CAPConfig') is not None:
|
|
72
|
+
temp_model = main_models.CAPConfig()
|
|
73
|
+
self.capconfig = temp_model.from_map(m.get('CAPConfig'))
|
|
74
|
+
|
|
75
|
+
if m.get('createdAt') is not None:
|
|
76
|
+
self.created_at = m.get('createdAt')
|
|
77
|
+
|
|
78
|
+
if m.get('description') is not None:
|
|
79
|
+
self.description = m.get('description')
|
|
80
|
+
|
|
81
|
+
if m.get('id') is not None:
|
|
82
|
+
self.id = m.get('id')
|
|
83
|
+
|
|
84
|
+
if m.get('name') is not None:
|
|
85
|
+
self.name = m.get('name')
|
|
86
|
+
|
|
87
|
+
if m.get('schema') is not None:
|
|
88
|
+
self.schema = m.get('schema')
|
|
89
|
+
|
|
90
|
+
if m.get('sourceType') is not None:
|
|
91
|
+
self.source_type = m.get('sourceType')
|
|
92
|
+
|
|
93
|
+
if m.get('toolType') is not None:
|
|
94
|
+
self.tool_type = m.get('toolType')
|
|
95
|
+
|
|
96
|
+
if m.get('updatedAt') is not None:
|
|
97
|
+
self.updated_at = m.get('updatedAt')
|
|
98
|
+
|
|
99
|
+
return self
|
|
100
|
+
|
|
@@ -0,0 +1,100 @@
|
|
|
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 ToolListItem(DaraModel):
|
|
9
|
+
def __init__(
|
|
10
|
+
self,
|
|
11
|
+
capconfig: main_models.CAPConfig = None,
|
|
12
|
+
created_at: str = None,
|
|
13
|
+
description: str = None,
|
|
14
|
+
id: str = None,
|
|
15
|
+
name: str = None,
|
|
16
|
+
schema: str = None,
|
|
17
|
+
source_type: str = None,
|
|
18
|
+
tool_type: str = None,
|
|
19
|
+
updated_at: str = None,
|
|
20
|
+
):
|
|
21
|
+
self.capconfig = capconfig
|
|
22
|
+
self.created_at = created_at
|
|
23
|
+
self.description = description
|
|
24
|
+
self.id = id
|
|
25
|
+
self.name = name
|
|
26
|
+
self.schema = schema
|
|
27
|
+
self.source_type = source_type
|
|
28
|
+
self.tool_type = tool_type
|
|
29
|
+
self.updated_at = updated_at
|
|
30
|
+
|
|
31
|
+
def validate(self):
|
|
32
|
+
if self.capconfig:
|
|
33
|
+
self.capconfig.validate()
|
|
34
|
+
|
|
35
|
+
def to_map(self):
|
|
36
|
+
result = dict()
|
|
37
|
+
_map = super().to_map()
|
|
38
|
+
if _map is not None:
|
|
39
|
+
result = _map
|
|
40
|
+
if self.capconfig is not None:
|
|
41
|
+
result['CAPConfig'] = self.capconfig.to_map()
|
|
42
|
+
|
|
43
|
+
if self.created_at is not None:
|
|
44
|
+
result['createdAt'] = self.created_at
|
|
45
|
+
|
|
46
|
+
if self.description is not None:
|
|
47
|
+
result['description'] = self.description
|
|
48
|
+
|
|
49
|
+
if self.id is not None:
|
|
50
|
+
result['id'] = self.id
|
|
51
|
+
|
|
52
|
+
if self.name is not None:
|
|
53
|
+
result['name'] = self.name
|
|
54
|
+
|
|
55
|
+
if self.schema is not None:
|
|
56
|
+
result['schema'] = self.schema
|
|
57
|
+
|
|
58
|
+
if self.source_type is not None:
|
|
59
|
+
result['sourceType'] = self.source_type
|
|
60
|
+
|
|
61
|
+
if self.tool_type is not None:
|
|
62
|
+
result['toolType'] = self.tool_type
|
|
63
|
+
|
|
64
|
+
if self.updated_at is not None:
|
|
65
|
+
result['updatedAt'] = self.updated_at
|
|
66
|
+
|
|
67
|
+
return result
|
|
68
|
+
|
|
69
|
+
def from_map(self, m: dict = None):
|
|
70
|
+
m = m or dict()
|
|
71
|
+
if m.get('CAPConfig') is not None:
|
|
72
|
+
temp_model = main_models.CAPConfig()
|
|
73
|
+
self.capconfig = temp_model.from_map(m.get('CAPConfig'))
|
|
74
|
+
|
|
75
|
+
if m.get('createdAt') is not None:
|
|
76
|
+
self.created_at = m.get('createdAt')
|
|
77
|
+
|
|
78
|
+
if m.get('description') is not None:
|
|
79
|
+
self.description = m.get('description')
|
|
80
|
+
|
|
81
|
+
if m.get('id') is not None:
|
|
82
|
+
self.id = m.get('id')
|
|
83
|
+
|
|
84
|
+
if m.get('name') is not None:
|
|
85
|
+
self.name = m.get('name')
|
|
86
|
+
|
|
87
|
+
if m.get('schema') is not None:
|
|
88
|
+
self.schema = m.get('schema')
|
|
89
|
+
|
|
90
|
+
if m.get('sourceType') is not None:
|
|
91
|
+
self.source_type = m.get('sourceType')
|
|
92
|
+
|
|
93
|
+
if m.get('toolType') is not None:
|
|
94
|
+
self.tool_type = m.get('toolType')
|
|
95
|
+
|
|
96
|
+
if m.get('updatedAt') is not None:
|
|
97
|
+
self.updated_at = m.get('updatedAt')
|
|
98
|
+
|
|
99
|
+
return self
|
|
100
|
+
|
|
@@ -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 typing import List
|
|
6
|
+
|
|
7
|
+
from darabonba.model import DaraModel
|
|
8
|
+
|
|
9
|
+
class TriggerConfig(DaraModel):
|
|
10
|
+
def __init__(
|
|
11
|
+
self,
|
|
12
|
+
auth_type: str = None,
|
|
13
|
+
methods: List[str] = None,
|
|
14
|
+
):
|
|
15
|
+
self.auth_type = auth_type
|
|
16
|
+
self.methods = methods
|
|
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.auth_type is not None:
|
|
27
|
+
result['authType'] = self.auth_type
|
|
28
|
+
|
|
29
|
+
if self.methods is not None:
|
|
30
|
+
result['methods'] = self.methods
|
|
31
|
+
|
|
32
|
+
return result
|
|
33
|
+
|
|
34
|
+
def from_map(self, m: dict = None):
|
|
35
|
+
m = m or dict()
|
|
36
|
+
if m.get('authType') is not None:
|
|
37
|
+
self.auth_type = m.get('authType')
|
|
38
|
+
|
|
39
|
+
if m.get('methods') is not None:
|
|
40
|
+
self.methods = m.get('methods')
|
|
41
|
+
|
|
42
|
+
return self
|
|
43
|
+
|