/*
 * 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, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct AddConversionAssociationsRequest {
    #[serde(rename = "adAccountId")]
    pub ad_account_id: String,
    #[serde(rename = "campaignIds")]
    pub campaign_ids: Vec<String>,
}

impl AddConversionAssociationsRequest {
    pub fn new(
        ad_account_id: String,
        campaign_ids: Vec<String>,
    ) -> AddConversionAssociationsRequest {
        AddConversionAssociationsRequest {
            ad_account_id,
            campaign_ids,
        }
    }
}
