/*
* 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};
/// LayoutUsageItem : A workflow that references this layout.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct LayoutUsageItem {
#[serde(rename = "workflow_id")]
pub workflow_id: String,
#[serde(rename = "workflow_name")]
pub workflow_name: String,
}
impl LayoutUsageItem {
/// A workflow that references this layout.
pub fn new(workflow_id: String, workflow_name: String) -> LayoutUsageItem {
LayoutUsageItem {
workflow_id,
workflow_name,
}
}
}