windmill_api/models/
get_threshold_alert_200_response.rs

1/*
2 * Windmill API
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 1.512.0
7 * Contact: contact@windmill.dev
8 * Generated by: https://openapi-generator.tech
9 */
10
11use 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