Skip to main content

authentik_client/models/
property_mapping_test_result.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/// PropertyMappingTestResult : Result of a Property-mapping test
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct PropertyMappingTestResult {
17    #[serde(rename = "result")]
18    pub result: String,
19    #[serde(rename = "successful")]
20    pub successful: bool,
21}
22
23impl PropertyMappingTestResult {
24    /// Result of a Property-mapping test
25    pub fn new(result: String, successful: bool) -> PropertyMappingTestResult {
26        PropertyMappingTestResult { result, successful }
27    }
28}