windmill_api/models/
get_threshold_alert_200_response.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct GetThresholdAlert200Response {
16 #[serde(rename = "threshold_alert_amount", skip_serializing_if = "Option::is_none")]
17 pub threshold_alert_amount: Option<f64>,
18 #[serde(rename = "last_alert_sent", skip_serializing_if = "Option::is_none")]
19 pub last_alert_sent: Option<String>,
20}
21
22impl GetThresholdAlert200Response {
23 pub fn new() -> GetThresholdAlert200Response {
24 GetThresholdAlert200Response {
25 threshold_alert_amount: None,
26 last_alert_sent: None,
27 }
28 }
29}
30