// 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 AuthorizationPermission {
/// Distinguishes the Permission object.
pub object: String,
/// Unique identifier of the Permission.
pub id: String,
/// A unique key to reference the permission. Must be lowercase and contain only letters, numbers, hyphens, underscores, colons, periods, and asterisks.
pub slug: String,
/// A descriptive name for the Permission.
pub name: String,
/// An optional description of the Permission.
#[serde(skip_serializing_if = "Option::is_none", default)]
pub description: Option<String>,
/// Whether the permission is a system permission. System permissions are managed by WorkOS and cannot be deleted.
pub system: bool,
/// The slug of the resource type associated with the permission.
pub resource_type_slug: String,
/// An ISO 8601 timestamp.
pub created_at: String,
/// An ISO 8601 timestamp.
pub updated_at: String,
}