windmill_api/models/
flow_module_suspend_resume_form.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.592.1
7 * Contact: contact@windmill.dev
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// FlowModuleSuspendResumeForm : Form schema for collecting input when resuming
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct FlowModuleSuspendResumeForm {
17    /// JSON Schema for the resume form
18    #[serde(rename = "schema", skip_serializing_if = "Option::is_none")]
19    pub schema: Option<serde_json::Value>,
20}
21
22impl FlowModuleSuspendResumeForm {
23    /// Form schema for collecting input when resuming
24    pub fn new() -> FlowModuleSuspendResumeForm {
25        FlowModuleSuspendResumeForm {
26            schema: None,
27        }
28    }
29}
30