/*
* 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};
/// BusinessHourRangesBody : The complete set of time ranges for a business-hours profile
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct BusinessHourRangesBody {
#[serde(rename = "ranges")]
pub ranges: Vec<models::BusinessHourRangeBody>,
}
impl BusinessHourRangesBody {
/// The complete set of time ranges for a business-hours profile
pub fn new(ranges: Vec<models::BusinessHourRangeBody>) -> BusinessHourRangesBody {
BusinessHourRangesBody { ranges }
}
}