/*
 * 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.1
 * 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 AddWhatsAppBroadcastRecipients200Response {
    #[serde(rename = "success", skip_serializing_if = "Option::is_none")]
    pub success: Option<bool>,
    /// Number of new recipients added
    #[serde(rename = "added", skip_serializing_if = "Option::is_none")]
    pub added: Option<i32>,
    /// Number of duplicate phone numbers skipped
    #[serde(rename = "duplicates", skip_serializing_if = "Option::is_none")]
    pub duplicates: Option<i32>,
    /// Total recipient count after addition
    #[serde(rename = "totalRecipients", skip_serializing_if = "Option::is_none")]
    pub total_recipients: Option<i32>,
}

impl AddWhatsAppBroadcastRecipients200Response {
    pub fn new() -> AddWhatsAppBroadcastRecipients200Response {
        AddWhatsAppBroadcastRecipients200Response {
            success: None,
            added: None,
            duplicates: None,
            total_recipients: None,
        }
    }
}
