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 DsyncActivatedData {
    /// 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_: DsyncActivatedDataType,
    /// The current state of the directory.
    pub state: DsyncActivatedDataState,
    /// The name of the directory.
    pub name: String,
    /// An ISO 8601 timestamp.
    pub created_at: String,
    /// An ISO 8601 timestamp.
    pub updated_at: String,
    /// The external key of the directory.
    pub external_key: String,
    /// The domains associated with the directory.
    pub domains: Vec<DsyncActivatedDataDomain>,
}