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 ActionAuthenticationDeniedData {
    /// The ID of the action endpoint.
    pub action_endpoint_id: String,
    /// The ID of the action execution.
    pub action_execution_id: String,
    /// The type of action that was denied.
    #[serde(rename = "type")]
    pub type_: String,
    /// The verdict of the action.
    pub verdict: String,
    /// The ID of the user.
    pub user_id: String,
    /// The ID of the organization.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub organization_id: Option<String>,
    /// The email address of the user.
    pub email: 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>,
}