/*
 * 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 ListLeadFormLeads200Response {
    #[serde(rename = "status", skip_serializing_if = "Option::is_none")]
    pub status: Option<String>,
    #[serde(rename = "leads", skip_serializing_if = "Option::is_none")]
    pub leads: Option<Vec<models::Lead>>,
    #[serde(rename = "pagination", skip_serializing_if = "Option::is_none")]
    pub pagination: Option<Box<models::GetInboxPostComments200ResponsePagination>>,
    #[serde(rename = "meta", skip_serializing_if = "Option::is_none")]
    pub meta: Option<Box<models::LeadFormResponseMeta>>,
}

impl ListLeadFormLeads200Response {
    pub fn new() -> ListLeadFormLeads200Response {
        ListLeadFormLeads200Response {
            status: None,
            leads: None,
            pagination: None,
            meta: None,
        }
    }
}
