/*
* Windmill API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.816.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 PushAiSessionBackups200ResponseResultsInner {
#[serde(rename = "id")]
pub id: String,
#[serde(rename = "error", skip_serializing_if = "Option::is_none")]
pub error: Option<String>,
/// nothing was written and the session must be pushed whole again; an incremental part found no listed session to ride on (the backup was removed, or a push split over parts is in progress or was abandoned), or a later part of a push split over parts found another push had superseded it
#[serde(rename = "needs_whole", skip_serializing_if = "Option::is_none")]
pub needs_whole: Option<bool>,
}
impl PushAiSessionBackups200ResponseResultsInner {
pub fn new(id: String) -> PushAiSessionBackups200ResponseResultsInner {
PushAiSessionBackups200ResponseResultsInner {
id,
error: None,
needs_whole: None,
}
}
}