Skip to main content

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.864.0
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    FlowStatusModuleAgentActionsInnerOneOf4(Box<models::FlowStatusModuleAgentActionsInnerOneOf4>),
22    FlowStatusModuleAgentActionsInnerOneOf5(Box<models::FlowStatusModuleAgentActionsInnerOneOf5>),
23}
24
25impl Default for FlowStatusModuleAgentActionsInner {
26    fn default() -> Self {
27        Self::FlowStatusModuleAgentActionsInnerOneOf(Default::default())
28    }
29}
30/// 
31#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
32pub enum Type {
33    #[serde(rename = "tool_call")]
34    ToolCall,
35    #[serde(rename = "mcp_tool_call")]
36    McpToolCall,
37    #[serde(rename = "web_search")]
38    WebSearch,
39    #[serde(rename = "approval")]
40    Approval,
41    #[serde(rename = "question")]
42    Question,
43    #[serde(rename = "message")]
44    Message,
45}
46
47impl Default for Type {
48    fn default() -> Type {
49        Self::ToolCall
50    }
51}
52