/*
* Windmill API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.815.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 AiSessionBackupListing {
#[serde(rename = "id")]
pub id: String,
#[serde(rename = "updated_at")]
pub updated_at: String,
/// the session's move count when this copy was pushed; of a session two workspaces list, the copy with the higher one is the later
#[serde(rename = "epoch")]
pub epoch: i32,
}
impl AiSessionBackupListing {
pub fn new(id: String, updated_at: String, epoch: i32) -> AiSessionBackupListing {
AiSessionBackupListing {
id,
updated_at,
epoch,
}
}
}