// 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 FlagCreatedData {
pub object: String,
/// Unique identifier of the Feature Flag.
pub id: String,
/// The ID of the environment the Feature Flag belongs to.
pub environment_id: String,
/// A unique key to reference the Feature Flag.
pub slug: String,
/// A descriptive name for the Feature Flag.
pub name: String,
/// A description for the Feature Flag.
#[serde(skip_serializing_if = "Option::is_none", default)]
pub description: Option<String>,
/// The owner of the Feature Flag.
#[serde(skip_serializing_if = "Option::is_none", default)]
pub owner: Option<FlagCreatedDataOwner>,
/// Labels assigned to the Feature Flag for categorizing and filtering.
pub tags: Vec<String>,
/// Specifies whether the Feature Flag is active for the current environment.
pub enabled: bool,
/// The value returned for users and organizations who don't match any configured targeting rules.
pub default_value: bool,
/// An ISO 8601 timestamp.
pub created_at: String,
/// An ISO 8601 timestamp.
pub updated_at: String,
}