/*
* Selling Partner API for Supply Sources
*
* Manage configurations and capabilities of seller supply sources.
*
* The version of the OpenAPI document: 2020-07-01
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// OperatingHour : The operating hour schema
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct OperatingHour {
/// The opening time, ISO 8601 formatted timestamp without date, HH:mm.
#[serde(rename = "startTime", skip_serializing_if = "Option::is_none")]
pub start_time: Option<String>,
/// The closing time, ISO 8601 formatted timestamp without date, HH:mm.
#[serde(rename = "endTime", skip_serializing_if = "Option::is_none")]
pub end_time: Option<String>,
}
impl OperatingHour {
/// The operating hour schema
pub fn new() -> OperatingHour {
OperatingHour {
start_time: None,
end_time: None,
}
}
}