/*
 * Tapis Workflows API
 *
 * Create and manage pipelines
 *
 * The version of the OpenAPI document: 1.6.0
 * Contact: cicsupport@tacc.utexas.edu
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ReqRunPipeline {
    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    #[serde(rename = "description", skip_serializing_if = "Option::is_none")]
    pub description: Option<String>,
    #[serde(rename = "args", skip_serializing_if = "Option::is_none")]
    pub args: Option<std::collections::HashMap<String, models::ArgSpec>>,
    #[serde(rename = "directives", skip_serializing_if = "Option::is_none")]
    pub directives: Option<Vec<String>>,
}

impl ReqRunPipeline {
    pub fn new() -> ReqRunPipeline {
        ReqRunPipeline {
            name: None,
            description: None,
            args: None,
            directives: None,
        }
    }
}
