/// Metadata file created by yeeter after uploading extractor outputs to S3.
/// This is uploaded to S3 by yeeter and read by the Temporal activity to orchestrate ingestion.
#[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 ExtractorUploadMetadata {
    #[builder(default, list(item(type = super::UploadMetadata)))]
    #[serde(rename = "uploads", skip_serializing_if = "Vec::is_empty", default)]
    uploads: Vec<super::UploadMetadata>,
}
impl ExtractorUploadMetadata {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new() -> Self {
        Self::builder().build()
    }
    /// List of uploaded files with their S3 locations and manifest metadata
    #[inline]
    pub fn uploads(&self) -> &[super::UploadMetadata] {
        &*self.uploads
    }
}
