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

/// UploadWhatsAppFlowJsonRequestFlowJson : The Flow JSON content. Pass as a JSON object or a JSON string.
/// The Flow JSON content. Pass as a JSON object or a JSON string.
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(untagged)]
pub enum UploadWhatsAppFlowJsonRequestFlowJson {
    Object(serde_json::Value),
    String(String),
}

impl Default for UploadWhatsAppFlowJsonRequestFlowJson {
    fn default() -> Self {
        Self::Object(Default::default())
    }
}
