#[derive(
schemars::JsonSchema, serde::Serialize, serde::Deserialize, PartialEq, Eq, Clone, Debug,
)]
pub enum HealthCheckV1 {
#[serde(rename = "http")]
Http(HealthCheckHttpV1),
}
#[derive(
schemars::JsonSchema, serde::Serialize, serde::Deserialize, PartialEq, Eq, Clone, Debug,
)]
pub struct HealthCheckHttpV1 {
#[serde(flatten)]
pub request: super::HttpRequest,
#[serde(skip_serializing_if = "Option::is_none")]
pub interval: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")]
pub unhealthy_threshold: Option<u32>,
#[serde(skip_serializing_if = "Option::is_none")]
pub healthy_threshold: Option<u32>,
}