// Code generated by oagen. DO NOT EDIT.
#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
/// The event payload.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct OrganizationRoleCreatedData {
/// Distinguishes the organization role object.
pub object: String,
/// The ID of the organization the role belongs to.
pub organization_id: String,
/// The slug identifier of the role.
pub slug: String,
/// The name of the role.
pub name: String,
/// A description of the role.
#[serde(skip_serializing_if = "Option::is_none", default)]
pub description: Option<String>,
/// The slug of the resource type the role applies to.
pub resource_type_slug: String,
/// The permissions granted by the role.
pub permissions: Vec<String>,
/// An ISO 8601 timestamp.
pub created_at: String,
/// An ISO 8601 timestamp.
pub updated_at: String,
}