windmill-api 1.882.0

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
/*
 * Windmill API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.882.0
 * Contact: contact@windmill.dev
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct RunFlowTestRequestStepsValue {
    /// the step is skipped and returns this value
    #[serde(rename = "return_value", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub return_value: Option<Option<serde_json::Value>>,
    /// name of a function of the code of `caller_job_id` that runs instead of the step (exported, in TypeScript)
    #[serde(rename = "function", skip_serializing_if = "Option::is_none")]
    pub function: Option<String>,
}

impl RunFlowTestRequestStepsValue {
    pub fn new() -> RunFlowTestRequestStepsValue {
        RunFlowTestRequestStepsValue {
            return_value: None,
            function: None,
        }
    }
}