authentik_rust/models/
patched_user_saml_source_connection_request.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/// PatchedUserSamlSourceConnectionRequest : SAML Source Serializer
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct PatchedUserSamlSourceConnectionRequest {
16    #[serde(rename = "user", skip_serializing_if = "Option::is_none")]
17    pub user: Option<i32>,
18    #[serde(rename = "identifier", skip_serializing_if = "Option::is_none")]
19    pub identifier: Option<String>,
20}
21
22impl PatchedUserSamlSourceConnectionRequest {
23    /// SAML Source Serializer
24    pub fn new() -> PatchedUserSamlSourceConnectionRequest {
25        PatchedUserSamlSourceConnectionRequest {
26            user: None,
27            identifier: None,
28        }
29    }
30}
31