/*
 * Zernio API
 *
 * API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
 *
 * The version of the OpenAPI document: 1.0.4
 * Contact: support@zernio.com
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// UsageMeteringPeaks : Peak counts over the window (Metronome COUNT metrics + live active-number count).
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct UsageMeteringPeaks {
    #[serde(rename = "accounts", skip_serializing_if = "Option::is_none")]
    pub accounts: Option<i32>,
    #[serde(rename = "numbers", skip_serializing_if = "Option::is_none")]
    pub numbers: Option<i32>,
}

impl UsageMeteringPeaks {
    /// Peak counts over the window (Metronome COUNT metrics + live active-number count).
    pub fn new() -> UsageMeteringPeaks {
        UsageMeteringPeaks {
            accounts: None,
            numbers: None,
        }
    }
}
