/*
* Python SDK for Opsgenie REST API
*
* Python SDK for Opsgenie REST API
*
* The version of the OpenAPI document: 2.0.0
* Contact: support@opsgenie.com
* Generated by: https://openapi-generator.tech
*/
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct TimeOfDayRestrictionIntervalAllOf {
#[serde(rename = "restriction", skip_serializing_if = "Option::is_none")]
pub restriction: Option<crate::models::TimeOfDayRestriction>,
}
impl TimeOfDayRestrictionIntervalAllOf {
pub fn new() -> TimeOfDayRestrictionIntervalAllOf {
TimeOfDayRestrictionIntervalAllOf {
restriction: None,
}
}
}