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

/// ListSmsRegistrations200ResponseRegistrationsInnerThroughput : Carrier throughput tier derived from the trust score.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ListSmsRegistrations200ResponseRegistrationsInnerThroughput {
    #[serde(rename = "label", skip_serializing_if = "Option::is_none")]
    pub label: Option<String>,
    #[serde(rename = "smsPerMinute", skip_serializing_if = "Option::is_none")]
    pub sms_per_minute: Option<f64>,
    #[serde(rename = "smsPerDay", skip_serializing_if = "Option::is_none")]
    pub sms_per_day: Option<f64>,
}

impl ListSmsRegistrations200ResponseRegistrationsInnerThroughput {
    /// Carrier throughput tier derived from the trust score.
    pub fn new() -> ListSmsRegistrations200ResponseRegistrationsInnerThroughput {
        ListSmsRegistrations200ResponseRegistrationsInnerThroughput {
            label: None,
            sms_per_minute: None,
            sms_per_day: None,
        }
    }
}
