/*
 * 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 ListWhatsAppGroupJoinRequests200ResponseJoinRequestsInner {
    /// Phone number
    #[serde(rename = "user", skip_serializing_if = "Option::is_none")]
    pub user: Option<String>,
    /// UNIX timestamp of request
    #[serde(rename = "timestamp", skip_serializing_if = "Option::is_none")]
    pub timestamp: Option<i32>,
}

impl ListWhatsAppGroupJoinRequests200ResponseJoinRequestsInner {
    pub fn new() -> ListWhatsAppGroupJoinRequests200ResponseJoinRequestsInner {
        ListWhatsAppGroupJoinRequests200ResponseJoinRequestsInner {
            user: None,
            timestamp: None,
        }
    }
}
