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 OrganizationUpdatedData {
    /// Distinguishes the Organization object.
    pub object: String,
    /// Unique identifier of the Organization.
    pub id: String,
    /// A descriptive name for the Organization. This field does not need to be unique.
    pub name: String,
    /// List of Organization Domains.
    pub domains: Vec<OrganizationUpdatedDataDomain>,
    /// Object containing [metadata](https://workos.com/docs/authkit/metadata) key/value pairs associated with the Organization.
    pub metadata: std::collections::HashMap<String, String>,
    /// The external ID of the Organization.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub external_id: Option<String>,
    /// The Stripe customer ID of the Organization.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub stripe_customer_id: Option<String>,
    /// An ISO 8601 timestamp.
    pub created_at: String,
    /// An ISO 8601 timestamp.
    pub updated_at: String,
}