/// Metadata about the origin of the video file. This includes the original source of the video file and
/// additional timestamp metadata used to time-sync the video file.
#[derive(
    Debug,
    Clone,
    conjure_object::serde::Serialize,
    conjure_object::serde::Deserialize,
    conjure_object::private::DeriveWith
)]
#[serde(crate = "conjure_object::serde")]
#[derive_with(PartialEq, Eq, PartialOrd, Ord, Hash)]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct VideoFileOriginMetadata {
    #[builder(
        custom(type = super::super::super::super::api::Handle, convert = Box::new)
    )]
    #[serde(rename = "source")]
    source: Box<super::super::super::super::api::Handle>,
    #[builder(custom(type = super::VideoFileTimestampManifest, convert = Box::new))]
    #[serde(rename = "timestampManifest")]
    timestamp_manifest: Box<super::VideoFileTimestampManifest>,
}
impl VideoFileOriginMetadata {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        source: super::super::super::super::api::Handle,
        timestamp_manifest: super::VideoFileTimestampManifest,
    ) -> Self {
        Self::builder().source(source).timestamp_manifest(timestamp_manifest).build()
    }
    #[inline]
    pub fn source(&self) -> &super::super::super::super::api::Handle {
        &*self.source
    }
    #[inline]
    pub fn timestamp_manifest(&self) -> &super::VideoFileTimestampManifest {
        &*self.timestamp_manifest
    }
}
