authentik_rust/models/
blueprint_file.rs

1/*
2 * authentik
3 *
4 * Making authentication simple.
5 *
6 * The version of the OpenAPI document: 2024.2.1
7 * Contact: hello@goauthentik.io
8 * Generated by: https://openapi-generator.tech
9 */
10
11use 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