/*
 * 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 GetWhatsAppLibraryTemplate200ResponseTemplate {
    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    #[serde(rename = "language", skip_serializing_if = "Option::is_none")]
    pub language: Option<String>,
    #[serde(rename = "category", skip_serializing_if = "Option::is_none")]
    pub category: Option<String>,
    #[serde(rename = "body", skip_serializing_if = "Option::is_none")]
    pub body: Option<String>,
    #[serde(rename = "body_params", skip_serializing_if = "Option::is_none")]
    pub body_params: Option<Vec<String>>,
    #[serde(rename = "buttons", skip_serializing_if = "Option::is_none")]
    pub buttons: Option<Vec<models::GetWhatsAppLibraryTemplate200ResponseTemplateButtonsInner>>,
}

impl GetWhatsAppLibraryTemplate200ResponseTemplate {
    pub fn new() -> GetWhatsAppLibraryTemplate200ResponseTemplate {
        GetWhatsAppLibraryTemplate200ResponseTemplate {
            name: None,
            language: None,
            category: None,
            body: None,
            body_params: None,
            buttons: None,
        }
    }
}
