/*
 * 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};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct UsageMeteringDaysInner {
    #[serde(rename = "date", skip_serializing_if = "Option::is_none")]
    pub date: Option<String>,
    #[serde(rename = "accounts", skip_serializing_if = "Option::is_none")]
    pub accounts: Option<f64>,
    #[serde(rename = "numbers", skip_serializing_if = "Option::is_none")]
    pub numbers: Option<f64>,
    #[serde(rename = "calls", skip_serializing_if = "Option::is_none")]
    pub calls: Option<f64>,
    #[serde(rename = "sms", skip_serializing_if = "Option::is_none")]
    pub sms: Option<f64>,
    /// 10DLC registration (brand + campaign) fees.
    #[serde(rename = "dlc", skip_serializing_if = "Option::is_none")]
    pub dlc: Option<f64>,
    #[serde(rename = "xApi", skip_serializing_if = "Option::is_none")]
    pub x_api: Option<f64>,
    /// Applied credits/discounts (negative).
    #[serde(rename = "credits", skip_serializing_if = "Option::is_none")]
    pub credits: Option<f64>,
    #[serde(rename = "other", skip_serializing_if = "Option::is_none")]
    pub other: Option<f64>,
}

impl UsageMeteringDaysInner {
    pub fn new() -> UsageMeteringDaysInner {
        UsageMeteringDaysInner {
            date: None,
            accounts: None,
            numbers: None,
            calls: None,
            sms: None,
            dlc: None,
            x_api: None,
            credits: None,
            other: None,
        }
    }
}
