/*
 * 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 BulkCreateContactsRequest {
    #[serde(rename = "profileId")]
    pub profile_id: String,
    #[serde(rename = "accountId")]
    pub account_id: String,
    #[serde(rename = "platform")]
    pub platform: String,
    #[serde(rename = "contacts")]
    pub contacts: Vec<models::BulkCreateContactsRequestContactsInner>,
}

impl BulkCreateContactsRequest {
    pub fn new(
        profile_id: String,
        account_id: String,
        platform: String,
        contacts: Vec<models::BulkCreateContactsRequestContactsInner>,
    ) -> BulkCreateContactsRequest {
        BulkCreateContactsRequest {
            profile_id,
            account_id,
            platform,
            contacts,
        }
    }
}
