// This file is auto-generated from JSON Schema.
// Do not edit this file by hand. Regenerate via the CLI.

#![allow(clippy::all)]
#![allow(dead_code)]

use serde::{Deserialize, Serialize};


/// An alert raised by a realtime monitoring or streaming system.

#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct AlertRecord {

    #[serde(rename = "alertId")]
    pub alert_id: String,

    #[serde(rename = "windowId")]
    pub window_id: Option<String>,

    #[serde(rename = "alertType")]
    pub alert_type: String,

    pub severity: Option<String>,

    #[serde(rename = "detectedAt")]
    pub detected_at: String,

    pub context: Option<serde_json::Value>,

}
