// 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 CreateRole {
/// A unique slug for the role.
pub slug: String,
/// A descriptive name for the role.
pub name: String,
/// An optional description of the role.
#[serde(skip_serializing_if = "Option::is_none", default)]
pub description: Option<String>,
/// The slug of the resource type the role is scoped to.
#[serde(skip_serializing_if = "Option::is_none", default)]
pub resource_type_slug: Option<String>,
}