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

/// SubmitWhatsAppNumberKyc200ResponsePhoneNumber : The first/primary number, kept at the top level for backward compatibility. See `numbers` for the full set when `quantity` > 1.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SubmitWhatsAppNumberKyc200ResponsePhoneNumber {
    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
    pub id: Option<String>,
    #[serde(rename = "status", skip_serializing_if = "Option::is_none")]
    pub status: Option<String>,
    #[serde(rename = "country", skip_serializing_if = "Option::is_none")]
    pub country: Option<String>,
}

impl SubmitWhatsAppNumberKyc200ResponsePhoneNumber {
    /// The first/primary number, kept at the top level for backward compatibility. See `numbers` for the full set when `quantity` > 1.
    pub fn new() -> SubmitWhatsAppNumberKyc200ResponsePhoneNumber {
        SubmitWhatsAppNumberKyc200ResponsePhoneNumber {
            id: None,
            status: None,
            country: None,
        }
    }
}
