/* Code generated by Azure.Iot.Operations.ProtocolCompilerLib v1.0.0.0; DO NOT EDIT. */
#![allow(unused_imports)]

use std::collections::HashMap;

use chrono::{DateTime, Utc};
use derive_builder::Builder;
use iso8601_duration::Duration;
use serde::{Deserialize, Serialize};
use uuid::Uuid;

use super::super::common_types::{b64::Bytes, date_only::Date, decimal::Decimal, time_only::Time};
use super::runtime_health::RuntimeHealth;

#[derive(Serialize, Deserialize, Debug, Clone, Builder)]
pub struct EventsSchemaElementSchema {
    /// The name of the event group containing the event for which the runtime health is being reported.
    #[serde(rename = "eventGroupName")]
    pub event_group_name: String,

    /// The name of the event for which the runtime health is being reported.
    #[serde(rename = "eventName")]
    pub event_name: String,

    /// The runtime health of the specific event.
    #[serde(rename = "runtimeHealth")]
    pub runtime_health: RuntimeHealth,
}
