windmill-api 1.698.0

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
/*
 * Windmill API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.698.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 RestartFlowAtStepRequestNestedPathInner {
    /// step id at this nesting level
    #[serde(rename = "step_id")]
    pub step_id: String,
    /// for ForLoop containers, the iteration to restart at (0-based; iterations 0..n-1 are preserved)
    #[serde(rename = "branch_or_iteration_n", skip_serializing_if = "Option::is_none")]
    pub branch_or_iteration_n: Option<i32>,
}

impl RestartFlowAtStepRequestNestedPathInner {
    pub fn new(step_id: String) -> RestartFlowAtStepRequestNestedPathInner {
        RestartFlowAtStepRequestNestedPathInner {
            step_id,
            branch_or_iteration_n: None,
        }
    }
}