Skip to main content

windmill_api/models/
get_mcp_tools_200_response_inner_annotations.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.792.1
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 GetMcpTools200ResponseInnerAnnotations {
16    #[serde(rename = "title", skip_serializing_if = "Option::is_none")]
17    pub title: Option<String>,
18    #[serde(rename = "readOnlyHint", skip_serializing_if = "Option::is_none")]
19    pub read_only_hint: Option<bool>,
20    #[serde(rename = "destructiveHint", skip_serializing_if = "Option::is_none")]
21    pub destructive_hint: Option<bool>,
22    #[serde(rename = "idempotentHint", skip_serializing_if = "Option::is_none")]
23    pub idempotent_hint: Option<bool>,
24    #[serde(rename = "openWorldHint", skip_serializing_if = "Option::is_none")]
25    pub open_world_hint: Option<bool>,
26}
27
28impl GetMcpTools200ResponseInnerAnnotations {
29    pub fn new() -> GetMcpTools200ResponseInnerAnnotations {
30        GetMcpTools200ResponseInnerAnnotations {
31            title: None,
32            read_only_hint: None,
33            destructive_hint: None,
34            idempotent_hint: None,
35            open_world_hint: None,
36        }
37    }
38}
39