clientapi-pbs 2026.5.24

Generated from apidoc.js. NOT an official Proxmox specification. See https://pbs.proxmox.com/docs/api-viewer/ for the upstream documentation.
Documentation
/*
 * Proxmox Backup Server API
 *
 * Generated from apidoc.js. NOT an official Proxmox specification. See https://pbs.proxmox.com/docs/api-viewer/ for the upstream documentation.
 *
 * The version of the OpenAPI document: 9.x
 * 
 * Generated by: https://openapi-generator.tech
 */

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

/// AdminDatastoreGetStatusResponseDataCounts : Counts of groups/snapshots per BackupType.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct AdminDatastoreGetStatusResponseDataCounts {

    #[serde(rename = "ct", skip_serializing_if = "Option::is_none")]
    pub ct: Option<Box<models::AdminDatastoreGetStatusResponseDataCountsCt>>,

    #[serde(rename = "host", skip_serializing_if = "Option::is_none")]
    pub host: Option<Box<models::AdminDatastoreGetStatusResponseDataCountsCt>>,

    #[serde(rename = "other", skip_serializing_if = "Option::is_none")]
    pub other: Option<Box<models::AdminDatastoreGetStatusResponseDataCountsCt>>,

    #[serde(rename = "vm", skip_serializing_if = "Option::is_none")]
    pub vm: Option<Box<models::AdminDatastoreGetStatusResponseDataCountsCt>>,


}

impl AdminDatastoreGetStatusResponseDataCounts {
    /// Counts of groups/snapshots per BackupType.
    pub fn new() -> AdminDatastoreGetStatusResponseDataCounts {
        AdminDatastoreGetStatusResponseDataCounts {
            
            ct: None,
            
            host: None,
            
            other: None,
            
            vm: None,
            
        }
    }
}