// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct DeclarativeWorkflowRequest {
    /// Workflow YAML definition
    pub yaml_definition: String,
}
impl DeclarativeWorkflowRequest {
    /// Construct a new `DeclarativeWorkflowRequest` with the required fields set.
    #[allow(deprecated)]
    pub fn new(yaml_definition: impl Into<String>) -> Self {
        Self {
            yaml_definition: yaml_definition.into(),
        }
    }
}
