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 PbsConfigMetricsInlineEnum {
    #[serde(rename = "enable")]
    Enable,
    #[serde(rename = "token")]
    Token,
    #[serde(rename = "bucket")]
    Bucket,
    #[serde(rename = "organization")]
    Organization,
    #[serde(rename = "max-body-size")]
    MaxBodySize,
    #[serde(rename = "verify-tls")]
    VerifyTls,
    #[serde(rename = "comment")]
    Comment,

}

impl std::fmt::Display for PbsConfigMetricsInlineEnum {
    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
        match self {
            Self::Enable => write!(f, "enable"),
            Self::Token => write!(f, "token"),
            Self::Bucket => write!(f, "bucket"),
            Self::Organization => write!(f, "organization"),
            Self::MaxBodySize => write!(f, "max-body-size"),
            Self::VerifyTls => write!(f, "verify-tls"),
            Self::Comment => write!(f, "comment"),
        }
    }
}

impl Default for PbsConfigMetricsInlineEnum {
    fn default() -> PbsConfigMetricsInlineEnum {
        Self::Enable
    }
}