workos 3.1.0

Official Rust SDK for the WorkOS API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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 ApiKeyInstallation {
    /// The API key secret to store for the tenant.
    pub secret: crate::SecretString,
    /// The User identifier the API key is installed for.
    pub user_id: String,
    /// An Organization identifier to scope the installation to a specific organization.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub organization_id: Option<String>,
}