Documentation
/*
 * The Jira Cloud platform REST API
 *
 * Jira Cloud platform REST API documentation
 *
 * The version of the OpenAPI document: 1001.0.0-SNAPSHOT
 * Contact: ecosystem@atlassian.com
 * Generated by: https://openapi-generator.tech
 */

/// WorkflowsWithTransitionRulesDetails : Details of workflows and their transition rules to delete.



#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct WorkflowsWithTransitionRulesDetails {
    /// The list of workflows with transition rules to delete.
    #[serde(rename = "workflows")]
    pub workflows: Vec<crate::models::WorkflowTransitionRulesDetails>,
}

impl WorkflowsWithTransitionRulesDetails {
    /// Details of workflows and their transition rules to delete.
    pub fn new(workflows: Vec<crate::models::WorkflowTransitionRulesDetails>) -> WorkflowsWithTransitionRulesDetails {
        WorkflowsWithTransitionRulesDetails {
            workflows,
        }
    }
}