zernio 0.0.76

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.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 UpdateWhatsAppDisplayNameRequest {
    /// WhatsApp social account ID
    #[serde(rename = "accountId")]
    pub account_id: String,
    /// New display name (must follow WhatsApp naming guidelines)
    #[serde(rename = "displayName")]
    pub display_name: String,
}

impl UpdateWhatsAppDisplayNameRequest {
    pub fn new(account_id: String, display_name: String) -> UpdateWhatsAppDisplayNameRequest {
        UpdateWhatsAppDisplayNameRequest {
            account_id,
            display_name,
        }
    }
}