/*
 * 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 ListWhatsAppFlowVersions200ResponseVersionsInner {
    #[serde(rename = "flowId", skip_serializing_if = "Option::is_none")]
    pub flow_id: Option<String>,
    #[serde(rename = "version", skip_serializing_if = "Option::is_none")]
    pub version: Option<i32>,
    #[serde(rename = "parentFlowId", skip_serializing_if = "Option::is_none")]
    pub parent_flow_id: Option<String>,
    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    #[serde(rename = "status", skip_serializing_if = "Option::is_none")]
    pub status: Option<String>,
    /// True when Meta no longer has this flow
    #[serde(rename = "missing", skip_serializing_if = "Option::is_none")]
    pub missing: Option<bool>,
}

impl ListWhatsAppFlowVersions200ResponseVersionsInner {
    pub fn new() -> ListWhatsAppFlowVersions200ResponseVersionsInner {
        ListWhatsAppFlowVersions200ResponseVersionsInner {
            flow_id: None,
            version: None,
            parent_flow_id: None,
            name: None,
            status: None,
            missing: None,
        }
    }
}
