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 UpdateOrganization {
    /// The name of the organization.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub name: Option<String>,
    /// Whether the organization allows profiles from outside the organization to sign in.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub allow_profiles_outside_organization: Option<bool>,
    /// The domains associated with the organization. Deprecated in favor of `domain_data`.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    #[deprecated]
    pub domains: Option<Vec<String>>,
    /// The domains associated with the organization, including verification state.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub domain_data: Option<Vec<OrganizationDomainData>>,
    /// The Stripe customer ID associated with the organization.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub stripe_customer_id: Option<String>,
    /// Object containing [metadata](https://workos.com/docs/authkit/metadata) key/value pairs associated with the Organization.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub metadata: Option<std::collections::HashMap<String, String>>,
    /// An external identifier for the Organization.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub external_id: Option<String>,
}