#[derive(
    Debug,
    Clone,
    conjure_object::serde::Serialize,
    conjure_object::serde::Deserialize,
    PartialEq,
    Eq,
    PartialOrd,
    Ord,
    Hash,
    Copy
)]
#[serde(crate = "conjure_object::serde")]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct QuotaWindow {
    #[serde(rename = "startTime")]
    start_time: conjure_object::DateTime<conjure_object::Utc>,
    #[serde(rename = "endTime")]
    end_time: conjure_object::DateTime<conjure_object::Utc>,
}
impl QuotaWindow {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        start_time: conjure_object::DateTime<conjure_object::Utc>,
        end_time: conjure_object::DateTime<conjure_object::Utc>,
    ) -> Self {
        Self::builder().start_time(start_time).end_time(end_time).build()
    }
    #[inline]
    pub fn start_time(&self) -> conjure_object::DateTime<conjure_object::Utc> {
        self.start_time
    }
    #[inline]
    pub fn end_time(&self) -> conjure_object::DateTime<conjure_object::Utc> {
        self.end_time
    }
}
