late 0.0.297

API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
Documentation
/*
 * 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 FacebookPlatformDataCarouselCardsInner {
    /// Per-card click destination (required).
    #[serde(rename = "link")]
    pub link: String,
    /// Per-card headline (optional, ~35-char display).
    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    /// Per-card subhead (optional, ~30-char display).
    #[serde(rename = "description", skip_serializing_if = "Option::is_none")]
    pub description: Option<String>,
}

impl FacebookPlatformDataCarouselCardsInner {
    pub fn new(link: String) -> FacebookPlatformDataCarouselCardsInner {
        FacebookPlatformDataCarouselCardsInner {
            link,
            name: None,
            description: None,
        }
    }
}