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 QemuVmPendingResponseDataInner {

    /// Indicates a pending delete request if present and not 0. The value 2 indicates a force-delete request.
    #[serde(rename = "delete", skip_serializing_if = "Option::is_none")]
    pub delete: Option<i32>,

    /// Configuration option name.
    #[serde(rename = "key")]
    pub key: String,

    /// Pending value.
    #[serde(rename = "pending", skip_serializing_if = "Option::is_none")]
    pub pending: Option<String>,

    /// Current value.
    #[serde(rename = "value", skip_serializing_if = "Option::is_none")]
    pub value: Option<String>,


}

impl QemuVmPendingResponseDataInner {
    pub fn new(key: String) -> QemuVmPendingResponseDataInner {
        QemuVmPendingResponseDataInner {
            
            delete: None,
            
            key,
            
            pending: None,
            
            value: None,
            
        }
    }
}