/*
 * 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 GetInboxResponseTime200ResponseSummary {
    #[serde(rename = "sampleSize", skip_serializing_if = "Option::is_none")]
    pub sample_size: Option<i32>,
    #[serde(rename = "medianSeconds", skip_serializing_if = "Option::is_none")]
    pub median_seconds: Option<i32>,
    #[serde(rename = "p90Seconds", skip_serializing_if = "Option::is_none")]
    pub p90_seconds: Option<i32>,
    #[serde(rename = "p99Seconds", skip_serializing_if = "Option::is_none")]
    pub p99_seconds: Option<i32>,
    #[serde(rename = "meanSeconds", skip_serializing_if = "Option::is_none")]
    pub mean_seconds: Option<i32>,
    #[serde(rename = "fastestSeconds", skip_serializing_if = "Option::is_none")]
    pub fastest_seconds: Option<i32>,
    #[serde(rename = "slowestSeconds", skip_serializing_if = "Option::is_none")]
    pub slowest_seconds: Option<i32>,
}

impl GetInboxResponseTime200ResponseSummary {
    pub fn new() -> GetInboxResponseTime200ResponseSummary {
        GetInboxResponseTime200ResponseSummary {
            sample_size: None,
            median_seconds: None,
            p90_seconds: None,
            p99_seconds: None,
            mean_seconds: None,
            fastest_seconds: None,
            slowest_seconds: None,
        }
    }
}
