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

/// CreateStandaloneAd201ResponseOneOf1 : Multi-creative shape — N ads returned sharing platformCampaignId / platformAdSetId.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CreateStandaloneAd201ResponseOneOf1 {
    #[serde(rename = "ads", skip_serializing_if = "Option::is_none")]
    pub ads: Option<Vec<models::Ad>>,
    #[serde(rename = "platformCampaignId", skip_serializing_if = "Option::is_none")]
    pub platform_campaign_id: Option<String>,
    #[serde(rename = "platformAdSetId", skip_serializing_if = "Option::is_none")]
    pub platform_ad_set_id: Option<String>,
    #[serde(rename = "message", skip_serializing_if = "Option::is_none")]
    pub message: Option<String>,
}

impl CreateStandaloneAd201ResponseOneOf1 {
    /// Multi-creative shape — N ads returned sharing platformCampaignId / platformAdSetId.
    pub fn new() -> CreateStandaloneAd201ResponseOneOf1 {
        CreateStandaloneAd201ResponseOneOf1 {
            ads: None,
            platform_campaign_id: None,
            platform_ad_set_id: None,
            message: None,
        }
    }
}
