late 0.0.331

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 GetAllAccountsHealth200ResponseSummary {
    /// Total number of accounts
    #[serde(rename = "total", skip_serializing_if = "Option::is_none")]
    pub total: Option<i32>,
    /// Number of healthy accounts
    #[serde(rename = "healthy", skip_serializing_if = "Option::is_none")]
    pub healthy: Option<i32>,
    /// Number of accounts with warnings
    #[serde(rename = "warning", skip_serializing_if = "Option::is_none")]
    pub warning: Option<i32>,
    /// Number of accounts with errors
    #[serde(rename = "error", skip_serializing_if = "Option::is_none")]
    pub error: Option<i32>,
    /// Number of accounts needing reconnection
    #[serde(rename = "needsReconnect", skip_serializing_if = "Option::is_none")]
    pub needs_reconnect: Option<i32>,
}

impl GetAllAccountsHealth200ResponseSummary {
    pub fn new() -> GetAllAccountsHealth200ResponseSummary {
        GetAllAccountsHealth200ResponseSummary {
            total: None,
            healthy: None,
            warning: None,
            error: None,
            needs_reconnect: None,
        }
    }
}