/*
* Windmill API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.683.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 WorkflowTask {
/// The arguments to pass to the script or flow
#[serde(rename = "args")]
pub args: std::collections::HashMap<String, serde_json::Value>,
}
impl WorkflowTask {
pub fn new(args: std::collections::HashMap<String, serde_json::Value>) -> WorkflowTask {
WorkflowTask {
args,
}
}
}