/*
* 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};
/// ChartQuery : Query parameters for the activity chart endpoint.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ChartQuery {
/// Number of days to include in the chart (1–365, default: 30).
#[serde(rename = "days", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub days: Option<Option<u32>>,
}
impl ChartQuery {
/// Query parameters for the activity chart endpoint.
pub fn new() -> ChartQuery {
ChartQuery {
days: None,
}
}
}