zernio 0.0.444

API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
Documentation
/*
 * 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};

/// UsageMeteringCallUsage : Billable call volumes over the window.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct UsageMeteringCallUsage {
    #[serde(rename = "whatsapp", skip_serializing_if = "Option::is_none")]
    pub whatsapp: Option<Box<models::UsageMeteringCallUsageWhatsapp>>,
    #[serde(rename = "pstn", skip_serializing_if = "Option::is_none")]
    pub pstn: Option<Box<models::UsageMeteringCallUsageWhatsapp>>,
}

impl UsageMeteringCallUsage {
    /// Billable call volumes over the window.
    pub fn new() -> UsageMeteringCallUsage {
        UsageMeteringCallUsage {
            whatsapp: None,
            pstn: None,
        }
    }
}