workos 1.0.0

Official Rust SDK for the WorkOS API
Documentation
// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
/// The event payload.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct AuthenticationRadarRiskDetectedData {
    /// The authentication method used.
    pub auth_method: String,
    pub action: AuthenticationRadarRiskDetectedDataAction,
    /// The control action taken for the detected risk.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub control: Option<String>,
    /// The type of blocklist that triggered the risk detection.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub blocklist_type: Option<String>,
    /// The IP address of the request.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub ip_address: Option<String>,
    /// The user agent of the request.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub user_agent: Option<String>,
    /// The ID of the user.
    pub user_id: String,
    /// The email address of the user.
    pub email: String,
}