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, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum PveNodesAptArchEnum {
    #[serde(rename = "armhf")]
    Armhf,
    #[serde(rename = "arm64")]
    Arm64,
    #[serde(rename = "amd64")]
    Amd64,
    #[serde(rename = "ppc64el")]
    Ppc64el,
    #[serde(rename = "risc64")]
    Risc64,
    #[serde(rename = "s390x")]
    S390x,
    #[serde(rename = "all")]
    All,

}

impl std::fmt::Display for PveNodesAptArchEnum {
    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
        match self {
            Self::Armhf => write!(f, "armhf"),
            Self::Arm64 => write!(f, "arm64"),
            Self::Amd64 => write!(f, "amd64"),
            Self::Ppc64el => write!(f, "ppc64el"),
            Self::Risc64 => write!(f, "risc64"),
            Self::S390x => write!(f, "s390x"),
            Self::All => write!(f, "all"),
        }
    }
}

impl Default for PveNodesAptArchEnum {
    fn default() -> PveNodesAptArchEnum {
        Self::Armhf
    }
}