// 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 DsyncTokenRevokedData {
/// Distinguishes the directory token object.
pub object: String,
/// Unique identifier of the directory token.
pub id: String,
/// The ID of the directory the token authenticates to.
pub directory_id: String,
/// The ID of the organization the directory belongs to.
#[serde(skip_serializing_if = "Option::is_none", default)]
pub organization_id: Option<String>,
/// The trailing characters of the bearer token, for identification only. The full token value is never included in events.
pub token_suffix: String,
/// An ISO 8601 timestamp.
pub created_at: String,
}