orthanc_client_ogen 1.12.8

Orthanc API client library produced by OpenAPI Generator
Documentation
/*
 * Orthanc API
 *
 * This is the full documentation of the [REST API](https://orthanc.uclouvain.be/book/users/rest.html) of Orthanc.<p>This reference is automatically generated from the source code of Orthanc. A [shorter cheat sheet](https://orthanc.uclouvain.be/book/users/rest-cheatsheet.html) is part of the Orthanc Book.<p>An earlier, manually crafted version from August 2019, is [still available](2019-08-orthanc-openapi.html), but is not up-to-date anymore ([source](https://groups.google.com/g/orthanc-users/c/NUiJTEICSl8/m/xKeqMrbqAAAJ)).
 *
 * The version of the OpenAPI document: 1.12.8
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// StatisticsGet200Response : 
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct StatisticsGet200Response {
    /// Number of DICOM instances stored in Orthanc
    #[serde(rename = "CountInstances", skip_serializing_if = "Option::is_none")]
    pub count_instances: Option<f64>,
    /// Number of patients stored in Orthanc
    #[serde(rename = "CountPatients", skip_serializing_if = "Option::is_none")]
    pub count_patients: Option<f64>,
    /// Number of DICOM series stored in Orthanc
    #[serde(rename = "CountSeries", skip_serializing_if = "Option::is_none")]
    pub count_series: Option<f64>,
    /// Number of DICOM studies stored in Orthanc
    #[serde(rename = "CountStudies", skip_serializing_if = "Option::is_none")]
    pub count_studies: Option<f64>,
    /// Size of the storage area (in bytes)
    #[serde(rename = "TotalDiskSize", skip_serializing_if = "Option::is_none")]
    pub total_disk_size: Option<String>,
    /// Size of the storage area (in megabytes)
    #[serde(rename = "TotalDiskSizeMB", skip_serializing_if = "Option::is_none")]
    pub total_disk_size_mb: Option<f64>,
    /// Total size of all the files once uncompressed (in bytes). This corresponds to `TotalDiskSize` if no compression is enabled, cf. `StorageCompression` configuration option
    #[serde(rename = "TotalUncompressedSize", skip_serializing_if = "Option::is_none")]
    pub total_uncompressed_size: Option<String>,
    /// Total size of all the files once uncompressed (in megabytes)
    #[serde(rename = "TotalUncompressedSizeMB", skip_serializing_if = "Option::is_none")]
    pub total_uncompressed_size_mb: Option<f64>,
}

impl StatisticsGet200Response {
    /// 
    pub fn new() -> StatisticsGet200Response {
        StatisticsGet200Response {
            count_instances: None,
            count_patients: None,
            count_series: None,
            count_studies: None,
            total_disk_size: None,
            total_disk_size_mb: None,
            total_uncompressed_size: None,
            total_uncompressed_size_mb: None,
        }
    }
}