/*
* 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 UploadWhatsAppProfilePhotoRequest1 {
/// WhatsApp social account ID
#[serde(rename = "accountId")]
pub account_id: String,
/// Publicly reachable https URL of the image (JPEG or PNG, max 5MB, recommended 640x640). Fetched server-side; must resolve directly without redirects.
#[serde(rename = "url")]
pub url: String,
}
impl UploadWhatsAppProfilePhotoRequest1 {
pub fn new(account_id: String, url: String) -> UploadWhatsAppProfilePhotoRequest1 {
UploadWhatsAppProfilePhotoRequest1 { account_id, url }
}
}