/*
* 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};
/// UpdateContext : Partial update of a context's data.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct UpdateContext {
/// Updated context data (replaces existing data).
#[serde(rename = "data")]
pub data: serde_json::Value,
}
impl UpdateContext {
/// Partial update of a context's data.
pub fn new(data: serde_json::Value) -> UpdateContext {
UpdateContext {
data,
}
}
}