windmill_api/models/
flow_status_module_agent_actions_inner.rs

1/*
2 * Windmill API
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 1.597.1
7 * Contact: contact@windmill.dev
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15#[serde(untagged)]
16pub enum FlowStatusModuleAgentActionsInner {
17    FlowStatusModuleAgentActionsInnerOneOf(Box<models::FlowStatusModuleAgentActionsInnerOneOf>),
18    FlowStatusModuleAgentActionsInnerOneOf1(Box<models::FlowStatusModuleAgentActionsInnerOneOf1>),
19    FlowStatusModuleAgentActionsInnerOneOf2(Box<models::FlowStatusModuleAgentActionsInnerOneOf2>),
20    FlowStatusModuleAgentActionsInnerOneOf3(Box<models::FlowStatusModuleAgentActionsInnerOneOf3>),
21}
22
23impl Default for FlowStatusModuleAgentActionsInner {
24    fn default() -> Self {
25        Self::FlowStatusModuleAgentActionsInnerOneOf(Default::default())
26    }
27}
28/// 
29#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
30pub enum Type {
31    #[serde(rename = "tool_call")]
32    ToolCall,
33    #[serde(rename = "mcp_tool_call")]
34    McpToolCall,
35    #[serde(rename = "web_search")]
36    WebSearch,
37    #[serde(rename = "message")]
38    Message,
39}
40
41impl Default for Type {
42    fn default() -> Type {
43        Self::ToolCall
44    }
45}
46