workos 2.4.0

Official Rust SDK for the WorkOS API
Documentation
// This file is auto-generated by oagen. Do not edit.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct SendRadarSmsChallenge {
    /// The ID of the user to send the SMS challenge to.
    pub user_id: String,
    /// The pending authentication token from a previous authentication attempt that triggered the Radar challenge.
    pub pending_authentication_token: crate::SecretString,
    /// The phone number to send the SMS verification code to.
    pub phone_number: String,
    /// The IP address of the user's request.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub ip_address: Option<String>,
    /// The user agent string from the user's request.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub user_agent: Option<String>,
}