alibabacloud-agentrun20250910 4.0.4__py3-none-any.whl → 5.1.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 -1
- alibabacloud_agentrun20250910/client.py +2641 -5033
- alibabacloud_agentrun20250910/models/__init__.py +633 -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 +100 -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_knowledge_base_input.py +78 -0
- alibabacloud_agentrun20250910/models/_create_knowledge_base_request.py +36 -0
- alibabacloud_agentrun20250910/models/_create_knowledge_base_response.py +54 -0
- alibabacloud_agentrun20250910/models/_create_memory_collection_input.py +101 -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 +114 -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_knowledge_base_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_knowledge_base_result.py +52 -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/_embedder_config.py +71 -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_knowledge_base_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/_knowledge_base.py +99 -0
- alibabacloud_agentrun20250910/models/_knowledge_base_result.py +52 -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_knowledge_bases_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_knowledge_bases_request.py +49 -0
- alibabacloud_agentrun20250910/models/_list_knowledge_bases_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_knowledge_bases_result.py +52 -0
- alibabacloud_agentrun20250910/models/_list_memory_collections_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_memory_collections_result.py +52 -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/_llmconfig.py +71 -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/_memory_collection.py +117 -0
- alibabacloud_agentrun20250910/models/_memory_collection_result.py +52 -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_knowledge_base_input.py +59 -0
- alibabacloud_agentrun20250910/models/_update_knowledge_base_request.py +36 -0
- alibabacloud_agentrun20250910/models/_update_knowledge_base_response.py +54 -0
- alibabacloud_agentrun20250910/models/_update_memory_collection_input.py +85 -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/_vector_store_config.py +95 -0
- alibabacloud_agentrun20250910/models/_version_weight.py +43 -0
- alibabacloud_agentrun20250910/models/_view_port_configuration.py +47 -0
- {alibabacloud_agentrun20250910-4.0.4.dist-info → alibabacloud_agentrun20250910-5.1.0.dist-info}/METADATA +7 -7
- alibabacloud_agentrun20250910-5.1.0.dist-info/RECORD +306 -0
- alibabacloud_agentrun20250910/models.py +0 -15270
- alibabacloud_agentrun20250910-4.0.4.dist-info/RECORD +0 -8
- {alibabacloud_agentrun20250910-4.0.4.dist-info → alibabacloud_agentrun20250910-5.1.0.dist-info}/LICENSE +0 -0
- {alibabacloud_agentrun20250910-4.0.4.dist-info → alibabacloud_agentrun20250910-5.1.0.dist-info}/WHEEL +0 -0
- {alibabacloud_agentrun20250910-4.0.4.dist-info → alibabacloud_agentrun20250910-5.1.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Dict
|
|
6
|
+
|
|
7
|
+
from alibabacloud_agentrun20250910 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class CreateTemplateResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.TemplateResult = None,
|
|
16
|
+
):
|
|
17
|
+
self.headers = headers
|
|
18
|
+
self.status_code = status_code
|
|
19
|
+
self.body = body
|
|
20
|
+
|
|
21
|
+
def validate(self):
|
|
22
|
+
if self.body:
|
|
23
|
+
self.body.validate()
|
|
24
|
+
|
|
25
|
+
def to_map(self):
|
|
26
|
+
result = dict()
|
|
27
|
+
_map = super().to_map()
|
|
28
|
+
if _map is not None:
|
|
29
|
+
result = _map
|
|
30
|
+
if self.headers is not None:
|
|
31
|
+
result['headers'] = self.headers
|
|
32
|
+
|
|
33
|
+
if self.status_code is not None:
|
|
34
|
+
result['statusCode'] = self.status_code
|
|
35
|
+
|
|
36
|
+
if self.body is not None:
|
|
37
|
+
result['body'] = self.body.to_map()
|
|
38
|
+
|
|
39
|
+
return result
|
|
40
|
+
|
|
41
|
+
def from_map(self, m: dict = None):
|
|
42
|
+
m = m or dict()
|
|
43
|
+
if m.get('headers') is not None:
|
|
44
|
+
self.headers = m.get('headers')
|
|
45
|
+
|
|
46
|
+
if m.get('statusCode') is not None:
|
|
47
|
+
self.status_code = m.get('statusCode')
|
|
48
|
+
|
|
49
|
+
if m.get('body') is not None:
|
|
50
|
+
temp_model = main_models.TemplateResult()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
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 CreateToolData(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
created_at: str = None,
|
|
11
|
+
id: str = None,
|
|
12
|
+
name: str = None,
|
|
13
|
+
source_type: str = None,
|
|
14
|
+
tool_type: str = None,
|
|
15
|
+
):
|
|
16
|
+
self.created_at = created_at
|
|
17
|
+
self.id = id
|
|
18
|
+
self.name = name
|
|
19
|
+
self.source_type = source_type
|
|
20
|
+
self.tool_type = tool_type
|
|
21
|
+
|
|
22
|
+
def validate(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def to_map(self):
|
|
26
|
+
result = dict()
|
|
27
|
+
_map = super().to_map()
|
|
28
|
+
if _map is not None:
|
|
29
|
+
result = _map
|
|
30
|
+
if self.created_at is not None:
|
|
31
|
+
result['createdAt'] = self.created_at
|
|
32
|
+
|
|
33
|
+
if self.id is not None:
|
|
34
|
+
result['id'] = self.id
|
|
35
|
+
|
|
36
|
+
if self.name is not None:
|
|
37
|
+
result['name'] = self.name
|
|
38
|
+
|
|
39
|
+
if self.source_type is not None:
|
|
40
|
+
result['sourceType'] = self.source_type
|
|
41
|
+
|
|
42
|
+
if self.tool_type is not None:
|
|
43
|
+
result['toolType'] = self.tool_type
|
|
44
|
+
|
|
45
|
+
return result
|
|
46
|
+
|
|
47
|
+
def from_map(self, m: dict = None):
|
|
48
|
+
m = m or dict()
|
|
49
|
+
if m.get('createdAt') is not None:
|
|
50
|
+
self.created_at = m.get('createdAt')
|
|
51
|
+
|
|
52
|
+
if m.get('id') is not None:
|
|
53
|
+
self.id = m.get('id')
|
|
54
|
+
|
|
55
|
+
if m.get('name') is not None:
|
|
56
|
+
self.name = m.get('name')
|
|
57
|
+
|
|
58
|
+
if m.get('sourceType') is not None:
|
|
59
|
+
self.source_type = m.get('sourceType')
|
|
60
|
+
|
|
61
|
+
if m.get('toolType') is not None:
|
|
62
|
+
self.tool_type = m.get('toolType')
|
|
63
|
+
|
|
64
|
+
return self
|
|
65
|
+
|
|
@@ -0,0 +1,80 @@
|
|
|
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 CreateToolInput(DaraModel):
|
|
9
|
+
def __init__(
|
|
10
|
+
self,
|
|
11
|
+
capconfig: main_models.CAPConfig = None,
|
|
12
|
+
description: str = None,
|
|
13
|
+
name: str = None,
|
|
14
|
+
schema: str = None,
|
|
15
|
+
source_type: str = None,
|
|
16
|
+
tool_type: str = None,
|
|
17
|
+
):
|
|
18
|
+
self.capconfig = capconfig
|
|
19
|
+
self.description = description
|
|
20
|
+
# This parameter is required.
|
|
21
|
+
self.name = name
|
|
22
|
+
# This parameter is required.
|
|
23
|
+
self.schema = schema
|
|
24
|
+
# This parameter is required.
|
|
25
|
+
self.source_type = source_type
|
|
26
|
+
# This parameter is required.
|
|
27
|
+
self.tool_type = tool_type
|
|
28
|
+
|
|
29
|
+
def validate(self):
|
|
30
|
+
if self.capconfig:
|
|
31
|
+
self.capconfig.validate()
|
|
32
|
+
|
|
33
|
+
def to_map(self):
|
|
34
|
+
result = dict()
|
|
35
|
+
_map = super().to_map()
|
|
36
|
+
if _map is not None:
|
|
37
|
+
result = _map
|
|
38
|
+
if self.capconfig is not None:
|
|
39
|
+
result['CAPConfig'] = self.capconfig.to_map()
|
|
40
|
+
|
|
41
|
+
if self.description is not None:
|
|
42
|
+
result['description'] = self.description
|
|
43
|
+
|
|
44
|
+
if self.name is not None:
|
|
45
|
+
result['name'] = self.name
|
|
46
|
+
|
|
47
|
+
if self.schema is not None:
|
|
48
|
+
result['schema'] = self.schema
|
|
49
|
+
|
|
50
|
+
if self.source_type is not None:
|
|
51
|
+
result['sourceType'] = self.source_type
|
|
52
|
+
|
|
53
|
+
if self.tool_type is not None:
|
|
54
|
+
result['toolType'] = self.tool_type
|
|
55
|
+
|
|
56
|
+
return result
|
|
57
|
+
|
|
58
|
+
def from_map(self, m: dict = None):
|
|
59
|
+
m = m or dict()
|
|
60
|
+
if m.get('CAPConfig') is not None:
|
|
61
|
+
temp_model = main_models.CAPConfig()
|
|
62
|
+
self.capconfig = temp_model.from_map(m.get('CAPConfig'))
|
|
63
|
+
|
|
64
|
+
if m.get('description') is not None:
|
|
65
|
+
self.description = m.get('description')
|
|
66
|
+
|
|
67
|
+
if m.get('name') is not None:
|
|
68
|
+
self.name = m.get('name')
|
|
69
|
+
|
|
70
|
+
if m.get('schema') is not None:
|
|
71
|
+
self.schema = m.get('schema')
|
|
72
|
+
|
|
73
|
+
if m.get('sourceType') is not None:
|
|
74
|
+
self.source_type = m.get('sourceType')
|
|
75
|
+
|
|
76
|
+
if m.get('toolType') is not None:
|
|
77
|
+
self.tool_type = m.get('toolType')
|
|
78
|
+
|
|
79
|
+
return self
|
|
80
|
+
|
|
@@ -0,0 +1,52 @@
|
|
|
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 CreateToolOutput(DaraModel):
|
|
9
|
+
def __init__(
|
|
10
|
+
self,
|
|
11
|
+
data: main_models.CreateToolData = None,
|
|
12
|
+
message: str = None,
|
|
13
|
+
success: bool = None,
|
|
14
|
+
):
|
|
15
|
+
self.data = data
|
|
16
|
+
self.message = message
|
|
17
|
+
self.success = success
|
|
18
|
+
|
|
19
|
+
def validate(self):
|
|
20
|
+
if self.data:
|
|
21
|
+
self.data.validate()
|
|
22
|
+
|
|
23
|
+
def to_map(self):
|
|
24
|
+
result = dict()
|
|
25
|
+
_map = super().to_map()
|
|
26
|
+
if _map is not None:
|
|
27
|
+
result = _map
|
|
28
|
+
if self.data is not None:
|
|
29
|
+
result['data'] = self.data.to_map()
|
|
30
|
+
|
|
31
|
+
if self.message is not None:
|
|
32
|
+
result['message'] = self.message
|
|
33
|
+
|
|
34
|
+
if self.success is not None:
|
|
35
|
+
result['success'] = self.success
|
|
36
|
+
|
|
37
|
+
return result
|
|
38
|
+
|
|
39
|
+
def from_map(self, m: dict = None):
|
|
40
|
+
m = m or dict()
|
|
41
|
+
if m.get('data') is not None:
|
|
42
|
+
temp_model = main_models.CreateToolData()
|
|
43
|
+
self.data = temp_model.from_map(m.get('data'))
|
|
44
|
+
|
|
45
|
+
if m.get('message') is not None:
|
|
46
|
+
self.message = m.get('message')
|
|
47
|
+
|
|
48
|
+
if m.get('success') is not None:
|
|
49
|
+
self.success = m.get('success')
|
|
50
|
+
|
|
51
|
+
return self
|
|
52
|
+
|
|
@@ -0,0 +1,124 @@
|
|
|
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
|
|
6
|
+
|
|
7
|
+
from alibabacloud_agentrun20250910 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class Credential(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
created_at: str = None,
|
|
14
|
+
credential_auth_type: str = None,
|
|
15
|
+
credential_id: str = None,
|
|
16
|
+
credential_name: str = None,
|
|
17
|
+
credential_public_config: Dict[str, str] = None,
|
|
18
|
+
credential_secret: str = None,
|
|
19
|
+
credential_source_type: str = None,
|
|
20
|
+
description: str = None,
|
|
21
|
+
enabled: bool = None,
|
|
22
|
+
related_resources: List[main_models.RelatedResource] = None,
|
|
23
|
+
updated_at: str = None,
|
|
24
|
+
):
|
|
25
|
+
self.created_at = created_at
|
|
26
|
+
self.credential_auth_type = credential_auth_type
|
|
27
|
+
self.credential_id = credential_id
|
|
28
|
+
self.credential_name = credential_name
|
|
29
|
+
self.credential_public_config = credential_public_config
|
|
30
|
+
self.credential_secret = credential_secret
|
|
31
|
+
self.credential_source_type = credential_source_type
|
|
32
|
+
self.description = description
|
|
33
|
+
self.enabled = enabled
|
|
34
|
+
self.related_resources = related_resources
|
|
35
|
+
self.updated_at = updated_at
|
|
36
|
+
|
|
37
|
+
def validate(self):
|
|
38
|
+
if self.related_resources:
|
|
39
|
+
for v1 in self.related_resources:
|
|
40
|
+
if v1:
|
|
41
|
+
v1.validate()
|
|
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.created_at is not None:
|
|
49
|
+
result['createdAt'] = self.created_at
|
|
50
|
+
|
|
51
|
+
if self.credential_auth_type is not None:
|
|
52
|
+
result['credentialAuthType'] = self.credential_auth_type
|
|
53
|
+
|
|
54
|
+
if self.credential_id is not None:
|
|
55
|
+
result['credentialId'] = self.credential_id
|
|
56
|
+
|
|
57
|
+
if self.credential_name is not None:
|
|
58
|
+
result['credentialName'] = self.credential_name
|
|
59
|
+
|
|
60
|
+
if self.credential_public_config is not None:
|
|
61
|
+
result['credentialPublicConfig'] = self.credential_public_config
|
|
62
|
+
|
|
63
|
+
if self.credential_secret is not None:
|
|
64
|
+
result['credentialSecret'] = self.credential_secret
|
|
65
|
+
|
|
66
|
+
if self.credential_source_type is not None:
|
|
67
|
+
result['credentialSourceType'] = self.credential_source_type
|
|
68
|
+
|
|
69
|
+
if self.description is not None:
|
|
70
|
+
result['description'] = self.description
|
|
71
|
+
|
|
72
|
+
if self.enabled is not None:
|
|
73
|
+
result['enabled'] = self.enabled
|
|
74
|
+
|
|
75
|
+
result['relatedResources'] = []
|
|
76
|
+
if self.related_resources is not None:
|
|
77
|
+
for k1 in self.related_resources:
|
|
78
|
+
result['relatedResources'].append(k1.to_map() if k1 else None)
|
|
79
|
+
|
|
80
|
+
if self.updated_at is not None:
|
|
81
|
+
result['updatedAt'] = self.updated_at
|
|
82
|
+
|
|
83
|
+
return result
|
|
84
|
+
|
|
85
|
+
def from_map(self, m: dict = None):
|
|
86
|
+
m = m or dict()
|
|
87
|
+
if m.get('createdAt') is not None:
|
|
88
|
+
self.created_at = m.get('createdAt')
|
|
89
|
+
|
|
90
|
+
if m.get('credentialAuthType') is not None:
|
|
91
|
+
self.credential_auth_type = m.get('credentialAuthType')
|
|
92
|
+
|
|
93
|
+
if m.get('credentialId') is not None:
|
|
94
|
+
self.credential_id = m.get('credentialId')
|
|
95
|
+
|
|
96
|
+
if m.get('credentialName') is not None:
|
|
97
|
+
self.credential_name = m.get('credentialName')
|
|
98
|
+
|
|
99
|
+
if m.get('credentialPublicConfig') is not None:
|
|
100
|
+
self.credential_public_config = m.get('credentialPublicConfig')
|
|
101
|
+
|
|
102
|
+
if m.get('credentialSecret') is not None:
|
|
103
|
+
self.credential_secret = m.get('credentialSecret')
|
|
104
|
+
|
|
105
|
+
if m.get('credentialSourceType') is not None:
|
|
106
|
+
self.credential_source_type = m.get('credentialSourceType')
|
|
107
|
+
|
|
108
|
+
if m.get('description') is not None:
|
|
109
|
+
self.description = m.get('description')
|
|
110
|
+
|
|
111
|
+
if m.get('enabled') is not None:
|
|
112
|
+
self.enabled = m.get('enabled')
|
|
113
|
+
|
|
114
|
+
self.related_resources = []
|
|
115
|
+
if m.get('relatedResources') is not None:
|
|
116
|
+
for k1 in m.get('relatedResources'):
|
|
117
|
+
temp_model = main_models.RelatedResource()
|
|
118
|
+
self.related_resources.append(temp_model.from_map(k1))
|
|
119
|
+
|
|
120
|
+
if m.get('updatedAt') is not None:
|
|
121
|
+
self.updated_at = m.get('updatedAt')
|
|
122
|
+
|
|
123
|
+
return self
|
|
124
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
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 CredentialConfiguration(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
credential_name: str = None,
|
|
11
|
+
):
|
|
12
|
+
# 凭证的唯一标识符
|
|
13
|
+
self.credential_name = credential_name
|
|
14
|
+
|
|
15
|
+
def validate(self):
|
|
16
|
+
pass
|
|
17
|
+
|
|
18
|
+
def to_map(self):
|
|
19
|
+
result = dict()
|
|
20
|
+
_map = super().to_map()
|
|
21
|
+
if _map is not None:
|
|
22
|
+
result = _map
|
|
23
|
+
if self.credential_name is not None:
|
|
24
|
+
result['credentialName'] = self.credential_name
|
|
25
|
+
|
|
26
|
+
return result
|
|
27
|
+
|
|
28
|
+
def from_map(self, m: dict = None):
|
|
29
|
+
m = m or dict()
|
|
30
|
+
if m.get('credentialName') is not None:
|
|
31
|
+
self.credential_name = m.get('credentialName')
|
|
32
|
+
|
|
33
|
+
return self
|
|
34
|
+
|
|
@@ -0,0 +1,89 @@
|
|
|
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 CredentialListItem(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
created_at: str = None,
|
|
11
|
+
credential_auth_type: str = None,
|
|
12
|
+
credential_id: str = None,
|
|
13
|
+
credential_name: str = None,
|
|
14
|
+
credential_source_type: str = None,
|
|
15
|
+
enabled: bool = None,
|
|
16
|
+
related_resource_count: int = None,
|
|
17
|
+
updated_at: str = None,
|
|
18
|
+
):
|
|
19
|
+
self.created_at = created_at
|
|
20
|
+
self.credential_auth_type = credential_auth_type
|
|
21
|
+
self.credential_id = credential_id
|
|
22
|
+
self.credential_name = credential_name
|
|
23
|
+
self.credential_source_type = credential_source_type
|
|
24
|
+
self.enabled = enabled
|
|
25
|
+
self.related_resource_count = related_resource_count
|
|
26
|
+
self.updated_at = updated_at
|
|
27
|
+
|
|
28
|
+
def validate(self):
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
def to_map(self):
|
|
32
|
+
result = dict()
|
|
33
|
+
_map = super().to_map()
|
|
34
|
+
if _map is not None:
|
|
35
|
+
result = _map
|
|
36
|
+
if self.created_at is not None:
|
|
37
|
+
result['createdAt'] = self.created_at
|
|
38
|
+
|
|
39
|
+
if self.credential_auth_type is not None:
|
|
40
|
+
result['credentialAuthType'] = self.credential_auth_type
|
|
41
|
+
|
|
42
|
+
if self.credential_id is not None:
|
|
43
|
+
result['credentialId'] = self.credential_id
|
|
44
|
+
|
|
45
|
+
if self.credential_name is not None:
|
|
46
|
+
result['credentialName'] = self.credential_name
|
|
47
|
+
|
|
48
|
+
if self.credential_source_type is not None:
|
|
49
|
+
result['credentialSourceType'] = self.credential_source_type
|
|
50
|
+
|
|
51
|
+
if self.enabled is not None:
|
|
52
|
+
result['enabled'] = self.enabled
|
|
53
|
+
|
|
54
|
+
if self.related_resource_count is not None:
|
|
55
|
+
result['relatedResourceCount'] = self.related_resource_count
|
|
56
|
+
|
|
57
|
+
if self.updated_at is not None:
|
|
58
|
+
result['updatedAt'] = self.updated_at
|
|
59
|
+
|
|
60
|
+
return result
|
|
61
|
+
|
|
62
|
+
def from_map(self, m: dict = None):
|
|
63
|
+
m = m or dict()
|
|
64
|
+
if m.get('createdAt') is not None:
|
|
65
|
+
self.created_at = m.get('createdAt')
|
|
66
|
+
|
|
67
|
+
if m.get('credentialAuthType') is not None:
|
|
68
|
+
self.credential_auth_type = m.get('credentialAuthType')
|
|
69
|
+
|
|
70
|
+
if m.get('credentialId') is not None:
|
|
71
|
+
self.credential_id = m.get('credentialId')
|
|
72
|
+
|
|
73
|
+
if m.get('credentialName') is not None:
|
|
74
|
+
self.credential_name = m.get('credentialName')
|
|
75
|
+
|
|
76
|
+
if m.get('credentialSourceType') is not None:
|
|
77
|
+
self.credential_source_type = m.get('credentialSourceType')
|
|
78
|
+
|
|
79
|
+
if m.get('enabled') is not None:
|
|
80
|
+
self.enabled = m.get('enabled')
|
|
81
|
+
|
|
82
|
+
if m.get('relatedResourceCount') is not None:
|
|
83
|
+
self.related_resource_count = m.get('relatedResourceCount')
|
|
84
|
+
|
|
85
|
+
if m.get('updatedAt') is not None:
|
|
86
|
+
self.updated_at = m.get('updatedAt')
|
|
87
|
+
|
|
88
|
+
return self
|
|
89
|
+
|
|
@@ -0,0 +1,167 @@
|
|
|
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
|
|
6
|
+
|
|
7
|
+
from alibabacloud_agentrun20250910 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class CredentialPublicConfig(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
auth_config: Dict[str, str] = None,
|
|
14
|
+
auth_type: str = None,
|
|
15
|
+
header_key: str = None,
|
|
16
|
+
provider: str = None,
|
|
17
|
+
remote_config: main_models.CredentialPublicConfigRemoteConfig = None,
|
|
18
|
+
users: List[main_models.CredentialPublicConfigUsers] = None,
|
|
19
|
+
):
|
|
20
|
+
self.auth_config = auth_config
|
|
21
|
+
self.auth_type = auth_type
|
|
22
|
+
self.header_key = header_key
|
|
23
|
+
self.provider = provider
|
|
24
|
+
self.remote_config = remote_config
|
|
25
|
+
self.users = users
|
|
26
|
+
|
|
27
|
+
def validate(self):
|
|
28
|
+
if self.remote_config:
|
|
29
|
+
self.remote_config.validate()
|
|
30
|
+
if self.users:
|
|
31
|
+
for v1 in self.users:
|
|
32
|
+
if v1:
|
|
33
|
+
v1.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.auth_config is not None:
|
|
41
|
+
result['authConfig'] = self.auth_config
|
|
42
|
+
|
|
43
|
+
if self.auth_type is not None:
|
|
44
|
+
result['authType'] = self.auth_type
|
|
45
|
+
|
|
46
|
+
if self.header_key is not None:
|
|
47
|
+
result['headerKey'] = self.header_key
|
|
48
|
+
|
|
49
|
+
if self.provider is not None:
|
|
50
|
+
result['provider'] = self.provider
|
|
51
|
+
|
|
52
|
+
if self.remote_config is not None:
|
|
53
|
+
result['remoteConfig'] = self.remote_config.to_map()
|
|
54
|
+
|
|
55
|
+
result['users'] = []
|
|
56
|
+
if self.users is not None:
|
|
57
|
+
for k1 in self.users:
|
|
58
|
+
result['users'].append(k1.to_map() if k1 else None)
|
|
59
|
+
|
|
60
|
+
return result
|
|
61
|
+
|
|
62
|
+
def from_map(self, m: dict = None):
|
|
63
|
+
m = m or dict()
|
|
64
|
+
if m.get('authConfig') is not None:
|
|
65
|
+
self.auth_config = m.get('authConfig')
|
|
66
|
+
|
|
67
|
+
if m.get('authType') is not None:
|
|
68
|
+
self.auth_type = m.get('authType')
|
|
69
|
+
|
|
70
|
+
if m.get('headerKey') is not None:
|
|
71
|
+
self.header_key = m.get('headerKey')
|
|
72
|
+
|
|
73
|
+
if m.get('provider') is not None:
|
|
74
|
+
self.provider = m.get('provider')
|
|
75
|
+
|
|
76
|
+
if m.get('remoteConfig') is not None:
|
|
77
|
+
temp_model = main_models.CredentialPublicConfigRemoteConfig()
|
|
78
|
+
self.remote_config = temp_model.from_map(m.get('remoteConfig'))
|
|
79
|
+
|
|
80
|
+
self.users = []
|
|
81
|
+
if m.get('users') is not None:
|
|
82
|
+
for k1 in m.get('users'):
|
|
83
|
+
temp_model = main_models.CredentialPublicConfigUsers()
|
|
84
|
+
self.users.append(temp_model.from_map(k1))
|
|
85
|
+
|
|
86
|
+
return self
|
|
87
|
+
|
|
88
|
+
class CredentialPublicConfigUsers(DaraModel):
|
|
89
|
+
def __init__(
|
|
90
|
+
self,
|
|
91
|
+
password: str = None,
|
|
92
|
+
username: str = None,
|
|
93
|
+
):
|
|
94
|
+
self.password = password
|
|
95
|
+
self.username = username
|
|
96
|
+
|
|
97
|
+
def validate(self):
|
|
98
|
+
pass
|
|
99
|
+
|
|
100
|
+
def to_map(self):
|
|
101
|
+
result = dict()
|
|
102
|
+
_map = super().to_map()
|
|
103
|
+
if _map is not None:
|
|
104
|
+
result = _map
|
|
105
|
+
if self.password is not None:
|
|
106
|
+
result['password'] = self.password
|
|
107
|
+
|
|
108
|
+
if self.username is not None:
|
|
109
|
+
result['username'] = self.username
|
|
110
|
+
|
|
111
|
+
return result
|
|
112
|
+
|
|
113
|
+
def from_map(self, m: dict = None):
|
|
114
|
+
m = m or dict()
|
|
115
|
+
if m.get('password') is not None:
|
|
116
|
+
self.password = m.get('password')
|
|
117
|
+
|
|
118
|
+
if m.get('username') is not None:
|
|
119
|
+
self.username = m.get('username')
|
|
120
|
+
|
|
121
|
+
return self
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
class CredentialPublicConfigRemoteConfig(DaraModel):
|
|
126
|
+
def __init__(
|
|
127
|
+
self,
|
|
128
|
+
timeout: int = None,
|
|
129
|
+
ttl: int = None,
|
|
130
|
+
uri: str = None,
|
|
131
|
+
):
|
|
132
|
+
self.timeout = timeout
|
|
133
|
+
self.ttl = ttl
|
|
134
|
+
self.uri = uri
|
|
135
|
+
|
|
136
|
+
def validate(self):
|
|
137
|
+
pass
|
|
138
|
+
|
|
139
|
+
def to_map(self):
|
|
140
|
+
result = dict()
|
|
141
|
+
_map = super().to_map()
|
|
142
|
+
if _map is not None:
|
|
143
|
+
result = _map
|
|
144
|
+
if self.timeout is not None:
|
|
145
|
+
result['timeout'] = self.timeout
|
|
146
|
+
|
|
147
|
+
if self.ttl is not None:
|
|
148
|
+
result['ttl'] = self.ttl
|
|
149
|
+
|
|
150
|
+
if self.uri is not None:
|
|
151
|
+
result['uri'] = self.uri
|
|
152
|
+
|
|
153
|
+
return result
|
|
154
|
+
|
|
155
|
+
def from_map(self, m: dict = None):
|
|
156
|
+
m = m or dict()
|
|
157
|
+
if m.get('timeout') is not None:
|
|
158
|
+
self.timeout = m.get('timeout')
|
|
159
|
+
|
|
160
|
+
if m.get('ttl') is not None:
|
|
161
|
+
self.ttl = m.get('ttl')
|
|
162
|
+
|
|
163
|
+
if m.get('uri') is not None:
|
|
164
|
+
self.uri = m.get('uri')
|
|
165
|
+
|
|
166
|
+
return self
|
|
167
|
+
|