workos 3.3.0

Official Rust SDK for the WorkOS API
Documentation
// This file is auto-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 DataIntegrationsUpsertClientCredentialsRequest {
    /// A [User](https://workos.com/docs/reference/authkit/user) identifier.
    pub user_id: String,
    /// An [Organization](https://workos.com/docs/reference/organization) identifier. Optional parameter to scope the connection to a specific organization.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub organization_id: Option<String>,
    /// The OAuth client ID to store for this integration.
    pub client_id: String,
    /// The OAuth client secret to store for this integration.
    pub client_secret: crate::SecretString,
    /// Provider-specific configuration values collected for this installation, keyed by the provider's config field descriptors.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub config: Option<std::collections::HashMap<String, String>>,
}