// 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 DsyncDeletedData {
/// Distinguishes the directory object.
pub object: String,
/// Unique identifier of the directory.
pub 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 type of the directory.
#[serde(rename = "type")]
pub type_: DsyncDeletedDataType,
/// The current state of the directory.
pub state: DsyncDeletedDataState,
/// The name of the directory.
pub name: String,
/// An ISO 8601 timestamp.
pub created_at: String,
/// An ISO 8601 timestamp.
pub updated_at: String,
}