clientapi_pve/models/pve_notify_field.rs
1/*
2 * Proxmox Virtual Environment API
3 *
4 * Generated from apidoc.js. NOT an official Proxmox specification. See https://pve.proxmox.com/pve-docs/api-viewer/ for the upstream documentation.
5 *
6 * The version of the OpenAPI document: 9.x
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15#[serde(untagged)]
16pub enum PveNotifyField {
17 PveNotifyConfig(Box<models::PveNotifyConfig>),
18 String(String),
19}
20
21impl Default for PveNotifyField {
22 fn default() -> Self {
23 Self::PveNotifyConfig(Default::default())
24 }
25}
26