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 PbsConfigNotificationsInlineEnum2 {
    #[serde(rename = "author")]
    Author,
    #[serde(rename = "comment")]
    Comment,
    #[serde(rename = "disable")]
    Disable,
    #[serde(rename = "from-address")]
    FromAddress,
    #[serde(rename = "mailto")]
    Mailto,
    #[serde(rename = "mailto-user")]
    MailtoUser,

}

impl std::fmt::Display for PbsConfigNotificationsInlineEnum2 {
    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
        match self {
            Self::Author => write!(f, "author"),
            Self::Comment => write!(f, "comment"),
            Self::Disable => write!(f, "disable"),
            Self::FromAddress => write!(f, "from-address"),
            Self::Mailto => write!(f, "mailto"),
            Self::MailtoUser => write!(f, "mailto-user"),
        }
    }
}

impl Default for PbsConfigNotificationsInlineEnum2 {
    fn default() -> PbsConfigNotificationsInlineEnum2 {
        Self::Author
    }
}