// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
/// Body carrying a workflow's full YAML definition for validate, plan, apply, or export.
#[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(),
        }
    }
}
