authentik_rust/models/
blueprint_file.rs1use crate::models;
12
13#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
14pub struct BlueprintFile {
15 #[serde(rename = "path")]
16 pub path: String,
17 #[serde(rename = "last_m")]
18 pub last_m: String,
19 #[serde(rename = "hash")]
20 pub hash: String,
21 #[serde(rename = "meta")]
22 pub meta: Box<models::Metadata>,
23}
24
25impl BlueprintFile {
26 pub fn new(path: String, last_m: String, hash: String, meta: models::Metadata) -> BlueprintFile {
27 BlueprintFile {
28 path,
29 last_m,
30 hash,
31 meta: Box::new(meta),
32 }
33 }
34}
35