Skip to main content

windmill_api/models/
set_native_trigger_workspace_connection_request.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.848.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 SetNativeTriggerWorkspaceConnectionRequest {
16    /// The connection to share, or null to stop sharing
17    #[serde(rename = "path", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
18    pub path: Option<Option<String>>,
19}
20
21impl SetNativeTriggerWorkspaceConnectionRequest {
22    pub fn new() -> SetNativeTriggerWorkspaceConnectionRequest {
23        SetNativeTriggerWorkspaceConnectionRequest {
24            path: None,
25        }
26    }
27}
28