/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.0.2
 * Contact: contact@orvanta.cloud
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(untagged)]
pub enum FlowStatusModuleAgentActionsInner {
    FlowStatusModuleAgentActionsInnerOneOf(Box<models::FlowStatusModuleAgentActionsInnerOneOf>),
    FlowStatusModuleAgentActionsInnerOneOf1(Box<models::FlowStatusModuleAgentActionsInnerOneOf1>),
    FlowStatusModuleAgentActionsInnerOneOf2(Box<models::FlowStatusModuleAgentActionsInnerOneOf2>),
    FlowStatusModuleAgentActionsInnerOneOf3(Box<models::FlowStatusModuleAgentActionsInnerOneOf3>),
}

impl Default for FlowStatusModuleAgentActionsInner {
    fn default() -> Self {
        Self::FlowStatusModuleAgentActionsInnerOneOf(Default::default())
    }
}
/// 
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum Type {
    #[serde(rename = "tool_call")]
    ToolCall,
    #[serde(rename = "mcp_tool_call")]
    McpToolCall,
    #[serde(rename = "web_search")]
    WebSearch,
    #[serde(rename = "message")]
    Message,
}

impl Default for Type {
    fn default() -> Type {
        Self::ToolCall
    }
}

