/*
* 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};
/// Entitlements : List of active entitlements for the project.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct Entitlements {
#[serde(rename = "entitlements")]
pub entitlements: Vec<models::EntitlementItem>,
}
impl Entitlements {
/// List of active entitlements for the project.
pub fn new(entitlements: Vec<models::EntitlementItem>) -> Entitlements {
Entitlements {
entitlements,
}
}
}