windmill_api/models/
ai_session_backup_listing.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct AiSessionBackupListing {
16 #[serde(rename = "id")]
17 pub id: String,
18 #[serde(rename = "updated_at")]
19 pub updated_at: String,
20 #[serde(rename = "epoch")]
22 pub epoch: i32,
23}
24
25impl AiSessionBackupListing {
26 pub fn new(id: String, updated_at: String, epoch: i32) -> AiSessionBackupListing {
27 AiSessionBackupListing {
28 id,
29 updated_at,
30 epoch,
31 }
32 }
33}
34