clientapi-pve 2026.5.24

Generated from apidoc.js. NOT an official Proxmox specification. See https://pve.proxmox.com/pve-docs/api-viewer/ for the upstream documentation.
Documentation
/*
 * Proxmox Virtual Environment API
 *
 * Generated from apidoc.js. NOT an official Proxmox specification. See https://pve.proxmox.com/pve-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};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct NodesDisksGetLvmthinResponseDataInner {

    /// The name of the thinpool.
    #[serde(rename = "lv")]
    pub lv: String,

    /// The size of the thinpool in bytes.
    #[serde(rename = "lv_size")]
    pub lv_size: i64,

    /// The size of the metadata lv in bytes.
    #[serde(rename = "metadata_size")]
    pub metadata_size: i64,

    /// The used bytes of the metadata lv.
    #[serde(rename = "metadata_used")]
    pub metadata_used: i64,

    /// The used bytes of the thinpool.
    #[serde(rename = "used")]
    pub used: i64,

    /// The associated volume group.
    #[serde(rename = "vg")]
    pub vg: String,


}

impl NodesDisksGetLvmthinResponseDataInner {
    pub fn new(lv: String, lv_size: i64, metadata_size: i64, metadata_used: i64, used: i64, vg: String) -> NodesDisksGetLvmthinResponseDataInner {
        NodesDisksGetLvmthinResponseDataInner {
            
            lv,
            
            lv_size,
            
            metadata_size,
            
            metadata_used,
            
            used,
            
            vg,
            
        }
    }
}