Skip to main content

authentik_client/models/
agent_authentication_response.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/// AgentAuthenticationResponse : Base serializer class which doesn't implement create/update methods
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct AgentAuthenticationResponse {
17    #[serde(rename = "url")]
18    pub url: String,
19}
20
21impl AgentAuthenticationResponse {
22    /// Base serializer class which doesn't implement create/update methods
23    pub fn new(url: String) -> AgentAuthenticationResponse {
24        AgentAuthenticationResponse { url }
25    }
26}