// 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 PatchConnectionAttributeMaps {
/// How IdP attributes or claims map onto the standard WorkOS profile fields. Only the provided fields are updated.
#[serde(skip_serializing_if = "Option::is_none", default)]
pub standard_attributes: Option<PatchConnectionStandardAttributes>,
/// How IdP attributes or claims map onto custom attributes, keyed by custom attribute name. Custom attributes must already be defined in the WorkOS dashboard. Only the provided keys are updated; a `null` value unsets that mapping.
#[serde(skip_serializing_if = "Option::is_none", default)]
pub custom_attributes: Option<std::collections::HashMap<String, Option<String>>>,
}