authentik_client/models/
patched_group_o_auth_source_connection_request.rs

1/*
2 * authentik
3 *
4 * Making authentication simple.
5 *
6 * The version of the OpenAPI document: 2025.8.4
7 * Contact: hello@goauthentik.io
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// PatchedGroupOAuthSourceConnectionRequest : Group Source Connection
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct PatchedGroupOAuthSourceConnectionRequest {
17    #[serde(rename = "group", skip_serializing_if = "Option::is_none")]
18    pub group: Option<uuid::Uuid>,
19    #[serde(rename = "source", skip_serializing_if = "Option::is_none")]
20    pub source: Option<uuid::Uuid>,
21    #[serde(rename = "identifier", skip_serializing_if = "Option::is_none")]
22    pub identifier: Option<String>,
23}
24
25impl PatchedGroupOAuthSourceConnectionRequest {
26    /// Group Source Connection
27    pub fn new() -> PatchedGroupOAuthSourceConnectionRequest {
28        PatchedGroupOAuthSourceConnectionRequest {
29            group: None,
30            source: None,
31            identifier: None,
32        }
33    }
34}