authentik_client/models/
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/// GroupOAuthSourceConnectionRequest : Group Source Connection
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct GroupOAuthSourceConnectionRequest {
17    #[serde(rename = "group")]
18    pub group: uuid::Uuid,
19    #[serde(rename = "source")]
20    pub source: uuid::Uuid,
21    #[serde(rename = "identifier")]
22    pub identifier: String,
23}
24
25impl GroupOAuthSourceConnectionRequest {
26    /// Group Source Connection
27    pub fn new(group: uuid::Uuid, source: uuid::Uuid, identifier: String) -> GroupOAuthSourceConnectionRequest {
28        GroupOAuthSourceConnectionRequest {
29            group,
30            source,
31            identifier,
32        }
33    }
34}