use crate::gen::manager::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct BusinessHourRangeBody {
#[serde(rename = "start")]
pub start: Box<models::BusinessHourRangeBound>,
#[serde(rename = "end")]
pub end: Box<models::BusinessHourRangeBound>,
}
impl BusinessHourRangeBody {
pub fn new(
start: models::BusinessHourRangeBound,
end: models::BusinessHourRangeBound,
) -> BusinessHourRangeBody {
BusinessHourRangeBody {
start: Box::new(start),
end: Box::new(end),
}
}
}