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

/// NodesStatusGetStatusResponseDataCurrentKernel : The current kernel version (output of `uname`)
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct NodesStatusGetStatusResponseDataCurrentKernel {

    /// The machine architecture
    #[serde(rename = "machine")]
    pub machine: String,

    /// The kernel release number
    #[serde(rename = "release")]
    pub release: String,

    /// The systemname/nodename
    #[serde(rename = "sysname")]
    pub sysname: String,

    /// The kernel version
    #[serde(rename = "version")]
    pub version: String,


}

impl NodesStatusGetStatusResponseDataCurrentKernel {
    /// The current kernel version (output of `uname`)
    pub fn new(machine: String, release: String, sysname: String, version: String) -> NodesStatusGetStatusResponseDataCurrentKernel {
        NodesStatusGetStatusResponseDataCurrentKernel {
            
            machine,
            
            release,
            
            sysname,
            
            version,
            
        }
    }
}