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};

/// SystemGet200Response : 
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SystemGet200Response {
    /// Version of the REST API
    #[serde(rename = "ApiVersion", skip_serializing_if = "Option::is_none")]
    pub api_version: Option<f64>,
    /// Whether the back-end supports optional features like 'HasExtendedChanges', 'HasExtendedFind' (new in Orthanc 1.12.5) 
    #[serde(rename = "Capabilities", skip_serializing_if = "Option::is_none")]
    pub capabilities: Option<serde_json::Value>,
    /// Whether Orthanc handle revisions of metadata and attachments to deal with multiple writers (new in Orthanc 1.9.2)
    #[serde(rename = "CheckRevisions", skip_serializing_if = "Option::is_none")]
    pub check_revisions: Option<bool>,
    /// Information about the installed database index plugin (`null` if no such plugin is installed)
    #[serde(rename = "DatabaseBackendPlugin", skip_serializing_if = "Option::is_none")]
    pub database_backend_plugin: Option<String>,
    /// ID of the server in the database (when running multiple Orthanc on the same DB)
    #[serde(rename = "DatabaseServerIdentifier", skip_serializing_if = "Option::is_none")]
    pub database_server_identifier: Option<String>,
    /// Version of the database: https://orthanc.uclouvain.be/book/developers/db-versioning.html
    #[serde(rename = "DatabaseVersion", skip_serializing_if = "Option::is_none")]
    pub database_version: Option<f64>,
    /// The DefaultRetrieveMethod configuration
    #[serde(rename = "DefaultRetrieveMethod", skip_serializing_if = "Option::is_none")]
    pub default_retrieve_method: Option<String>,
    /// The DICOM AET of Orthanc
    #[serde(rename = "DicomAet", skip_serializing_if = "Option::is_none")]
    pub dicom_aet: Option<String>,
    /// The port to the DICOM server of Orthanc
    #[serde(rename = "DicomPort", skip_serializing_if = "Option::is_none")]
    pub dicom_port: Option<f64>,
    /// Whether the database back-end supports labels (new in Orthanc 1.12.0)
    #[serde(rename = "HasLabels", skip_serializing_if = "Option::is_none")]
    pub has_labels: Option<bool>,
    /// The port to the HTTP server of Orthanc
    #[serde(rename = "HttpPort", skip_serializing_if = "Option::is_none")]
    pub http_port: Option<f64>,
    /// Whether instances are transcoded when ingested into Orthanc (`` if no transcoding is performed) (new in Orthanc 1.11.0)
    #[serde(rename = "IngestTranscoding", skip_serializing_if = "Option::is_none")]
    pub ingest_transcoding: Option<String>,
    /// Whether the REST API is properly secured (assuming no reverse proxy is in use): https://orthanc.uclouvain.be/book/faq/security.html#securing-the-http-server
    #[serde(rename = "IsHttpServerSecure", skip_serializing_if = "Option::is_none")]
    pub is_http_server_secure: Option<bool>,
    /// The list of MainDicomTags saved in DB for each resource level (new in Orthanc 1.11.0)
    #[serde(rename = "MainDicomTags", skip_serializing_if = "Option::is_none")]
    pub main_dicom_tags: Option<serde_json::Value>,
    /// The configured MaximumPatientCount (new in Orthanc 1.12.4)
    #[serde(rename = "MaximumPatientCount", skip_serializing_if = "Option::is_none")]
    pub maximum_patient_count: Option<f64>,
    /// The configured MaximumStorageMode (new in Orthanc 1.11.3)
    #[serde(rename = "MaximumStorageMode", skip_serializing_if = "Option::is_none")]
    pub maximum_storage_mode: Option<String>,
    /// The configured MaximumStorageSize in MB (new in Orthanc 1.11.3)
    #[serde(rename = "MaximumStorageSize", skip_serializing_if = "Option::is_none")]
    pub maximum_storage_size: Option<f64>,
    /// The name of the Orthanc server, cf. the `Name` configuration option
    #[serde(rename = "Name", skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    /// Whether instances are overwritten when re-ingested (new in Orthanc 1.11.0)
    #[serde(rename = "OverwriteInstances", skip_serializing_if = "Option::is_none")]
    pub overwrite_instances: Option<bool>,
    /// Whether Orthanc was built with support for plugins
    #[serde(rename = "PluginsEnabled", skip_serializing_if = "Option::is_none")]
    pub plugins_enabled: Option<bool>,
    /// Whether Orthanc is running in read only mode (new in Orthanc 1.12.5)
    #[serde(rename = "ReadOnly", skip_serializing_if = "Option::is_none")]
    pub read_only: Option<bool>,
    /// Information about the installed storage area plugin (`null` if no such plugin is installed)
    #[serde(rename = "StorageAreaPlugin", skip_serializing_if = "Option::is_none")]
    pub storage_area_plugin: Option<String>,
    /// Whether storage compression is enabled (new in Orthanc 1.11.0)
    #[serde(rename = "StorageCompression", skip_serializing_if = "Option::is_none")]
    pub storage_compression: Option<bool>,
    /// The configured UserMetadata (new in Orthanc 1.12.0)
    #[serde(rename = "UserMetadata", skip_serializing_if = "Option::is_none")]
    pub user_metadata: Option<serde_json::Value>,
    /// Version of Orthanc
    #[serde(rename = "Version", skip_serializing_if = "Option::is_none")]
    pub version: Option<String>,
}

impl SystemGet200Response {
    /// 
    pub fn new() -> SystemGet200Response {
        SystemGet200Response {
            api_version: None,
            capabilities: None,
            check_revisions: None,
            database_backend_plugin: None,
            database_server_identifier: None,
            database_version: None,
            default_retrieve_method: None,
            dicom_aet: None,
            dicom_port: None,
            has_labels: None,
            http_port: None,
            ingest_transcoding: None,
            is_http_server_secure: None,
            main_dicom_tags: None,
            maximum_patient_count: None,
            maximum_storage_mode: None,
            maximum_storage_size: None,
            name: None,
            overwrite_instances: None,
            plugins_enabled: None,
            read_only: None,
            storage_area_plugin: None,
            storage_compression: None,
            user_metadata: None,
            version: None,
        }
    }
}