#[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 DecimateWithResolution {
    #[serde(rename = "resolution")]
    resolution: conjure_object::SafeLong,
}
impl DecimateWithResolution {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(resolution: conjure_object::SafeLong) -> Self {
        Self::builder().resolution(resolution).build()
    }
    /// Resolution of the output series specifying time interval between decimated points, in nanoseconds.
    #[inline]
    pub fn resolution(&self) -> conjure_object::SafeLong {
        self.resolution
    }
}
