/*
* Windmill API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.683.0
* Contact: contact@windmill.dev
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// RetryConstant : Retry with constant delay between attempts
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct RetryConstant {
/// Number of retry attempts
#[serde(rename = "attempts", skip_serializing_if = "Option::is_none")]
pub attempts: Option<i32>,
/// Seconds to wait between retries
#[serde(rename = "seconds", skip_serializing_if = "Option::is_none")]
pub seconds: Option<i32>,
}
impl RetryConstant {
/// Retry with constant delay between attempts
pub fn new() -> RetryConstant {
RetryConstant {
attempts: None,
seconds: None,
}
}
}