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

/// AdTreeCampaignOptimizationGoal : Meta optimization goal. String if all ad sets share the same goal, array of distinct values if they differ.
/// Meta optimization goal. String if all ad sets share the same goal, array of distinct values if they differ.
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(untagged)]
pub enum AdTreeCampaignOptimizationGoal {
    String(String),
    ArrayVecString(Vec<String>),
}

impl Default for AdTreeCampaignOptimizationGoal {
    fn default() -> Self {
        Self::String(Default::default())
    }
}
