/*
 * 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 SessionRequest200Response {
    /// URL for user to authenticate the session
    #[serde(rename = "auth_url")]
    pub auth_url: String,
    /// Request identifier
    #[serde(rename = "request_id")]
    pub request_id: uuid::Uuid,
}

impl SessionRequest200Response {
    pub fn new(auth_url: String, request_id: uuid::Uuid) -> SessionRequest200Response {
        SessionRequest200Response {
            auth_url,
            request_id,
        }
    }
}
