/*
* 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};
/// O11yMetricsResponseRange : Range is the window actually used, after clamping — not what was asked for. A caller that wants to know what it got reads this rather than its own query.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct O11yMetricsResponseRange {
#[serde(rename = "sinceSec", skip_serializing_if = "Option::is_none")]
pub since_sec: Option<i32>,
#[serde(rename = "stepSec", skip_serializing_if = "Option::is_none")]
pub step_sec: Option<i32>,
}
impl O11yMetricsResponseRange {
/// Range is the window actually used, after clamping — not what was asked for. A caller that wants to know what it got reads this rather than its own query.
pub fn new() -> O11yMetricsResponseRange {
O11yMetricsResponseRange {
since_sec: None,
step_sec: None,
}
}
}