/*
 * doqium - service-auth REST API
 *
 * doqium - service-auth REST API
 *
 * The version of the OpenAPI document: 1.0
 *
 * Generated by: https://openapi-generator.tech
 */

use crate::doqium_auth_client::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct RegisterWebAuthnChallenge200ResponseUser {
    #[serde(rename = "id")]
    pub id: String,
    #[serde(rename = "name")]
    pub name: String,
    #[serde(rename = "displayName")]
    pub display_name: String,
}

impl RegisterWebAuthnChallenge200ResponseUser {
    pub fn new(
        id: String,
        name: String,
        display_name: String,
    ) -> RegisterWebAuthnChallenge200ResponseUser {
        RegisterWebAuthnChallenge200ResponseUser {
            id,
            name,
            display_name,
        }
    }
}
