authentik_rust/models/property_mapping_preview.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/// PropertyMappingPreview : Preview how the current user is mapped via the property mappings selected in a provider
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct PropertyMappingPreview {
16 #[serde(rename = "preview")]
17 pub preview: std::collections::HashMap<String, serde_json::Value>,
18}
19
20impl PropertyMappingPreview {
21 /// Preview how the current user is mapped via the property mappings selected in a provider
22 pub fn new(preview: std::collections::HashMap<String, serde_json::Value>) -> PropertyMappingPreview {
23 PropertyMappingPreview {
24 preview,
25 }
26 }
27}
28