// Code generated by oagen. DO NOT EDIT.
#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
/// Information about the impersonator if this session was created via impersonation.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct SessionCreatedDataImpersonator {
/// The email address of the WorkOS Dashboard user who is impersonating the user.
pub email: String,
/// The justification the impersonator gave for impersonating the user.
#[serde(skip_serializing_if = "Option::is_none", default)]
pub reason: Option<String>,
}