/// The timestamp manifest files will contain a list of absolute timestamps, in nanoseconds, that correspond to
/// each frame in a video. Each file should be of type JSON and store a single list, the length of which equals
/// the number of frames in its corresponding video.
#[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 TimestampManifest {
    #[builder(default, list(item(type = super::IngestSource)))]
    #[serde(rename = "sources", skip_serializing_if = "Vec::is_empty", default)]
    sources: Vec<super::IngestSource>,
}
impl TimestampManifest {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new() -> Self {
        Self::builder().build()
    }
    #[inline]
    pub fn sources(&self) -> &[super::IngestSource] {
        &*self.sources
    }
}
