/*
 * 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, Debug, PartialEq, Serialize, Deserialize)]
#[serde(tag = "adType")]
pub enum CreateCtwaAd201Response {
    #[serde(rename = "single")]
    Single(Box<models::CtwaSingleResponse>),
    #[serde(rename = "multi")]
    Multi(Box<models::CtwaMultiResponse>),
}

impl Default for CreateCtwaAd201Response {
    fn default() -> Self {
        Self::Single(Default::default())
    }
}
