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};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct DirectoryGroup {
    /// Distinguishes the Directory Group object.
    pub object: String,
    /// Unique identifier for the Directory Group.
    pub id: String,
    /// Unique identifier for the group, assigned by the Directory Provider. Different Directory Providers use different ID formats.
    pub idp_id: String,
    /// The identifier of the Directory the Directory Group belongs to.
    pub directory_id: String,
    /// The identifier for the Organization in which the Directory resides.
    pub organization_id: String,
    /// The name of the Directory Group.
    pub name: String,
    /// The raw attributes received from the directory provider.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub raw_attributes: Option<std::collections::HashMap<String, serde_json::Value>>,
    /// An ISO 8601 timestamp.
    pub created_at: String,
    /// An ISO 8601 timestamp.
    pub updated_at: String,
}