late 0.0.381

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetWhatsAppPhoneNumbers200Response {
    #[serde(rename = "numbers", skip_serializing_if = "Option::is_none")]
    pub numbers: Option<Vec<models::GetWhatsAppPhoneNumbers200ResponseNumbersInner>>,
    /// Connected (bring-your-own) WhatsApp numbers — your own WABA numbers linked via Embedded Signup. Not provisioned or billed by Zernio, so they are not in `numbers`; `accountId` is the social-account id used by the messaging and inbox endpoints. Included only on the default and `status=active` views.
    #[serde(rename = "connected", skip_serializing_if = "Option::is_none")]
    pub connected: Option<Vec<models::GetWhatsAppPhoneNumbers200ResponseConnectedInner>>,
    #[serde(rename = "sandbox", skip_serializing_if = "Option::is_none")]
    pub sandbox: Option<Box<models::GetWhatsAppPhoneNumbers200ResponseSandbox>>,
}

impl GetWhatsAppPhoneNumbers200Response {
    pub fn new() -> GetWhatsAppPhoneNumbers200Response {
        GetWhatsAppPhoneNumbers200Response {
            numbers: None,
            connected: None,
            sandbox: None,
        }
    }
}