/*
* Hanzo Cloud API
*
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
*
* The version of the OpenAPI document: v1
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct O11yPeriodO11yQueueCheck {
/// Attribute is the span attribute or telemetry the check looked for.
#[serde(rename = "attribute", skip_serializing_if = "Option::is_none")]
pub attribute: Option<String>,
/// Message says what is missing when the check fails; empty on a pass. Its wire key is error_message.
#[serde(rename = "error_message", skip_serializing_if = "Option::is_none")]
pub error_message: Option<String>,
/// Status is \"1\" when the telemetry is present, \"0\" when it is not.
#[serde(rename = "status", skip_serializing_if = "Option::is_none")]
pub status: Option<String>,
}
impl O11yPeriodO11yQueueCheck {
pub fn new() -> O11yPeriodO11yQueueCheck {
O11yPeriodO11yQueueCheck {
attribute: None,
error_message: None,
status: None,
}
}
}