/*
 * 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 UpdateAdCampaignStatus200Response {
    /// Number of ads updated
    #[serde(rename = "updated", skip_serializing_if = "Option::is_none")]
    pub updated: Option<i32>,
    /// Number of ads skipped
    #[serde(rename = "skipped", skip_serializing_if = "Option::is_none")]
    pub skipped: Option<i32>,
    #[serde(rename = "skippedReasons", skip_serializing_if = "Option::is_none")]
    pub skipped_reasons: Option<Vec<String>>,
    /// Human-readable summary (present when no ads were actionable)
    #[serde(rename = "message", skip_serializing_if = "Option::is_none")]
    pub message: Option<String>,
}

impl UpdateAdCampaignStatus200Response {
    pub fn new() -> UpdateAdCampaignStatus200Response {
        UpdateAdCampaignStatus200Response {
            updated: None,
            skipped: None,
            skipped_reasons: None,
            message: None,
        }
    }
}
