/*
* Manager API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 0.0.0-dev
* Contact: support@babelforce.com
* Generated by: https://openapi-generator.tech
*/
use crate::gen::manager::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CalendarListResponse {
#[serde(rename = "items")]
pub items: Vec<models::Calendar>,
#[serde(rename = "success")]
pub success: bool,
}
impl CalendarListResponse {
pub fn new(items: Vec<models::Calendar>, success: bool) -> CalendarListResponse {
CalendarListResponse { items, success }
}
}