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

/// 
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum PbsConfigTapeBackupJobInlineEnum {
    #[serde(rename = "comment")]
    Comment,
    #[serde(rename = "schedule")]
    Schedule,
    #[serde(rename = "eject-media")]
    EjectMedia,
    #[serde(rename = "export-media-set")]
    ExportMediaSet,
    #[serde(rename = "latest-only")]
    LatestOnly,
    #[serde(rename = "notify-user")]
    NotifyUser,
    #[serde(rename = "notification-mode")]
    NotificationMode,
    #[serde(rename = "group-filter")]
    GroupFilter,
    #[serde(rename = "max-depth")]
    MaxDepth,
    #[serde(rename = "ns")]
    Ns,
    #[serde(rename = "worker-threads")]
    WorkerThreads,

}

impl std::fmt::Display for PbsConfigTapeBackupJobInlineEnum {
    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
        match self {
            Self::Comment => write!(f, "comment"),
            Self::Schedule => write!(f, "schedule"),
            Self::EjectMedia => write!(f, "eject-media"),
            Self::ExportMediaSet => write!(f, "export-media-set"),
            Self::LatestOnly => write!(f, "latest-only"),
            Self::NotifyUser => write!(f, "notify-user"),
            Self::NotificationMode => write!(f, "notification-mode"),
            Self::GroupFilter => write!(f, "group-filter"),
            Self::MaxDepth => write!(f, "max-depth"),
            Self::Ns => write!(f, "ns"),
            Self::WorkerThreads => write!(f, "worker-threads"),
        }
    }
}

impl Default for PbsConfigTapeBackupJobInlineEnum {
    fn default() -> PbsConfigTapeBackupJobInlineEnum {
        Self::Comment
    }
}