/*
* Windmill API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.881.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 RunFlowTestRequest {
/// The arguments to pass to the script or flow
#[serde(rename = "args", skip_serializing_if = "Option::is_none")]
pub args: Option<std::collections::HashMap<String, serde_json::Value>>,
/// step id -> override. A step inside a subflow is named by the path of step ids to it, `sub:inner` for step `inner` of the subflow that step `sub` calls.
#[serde(rename = "steps", skip_serializing_if = "Option::is_none")]
pub steps: Option<std::collections::HashMap<String, models::RunFlowTestRequestStepsValue>>,
/// the job whose code defines the replacing functions, usually the calling test; a script run or a script preview. Required with a `function` override.
#[serde(rename = "caller_job_id", skip_serializing_if = "Option::is_none")]
pub caller_job_id: Option<uuid::Uuid>,
}
impl RunFlowTestRequest {
pub fn new() -> RunFlowTestRequest {
RunFlowTestRequest {
args: None,
steps: None,
caller_job_id: None,
}
}
}