/*
* 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};
/// ActionBody : Request body for performing an inbox action (CTA button click).
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ActionBody {
/// Action result data (e.g. button click payload).
#[serde(rename = "data", skip_serializing_if = "Option::is_none")]
pub data: Option<serde_json::Value>,
}
impl ActionBody {
/// Request body for performing an inbox action (CTA button click).
pub fn new() -> ActionBody {
ActionBody {
data: None,
}
}
}