Skip to main content

authentik_client/models/
blueprint_file.rs

1/*
2 * authentik
3 *
4 * Making authentication simple.
5 *
6 * The version of the OpenAPI document: 2026.2.1
7 * Contact: hello@goauthentik.io
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct BlueprintFile {
16    #[serde(rename = "path")]
17    pub path: String,
18    #[serde(rename = "last_m")]
19    pub last_m: String,
20    #[serde(rename = "hash")]
21    pub hash: String,
22    #[serde(rename = "meta")]
23    pub meta: models::Metadata,
24}
25
26impl BlueprintFile {
27    pub fn new(path: String, last_m: String, hash: String, meta: models::Metadata) -> BlueprintFile {
28        BlueprintFile {
29            path,
30            last_m,
31            hash,
32            meta,
33        }
34    }
35}