/*
* enbbox API
*
* Notification infrastructure API — open-source alternative to Novu/Courier
*
* The version of the OpenAPI document: 1.0.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// CtaType : CTA (Call to Action) type for in-app notification buttons.
/// CTA (Call to Action) type for in-app notification buttons.
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum CtaType {
#[serde(rename = "redirect")]
Redirect,
}
impl std::fmt::Display for CtaType {
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
match self {
Self::Redirect => write!(f, "redirect"),
}
}
}
impl Default for CtaType {
fn default() -> CtaType {
Self::Redirect
}
}