/*
* Tapis Notifications API
*
* The Tapis Notifications API provides for management of subscriptions and event publication
*
* The version of the OpenAPI document: 25Q4.0
* Contact: cicsupport@tacc.utexas.edu
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
///
#[derive(
Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize, Default,
)]
pub enum DeliveryMethod {
#[serde(rename = "WEBHOOK")]
#[default]
Webhook,
#[serde(rename = "EMAIL")]
Email,
}
impl std::fmt::Display for DeliveryMethod {
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
match self {
Self::Webhook => write!(f, "WEBHOOK"),
Self::Email => write!(f, "EMAIL"),
}
}
}