Skip to main content

windmill_api/models/
eval_case_input.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.796.0
7 * Contact: contact@windmill.dev
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// EvalCaseInput : The inputs a standalone run feeds the agent.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct EvalCaseInput {
17    #[serde(rename = "user_message", skip_serializing_if = "Option::is_none")]
18    pub user_message: Option<String>,
19    #[serde(rename = "user_attachments", skip_serializing_if = "Option::is_none")]
20    pub user_attachments: Option<Vec<serde_json::Value>>,
21}
22
23impl EvalCaseInput {
24    /// The inputs a standalone run feeds the agent.
25    pub fn new() -> EvalCaseInput {
26        EvalCaseInput {
27            user_message: None,
28            user_attachments: None,
29        }
30    }
31}
32