// 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 WidgetSessionToken {
/// The ID of the organization to scope the widget session to.
pub organization_id: String,
/// The ID of the user to issue the widget session token for.
#[serde(skip_serializing_if = "Option::is_none", default)]
pub user_id: Option<String>,
/// The scopes to grant the widget session.
#[serde(skip_serializing_if = "Option::is_none", default)]
pub scopes: Option<Vec<WidgetSessionTokenScopes>>,
}