Skip to main content

windmill_api/models/
call_ai_session_tool_request_context_cells_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.862.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, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct CallAiSessionToolRequestContextCellsInner {
16    #[serde(rename = "kind")]
17    pub kind: String,
18    #[serde(rename = "storage_path")]
19    pub storage_path: String,
20    #[serde(rename = "value", deserialize_with = "Option::deserialize")]
21    pub value: Option<serde_json::Value>,
22}
23
24impl CallAiSessionToolRequestContextCellsInner {
25    pub fn new(kind: String, storage_path: String, value: Option<serde_json::Value>) -> CallAiSessionToolRequestContextCellsInner {
26        CallAiSessionToolRequestContextCellsInner {
27            kind,
28            storage_path,
29            value,
30        }
31    }
32}
33