/*
 * 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};

/// LeadFormResponseMeta : Common meta-block returned alongside lead-form responses for traceability.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct LeadFormResponseMeta {
    #[serde(rename = "platform", skip_serializing_if = "Option::is_none")]
    pub platform: Option<String>,
    #[serde(rename = "accountId", skip_serializing_if = "Option::is_none")]
    pub account_id: Option<String>,
    #[serde(rename = "formId", skip_serializing_if = "Option::is_none")]
    pub form_id: Option<String>,
    #[serde(rename = "leadId", skip_serializing_if = "Option::is_none")]
    pub lead_id: Option<String>,
    #[serde(rename = "pageId", skip_serializing_if = "Option::is_none")]
    pub page_id: Option<String>,
    #[serde(rename = "lastUpdated", skip_serializing_if = "Option::is_none")]
    pub last_updated: Option<String>,
}

impl LeadFormResponseMeta {
    /// Common meta-block returned alongside lead-form responses for traceability.
    pub fn new() -> LeadFormResponseMeta {
        LeadFormResponseMeta {
            platform: None,
            account_id: None,
            form_id: None,
            lead_id: None,
            page_id: None,
            last_updated: None,
        }
    }
}
