windmill-api 1.683.1

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
/*
 * Windmill API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.683.1
 * Contact: contact@windmill.dev
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct FlowStatusModuleAgentActionsInnerOneOf {
    #[serde(rename = "job_id")]
    pub job_id: uuid::Uuid,
    #[serde(rename = "function_name")]
    pub function_name: String,
    #[serde(rename = "type")]
    pub r#type: Type,
    #[serde(rename = "module_id")]
    pub module_id: String,
}

impl FlowStatusModuleAgentActionsInnerOneOf {
    pub fn new(job_id: uuid::Uuid, function_name: String, r#type: Type, module_id: String) -> FlowStatusModuleAgentActionsInnerOneOf {
        FlowStatusModuleAgentActionsInnerOneOf {
            job_id,
            function_name,
            r#type,
            module_id,
        }
    }
}
/// 
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum Type {
    #[serde(rename = "tool_call")]
    ToolCall,
}

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