/// All timestamps will be kept.
/// The value of a channel at a timestamp will be its latest
/// value, within the provided look back period.
#[derive(
    Debug,
    Clone,
    conjure_object::serde::Serialize,
    conjure_object::serde::Deserialize,
    PartialEq,
    Eq,
    PartialOrd,
    Ord,
    Hash
)]
#[serde(crate = "conjure_object::serde")]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct AllTimestampsForwardFillStrategy {
    #[builder(
        custom(type = super::super::super::run::api::Duration, convert = Box::new)
    )]
    #[serde(rename = "lookBackPeriod")]
    look_back_period: Box<super::super::super::run::api::Duration>,
}
impl AllTimestampsForwardFillStrategy {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(look_back_period: super::super::super::run::api::Duration) -> Self {
        Self::builder().look_back_period(look_back_period).build()
    }
    #[inline]
    pub fn look_back_period(&self) -> &super::super::super::run::api::Duration {
        &*self.look_back_period
    }
}
