Skip to main content

authentik_client/models/
property_mapping_preview.rs

1/*
2 * authentik
3 *
4 * Making authentication simple.
5 *
6 * The version of the OpenAPI document: 2026.2.0
7 * Contact: hello@goauthentik.io
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// PropertyMappingPreview : Preview how the current user is mapped via the property mappings selected in a provider
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct PropertyMappingPreview {
17    #[serde(rename = "preview")]
18    pub preview: std::collections::HashMap<String, serde_json::Value>,
19}
20
21impl PropertyMappingPreview {
22    /// Preview how the current user is mapped via the property mappings selected in a provider
23    pub fn new(preview: std::collections::HashMap<String, serde_json::Value>) -> PropertyMappingPreview {
24        PropertyMappingPreview { preview }
25    }
26}